Chapter 26. Installing Oracle Database 10g
94
ocr1 (36006016054141500beac25dcc436dc11)
[size=1 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active]
\_ 1:0:1:0 sdc 8:32 [active]
\_ 2:0:1:0 sdn 8:208 [active]
ocr2 (36006016054141500a898dae7c436dc11)
[size=2 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active]
\_ 1:0:1:1 sdd 8:48 [active]
\_ 2:0:1:1 sdo 8:224 [active]
vote1 (3600601605414150040a48bf2c436dc11)
[size=3 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active]
\_ 1:0:1:2 sde 8:64 [active]
\_ 2:0:1:2 sdp 8:240 [active]
vote2 (36006016054141500c0fc0fffc436dc11)
[size=4 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active]
\_ 1:0:1:4 sdg 8:96 [active]
\_ 2:0:1:4 sdr 65:16 [active]
vote3 (36006016054141500340b8309c536dc11)
[size=5 GB][features="0"][hwhandler="1 emc"]
\_ round-robin 0 [active]
\_ 1:0:1:5 sdh 8:112 [active]
\_ 2:0:1:5 sds 65:32 [active]
Delete raw links to Multipath Devices on all nodes:
rm -f /dev/raw/*
Shut down multipath:
multipath -F #shuts off Multipath
Looking at the multipath.log output file, you can see which block devices will used for Oracle CRS.
To be sure you have the correct disk on all nodes, look at
/proc/partitons
. In this installation
example, each device has a unique size so it is easier to map. Now link the block devices to the raw
devices on all nodes by modifying
/etc/sysconfig/rawdevices
. Run
ll
on the device to get the
major minor number for a block device, as seen below.
# ll /dev/sdc1
brw-rw---- 1 root disk 8, 33 Oct 1 12:46 /dev/sdc1 #ocr1
# ll /dev/sdd1
brw-rw---- 1 root disk 8, 49 Oct 1 12:47 /dev/sdd1 #ocr2
# ll /dev/sde1
brw-rw---- 1 root disk 8, 65 Oct 1 12:47 /dev/sde1 #vote1
# ll /dev/sdg1
brw-rw---- 1 root disk 8, 97 Oct 1 12:48 /dev/sdg1 #vote2
# ll /dev/sdh1
brw-rw---- 1 root disk 8, 113 Oct 1 12:49 /dev/sdh1 #vote3
Change the configuration file
/etc/sysconfig/rawdevices
using vi or your favorite editor and add
the following block devices.
$ vi /etc/sysconfig/rawdevices
Summary of Contents for CLUSTER SUITE FOR ENTERPRISE LINUX 5.1
Page 7: ...Part I Tuning and Optimizing Red Hat Enterprise Linux for Oracle Database 9i and 10g ...
Page 8: ......
Page 10: ...4 ...
Page 16: ...10 ...
Page 28: ...22 ...
Page 30: ...24 ...
Page 36: ...30 ...
Page 42: ...36 ...
Page 54: ...48 ...
Page 60: ...54 ...
Page 68: ...62 ...
Page 72: ...66 ...
Page 88: ...82 ...
Page 90: ...84 ...
Page 92: ...86 ...
Page 94: ...88 ...
Page 98: ...92 ...
Page 108: ...102 ...
Page 112: ...106 ...
Page 120: ...114 ...
Page 122: ......
Page 128: ...122 ...
Page 132: ...126 ...
Page 134: ...128 ...
Page 142: ...136 ...
Page 146: ...140 ...
Page 156: ...150 ...
Page 160: ...154 ...