How to Relink Oracle 12CR2 Grid Infrastrure ( GI ) Binary

1)Change ownership of some root owned files like extjobO and jssuO, etc, because the relink script will be run as “grid’ user to change the file permissions.

Otherwise, the relink will fail from the below commands in scripts:

...
..
.
chmod 600 /u01/app/12.2.0.1/grid/bin/extjoboO )
chmod 700 /u01/app/12.2.0.1/grid/bin/extjobo
chmod 600 /u01/app/12.2.0.1/grid/bin/extjobO )
...
..
.

2) As root user:

#umask
0022

#cd /u01/app/12.2.0.1/grid/crs/install
# ./rootcrs.sh -unlock

3) As grid user:

$ cd /u01/app/12.2.0.1/grid/bin
$ relink
writing relink log to: /u01/app/12.2.0.1/grid/install/relink.log

-- Check any errors ?
$ grep -i error /u01/app/12.2.0.1/grid/install/relink.log

4) As root user:

# cd /u01/app/12.2.0.1/grid/rdbms/install
# ./rootadd_rdbms.sh


# cd /u01/app/12.2.0.1/grid/crs/install
# ./rootcrs.sh -lock
Using configuration parameter file: /u01/app/12.2.0.1/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/racnode1/crsconfig/crslock_racnode1_2018-05-25_11-58-39AM.log

5) Check cluster resources:

$/u01/app/12.2.0.1/grid/bin/crsctl stat res -t

How to Update Opatch Utility of GI Home

Due to GI_HOME restricted access, you might get following errors when you extract opatch utility to GI_HOME:

checkdir error:  cannot create /u01/app/12.2.0.1/grid/OPatch

                 Permission denied

                 unable to process OPatch/config/opatch.properties.

Here is one of the appropriate way for extracting opatch utility :

Subscribe to get access

Read more of this content when you subscribe today.

CRS-4535: Cannot communicate with Cluster Ready Services

Two nodes 12.2.0.1 GI clusterware is not healthy with warning as below, databases and services are all still available for applications to connect to.

$ crsctl stat res -t
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.

$ crsctl check cluster -all
**************************************************************
racnode1:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
racnode2:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************

crsd process is still running on both nodes:

-- on racnode1
$ ps -eaf | grep -i crsd
root 5482 1 0 Mar01 ? 00:00:00 /u01/app/12.2.0.1/grid/bin/crsd.bin reboot

-- on racnode2
$ ps -eaf | grep -i crsd
root 66210 1 0 23:39 ? 00:00:02 /u01/app/12.2.0.1/grid/bin/crsd.bin reboot

Subscribe to get access

Read more of this content when you subscribe today.