FranGarcia.me (Posts about multipath)
https://www.frangarcia.me/categories/multipath.atom
2024-03-15T13:54:12Z
Fran Garcia
Nikola
Configuración de device-mapper-multipath para almacenamiento HP
https://www.frangarcia.me/posts/configuracion-de-device-mapper-multipath-para-almacenamiento-hp/
2011-01-17T15:48:00+01:00
2011-01-17T15:48:00+01:00
Fran Garcia
<p>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.</p>
<div class="code"><pre class="code literal-block"><span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> 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
}
<span class="gh">#</span> To blacklist a device by vendor and product say, to blacklist a XP device
<span class="gh">#</span> uncomment the below block
<span class="gh">#</span>device {
<span class="gh">#</span> vendor "HP"
<span class="gh">#</span> product_blacklist "OPEN-.*"
#}
</pre></div>