09 Install Oracle Database Software

References

Oracle® Real Application Clusters Installation Guide 11g Release 1 (11.1) for Linux and UNIX

Overview

This procedure is similar to that in 08 Install ASM Software.

Confirming Cluster Readiness for Oracle RAC Installation with CVU

Followed the procedure in Confirming Cluster Readiness for Oracle RAC Installation with CVU, by running as the oracle user,:

su - oracle /u00/product/11.1.0.6/clusterware/runcluvfy.sh stage -pre dbinst -n penrith1,penrith2 \ -osdba dba -verbose >/tmp/cluvfy_pre_dbinst2.lst

The log has been uploaded as cluvfy_pre_dbinst2.lst. The only issue is memory size again. This does not seem to be a problem for OUI.

Using Oracle Universal Installer to install Oracle RAC

su - oracle cd /u00/product/11.1.0.6/database ./runInstaller.sh

    • ORACLE_BASE is /u01/app/oracle.
    • ORACLE_HOME is /u01/app/oracle/product/11.1.0/db_2.

Run root.sh Scripts

On PENRITH1,

[root@penrith1 ~]# cd /u01/app/oracle/product/11.1.0/db_2/ [root@penrith1 db_2]# ./root.sh Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.1.0/db_2 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.sh script. Now product-specific root actions will be performed. Finished product-specific root actions.

On PENRITH2,

[root@penrith2 ~]# cd /u01/app/oracle/product/11.1.0/db_2/ [root@penrith2 db_2]# ./root.sh Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.1.0/db_2 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.sh script. Now product-specific root actions will be performed. Finished product-specific root actions.

Check Installation of ASM

CLUVFY was used to validate the successful installation of the ASM software:

su - oracle /u00/product/11.1.0.6/clusterware/runcluvfy.sh stage -pre dbcfg -n penrith1,penrith2 \ -d /u01/app/oracle/product/11.1.0/db_2 -verbose >/tmp/cluvfy_pre_dbcfg2.lst

The file, cluvfy_pre_dbcfg2.lst, has been uploaded as an attachment.

And the root.sh script was backed up as follows on both PENRITH1 and PENRITH2:

[oracle@penrith1 ~]$ mkdir -p backup/11.1.0.6 [oracle@penrith1 ~]$ cp /u01/app/oracle/product/11.1.0/db_2/root.sh backup/11.1.0.6/