Multipath configuration for RHEL6 for HA
$vim /etc/multipath.conf
defaults {
udev_dir /dev
polling_interval 10
max_fds 8192
fast_io_fail_tmo 80
dev_loss_tmo 600
user_friendly_names yes
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
devnode "^sda[0-9]"
devnode "^cciss*"
}
devices {
device {
vendor "FALCON"
product "IPSTOR DISK"
path_grouping_policy multibus
getuid_callout "/lib/udev/scsi_id –whitelisted –device=/dev/%n"
prio alua
path_selector "round-robin 0"
path_checker tur
rr_min_io 100
rr_weight priorities
failback immediate
features "1 queue_if_no_path"
no_path_retry 300
}
}
$vi /etc/udev/rules.d/40-rport.rules
KERNEL=="rport-*", SUBSYSTEM=="fc_remote_ports",
ACTION=="add",RUN+="/bin/sh -c 'echo 600 > /sys/class/fc_remote_ports/%k/dev_loss_tmo'"
KERNEL=="rport-*", SUBSYSTEM=="fc_remote_ports",
ACTION=="add",RUN+="/bin/sh -c 'echo 80 > /sys/class/fc_remote_ports/%k/fast_io_fail_tmo'"
$vi /etc/modprobe.d/qla2xxx.conf
options qla2xxx qlport_down_retry=30 ql2xloginretrycount=8