Saturday, 7 June 2014

OS Kernal upgrade on RAC ASM system

OS Kernal upgrade on RAC ASM system

How upgrade OS with out RAC  Grid infrastructure reinstall.

1.Stop the database and GRID from the OS Upgrading node.
    <GRID_HOME>/bin/crsctl stop crs
2.Take OCR back up
    <GRID_HOME>/bin/ocrconfig -export
3.Disable auto start of Grid infra
    $GRID_HOME/bin/crsctl disable crs
4.upgrade the OS(Server team will take care)
       onces the system is up check and apply the compatible ASMLib for the kernal which you has been upgraded.



Check the kernal version
#uname -r

Download ASMLIB from OTN
>> http://www.oracle.com/technetwork/server-storage/linux/downloading-asmlib-176895.html
#rpm -Uvh asm***

After asmlib check the status and start ASM
#/etc/init.d/oracleasm status
#/etc/init.d/oracleasm start

5.Relink the Grid home.
As root:

# cd <GRID_HOME>/crs/install
# perl rootcrs.pl -unlock

As the grid infrastructure for a cluster owner:

$ export ORACLE_HOME=<GRID_HOME>
$ <GRID_HOME>/bin/relink

As root again:

# cd <GRID_HOME>/crs/install
# perl rootcrs.pl -patch

6.Enable  auto start of Grid infra
    $GRID_HOME/bin/crsctl enable crs

No comments: