Below are the summary steps to upgrade 11.2.0.3 to 12.1.0.1 Grid Infrastructure
./runcluvfy.sh stage -pre crsinst -upgrade -n gls101,gls102 -rolling -src_crshome /apps/oracle/product/11.2.0.3/grid -dest_crshome /apps/oracle/product/12.1.0.1/grid -dest_version 12.1.0.1.0 -fixup–verbose
mkdir /apps/oracle/product/12.1.0.1/grid
chown –R oracle:oinstall /apps/oracle/product/12.1.0.1/grid
chmod -R 775 /apps/oracle/product/12.1.0.1/grid
unset ORACLE_BASE
unset ORACLE_HOME
unset ORACLE_SID
unset ORA_CRS_HOME
gls101:/data/oracle/bkup1/software/12.1.0.1/grid
> ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 1803 MB Passed
Checking swap space: must be greater than 150 MB. Actual 6453 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
Installation Option --> UPgrade Oracle Grid Infrastructure or Oracle Automatic Storage Management
Node Selection --> Select the Cluster nodes (in addition to the local node) in the hardware clustere where the Installer should upgrade Grid Infrastructure
Grid Infrastructure Management --> Configure Grid Infrasture Management Repository --> Yes
Select the name of the operating system group, that you want to use for operating system autehntication to Oracle Automatic Storage Management --> Choose orainstall or dba
Specify the Oracle Base
If you get a warning on the package nfs-utils-1.0.9-60.el5.x86_64.rpm, you can install/update it
rpm -Uvh nfs-utils-1.0.9-60.el5.x86_64.rpm
warning: nfs-utils-1.0.9-60.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 192a7d7d
Preparing... ########################################### [100%]
1:nfs-utils ########################################### [100%]
gls101:/data/oracle/bkup1/software/12.1.0.1
> /apps/oracle/product/12.1.0.1/grid/rootupgrade.sh
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /apps/oracle/product/12.1.0.1/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /apps/oracle/product/12.1.0.1/grid/crs/install/crsconfig_params
ASM upgrade has started on first node.
OLR initialization - successful
2013/07/17 17:30:03 CLSRSC-329: Replacing Clusterware entries in file '/etc/inittab'
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2013/07/17 17:34:22 CLSRSC-343: Successfully started Oracle clusterware stack
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
2013/07/17 17:35:45 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
On the second node, run rootupgrade.sh
gls102:/data/oracle/bkup1/software/12.1.0.1
> /apps/oracle/product/12.1.0.1/grid/rootupgrade.sh
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /apps/oracle/product/12.1.0.1/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /apps/oracle/product/12.1.0.1/grid/crs/install/crsconfig_params
OLR initialization - successful
2013/07/17 17:40:12 CLSRSC-329: Replacing Clusterware entries in file '/etc/inittab'
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2013/07/17 17:45:01 CLSRSC-343: Successfully started Oracle clusterware stack
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 12c Release 1.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Start upgrade invoked..
Started to upgrade the Oracle Clusterware. This operation may take a few minutes.
Started to upgrade the OCR.
Started to upgrade the CSS.
The CSS was successfully upgraded.
Started to upgrade Oracle ASM.
Started to upgrade the CRS.
The CRS was successfully upgraded.
Oracle Clusterware operating version was successfully set to 12.1.0.1.0
2013/07/17 17:48:28 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
When creating Grid Infrastructure management database, you might run into issue of the OCR/Vote diskgroup runing out of space. For example, +GI does not have enough space. Required space is 3358 MB , available space is 2771 MB.
To add more disk to GI diskgroup
SQL> alter diskgroup GI add disk 'ORCL:GI_DISK01';
Diskgroup altered.