The project was to present luns from the san server to all the nodes within a cluster for use by ASM. The required the SAN Administrator to present the luns to the device and the system administrator to do the rest.
- Rescan the qla2xxx card. “echo ‘scsi-qlascan’ > /proc/scsi/qla2xx/# – channel number.
- Make the devices visible to the OS: sudo rescan-scsi-bus.sh –ids=(id numbers) –luns=(lun numbers).
- Format the devices. This is a vital step because ASM places a header on each device. If the old header is in place ASM will become confused, then you have real problems.
- Place the lun IDs into /etc/multipath.conf.
- Place the raw device names in /etc/raw
- Change the permissions of the raw devices in /etc/udev/udev.permissions to oracle:dba.
- Run /sbin/multipath -v2 to bring the devices into the device.
- Run /etc/init.d/raw start, which will start the devices in raw.
- Perform the steps for each node with the exception of step 3. The reason for excluding step 3 is because the same luns are being shared between all nodes.
Pretty simple when you know the method. Hope this helps and have fun.