Installing Multipath Software
Yum-y Install Device-mapper-multipath
Start the daemon process
mpathconf--enable--with_multipath y
Start the multipath process
Service Multipath Start
View Multipath Devices
Multipath-v2
Multipath-ll
Configure MULTIPATHD to make it work, edit/etc/multipath.conf, open the following:
Defaults {
Udev_dir/dev
Polling_interval 10
Selector "Round-robin 0"
Path_grouping_policy Multibus
Getuid_callout "/sbin/scsi_id-g-u-s/block/%n"
Prio_callout None
Path_checker Readsector0
Rr_min_io 100
Max_fds 8192
Rr_weight Priorities
failback Immediate
No_path_retry fail
User_friendly_names Yes
}
Blacklist {
Wwid 26353900f02796769
Devnode "^ (ram|raw|loop|fd|md|dm-|sr|scd|st) [0-9]*"
Devnode "^hd[a-z]"
}
4, and close the following content
#blacklist {
# devnode "*"
#}
#defaults {
# User_friendly_names Yes
28 #}
5. After completion, execute the following command to discover Multipathing:
[Email protected] server]# modprobe Dm-multipath
[Email protected] server]# multipath-f
[Email protected] server]# multipath Dm-multipath
[Email protected] server]# multipath Dm-round-robin
[Email protected] server]# service MULTIPATHD restart
Shutting down MULTIPATHD port monitor: [OK]
Starting daemon MULTIPATHD: [OK]
[Email protected] server]# Multipath-v2
[Email protected] server]# Multipath-ll
Mpath1 (3600d02310000011b16a5d57c6a1bd99a) dm-0 toyou,netstor_isum510
[SIZE=3.3T] [Features=0] [Hwhandler=0] [RW]
\_ Round-robin 0 [Prio=2][ena Bled]
\_ 1:0:0:0 SDB 8:16 [Failed][ready]
\_ 1:0:1:0 SDC 8:32 [Failed][ready]
Installation Configuration linux6 multipath