He has image of undying i.e. He has no effect of time
Index of all the posts of Gurpartap Singh's Blog
After you start all the machines clusterware will bring up everything as below.
Logon on to node 1 as oracle/oracle
. oraenv
crs
$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.DATA1.dg ora....up.type 0/5 0/ ONLINE ONLINE rac1
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE rac1
ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE rac1
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE rac1
ora.eons ora.eons.type 0/3 0/ ONLINE ONLINE rac1
ora.gsd ora.gsd.type 0/5 0/ ONLINE ONLINE rac1
ora....network ora....rk.type 0/5 0/ ONLINE ONLINE rac1
ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE rac1
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1
ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
ora.rac1.vip ora....t1.type 0/0 0/0 ONLINE ONLINE rac1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE rac2
ora....C2.lsnr application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.gsd application 0/5 0/0 ONLINE ONLINE rac2
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2
ora.rac2.vip ora....t1.type 0/0 0/0 ONLINE ONLINE rac2
ora....ry.acfs ora....fs.type 0/5 0/ ONLINE ONLINE rac1
ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE rac1
oracle : rac1.rac.meditate.com : @crs : /home/oracle
$
Now run ASMCA , X11 should have been fowarded through putty as we did earlier and Xming should be running.:
$ . oraenv
ORACLE_SID = [crs] ? +ASM1
The Oracle base for ORACLE_HOME=/u02/app/11.2.0.1/grid is /u01/app/oracle
oracle : rac1.rac.meditate.com : @+ASM1 : /home/oracle
$ asmca
It will open the following window. Right click on disk group "DISK1" and click add disks and select 3 disks and add them.

Then you will see teh following screen.

Then the following message. Click ok on this.

Now on the following screen click create to create the new diskgroup.

I namded it "RECV1" and click external and click show candidate and pick 2 disks here and click ok.

Then you will see the following screen.

and then at the following screen click ok.

Now on the following screen verify both the disk groups are mounted on both the nodes.
Then on the following screen click exit and then yes on next screen.


Now we are ready to install database software.
Now we are ready to install database software as:
cd /software
Now unzip the database software as:
unzip linux.x64_11gR2_database_1of2.zip
and then
unzip linux.x64_11gR2_database_2of2.zip
and after that we can remove the zipped files as:
rm linux.x64_11gR2_database_1of2.zip
and
rm linux.x64_11gR2_database_2of2.zip
oracle : rac1.rac.meditate.com : @+ASM1 : /software
$ cd database
oracle : rac1.rac.meditate.com : @+ASM1 : /software/database
$ ls -lart
total 44
-rwxr-xr-x 1 oracle oinstall 3226 Aug 15 2009 runInstaller
drwxr-xr-x 2 oracle oinstall 4096 Aug 15 2009 rpm
drwxr-xr-x 4 oracle oinstall 4096 Aug 15 2009 install
drwxr-xr-x 14 oracle oinstall 4096 Aug 15 2009 stage
drwxrwxr-x 2 oracle oinstall 4096 Aug 15 2009 sshsetup
drwxrwxr-x 2 oracle oinstall 4096 Aug 15 2009 response
drwxr-xr-x 12 oracle oinstall 4096 Aug 16 2009 doc
-rw-r--r-- 1 oracle oinstall 5402 Aug 17 2009 welcome.html
drwxr-xr-x 8 oracle oinstall 4096 Aug 20 2009 .
drwxr-xr-x 3 oracle oinstall 4096 Jul 1 16:06 ..
Now Xming should be running and X11 should have been forwarded on putty.
oracle : rac1.rac.meditate.com : @+ASM1 : /software/database
$ ./runInstaller
and you will see the following screens.
Now we are ready to install database software as:
cd /software
Now unzip the database software as:
unzip linux.x64_11gR2_database_1of2.zip
and then
unzip linux.x64_11gR2_database_2of2.zip
and after that we can remove the zipped files as:
rm linux.x64_11gR2_database_1of2.zip
and
rm linux.x64_11gR2_database_2of2.zip
oracle : rac1.rac.meditate.com : @+ASM1 : /software
$ cd database
oracle : rac1.rac.meditate.com : @+ASM1 : /software/database
$ ls -lart
total 44
-rwxr-xr-x 1 oracle oinstall 3226 Aug 15 2009 runInstaller
drwxr-xr-x 2 oracle oinstall 4096 Aug 15 2009 rpm
drwxr-xr-x 4 oracle oinstall 4096 Aug 15 2009 install
drwxr-xr-x 14 oracle oinstall 4096 Aug 15 2009 stage
drwxrwxr-x 2 oracle oinstall 4096 Aug 15 2009 sshsetup
drwxrwxr-x 2 oracle oinstall 4096 Aug 15 2009 response
drwxr-xr-x 12 oracle oinstall 4096 Aug 16 2009 doc
-rw-r--r-- 1 oracle oinstall 5402 Aug 17 2009 welcome.html
drwxr-xr-x 8 oracle oinstall 4096 Aug 20 2009 .
drwxr-xr-x 3 oracle oinstall 4096 Jul 1 16:06 ..
Now Xming should be running and X11 should have been forwarded on putty.
oracle : rac1.rac.meditate.com : @+ASM1 : /software/database
$ ./runInstaller
and you will see the following screens.
Uncheck "I wish to receive security updates via My oracle Support"
Click yes

Click install database software only.

Click Real application cluster database installation and make sure both nodes rac1 and rac1 are checked and clicked SSH connectivity and enter oracle password just to make sure silent SSH between nodes is Ok and then click "TEST".

On the following screen click OK.

Select english and click OK.

Click enterprise edition and then click next.
and click next.

Pick default i.e. dba and then click next.

Next it will do pre-checks

Here click next.

You will see the installation screens. Depending on your RAM and CPU the speed of install will vary. Have patience as it may take long time and you will see the following screens.

Now run the root.sh scritps as:
First run on node1 i.e. rac1 as following and accept defaults for all the questions as:
[root@rac1 ~]# /u01/app/oracle/product/11.2.0.1/dbhome_1/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.2.0.1/dbhome_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.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@rac1 ~]#
and then on node 2 as:
[root@rac2 ~]# /u01/app/oracle/product/11.2.0.1/dbhome_1/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.2.0.1/dbhome_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.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@rac2 ~]#
Then go back to root.sh screen and click ok and then on the following screen click close.
[root@rac1 ~]# /u01/app/oracle/product/11.2.0.1/dbhome_1/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.2.0.1/dbhome_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.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@rac1 ~]#
and then on node 2 as:
[root@rac2 ~]# /u01/app/oracle/product/11.2.0.1/dbhome_1/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.2.0.1/dbhome_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.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@rac2 ~]#
Then go back to root.sh screen and click ok and then on the following screen click close.

Now we are all set to create the database. Stop the machines and take the backup of all the machines and restart then with SAN machine being the first to be started and last to be switched off.
Remember:
On the journey where no one knows you, with the Name of the Lord, you shall be recognized.
Part 1 - Vmware Setup
Part 2 - Setup Base Brick Machine
Part 3 - SAN Setup
Part 4 - RAC VM Setup
Part 5 - Install Grid Infrastructure
Part 6 - Run asmca and Install RDBMS Software
Part 7 - Create RAC database with DBCA
Part 8 - Add node and instance to existing 11gR2 Cluster db
Part 9 - Delete node and inst from existing 11gR2 cluster db















































