February 22 2013
How to relink Oracle binaries after OS upgrade in 11gR2 with Grid Infra?
Tagged Under : OS upgrade, relink binary, upgrade ASMlib
(1) Shutdown DB, DBconsole (if any), Cluster, ASMlib (if any in Linux)
As RDBMS owner id “oracle”:
$ srvctl stop database -d
$ emctl stop dbconsole #– run on all nodes
As UNIX/Linux “root”:
#
#
# /etc/init.d/oracleasm stop #– run on all nodes
# /etc/init.d/oracleasm disable #– run on all nodes
(2) Backup filesystem for GI ORACLE_HOME & RDBMS ORACLE_HOME
(3) O/S upgrade
(4) Upgrade ASMlib (if any in Linux, run on all nodes)
# rpm -Uvh oracleasm-support-xxx
# rpm -Uvh oracleasm-2.6.xxx
# rpm -Uvh oracleasmlib-xxx
# /etc/init.d/oracleasm enable
# /etc/init.d/oracleasm lisdisks
(5) Relink RDBMS ORACLE_HOME Binary
Note: complete full steps in onde node, then proceed to next
As RDBMS owner id “oracle”:
$
(6) Relink GI ORACLE_HOME Binary
Note: complete full steps in onde node, then proceed to next
As UNIX/Linux “root”:
# cd
# ./rootcrs.pl -unlock
As RDBMS owner id “oracle”:
$ cd
$ ./relink all
As UNIX/Linux “root”:
# cd
# ./rootadd_rdbms.sh
# cd
# ./rootcrs.pl -patch
(7) Enable CRS auto-startup and start CRS on all nodes
Note: complete full steps in onde node, then proceed to next
As UNIX/Linux “root”:
#
#
(8) Double check if DB, instances and all resrouces are ONLINE.
As RDBMS owner id “oracle”:
$ crsctl stat res -t
Gentle reminder:
Please read the following known bug before you plan for relinking Grid Infra 11.2.0.3.
Bug 16038046 : FAILED TO WRITE THE CHECKPOINT:” WITH STATUS:FAIL.ERROR CODE IS 256