Upgrading Clusterware To Patchset 3 (10.2.0.4)
Upgrading Clusterware To Patchset 3 (10.2.0.4)
Upgrading Clusterware To Patchset 3 (10.2.0.4)
4)
Recently upgraded Oracle 10g RAC (10.2.0.1) to 10.2.0.4 patchset. Noticed something
interesting while applying the patchset. I have my 10g RAC running on 10.2.0.1 (base
version).I planned to apply patch as a ROLLING Upgrade. The patchset document says
the patch can be applied as rolling upgrade but when you invoke the runInstaller for
cluster upgrade, you won't get the option to select one of the two nodes (in 2 node
cluster). Both the nodes are automatically selected and grayed out (we can't make
any change). Initially i thought that my cluster is not being detected by
runInstaller.Cancelled it and set the ORACLE_HOME,PATH etc...properly but got the
same thing again...But later realised that it works like that only. The runInstaller
completes the installation and prompts to shutdown the CRS on node 1 and then run
root102.sh.This scripts bring up the cluster after execution and the process is
repeated on node 2...So here i go...
Node-1
[root@rac1 bin]# ./crsctl query crs softwareversion
CRS software version on node [rac1] is [10.2.0.1.0]
[root@rac1 bin]# ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.1.0]
Node-2
[root@rac2 bin]# ./crsctl query crs softwareversion
CRS software version on node [rac2] is [10.2.0.1.0]
[root@rac2 bin]# ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.1.0]
Applying the patchset.
1) Stop service, db instance, asm and nodeapps on node 1 (rac1)
[oracle@rac1 ~]$ srvctl stop instance -i orcl1 -d orcl
[oracle@rac1 ~]$ srvctl stop asm -n rac1
[oracle@rac1 ~]$ srvctl stop nodeapps -n rac1
[oracle@rac1 ~]$ crs_stat -t
Don't stop the CRS daemons. They would be brought down later.
[root@rac1 bin]# ./crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
3) In the screenshot as shown below both the nodes are grayed out and there is not
option to select one node (this was my assumpiton intially that rolling should apply
one by one with node selection option)..Click Next to move ahead...
4) Once the installer completes, it will prompt to run the following two scripts.(Each
node one at a time)
/u01/app/oracle/product/10.2.0/crs/bin/crsctl stop crs
/u01/app/oracle/product/10.2.0/crs/install/root102.sh
The first script stops the clusterware and after that second script completesthe
patching...
[root@rac1 bin]# /u01/app/oracle/product/10.2.0/crs/bin/crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@rac1 bin]#
The above scripts will automatically startup the clusterware on node 1 (and
nodeapps,asm and instance if they are enabled for startup)
So the software version of clusterware change to 10.2.0.4 but it would be active only
after upgrade of second node.
5) Now is the time to repeat the scripts on node 2 (rac2). Before that shutdown the
resources i.e. Stop service, db instance, asm and nodeapps on node 2 (rac2)