Skip to contentSkip to conversation

multipath-tools: preload also scsi_dh_hp_sw before run multipathd

PATCH In review Xose Vazquez Perez 2 participants 5 messages Oct 11, 2016 – Oct 12, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: preload also scsi_dh_hp_sw before run multipathd

Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/multipathd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/multipathd.service +1 -1
index e3d6f91..45aca35 100644
@@ -11,7 +11,7 @@ Conflicts=shutdown.target
 Type=notify
 NotifyAccess=main
 LimitCORE=infinity
-ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
+ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac dm-multipath
 ExecStart=/sbin/multipathd -d -s
 ExecReload=/sbin/multipathd reconfigure
 
Signature · 1 line
2.10.1
#1 lore raw
Quoted 14 lines · Xose Vazquez Perez
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/multipathd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/multipathd.service +0 -0
index e3d6f91..45aca35 100644

multipathd/multipathd.service Conflicts=shutdown.target · line 17

Quoted 8 lines
multipathd/multipathd.service +1 -1
@@ -11,7 +11,7 @@ Conflicts=shutdown.target
 Type=notify
 NotifyAccess=main
 LimitCORE=infinity
-ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
+ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac dm-multipath
 ExecStart=/sbin/multipathd -d -s
 ExecReload=/sbin/multipathd reconfigure
 

Well.

If you can point me to a single user of an MSA1500 I'm happy to include it. If you don't know what an MSA1500 is nor what hp_sw does it's probably not a good idea to have it.

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
#2 lore raw
Quoted 9 lines · Hannes Reinecke
Quoted 8 lines · Xose Vazquez Perez
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/multipathd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

multipathd/multipathd.service Conflicts=shutdown.target · line 17

Quoted 13 lines
multipathd/multipathd.service +1 -1
index e3d6f91..45aca35 100644
@@ -11,7 +11,7 @@ Conflicts=shutdown.target
 Type=notify
 NotifyAccess=main
 LimitCORE=infinity
-ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
+ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac dm-multipath
 ExecStart=/sbin/multipathd -d -s
 ExecReload=/sbin/multipathd reconfigure
 

If you can point me to a single user of an MSA1500 I'm happy to include it. If you don't know what an MSA1500 is nor what hp_sw does it's probably not a good idea to have it.

Why?

scsi_dh_hp_sw is used also for dec/compaq ESA12000 and RA8000 arrays with HSG80 controller. And in HP MSA 1000/1500 and EVA 3000/5000, with old firmware.

Thank you.

#3 lore raw
Quoted 27 lines · Xose Vazquez Perez
Quoted 9 lines · Hannes Reinecke
Quoted 8 lines · Xose Vazquez Perez
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/multipathd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

multipathd/multipathd.service Conflicts=shutdown.target · line 17

Quoted 13 lines
multipathd/multipathd.service +1 -1
index e3d6f91..45aca35 100644
@@ -11,7 +11,7 @@ Conflicts=shutdown.target
 Type=notify
 NotifyAccess=main
 LimitCORE=infinity
-ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
+ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac dm-multipath
 ExecStart=/sbin/multipathd -d -s
 ExecReload=/sbin/multipathd reconfigure
 

If you can point me to a single user of an MSA1500 I'm happy to include it. If you don't know what an MSA1500 is nor what hp_sw does it's probably not a good idea to have it.

Quoted 5 lines

Why?

scsi_dh_hp_sw is used also for dec/compaq ESA12000 and RA8000 arrays with HSG80 controller. And in HP MSA 1000/1500 and EVA 3000/5000, with old firmware.

EVA? I sincerely doubt that.
Do you really have an example for that?

Anyway.
Point here is, these are _really_ old SCSI parallel arrays. And the failover command is _really_ stupid (just send a START STOP UNIT to the passive path). As this has a tendency to interfere with normal operation I prefer to _NOT_ have it loaded per default; in fact, I'm on the verge of removing it altogether.

Cheers,

Hannes

Signature · 9 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#4 lore raw
Quoted 7 lines · Hannes Reinecke
Quoted 3 lines · Xose Vazquez Perez

scsi_dh_hp_sw is used also for dec/compaq ESA12000 and RA8000 arrays with HSG80 controller. And in HP MSA 1000/1500 and EVA 3000/5000, with old firmware.

EVA? I sincerely doubt that.
Do you really have an example for that?

        {
                /* MSA 1000/1500 and EVA 3000/5000, with old firmware */
                .vendor        = "(COMPAQ|HP)",
                .product       = "(MSA|HSV)1[01]0",
                .hwhandler     = "1 hp_sw",
                .pgpolicy      = GROUP_BY_PRIO,
                .no_path_retry = 12,
                .checker_name  = HP_SW,
                .prio_name     = PRIO_HP_SW,
        },

HSV100 is HP StorageWorks Enterprise Virtual Array 3000:
http://h18000.www1.hp.com/products/quickspecs/archives_Division/11619_div_v9/11619_div.PDF
HSV110 is HP StorageWorks Enterprise Virtual Array 5000:
https://www.hpe.com/h20195/v2/GetPDF.aspx/c04282828.pdf