Skip to content

Instantly share code, notes, and snippets.

@dubcl
Last active February 19, 2024 21:14
Show Gist options
  • Save dubcl/fb5bd5b96fe528bfb5177bd320f49fe7 to your computer and use it in GitHub Desktop.
Save dubcl/fb5bd5b96fe528bfb5177bd320f49fe7 to your computer and use it in GitHub Desktop.
Multipath HP P2000 Config
# Example config for P2000 G3
defaults {
polling_interval 5
path_selector "round-robin 0"
user_friendly_names yes
path_checker directio
}
blacklist {
# avoid multipath configure local disks
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
wwid 3600508b1001cxxxxxxxxxx63fa93e456
wwid 3600508b1001xxxxxxxxxx9db6f5aabaf
}
devices {
device {
vendor "HP"
product "P2000 G3 FC|P2000G3 FC/iSCSI|P2000 G3 SAS|P2000 G3 iSCSI"
path_grouping_policy "group_by_prio"
path_checker "tur"
features "0"
hardware_handler "0"
prio "alua"
failback "immediate"
rr_weight "uniform"
no_path_retry 18
rr_min_io 100
}
}
multipaths {
multipath {
wwid 3600c0ff000xxxxxxxxxxfd5701000000
alias name-for-foo-disk
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment