Friday, January 27, 2012

How to upgrade CRS from 10g to 11gR1?

Step 1:

[root@vm1 upgrade]# ./preupdate.sh -crshome /u02/crs/oracle/product/10.2.0/crs -crsuser oracle
Shutting down Oracle Cluster Ready Services (CRS):
Jan 19 03:22:00.079 | INF | daemon shutting down
Stopping resources. This could take several minutes.
Successfully stopped CRS resources.
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
Checking to see if Oracle CRS stack is down...
Oracle CRS stack is down now.


[root@vm2 oracle]# ./preupdate.sh -crshome /u02/crs/oracle/product/10.2.0/crs -crsuser oracle
Shutting down Oracle Cluster Ready Services (CRS):
Jan 22 20:47:48.862 | INF | daemon shutting down
Stopping resources. This could take several minutes.
Successfully stopped CRS resources.
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
Checking to see if Oracle CRS stack is down...
Oracle CRS stack is down now.
[root@vm2 oracle]#

Step 3:

Execute runinstaller command from CRS software.

Step 4:

end of installation execute rootupgrade script

[root@vm1 logs]# /u02/crs/oracle/product/10.2.0/crs/install/rootupgrade
Checking to see if Oracle CRS stack is already up...

copying ONS config file to 11.1 CRS home
/bin/cp: `/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config' and `/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config' are the same file
/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config was copied successfully to /u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config
WARNING: directory '/u02/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u02/crs/oracle/product' is not owned by root
WARNING: directory '/u02/crs/oracle' is not owned by root
WARNING: directory '/u02/crs' is not owned by root
WARNING: directory '/u02' is not owned by root
Oracle Cluster Registry configuration upgraded successfully
Adding daemons to inittab
Attempting to start Oracle Clusterware stack
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Cluster Synchronization Services daemon has started
Waiting for Event Manager daemon to start
Event Manager daemon has started
Waiting for Cluster Ready Services daemon to start
Cluster Ready Services daemon has started
Oracle CRS stack is running under init(1M)
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
CRS stack on this node, is successfully upgraded to 11.1.0.6.0
Checking the existence of nodeapps on this node
Creating '/u02/crs/oracle/product/10.2.0/crs/install/paramfile.crs' with data used for CRS configuration
Setting CRS configuration values in /u02/crs/oracle/product/10.2.0/crs/install/paramfile.crs




[root@vm2 oracle]# /u02/crs/oracle/product/10.2.0/crs/install/rootupgrade
Checking to see if Oracle CRS stack is already up...

copying ONS config file to 11.1 CRS home
/bin/cp: `/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config' and `/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config' are the same file
/u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config was copied successfully to /u02/crs/oracle/product/10.2.0/crs/opmn/conf/ons.config
WARNING: directory '/u02/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u02/crs/oracle/product' is not owned by root
WARNING: directory '/u02/crs/oracle' is not owned by root
WARNING: directory '/u02/crs' is not owned by root
WARNING: directory '/u02' is not owned by root
Oracle Cluster Registry configuration upgraded successfully
Adding daemons to inittab
Attempting to start Oracle Clusterware stack
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Waiting for Cluster Synchronization Services daemon to start
Cluster Synchronization Services daemon has started
Waiting for Event Manager daemon to start
Event Manager daemon has started
Cluster Ready Services daemon has started
Oracle CRS stack is running under init(1M)
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
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
CRS stack on this node, is successfully upgraded to 11.1.0.6.0
Checking the existence of nodeapps on this node
Creating '/u02/crs/oracle/product/10.2.0/crs/install/paramfile.crs' with data used for CRS configuration
Setting CRS configuration values in /u02/crs/oracle/product/10.2.0/crs/install/paramfile.crs
[root@vm2 oracle]#

No comments: