Monday, October 19, 2009

Applying 10.2.0.4 CRS Patchset to a 10.2.0.1

Applying 10.2.0.4 CRS Patchset to a 10.2.0.1:

First Check clusterware verion.
[root@vm2 bin]# ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.1.0]

Then Stop all database resources
Shutdown database instances, ASM instances, Listener etc..

Download 10.2.0.4 patchset from Metalink.

./runInstaller

Select CRS_HOME path






To complete the installation of this patchset, you must perform the following tasks on each node:

1. Log in as the root user.
2. As the root user, perform the following tasks:

a. Shutdown the CRS daemons by issuing the following command:
/u04/crs/oracle/product/10.2.0/crs/bin/crsctl stop crs
b. Run the shell script located at:
/u04/crs/oracle/product/10.2.0/crs/install/root102.sh
This script will automatically start the CRS daemons on the
patched node upon completion.

3. After completing this procedure, proceed to the next node and repeat.



Node1:

[root@vm1 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@vm1 bin]# cd ..
[root@vm1 crs]# cd install
[root@vm1 install]# ./root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /u04/crs/oracle/product/10.2.0/crs
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/u04/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u04/crs/oracle/product' is not owned by root
WARNING: directory '/u04/crs/oracle' is not owned by root
WARNING: directory '/u04/crs' is not owned by root
WARNING: directory '/u04' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
10204 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node :
node 1: vm1 vm1-priv vm1
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
[root@vm1 install]# cd ../bin
You have new mail in /var/spool/mail/root
[root@vm1 bin]# ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.4.0]

Node2:

[root@vm2 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@vm2 bin]# cd ..
[root@vm2 crs]# cd install
[root@vm2 install]# ./root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /u04/crs/oracle/product/10.2.0/crs
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/u04/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u04/crs/oracle/product' is not owned by root
WARNING: directory '/u04/crs/oracle' is not owned by root
WARNING: directory '/u04/crs' is not owned by root
WARNING: directory '/u04' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
10204 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node :
node 2: vm2 vm2-priv vm2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully

[root@vm2 bin]# ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.4.0]
[root@vm2 bin]#

No comments: