Tuesday, July 2, 2013

Upgrade to Oracle Grid Infrastructure 12c

Here are the steps to upgrade Grid Infrastucture from 11.2.0.3 to 12.1.0.1 on Redhat linux 5
1. Unset Oracle Environment Variables

$ unset ORACLE_BASE
$ unset ORACLE_HOME
$ unset ORACLE_SID


2. Using CVU to Validate Readiness for Oracle Clusterware Upgrades

navigate to the staging area for the upgrade, where the runcluvfy.sh command is located:
$ runcluvfy.sh stage -pre crsinst -upgrade -n ractest1-lnx,ractest2-lnx -rolling -src_crshome /u01/app/grid/11.2.0.3 -dest_crshome /u01/app/grid/12.1.0.1 -dest_version 12.1.0.1.0 -fixup -verbose 


Run fixup as root on all nodes:
$ /tmp/CVU_12.1.0.1.0_oracle/runfixup.sh 

3. Performing Rolling Upgrade of Oracle Grid Infrastructure

Start the installer, and select the option to upgrade an existing Oracle Clusterware and Oracle ASM installation

Run rootupgrade.sh as root on all nodes:
$ /u01/app/grid/12.1.0.1/rootupgrade.sh


4. Verification

$ crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [12.1.0.1.0]

No comments:

Post a Comment