Oracle RAC 11gR2 Database Installation
Install the Database
Before starting installer, I run the runcluvfy.sh script to make sure that all verifications are passed as listed below.
Go to /u01/app/11.2.0/grid/bin
as a root user run this command
./cluvfy stage -pre dbinst -n rac1,rac2 -verbose
After all requirements are met, start installer.
[root@rac1 ~] cd /u01/sw/11g/database/
[root@rac1 ~]. runInstaller
Uncheck the security updates checkbox and click the “Next” button.
Choose Create and Configure a database
Accept the “Server Class” option by clicking the “Next” button.
Make sure both nodes are selected, then click the “Next” button.
Choose Typical install and continue
Enter “/u01/app/oracle/product/11.2.0/db_1” for the software location. The storage type should be set to “Automatic Storage Management”. Enter the appropriate passwords and database name, in this case “RAC.oracle.com”.
If you are happy with the summary information, click the “Finish” button.
Wait for the installation to finish. It may take 1.5 hours to finish depending on the speed of your computer.
Wait for DBCA to start
Run root.sh script on RAC1 and RAC2 separately.
If you have configured Enterprise Manager, you will see the URL on this screen. Write down the URL and click Close to finish the database installations.
Em URL is https://rac1.oracle.com:1158/em
Check the Status of the RAC
There are several ways to check the status of the RAC. You can use sqlplus tool to query the database view and The srvctl utility shows the current configuration and status of the RAC database.
$sqlplus ‘/as sysdba’
SQL>select inst_name from v$active_instances;
and You can check it from OS level also using “srvctl”
Go to $GRID_HOME/bin
$srvctl status database -d rac
If you have configured Enterprise Manager, it can be used to view the configuration and current status of the database using a URL like “https://rac1.oracle.com:1158/em”.
Now the installation of Oracle 11g Release 2 RAC is complete. Hope it helps.