Table of ContentsView in Frames

(Software iSCSI) Configuring multipathing for a SAN boot LUN using SUSE Linux Enterprise Server

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

  1. Enable additional paths to the NetApp LUN (root LUN).
  2. 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
  3. Modify the /etc/sysconfig/network/ifcfg x file so that the value of STARTMODE reads nfsroot.
  4. 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
  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"
  6. 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
  7. Reboot the host.
    The system boots with multipathing enabled on the root device.
  8. 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.