Owner's Manual
设置
iSCSI
群集 125
3
取消
/etc/multipath.conf
中以下部分的注释。
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 /bin/true
path_checker readsector0
rr_min_io 100
max_fds 8192
rr_weight priorities
failback immediate
no_path_retry fail
user_friendly_names yes
}
4
在
/etc/multipath.conf
中添加以下部分。该
WWID
是从步骤
1
获取的。
请确保群集中所有主机上的别名均一致。
multipaths {
multipath {
wwid WWID_of_volume1
alias alias_of_volume1
}
multipath {
wwid WWID_of_volume2
alias alias_of_volume2
}
(为每个额外的卷添加多路径子代码段。)
}