10 April 2012

Patch RAC DR server with 11g PSU5

Working notes, without the real directory names:

Pre-checks

$ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
cd 11202_Patches/Linux_x86_64
export PATH=$PATH:/.../OPatch
opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./13653086

export PATH=$PATH:$GRID_HOME/bin
crsctl stop cluster
crsctl stop crs

As the root user execute:
$GRID_HOME/crs/install/rootcrs.pl -unlock
to avoid error "Copy Action: Destination File "$GRID_HOME/bin/crsd.bin" is not writeable."

On each node


sudo su - grid
$GRID_HOME/OPatch/opatch napply -oh $GRID_HOME -local .../Linux_x86_64/13653086
$GRID_HOME/OPatch/opatch napply -oh $GRID_HOME -local .../Linux_x86_64/13343424
$GRID_HOME/OPatch/opatch lsinventory

sudo su - oracle
cd .../11202_Patches/Linux_x86_64/13653086
../custom/server/13653086/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
opatch napply -oh $ORACLE_HOME -local .../custom/server/13653086
opatch lsinventory <-- to check
cd ../11202_Patches/Linux_x86_64/13343424
opatch apply -oh /$ORACLE_HOME -local
../custom/server/13653086/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME

sudo su - grid
export PATH=$PATH:$GRID_HOME/bin
crsctl start crs
crsctl start cluster

Labels:


03 April 2012

Basic RAC 11gR2 commands



RAC 11gR2 installation on DR Linux server

Notes from RAC installation on DR servers:

Prerequisites check:
Installation:

Labels:


This page is powered by Blogger. Isn't yours?