Relink Grid Infrastructure

I recently had to work with my SysAdmin on a minor OS upgrade on a two-node RAC cluster. I am running Oracle Grid Infrastructure 11.2.0.2 with Oracle RDBMS 11.2.0.2 and we were upgrading from Oracle Enterprise Linux 5.2 to 5.8.

As most Oracle DBA’s know, it is a good idea to recompile the Oracle software after an OS upgrade. For the Oracle RDMBS software, this is as simple as “$ORACLE_HOME/bin/relink all”. But what about the Grid Infrastructure software?

If you read Metalink Note 220970.1 RAC: Frequently Asked Questions, it states that for 11.2 and higher, you should relink after an OS upgrade (Lower versions do not need the relink). However, I think the steps are a bit misleading as I found out last night. The steps this note gives are as follows:

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -unlock

As GRID_HOME owner ("oracle" in my case):

export ORACLE_HOME=$GRID_HOME

$ORACLE_HOME/bin/relink

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -patch


What the instructions fail to tell you is that the last call to rootcrs.pl will start Grid Infrastructure, which for most people means an automatic restart of the instances running under GI’s control. But wait a minute! I didn’t get a chance to recompile the Oracle RDBMS software! So here is my modified steps to recompile everything:
Luckily, they are easy to remember; just recite the ABC’s. http://www.unica-web.com/ENGLISH/2018/presidents-letter-march-2018.html lowest prices viagra Long term high blood sugar quantities can lead viagra 25mg to decreased testosterone and may lead to reduced sexual desire or libido. Even among pharmacy cialis those who visit a health care provider. buying viagra canada This is also depends on their capacity on the bed.
As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -unlock

As GRID_HOME owner ("oracle" in my case):

export ORACLE_HOME=$GRID_HOME

$ORACLE_HOME/bin/relink

export ORACLE_HOME={rdbms home}

$ORACLE_HOME/bin/relink all

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -patch

In this manner, we recompile the Grid Infrastructure software, and then the RDBMS software. Then the last call to rootcrs.pl will start GI and start the instances.