So in this post i will be installing the 11.2.0.3. Grid Software on RHEL 5u4.
We have configured our disk to be able to make it available for ASM.
[root@test ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks…
Scanning system for ASM disks…
[root@test ~]# /usr/sbin/oracleasm listdisks
DISK1
DISK2
DISK3
[root@test ~]#
I configured three ASM Disk.
Now go to the Grid Software Directory and start the installation:
[oracle@test grid]$ pwd
/home/oracle/Desktop/grid
[oracle@test grid]$
[oracle@test grid]$ ls -lrt
total 112
-rwxr-xr-x 1 oracle oinstall 4326 Sep 2 2011 welcome.html
-rwxr-xr-x 1 oracle oinstall 4878 Sep 22 2011 runcluvfy.sh
-rwxr-xr-x 1 oracle oinstall 3227 Sep 22 2011 runInstaller
drwxr-xr-x 9 oracle oinstall 4096 Sep 22 2011 doc
drwxr-xr-x 2 oracle oinstall 4096 Sep 22 2011 response
drwxr-xr-x 4 oracle oinstall 4096 Sep 22 2011 install
drwxr-xr-x 14 oracle oinstall 4096 Sep 22 2011 stage
drwxr-xr-x 2 oracle oinstall 4096 Sep 22 2011 sshsetup
drwxr-xr-x 2 oracle oinstall 4096 Sep 22 2011 rpm
-rwxr-xr-x 1 oracle oinstall 28122 Sep 22 2011 readme.html
[oracle@test grid]$
[oracle@test grid]$ ./runInstaller
Below screen will come up and we need to put up the details accordingly:
Select the disks as per normal redundancy. Name of the Disk Group is DATA. This failure group contains 3 Disks in it.
Make sure grid home directory is created before you give below. It may throw a message that this GRID is not a part of ORACLE_BASE. In my case it did come reason being I had two version of Oracle Installed.
To fix the mentioned missing prerequisites run the script from root user and press check again.
Execute the script from root user, output is as below:
[root@test ~]# /u01/app/11.2.0.3/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0.3/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of “dbhome” have not changed. No need to overwrite.
The contents of “oraenv” have not changed. No need to overwrite.
The contents of “coraenv” have not changed. No need to overwrite.
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.
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user ‘oracle’, privgrp ‘oinstall’..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root’, privgrp ‘root’..
Operation successful.
CRS-4664: Node test successfully pinned.
Adding Clusterware entries to inittab
test 2014/04/13 17:44:30 /u01/app/11.2.0.3/grid/cdata/test/backup_20140413_174430.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
[root@test ~]#
That’s It.
Hope it helps…