Configuración de device-mapper-multipath para almacenamiento HP
Aquí va una pequeña chuleta con las opciones de multipath recomendadas por HP para sus almacenamientos. Esto se debe configurar en /etc/multipathd.conf y reiniciar el demonio correspondiente.
# For EVA A/A arrays device { vendor "HP|COMPAQ" product "HSV1[01]1 (C)COMPAQ|HSV2[01]0|HSV300|HSV4[05]0" path_grouping_policy group_by_prio getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_checker tur path_selector "round-robin 0" prio_callout "/sbin/mpath_prio_alua /dev/%n" rr_weight uniform failback immediate hardware_handler "0" no_path_retry 18 rr_min_io 100 } # For HP P2000 family device { vendor "HP" product "P2000 G3 FC|P2000G3 FC/iSCSI" path_grouping_policy group_by_prio getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_checker tur path_selector "round-robin 0" prio_callout "/sbin/mpath_prio_alua /dev/%n" rr_weight uniform failback immediate hardware_handler "0" no_path_retry 18 rr_min_io 100 } # For XP arrays device { vendor "HP" product "OPEN-.*" path_grouping_policy multibus getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_selector "round-robin 0" rr_weight uniform path_checker tur hardware_handler "0" failback immediate no_path_retry 18 rr_min_io 1000 } # For MSA A/A arrays device { vendor "HP" product "MSA VOLUME*" path_grouping_policy group_by_prio getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_checker tur path_selector "round-robin 0" prio_callout "/sbin/mpath_prio_alua /dev/%n" rr_weight uniform failback immediate hardware_handler "0" no_path_retry 18 rr_min_io 100 } # For MSA2xxxsa arrays device { vendor "HP" product "MSA2012sa|MSA2312sa|MSA2324sa" path_grouping_policy group_by_prio getuid_callout "/sbin/hp_scsi_id -g -u -n -s /block/%n" path_checker tur path_selector "round-robin 0" prio_callout "/sbin/mpath_prio_alua %d" rr_weight uniform failback immediate hardware_handler "0" no_path_retry 18 rr_min_io 100 } # For MSA23xxfc and MSA23xxi arrays device { vendor "HP" product "MSA2312fc|MSA2324fc|MSA2312i|MSA2324i" path_grouping_policy group_by_prio getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_checker tur path_selector "round-robin 0" prio_callout "/sbin/mpath_prio_alua /dev/%n" rr_weight uniform failback immediate hardware_handler "0" no_path_retry 18 rr_min_io 100 } # For MSA20xxfc, MSA22xxfc and MSA20xxi arrays device { vendor "HP" product "MSA2[02]12fc|MSA2012i" path_grouping_policy multibus getuid_callout "/sbin/scsi_id -g -u -s /block/%n" path_selector "round-robin 0" rr_weight uniform path_checker tur hardware_handler "0" failback immediate no_path_retry 18 rr_min_io 100 } # To blacklist a device by vendor and product say, to blacklist a XP device # uncomment the below block #device { # vendor "HP" # product_blacklist "OPEN-.*" #}