Relinking Oracle Database Software on a Unix/Linux RAC Cluster

Relink Oracle Database Software on Unix Linux RAC Cluster

Had problems with running Oracle RAC on a cluster on Redhat Release 3 AS. So we started the conversion to Redhat Release 4 AS. We run a 2 node RAC Cluster on iSCSI Lefthand Networks SAN. The Oracle software is installed on a lun on each machine and the database is on lun’s of RAW disk manged by ASM. This allows flexability by moving the luns from OS to OS and recompiling the Oracle binaries when we need to move the Oracle Cluster to a new version of the OS.

1. First we need to check if the Oracle Home (10.2) & ASm Oracle home were re-linked correctly.

2. Relink The 10.2 Oracle Server manually following the next steps:

2.1 Shutdown all Oracle Instances and Listeners running on your 10.2 ORACLE_HOME

2.2 Manual relink your 10.2 ORACLE_HOME

==============start relink by type this on command line =============

script relink_1020.out

export ORACLE_HOME

PATH=$ORACLE_HOME/bin:$PATH

env | sort

$ORACLE_HOME/bin/relink all

exit

==============end script========
Note the previous commands need to be executed line by line on the OS prompt.

3. No relink the ASM ORACLE_HOME as follows

1.1 Shutdown all Oracle Instances and Listeners running on your ASN ORACLE_HOME

2.2 Manual relink your ASM ORACLE_HOME

==============start relink by type this on command line =============

script relink_asm.out

export ORACLE_HOME

PATH=$ORACLE_HOME/bin:$PATH

env | sort

$ORACLE_HOME/bin/relink all

exit

==============end script========
Note the previous commands need to be executed line by line on the OS prompt.

The review all output to be sure there are no errors.

Now that we have finished with no errors we should be able to bring up the new recompile Oracle binaries under RHEL4 AS.

Other Oracle information at a Oracle Scripts website

Posts in this Series