Tuesday, August 11, 2015

Relink Oracle Home and Grid Home after OS upgrade in Oracle RAC



1. Shutdown Oracle RAC crs and asm. Node wise if needed for zero downtime.

2. Perform OS Upgrade.

3. Upgrade ASMlib

Download from here.
http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html
http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html
http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html

# rpm -Uvh oracleasm-support-xxx
# rpm -Uvh oracleasm-2.6.xxx
# rpm -Uvh oracleasmlib-xxx

# /etc/init.d/oracleasm enable
# /etc/init.d/oracleasm listdisks

4. Relink RDBMS ORACLE_HOME Binary

Use oracle
$ /bin/relink all

5. Relink grid home Binary
Note: complete full steps in onde node, then proceed to next
As UNIX/Linux “root”:
# cd /u01/app/11.2.0/grid/crs/install
# ./rootcrs.pl -unlock

Use oracle
$ cd /bin
$ ./relink all


Use root
# cd /rdbms/install
# ./rootadd_rdbms.sh
# cd /crs/install
# ./rootcrs.pl -patch


6. -- Check Log location
[grid@test-db]$ pwd
/u01/app/11.2.0/grid/log/test-db


7.  Startup CRS nodewise using root
# /bin/crsctl start crs

Start the database instance if needed.
--Startup one node instance
srvctl start instance -d DB_NAME -i INST_NAME

Check if the instances are online.
$ crsctl stat res -t



++++++++++++++++++
References
++++++++++++++++++
How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC (Doc ID 284785.1)

No comments:

Post a Comment