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

db1

Uncheck the security updates checkbox and click the “Next” button.

db2

Choose Create and Configure a database

db3

Accept the “Server Class” option by clicking the “Next” button.

db4

Make sure both nodes are selected, then click the “Next” button.

db5

Choose Typical install and continue

db6

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”.

db7

If you are happy with the summary information, click the “Finish” button.

db8

Wait for the installation to finish. It may take 1.5 hours to finish depending on the speed of your computer.

db9

Wait for DBCA to start

db11

Run root.sh script on RAC1 and RAC2 separately.

db12

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.

db13

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;
INST_NAME
—————————————————–

rac1.oracle.com:RAC1

rac2.oracle.com:RAC2

and You can check it from OS level also using “srvctl”

Go to $GRID_HOME/bin

$srvctl status database -d rac

dbcheck

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.

 

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."