1. SSH to Oracle-node1 and run the following commands:
# echo "---" >/sys/class/scsi_host/host3/scan
# echo "---" >/sys/class/scsi_host/host4/scan
# Service MULTIPATHD Reload
# MULTIPATH-LL
Look for output from the MULTIPATH-LL command similar to what is listed below:
mpath30 (360060e801038f270057f59f70000000e) dm-30 hitachi,df600f
Mpath31 (360060e801038f270057f59f70000000d) dm-31 hitachi,df600f
Mpath32 (360060e801038f270057f59f70000000e) dm-32 hitachi,df600f
Mpath33 (360060e801038f270057f59f70000000e) dm-33 hitachi,df600f
2. Make a backup copy of the existing/etc/multipath.conf file by running the following command listed below:
# Cp/etc/multipath.conf/etc/multipath.conf-backup
3. edit/etc/multipath.conf and create a device mapper alias for the following LUN as listed below:
Vol 0124 Dg3_1
Vol 0125 Dg3_2
Vol 0126 Dg3_3
Vol 0127 Dg3_4
Example Syntax:
multipath {
Wwid 360060e80104b3ab004f322b300000001
Alias Dg3_1
}
multipath {
Wwid 360060e80104b3ab004f322b300000001
Alias Dg3_2
}
multipath {
Wwid 360060e80104b3ab004f322b300000001
Alias Dg3_3
}
multipath {
Wwid 360060e80104b3ab004f322b300000001
Alias Dg3_4
}
Replace the WWID in the example syntax listed above with the correct WWID from the output of Multipath-ll obtained in Ste P 1.
4. Run the command ' service MULTIPATHD reload ' and verify the new devices appear in The/dev/mapper directory (Dg3_1, dg3_ 2, Dg3_3, Dg3_4)
# Service MULTIPATHD Reload
# Ls/dev/mapper
5. Label and partition the disk for ASM use
# Parted/dev/mapper/dg3_1
Mklabel Msdos
Mkpart pri
63
25g
Exit
Repeat Step 5 For/dev/mapper/dg3_2
Repeat Step 5 For/dev/mapper/dg3_3
Repeat Step 5 For/dev/mapper/dg3_4
6. We need to repeat step1-5 on Oracle-node2
7. If necessary, run the command
Partprobe/dev/mapper/dg3_1
Partprobe/dev/mapper/dg3_2
Partprobe/dev/mapper/dg3_3
Partprobe/dev/mapper/dg3_4
ADD 4 multipath LUNs into RHEL