NetApp Multipath最佳实践配置.docx
《NetApp Multipath最佳实践配置.docx》由会员分享,可在线阅读,更多相关《NetApp Multipath最佳实践配置.docx(20页珍藏版)》请在冰豆网上搜索。
NetAppMultipath最佳实践配置
NetAppMultipath最佳实践配置
1.RedHatEnterpriseLinux6withALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6withALUAenabled:
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"alua"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"1alua"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
2.RedHatEnterpriseLinux6withoutALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6anddoesnothaveALUAenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"ontap"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"0"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
3.RedHatEnterpriseLinux6update1withALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6update1withALUAenabled:
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
dev_loss_tmo
fast_io_fail_tmo5
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"alua"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"1alua"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
4.RedHatEnterpriseLinux6update1withoutALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6update1anddoesnothaveALUAenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
dev_loss_tmo
fast_io_fail_tmo5
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"ontap"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"0"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
5.RedHatEnterpriseLinux6update2withALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6update2withALUAenabled:
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
dev_loss_tmoinfinity
fast_io_fail_tmo5
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"alua"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"1alua"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
6.RedHatEnterpriseLinux6update2withoutALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
RedHatEnterpriseLinux6update2anddoesnothaveALUAenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
queue_without_daemonno
dev_loss_tmoinfinity
fast_io_fail_tmo5
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio"ontap"
path_checkertur
failbackimmediate
path_selector"round-robin0"
hardware_handler"0"
rr_weightuniform
rr_min_io128
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
}
}
7.RedHatEnterpriseLinux5update8orupdate7withALUAenabledsampleconfigurationfile
ThisfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunningRedHat
EnterpriseLinux5withupdate8orupdate7andhasALUAenabled.
Note:
BothRedHatEnterpriseLinux5update8andRedHatEnterpriseLinux5update7usethe
samevaluesintheDM-Multipathconfigurationfile,sothisfilecanapplytoeitherversion.
defaults{
user_friendly_namesno
queue_without_daemonno
flush_on_last_delyes
max_fdsmax
pg_prio_calcavg
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio_callout"/sbin/mpath_prio_alua/dev/%n"
path_checkertur
path_selector"round-robin0"
failbackimmediate
hardware_handler"1alua"
rr_weightuniform
rr_min_io128
getuid_callout"/sbin/scsi_id-g-u-s/block/%n"
}
}
8.RedHatEnterpriseLinux5update8orupdate7withoutALUAenabledsampleconfigurationfile
ThisfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunningRedHat
EnterpriseLinux5withupdate8orupdate7anddoesnothaveALUAenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults{
user_friendly_namesno
queue_without_daemonno
flush_on_last_delyes
max_fdsmax
pg_prio_calcavg
}
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_policygroup_by_prio
features"3queue_if_no_pathpg_init_retries50"
prio_callout"/sbin/mpath_prio_ontap/dev/%n"
path_checkertur
path_selector"round-robin0"
failbackimmediate
hardware_handler"0"
rr_weightuniform
rr_min_io128
getuid_callout"/sbin/scsi_id-g-u-s/block/%n"
}
}
9.RedHatEnterpriseLinux5update6withALUAenabledsampleconfigurationfile
ThisfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunningRedHat
EnterpriseLinux5withupdate6andhasALUAenabled:
defaults{
user_friendly_namesno
queue_without_daemonno
flush_on_last_delyes
max_fdsmax
pg_prio_calcavg
}
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_policygroup_by_prio
features"1queue_if_no_path"
prio_callout"/sbin/mpath_prio_alua/dev/%n"
path_checkerdirectio
path_selector"round-robin0"
failbackimmediate
hardware_handler"1alua"
rr_weightuniform
rr_min_io128
getuid_callout"/sbin/scsi_id-g-u-s/block/%n"
}
}
10.RedHatEnterpriseLinux5update6withoutALUAenabledsampleconfigurationfile
ThisfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunningRedHat
EnterpriseLinux5withupdate6anddoesnothaveALUAenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults{
user_friendly_namesno
queue_without_daemonno
flush_on_last_delyes
max_fdsmax
pg_prio_calcavg
}
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_policygroup_by_prio
features"1queue_if_no_path"
prio_callout"/sbin/mpath_prio_ontap/dev/%n"
path_checkerdirectio
path_selector"round-robin0"
failbackimmediate
hardware_handler"0"
rr_weightuniform
rr_min_io128
getuid_callout"/sbin/scsi_id-g-u-s/block/%n"
}
}
11.RedHatEnterpriseLinux4Update9sampleconfigurationfile
ThisfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunningRedHat
EnterpriseLinux4Update9:
defaults
{
user_friendly_namesno
queue_without_daemonno
max_fdsmax
flush_on_last_delyes
}
devnode_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"
getuid_callout"/sbin/scsi_id-g-u-s/block/%n"
prio_callout"/sbin/mpath_prio_ontap/dev/%n"
features"1queue_if_no_path"
hardware_handler"0"
path_grouping_policygroup_by_prio
path_selector"round-robin0"
failbackimmediate
rr_weightuniform
rr_min_io128
path_checkerdirectio
}
}
12.SUSELinuxEnterpriseServer11,11SP1withALUAenabledsampleconfigurationfile
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
eitherSUSELinuxEnterpriseServer11or11SP1withALUA:
defaults
{
user_friendly_namesno
max_fdsmax
flush_on_last_delyes
}
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"
getuid_callout"/lib/udev/scsi_id-g-u-d/dev/%n"
prio"alua"
features"1queue_if_no_path"
hardware_handler"1alua"
path_grouping_policygroup_by_prio
path_selector"round-robin0"
failbackimmediate
rr_weightuniform
rr_min_io128
path_checkertur
}
}
13.SUSELinuxEnterpriseServer11,11SP1withoutALUA
Thefollowingfileprovidesanexampleofthevaluesyouneedtosupplywhenyourhostisrunning
SUSELinuxEnterpriseServer11or11SP1andALUAisnotenabled.
Note:
UnlessyouarerunningtheiSCSIprotocolandDataONTAPoperatingin7-Mode,you
shouldhaveALUAenabled.
defaults
{
user_friendly_namesno
max_fdsmax
flush_o