NetAppMultipath最佳实践配置
- 格式:doc
- 大小:16.57 KB
- 文档页数:13
NetApp Multipath最佳实践配置
1.Red Hat Enterprise Linux 6 with ALUA enabled sample configuration file
The following file provides an example of the values you need to supply when your host is running
Red Hat Enterprise Linux 6 with ALUA enabled:
defaults {
user_friendly_names no
max_fds max
flush_on_last_del yes
queue_without_daemon no
}
blacklist {
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {
vendor "NETAPP"
product "LUN"
path_grouping_policy group_by_prio
features "3 queue_if_no_path pg_init_retries 50"
prio "alua"
path_checker tur
failback immediate
path_selector "round-robin 0"
hardware_handler "1 alua"
rr_weight uniform
rr_min_io 128
getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
}
}
2.Red Hat Enterprise Linux 6 without ALUA enabled sample configuration file
The following file provides an example of the values you need to supply when your host is running
Red Hat Enterprise Linux 6 and does not have ALUA enabled.
Note: Unless you are running the iSCSI protocol and Data ONTAP operating in 7-Mode, you should have ALUA enabled.
defaults {
user_friendly_names no
max_fds max
flush_on_last_del yes
queue_without_daemon no
}
blacklist {
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {
vendor "NETAPP"
product "LUN"
path_grouping_policy group_by_prio
features "3 queue_if_no_path pg_init_retries 50"
prio "ontap"
path_checker tur
failback immediate
path_selector "round-robin 0"
hardware_handler "0"
rr_weight uniform
rr_min_io 128
getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
}
}
3.Red Hat Enterprise Linux 6 update 1 with ALUA enabled sample configuration
file
The following file provides an example of the values you need to supply when your host is running
Red Hat Enterprise Linux 6 update 1 with ALUA enabled:
defaults {
user_friendly_names no
max_fds max
flush_on_last_del yes
queue_without_daemon no
dev_loss_tmo 2147483647
fast_io_fail_tmo 5
}
blacklist {
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {
vendor "NETAPP"
product "LUN"
path_grouping_policy group_by_prio
features "3 queue_if_no_path pg_init_retries 50"
prio "alua"
path_checker tur
failback immediate
path_selector "round-robin 0"
hardware_handler "1 alua"
rr_weight uniform
rr_min_io 128
getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
}
}
4.Red Hat Enterprise Linux 6 update 1 without ALUA enabled sample
configuration file
The following file provides an example of the values you need to supply when your host is running
Red Hat Enterprise Linux 6 update 1 and does not have ALUA enabled.
Note: Unless you are running the iSCSI protocol and Data ONTAP operating in 7-Mode, you should have ALUA enabled.
defaults {
user_friendly_names no
max_fds max
flush_on_last_del yes
queue_without_daemon no
dev_loss_tmo 2147483647
fast_io_fail_tmo 5
}
blacklist {
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {