Manual Multi-Node Patching of Grid Infrastructure and Rac DB Environment Using Opatchauto
Manual Multi-Node Patching of Grid Infrastructure and Rac DB Environment Using Opatchauto
6.1 Running OPatchAuto on a Single
Node
Prerequisites: Node Availaibility During Patching (Rolling vs. Non-rolling)
In order to start a new patching session, the following conditions must be met.
Note:
The following conditions apply only for the first node, such as when the session is first
started on the cluster.
To ensure successful patching, Oracle recommends that a patching session always consist of the four
following steps:
1. Run opatch lsinventory
Before you begin a new patching session you must ensure that all nodes of the cluster are at
the same patch level.
$GRID_HOME/OPatch/opatch lsinventory
Example Output
-------------- -----
The apply -analyze command simulates an opatchauto apply session by running all
prerequisite checks, when possible, without making changes to the system (either bits or
configurations).
3. Run opatchauto apply
The apply command applies all patches within a specified system patch to the GI or RAC
home from which the opatchauto command is run.
4. Run opatch lsinventory
--------------------------------
Summary--------------------------------
Host:myhostq
CRS Home:/scratch/aime_ordb_myhostq/crso1/crshome_crso1
Patch: /tmp/patch_gipsu_12024/patch/22191349/21436941
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-21-21PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948341
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-21-21PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948344
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-21-21PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948354
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-21-21PM_1.log
Host:myhostr
CRS Home:/scratch/aime_ordb_myhostq/crso1/crshome_crso1
Patch:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/OPatch/auto/dbtmp/22191
349/21436941
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-24-56PM_1.log
Patch:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/OPatch/auto/dbtmp/22191
349/21948341
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-24-56PM_1.log
Patch:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/OPatch/auto/dbtmp/22191
349/21948344
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-24-56PM_1.log
Patch:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/OPatch/auto/dbtmp/22191
349/21948354
Log:
/scratch/aime_ordb_myhostq/crso1/crshome_crso1/cfgtoollogs/opatchauto/
core/opatch/opatch2016-03-08_23-24-56PM_1.log
OPatchAuto successful.
--------------------------------
Summary--------------------------------
Host:mymachineemq
CRS Home:/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1
Summary:
Patch: /tmp/patch_gipsu_12024/patch/22191349/21436941
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-41-38PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948341
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-41-38PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948344
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-41-38PM_1.log
Patch: /tmp/patch_gipsu_12024/patch/22191349/21948354
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-41-38PM_1.log
Host:mymachineemr
CRS Home:/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1
Summary:
Patch:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/OPatch/auto/dbtmp/
22191349/21436941
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-59-15PM_1.log
Patch:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/OPatch/auto/dbtmp/
22191349/21948341
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-59-15PM_1.log
Patch:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/OPatch/auto/dbtmp/
22191349/21948344
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-59-15PM_1.log
Patch:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/OPatch/auto/dbtmp/
22191349/21948354
Log:
/scratch/aime_ordb_mymachineemq/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_23-59-15PM_1.log
OPatchAuto successful.
--------------------------------
Summary--------------------------------
Patching is completed successfully. Please find the summary as
follows:
Host:mymachineemm
CRS Home:/scratch/aime_ordb_mymachineemm/crso1/crshome_crso1
Summary:
Patch: /tmp/patch_gipsu_12019/patch/22191492/17077442
Log:
/scratch/aime_ordb_mymachineemm/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_19-25-46PM_1.log
Patch: /tmp/patch_gipsu_12019/patch/22191492/17303297
Log:
/scratch/aime_ordb_mymachineemm/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_19-25-46PM_1.log
Patch: /tmp/patch_gipsu_12019/patch/22191492/21951844
Log:
/scratch/aime_ordb_mymachineemm/crso1/crshome_crso1/cfgtoollogs/opatch
auto/core/opatch/opatch2016-03-08_19-25-46PM_1.log
OPatchAuto successful.
---------------------------Patching
Failed---------------------------------
CRS-5016: Process
"/scratch/aime/app/aime/product/11.2.0/dbhome_2/bin/lsnrctl" spawned
by agent
"/scratch/aime_ordb_mymachineemg/crso1/crshome_crso1/bin/oraagent.bin"
for action "stop" failed: details at "(:CLSN00010:)" in
"/scratch/aime_ordb_mymachineemg/crso1/crshome_crso1/log/mymachineemg/
agent/crsd/oraagent_aime/oraagent_aime.log"
After fixing the cause of failure Run opatchauto resume with session
id "J5A3"