Maintenance on the Grid Infrastructure environment requires root privileges. You may need to unlock the Grid Home for cloning or patching purposes. You may need to deconfig a failed root.sh cluster configuration to clean up all the scattered files and then to re-execute root.sh. The following examples are tested at Viscosity Lab on Oracle Database 12c on an 8 node RAC.

To Unlock the Grid Infrastructure environment:

# cd $GRID_HOME/crs/install
# ./rootcrs.pl -unlock

Using configuration parameter file: ./crsconfig_params
2013/08/12 07:20:52 CLSRSC-347: Successfully unlock /u01/app/12.1.0/grid

To lock the Grid Infrastructure environment:

# cd $GRID_HOME/crs/install
# ./rootcrs.pl -patch
Using configuration parameter file: ./crsconfig_params
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'rh64a'
CRS-2672: Attempting to start 'ora.evmd' on 'rh64a'
CRS-2676: Start of 'ora.mdnsd' on 'rh64a' succeeded
CRS-2676: Start of 'ora.evmd' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rh64a'
CRS-2676: Start of 'ora.gpnpd' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rh64a'
CRS-2676: Start of 'ora.gipcd' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rh64a'
CRS-2676: Start of 'ora.cssdmonitor' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rh64a'
CRS-2672: Attempting to start 'ora.diskmon' on 'rh64a'
CRS-2676: Start of 'ora.diskmon' on 'rh64a' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'rh64a'
CRS-2676: Start of 'ora.cssd' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rh64a'
CRS-2672: Attempting to start 'ora.ctssd' on 'rh64a'
CRS-2676: Start of 'ora.ctssd' on 'rh64a' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rh64a'
CRS-2676: Start of 'ora.asm' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'rh64a'
CRS-2676: Start of 'ora.storage' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'rh64a'
CRS-2676: Start of 'ora.crf' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rh64a'
CRS-2676: Start of 'ora.crsd' on 'rh64a' succeeded
CRS-6017: Processing resource auto-start for servers: rh64a
CRS-2673: Attempting to stop 'ora.rh64a.vip' on 'rh64d'
CRS-2672: Attempting to start 'ora.ons' on 'rh64a'
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64a'
CRS-2672: Attempting to start 'ora.proxy_advm' on 'rh64a'
CRS-2677: Stop of 'ora.rh64a.vip' on 'rh64d' succeeded
CRS-2672: Attempting to start 'ora.rh64a.vip' on 'rh64a'
CRS-2676: Start of 'ora.rh64a.vip' on 'rh64a' succeeded
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'rh64a'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64a' succeeded
CRS-2676: Start of 'ora.ons' on 'rh64a' succeeded
CRS-2676: Start of 'ora.LISTENER.lsnr' on 'rh64a' succeeded
CRS-2676: Start of 'ora.proxy_advm' on 'rh64a' succeeded
CRS-6016: Resource auto-start has completed for server rh64a
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
Oracle Clusterware active version on the cluster is [12.1.0.1.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [0].

To deconfig the Grid Infrastructure environment execute the following on each of the RAC nodes:

# cd $GRID_HOME/crs/install
# ./rootcrs.pl -deconfig -verbose -force
Using configuration parameter file: ./crsconfig_params
Network 1 exists
Subnet IPv4: 10.0.0.0/255.255.255.0/eth1, static
Subnet IPv6: 
VIP exists: network number 1, hosting node rh64a
VIP Name: rh64a-vip
VIP IPv4 Address: 10.0.0.50
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64b
VIP Name: rh64b-vip
VIP IPv4 Address: 10.0.0.51
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64c
VIP Name: rh64c-vip
VIP IPv4 Address: 10.0.0.52
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64d
VIP Name: rh64d-vip
VIP IPv4 Address: 10.0.0.53
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64e
VIP Name: rh64e-vip
VIP IPv4 Address: 10.0.0.54
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64g
VIP Name: rh64g-vip
VIP IPv4 Address: 10.0.0.56
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64h
VIP Name: rh64h-vip
VIP IPv4 Address: 10.0.0.57
VIP IPv6 Address: 
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rh64a'
CRS-2673: Attempting to stop 'ora.crsd' on 'rh64a'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rh64a'
CRS-2673: Attempting to stop 'ora.proxy_advm' on 'rh64a'
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64a'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.proxy_advm' on 'rh64a' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rh64a' has completed
CRS-2677: Stop of 'ora.crsd' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rh64a'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rh64a'
CRS-2673: Attempting to stop 'ora.evmd' on 'rh64a'
CRS-2673: Attempting to stop 'ora.storage' on 'rh64a'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rh64a'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rh64a'
CRS-2677: Stop of 'ora.storage' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rh64a'
CRS-2677: Stop of 'ora.drivers.acfs' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.asm' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rh64a'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rh64a' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rh64a'
CRS-2677: Stop of 'ora.cssd' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'rh64a'
CRS-2677: Stop of 'ora.crf' on 'rh64a' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rh64a'
CRS-2677: Stop of 'ora.gipcd' on 'rh64a' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rh64a' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2013/08/12 12:33:24 CLSRSC-336: Successfully deconfigured Oracle clusterware stack on this node

To complete the reconfiguration process, execute the following on the last node:

# cd $ORACLE_HOME/crs/install
# ./rootcrs.pl -deconfig -verbose -force -lastnode
Using configuration parameter file: ./crsconfig_params
2013/08/12 12:58:41 CLSRSC-332: CRS resources for listeners are still configured

Network 1 exists
Subnet IPv4: 10.0.0.0/255.255.255.0/eth1, static
Subnet IPv6: 
VIP exists: network number 1, hosting node rh64g
VIP Name: rh64g-vip
VIP IPv4 Address: 10.0.0.56
VIP IPv6 Address: 
VIP exists: network number 1, hosting node rh64h
VIP Name: rh64h-vip
VIP IPv4 Address: 10.0.0.57
VIP IPv6 Address: 
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rh64h'
CRS-2673: Attempting to stop 'ora.crsd' on 'rh64h'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rh64h'
CRS-2673: Attempting to stop 'ora.proxy_advm' on 'rh64h'
CRS-2673: Attempting to stop 'ora.OCRVOTE.dg' on 'rh64h'
CRS-2677: Stop of 'ora.proxy_advm' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.OCRVOTE.dg' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rh64h'
CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rh64h'
CRS-2677: Stop of 'ora.DATA.dg' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.FRA.dg' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rh64h'
CRS-2677: Stop of 'ora.asm' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64h'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rh64h' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rh64h' has completed
CRS-2677: Stop of 'ora.crsd' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'rh64h'
CRS-2673: Attempting to stop 'ora.storage' on 'rh64h'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rh64h'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rh64h'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rh64h'
CRS-2673: Attempting to stop 'ora.evmd' on 'rh64h'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rh64h'
CRS-2677: Stop of 'ora.drivers.acfs' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.storage' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rh64h'
CRS-2677: Stop of 'ora.crf' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rh64h' succeeded
CRS-2677: Stop of 'ora.asm' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rh64h'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rh64h'
CRS-2677: Stop of 'ora.cssd' on 'rh64h' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rh64h'
CRS-2677: Stop of 'ora.gipcd' on 'rh64h' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rh64h' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2013/08/12 13:03:20 CLSRSC-336: Successfully deconfigured Oracle clusterware stack on this node

Posted by Charles Kim, Oracle ACE Director, VMware vExpert


Comments are closed