Wednesday, November 23, 2016

Part 2: Grid Infrastructure and Database Upgrade from 11gR2 11.2.0.3 to 12C 12.1.0.2

Install Database 12.1.0.2 Software
Prepare Installation Software
Unzip the 12.1.0.2 database software.  Run the following command on the database server where the software is staged.
(oracle)$ unzip -q /u01/app/oracle/patchdepot/linuxamd64_12c_database_1of2.zip -d /u01/app/oracle/patchdepot
(oracle)$ unzip -q /u01/app/oracle/patchdepot/linuxamd64_12c_database_2of2.zip -d /u01/app/oracle/patchdepot

Create the new Oracle DB Home directory on all database server nodes
Node 1 and Node 2:
mkdir -p /u01/app/oracle/product/12.1.0.2/db_1

Perform 12.1.0.2 Database Software Installation with the Oracle Universal Installer (OUI)
Note: For OUI installations or execution of important scripts it is recommend to use VNC to avoid problems in case connection with the server is lost.

[oracle@ol6-112-rac1 database]$ ./runInstaller




























[root@ol6-112-rac1 ~]# /u01/app/oracle/product/12.1.0.2/db_1/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/12.1.0.2/db_1

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.
[root@ol6-112-rac1 ~]#

[root@ol6-112-rac2 ~]# /u01/app/oracle/product/12.1.0.2/db_1/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/12.1.0.2/db_1

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.
[root@ol6-112-rac2 ~]#



 Now  Install Database 12.1.0.2 Software is completed.
Please click below link to see the next step Upgrade DB from 11gR2 to 12C




No comments:

Post a Comment

Followers