You are on page 1of 4

Open VMwareWorkastation> Edit (Menu)> Virtual Network Editor(option) > select "V

Mnet8", change the "Subnet IP: 192.168.0.0"


eth0: 192.168.0.175 / 255.255.255.0
eth0: 192.168.1.175 / 255.255.255.0
hostname: openfiler.mydomain
rac1 192.168.1.151/255.255.255.255 share update
rac2 192.168.1.152/255.255.255.255 share update
Volume > Create New Physical Volume > /dev/sdb > Create a partition in /dev/sdb
>
-Primary Physical Volume default default create
Add Volume group > Volume griup name: racstore (select /dev/sdb) > Add Volume gr
oup
Add Volume > volume name: ocr, des: oracle cluster registry, size: 3072, File sy
stem: iSCSI
Add Volume > volume name: data1, des: oracle data, size: 10240, File system: iSC
SI
Add Volume > volume name: fra1, des: flash recovery area, size: 10240, File syst
em: iSCSI
iSCSI targets > Target IQN: iqn.openfiler:ocr > Add
iSCSI targets > Target IQN: iqn.openfiler:data1 > Add
iSCSI targets > Target IQN: iqn.openfiler:fra1 > Add
Target Configuration > Select iSCSI Target > iqn.openfiler:ocr > Change > Networ
k ACL > rac1, rac2 > allow > update
Target Configuration > Select iSCSI Target > iqn.openfiler:data1 > Change > Netw
ork ACL > rac1, rac2 > allow > update
Target Configuration > Select iSCSI Target > iqn.openfiler:fra1 > Change > Netwo
rk ACL > rac1, rac2 > allow > update
Target Configuration > Select iSCSI Target > iqn.openfiler:ocr > Change > LUN Ma
pping > /dev/racstore/ocr > Map
Target Configuration > Select iSCSI Target > iqn.openfiler:data1 > Change > LUN
Mapping > /dev/racstore/data1> Map
Target Configuration > Select iSCSI Target > iqn.openfiler:fra1 > Change > LUN M
apping > /dev/racstore/fra1 > Map
================================================================================
========================================
After LINUX OS installation
================================================================================
========================================

[root@Rac1 ~]# cat /etc/group | grep -i oinstall


oinstall:x:54321:
[root@Rac1 ~]# cat /etc/group | grep -i dba
dba:x:54322:oracle
[root@Rac1 ~]# cat /etc/group | grep -i asm
[root@Rac1 ~]# groupadd -g 801 asmadmin
[root@Rac1 ~]# groupadd -g 802 asmdba
[root@Rac1 ~]# groupadd -g 803 asmoper
[root@Rac1 ~]# cat /etc/group | grep -i asm
asmadmin:x:801:
asmadba:x:802:
asmoper:x:803:
[root@Rac1 ~]# cat /etc/passwd | grep -i oracle
oracle:x:54321:54321::/home/oracle:/bin/bash
[root@Rac1 ~]# cat /etc/passwd | grep -i grid
[root@Rac1 ~]# useradd -u 54322 -g oinstall -G asmdba,asmadmin,asmoper grid
[root@Rac1 ~]# cat /etc/passwd | grep -i grid
grid:x:54322:54321::/home/grid:/bin/bash
[root@Rac1 ~]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
[root@Rac1 ~]# usermod -g oinstall -G dba,asmdba oracle
[root@Rac1 ~]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),802(asmd
ba)
[root@Rac1 ~]# id grid
uid=54322(grid) gid=54321(oinstall) groups=54321(oinstall),801(asmadmin),803(asm
oper),802(asmdba)
[root@Rac1 ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@rac1 ~]# passwd grid
Changing password for user grid.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@Rac1 ~]# rpm -qa| grep -i oracleasm
oracleasm-2.6.18-398.el5xen-2.0.5-1.el5
oracleasm-support-2.1.8-1.el5
oracleasm-2.6.18-398.el5debug-2.0.5-1.el5
oracleasm-2.6.18-398.el5-2.0.5-1.el5
[root@Rac1 ~]# rpm -qa| grep -i oracleasmlib
[root@Rac1 ~]# cd /mnt/hgfs/Shared_Folder_6/RAC-RPMS/
[root@Rac1 RAC-RPMS]# ls -l
total 310
-rwxrwxrwx 1 root root 136910 Mar 9 02:31 oracleasm-2.6.18-164.el5-2.0.5-1.el5.
x86_64.rpm
-rwxrwxrwx 1 root root 137897 Mar 9 02:33 oracleasm-2.6.18-308.el5-2.0.5-1.el5.
x86_64.rpm
-rwxrwxrwx 1 root root 14176 Mar 9 02:31 oracleasmlib-2.0.4-1.el5.x86_64(1).rp
m
-rwxrwxrwx 1 root root 14176 Mar 9 02:32 oracleasmlib-2.0.4-1.el5.x86_64(2).rp
m
-rwxrwxrwx 1 root root 14176 Mar 9 02:28 oracleasmlib-2.0.4-1.el5.x86_64.rpm
-rwxrwxrwx 1 root root 90444 Mar 9 02:31 oracleasm-support-2.1.3-1.el5.x86_64.
rpm
-rwxrwxrwx 1 root root 91430 Mar 9 02:32 oracleasm-support-2.1.7-1.el5.x86_64.
rpm
-rwxrwxrwx 1 root root 90225 Mar 9 02:28 oracleasm-support-2.1.8-1.el5.x86_64.
rpm
-rwxrwxrwx 1 root root 15224 Mar 9 02:31 oracle-validated-1.0.0-18.el5.x86_64.
rpm
-rwxrwxrwx 1 root root 23838 Mar 9 02:33 oracle-validated-1.1.0-7.el5.x86_64.r
pm
-rwxrwxrwx 1 root root 1677 Mar 9 02:34 README
[root@Rac1 RAC-RPMS]# rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, ke
y ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]
[root@Rac1 RAC-RPMS]# cd
[root@Rac1 ~]# rpm -qa| grep -i oracleasmlib
oracleasmlib-2.0.4-1.el5
[root@Rac1 ~]# which oracleasm
/usr/sbin/oracleasm
[root@Rac1 ~]# oracleasm configure
ORACLEASM_ENABLED=false
ORACLEASM_UID=
ORACLEASM_GID=
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
[root@Rac1 ~]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no
[root@Rac1 ~]# oracleasm configure -i
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@Rac1 ~]# oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=asmadmin
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
[root@Rac1 ~]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@Rac1 ~]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@Rac1 ~]# oracleasm listdisks
[root@Rac1 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@Rac1 ~]# oracleasm listdisks

You might also like