Table of ContentsView in Frames

Sample configuration files for SUSE Linux Enterprise Server 11 series

All versions of SUSE Linux Enterprise Server use a DM-Multipath configuration file, but there might be slight variations in the file based on which version and update of SUSE Linux Enterprise server you have. If you are running SUSE Linux Enterprise Server 11 series, you can replace your current file with one of the sample configuration files and then change the values to ones that are appropriate for your system.

SUSE Linux Enterprise Server 11, SP1 with ALUA enabled sample configuration file

You can use the sample SUSE Linux Enterprise Server 11 series configuration files shown here to create your own multipath.conf file. When you create your file, keep the following in mind:

SUSE Linux Enterprise Server 11 series notes Explanation
Blacklist section You must provide information of your system in the blacklist section.

Any names shown in the sample files are examples and will not work with your system.

The following file provides an example of the values you need to supply when your host is running either SUSE Linux Enterprise Server 11 or 11 SP1 with ALUA.

Remember: If you use the blacklist section, you must replace the sample information with information for your system.

defaults
{
  user_friendly_names    no
  max_fds                max
  flush_on_last_del      yes
}
# All data under blacklist must be specific to your system.
blacklist
{
  
  devnode    "^hd[a-z]"
  wwid       "<wwid_of_the_local_disk>"
  devnode    "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
  devnode    "^cciss.*"
}
devices
{
   device
    {
      vendor                 "NETAPP"
      product                "LUN"
      getuid_callout         "/lib/udev/scsi_id -g -u -d /dev/%n"
      prio                   "alua"
      features               "1 queue_if_no_path"
      hardware_handler       "1 alua"
      path_grouping_policy   group_by_prio
      path_selector          "round-robin 0"
      failback               immediate
      rr_weight              uniform
      rr_min_io              128
      path_checker           tur
    }
}

The following file provides an example of the values you need to supply when your host is running SUSE Linux Enterprise Server 11 or 11 SP1 and ALUA is not enabled.

Note: Unless you are running the iSCSI protocol and Data ONTAP operating in 7-Mode, you should have ALUA enabled.

Remember: If you use the blacklist section, you must replace the sample information with information for your system.

defaults
{
  user_friendly_names    no
  max_fds                max
  flush_on_last_del      yes
}
# All data under blacklist must be specific to your system.
blacklist
{
  
  devnode    "^hd[a-z]"
  wwid       "<wwid_of_the_local_disk>"
  devnode    "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
  devnode    "^cciss.*"
}
devices
{
   device
    {
      vendor                 "NETAPP"
      product                "LUN"
      getuid_callout         "/lib/udev/scsi_id -g -u -d /dev/%n"
      prio                   "ontap"
      features               "1 queue_if_no_path"
      hardware_handler       "0"
      path_grouping_policy   group_by_prio
      path_selector          "round-robin 0"
      failback               immediate
      rr_weight              uniform
      rr_min_io              128
      path_checker           tur
    }
}

SUSE Linux Enterprise Server 11 SP2 with ALUA enabled sample configuration file

The following file provides an example of the values you need to supply when your host is running SUSE Linux Enterprise Server 11 SP2 KVM and Xen with ALUA.

Note: This configuration file applies to both SLES 11 SP2 KVM and Xen also.

Remember: If you use the blacklist section, you must replace the sample information with information for your system.

defaults
{
  user_friendly_names    no
  max_fds                max
  queue_without_daemon   no
  flush_on_last_del      yes
}
# All data under blacklist must be specific to your system.
blacklist
{
  
  devnode    "^hd[a-z]"
  wwid       "<wwid_of_the_local_disk>"
  devnode    "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
  devnode    "^cciss.*"
}
devices
{
   device
    {
      vendor                 "NETAPP"
      product                "LUN"
      getuid_callout         "/lib/udev/scsi_id -g -u -d /dev/%n"
      prio                   "alua"
      features               "3 queue_if_no_path pg_init_retries 50"
      hardware_handler       "1 alua"
      path_grouping_policy   group_by_prio
      failback               immediate
      rr_weight              uniform
      rr_min_io              128
      path_checker           tur
    }
}

SUSE Linux Enterprise Server 11 SP2 without ALUA enabled sample configuration file

The following file provides an example of the values you need to supply when your host is running SUSE Linux Enterprise Server 11 SP2 KVM and Xen when ALUA is not enabled.

Note: Unless you are running the iSCSI protocol and Data ONTAP operating in 7-Mode, you should have ALUA enabled.
Note: This configuration file applies to both SLES 11 SP2 KVM and Xen also.

Remember: If you use the blacklist section, you must replace the sample information with information for your system.

defaults
{
  user_friendly_names    no
  max_fds                max
  queue_without_daemon   no
  flush_on_last_del      yes
}
# All data under blacklist must be specific to your system.
blacklist
{
  
  devnode    "^hd[a-z]"
  wwid       "<wwid_of_the_local_disk>"
  devnode    "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
  devnode    "^cciss.*"
}
devices
{
   device
    {
      vendor                 "NETAPP"
      product                "LUN"
      getuid_callout         "/lib/udev/scsi_id -g -u -d /dev/%n"
      prio                   "ontap"
      features               "3 queue_if_no_path pg_init_retries 50"
      hardware_handler       "0"
      path_grouping_policy   group_by_prio
      failback               immediate
      rr_weight              uniform
      rr_min_io              128
      path_checker           tur
    }
}

SUSE Linux Enterprise 11 SP3 with and without ALUA enabled sample configuration file

Note: With SUSE Linux Enterprise 11 SP3, you do not need the /etc/multipath.conf file to configure DM-Multipath on NetApp LUNs.

Remember: To blacklist a device, you must add the following sample information in the /etc/multipath.conf file.

# All data under blacklist must be specific to your system.
blacklist {
wwid <wwid_of_the_local_disk>
}

SUSE Linux Enterprise 11 SP4 with and without ALUA enabled sample configuration file

Note: With SUSE Linux 11 SP4, you do not need the /etc/multipath.conf file to configure DM-Multipath on NetApp LUNs.

Remember: To blacklist a device, you must add the following sample information in the /etc/multipath.conf file.

# All data under blacklist must be specific to your system.
blacklist {
wwid < wwid_of_the_local_disk>
}