DDN multipath for RHEL6/7

Robert Leong -

You may use the RPM install method or just copy/paste the relevant info from the second section.

Session log of RPM install


# rpm -ivh ddn_mpath_RHEL6_RHEL7-1.6-3.x86_64.rpm Preparing... ########################################### [100%] 1:ddn_mpath_RHEL6_RHEL7 ########################################### [100%] The DDN mpath config file has been installed as /etc/multipath.conf.ddn. Rename this file to /etc/multipath.conf if the file does not already exist. Manually merge the DDN supplied file with /etc/multpath.conf if one is already in use. Please read the DDN Multipath Manual for more information.

Download the RPM

Content of /etc/multipath.conf.ddn 

Look through the file, copy and paste appropriate sections to /etc/multipath.conf

# cat /etc/multipath.conf.ddn
##############################################
# mpath version: ddn_mpath_RHEL6_RHEL7-1.6-3 #
##############################################

# This is a basic configuration file with some examples, for device mapper
# multipath.
# For a complete list of the default configuration values, see
# /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.defaults
# For a list of configuration options with descriptions, see
# /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.annotated

## By default, devices with vendor = "IBM" and product = "S/390.*" are
## blacklisted. To enable mulitpathing on these devies, uncomment the
## following lines.
#blacklist_exceptions {
#       device {
#               vendor  "IBM"
#               product "S/390.*"
#       }
#}

## Use user friendly names, instead of using WWIDs as names.
defaults {
        user_friendly_names     no
        max_fds                 65535
        checker_timeout         5
}
##
## Here is an example of how to configure some standard options.
##
#
#defaults {
#       udev_dir                /dev
#       polling_interval        10
#       selector                "round-robin 0"
#       path_grouping_policy    multibus
#       getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
#       prio                    alua
#       path_checker            readsector0
#       rr_min_io               100
#       max_fds                 8192
#       rr_weight               priorities
#       failback                immediate
#       no_path_retry           fail
#       user_friendly_names     yes
#}
##
## The wwid line in the following blacklist section is shown as an example
## of how to blacklist devices by wwid.  The 2 devnode lines are the
## compiled in default blacklist. If you want to blacklist entire types
## of devices, such as all scsi devices, you should use a devnode line.
## However, if you want to blacklist specific devices, you should use
## a wwid line.  Since there is no guarantee that a specific device will
## not change names on reboot (from /dev/sda to /dev/sdb for example)
## devnode lines are not recommended for blacklisting specific devices.
##
blacklist {
#       wwid 26353900f02796769
#       devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
#       devnode "^hd[a-z]"

##  Black list for DELL internal system drives
    device {
        vendor "DELL.*|Dell.*"
        product "Universal.*|Virtual.*|PERC|VIRTUAL.*"
    }
##  Black list for INTEL internal system drives
    device {
        vendor ".*Adaptec.*"
    }
##  Black list for HP internal system drives
    device {
        vendor "^HP.*"
    }
}
#multipaths {
#       multipath {
#               wwid                    3600508b4000156d700012000000b0000
#               alias                   yellow
#               path_grouping_policy    multibus
#               path_checker            readsector0
#               path_selector           "round-robin 0"
#               failback                manual
#               rr_weight               priorities
#               no_path_retry           5
#       }
#       multipath {
#               wwid                    1DEC_____321816758474
#               alias                   red
#       }
#}
devices {
    device {
        vendor                  "DDN"
        product                 "EF3010"
        getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    multibus
        #polling_interval       10
        path_checker            tur
        failback                immediate
        rr_weight               uniform
        rr_min_io               100
        no_path_retry           fail
        hardware_handler        "0"
    }
    device {
        vendor                  "DDN"
        product                 "EF3015"
        getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    group_by_prio
        #polling_interval       10
        path_checker            tur
        failback                immediate
        rr_weight               uniform
        rr_min_io               100
        no_path_retry           18
        hardware_handler        "0"
        path_selector           "round-robin 0"
    }
    device {
        vendor                  "DotHill"
        product                 "DH4824"
        getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    group_by_prio
        #polling_interval       10
        path_checker            tur
        failback                immediate
        rr_weight               uniform
        rr_min_io               100
        no_path_retry           18
        hardware_handler        "0"
        path_selector           "round-robin 0"
    }
    device {
        vendor                  "DDN"
        product                 "S2A 9[579]*"
        getuid_callout          "/lib/udev/scsi_id --page=0x80 --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    group_by_prio
        #polling_interval       70
        path_checker            tur
        failback                immediate
        no_path_retry           fail
    }
    device {
        vendor                  "IBM"
        product                 "DCS9900"
        getuid_callout          "/lib/udev/scsi_id --page=0x80 --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    group_by_prio
        path_checker            tur
        failback                immediate
        no_path_retry           fail
    }
    device {
        vendor                  "SGI"
        product                 "DD6A-*-9900"
        getuid_callout          "/lib/udev/scsi_id --page=0x80 --whitelisted --device=/dev/%n"
        prio                    alua
        path_grouping_policy    group_by_prio
        path_checker            tur
        failback                immediate
        no_path_retry           fail
    }
    device {
        vendor                  "DDN"
        product                 "S2A 6620"
        path_grouping_policy    group_by_prio
        prio                    alua
        path_checker            tur
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        failback                immediate
        no_path_retry           12
    }
    device {
        vendor                  "IBM"
        product                 "2851-DR1"
        path_grouping_policy    group_by_prio
        prio                    alua
        path_checker            tur
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        failback                immediate
        no_path_retry           12
    }
    device {
        vendor                  "SGI"
        product                 "DD4A-FC008-6620"
        path_grouping_policy    group_by_prio
        prio                    alua
        path_checker            tur
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        failback                immediate
        no_path_retry           12
    }
    device {
        vendor                  "DDN"
        product                 "SFA 10000"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "SGI"
        product                 "DD6A-IS16K-10000"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "DDN"
        product                 "SFA12K-20"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    alua
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "DDN"
        product                 "SFA12K-40|SFA12KX*"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "SGI"
        product                 "DD6A-IS17K-12000"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "DDN"
        product                 "SFA7700"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    alua
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
   }
   device {
        vendor                  "SGI"
        product                 "DD6A-IS17500"
        path_grouping_policy    group_by_prio
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
    device {
        vendor                  "SGI"
        product                 "DD6A-IS7700x"
        path_grouping_policy    group_by_prio
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    alua
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
   }
   device {
        vendor                  "DDN"
        product                 "SFA14K"
        path_grouping_policy    group_by_prio
        getuid_callout          "/lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        path_checker            tur
        prio                    sfa
        failback                2
        rr_weight               uniform
        no_path_retry           12
        dev_loss_tmo            10
        fast_io_fail_tmo        5
    }
}

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.