When you set up a SAN boot LUN for SUSE Linux Enterprise Server, you install the operating system on a SCSI device. After you do that, you should set up multipathing. Multipathing must be configured on the root partition of the SAN boot LUN.
Before you begin
Your system setup must support SAN boot LUNs, as listed in the
Interoperability Matrix.
Steps
- Enable additional paths to the
NetApp LUN (root LUN).
- Use YaST2 to change the startup mode for all the iSCSI sessions:
For SUSE Linux Enterprise Server... |
Set the startup mode to... |
11 or 12 series |
Onboot |
10 SP2 |
automatic |
- Modify the
/etc/sysconfig/network/ifcfg
x file so that the value of STARTMODE reads
nfsroot.
- Change the value of the session re-establishment timeout for iSCSI sessions fetching the SAN boot LUN:
iscsiadm -m node -T
targetname -p ip:port -o update -n node.session.timeo.replacement_timeout -v 5
- Create a new initrd image with the root partition on multipath enabled:
For SUSE Linux Enterprise Server... |
Enter the command... |
11 or 12 series |
mkinitrd -f "iscsi multipath" |
10 series |
mkinitrd -f "iscsi mpath" |
- Change the startup mode of the iSCSI sessions fetching the SAN boot LUN:
iscsiadm -m node -T
targetname -p ip:port -o update -n node.startup -v onbootiscsiadm -m node -T
targetname -p ip:port -o update -n node.conn[0].startup -v onboot
- Reboot the host.
The system boots with multipathing enabled on the root device.
- Verify that multipathing is enabled on the root device by running the
mount command and ensuring that the root partition is on a DM-Multipath device.