9.5 Modifying Oracle Clusterware Binaries After Installation
After installation, if you need to modify the Oracle Clusterware configuration, then you must unlock the Grid home. Review this information about unlocking the Grid home.
For example, if you want to apply a one-off patch, or if you want to modify an Oracle Exadata configuration to run IPC traffic over RDS on the interconnect instead of using the default UDP, then you must unlock the Grid home.
Caution:
Before relinking executables, you must shut down all executables that run in the Oracle home directory that you are relinking. In addition, shut down applications linked with Oracle shared libraries.
Unlock the home using the following procedure:
-
Change directory to the path
Grid_home/crs/install
, where Grid_home is the path to the Grid home, and unlock the Grid home using the commandrootcrs.sh -unlock
. For example, with the Grid home/u01/app/12.2.0/grid
, enter the following command:# cd /u01/app/12.2.0/grid/crs/install # rootcrs.sh -unlock
-
Change user to the Oracle Grid Infrastructure software owner, and relink binaries using the command syntax
make -f Grid_home/rdbms/lib/ins_rdbms.mk target
, where Grid_home is the Grid home, and target is the binaries that you want to relink. For example, where the grid user isgrid
,$ORACLE_HOME
is set to the Grid home, and where you are updating the interconnect protocol from UDP to IPC, enter the following command:# su grid $ make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk ipc_rds ioracle
Note:
To relink binaries, you can also change to the grid installation owner and run the command
Grid_home
/bin/relink
. -
Relock the Grid home and restart the cluster as follows:
# rootcrs.sh -lock # crsctl start crs
Repeat steps 1 through 3 on each cluster member node.
Note:
Do not delete directories in the Grid home. For example, do not delete the directory Grid_home/OPatch. If you delete the directory, then the Grid infrastructure installation owner cannot use OPatch to patch the Grid home, and OPatch displays the error message "checkdir error: cannot create
Grid_home/OPatch
".