Skip to contentSkip to conversation

libmultipath: update 3PARdata builtin config

PATCH In review Benjamin Marzinski 3 participants 7 messages Jun 26, 2017 – Aug 5, 2017 Device mapper

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 libmultipath: update 3PARdata builtin config

This updated config comes from hp.

---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index 390d143..54bdcfc 100644
@@ -49,6 +49,8 @@ static struct hwentry default_hw[] = {
 		.hwhandler     = "1 alua",
 		.prio_name     = PRIO_ALUA,
 		.no_path_retry = 18,
+		.fast_io_fail  = 10,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
 	},
 	{
 		/* RA8000 / ESA12000 */
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Benjamin Marzinski

This updated config comes from hp.

It would be nice to have more information.
Why and when is this needed?

BTW: HPE 'MSA 205x' and 'StoreVirtual 3200'(LeftHand) are missing.

Quoted 19 lines
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index 390d143..54bdcfc 100644
@@ -49,6 +49,8 @@ static struct hwentry default_hw[] = {
 		.hwhandler     = "1 alua",
 		.prio_name     = PRIO_ALUA,
 		.no_path_retry = 18,
+		.fast_io_fail  = 10,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
 	},
 	{
 		/* RA8000 / ESA12000 */
author maintainer
#2 lore raw
Quoted 6 lines · Xose Vazquez Perez
Quoted 1 line · Benjamin Marzinski

This updated config comes from hp.

It would be nice to have more information.
Why and when is this needed?

I assume the change to dev_loss_tmo is simply a preference issue. Like Netapp, they don't want their devices to get auto-removed when they go down. I also assume that in their internal testing, they hit cases where 5 seconds wasn't enough time to wait for some transient issue with the array to resolve. At any rate, I'm simply passing along their request, which seems like a perfectly reasonable one to me.

-Ben

Quoted 23 lines

BTW: HPE 'MSA 205x' and 'StoreVirtual 3200'(LeftHand) are missing.

Quoted 19 lines
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index 390d143..54bdcfc 100644
@@ -49,6 +49,8 @@ static struct hwentry default_hw[] = {
 		.hwhandler     = "1 alua",
 		.prio_name     = PRIO_ALUA,
 		.no_path_retry = 18,
+		.fast_io_fail  = 10,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
 	},
 	{
 		/* RA8000 / ESA12000 */
#3 lore raw
Quoted 8 lines · Benjamin Marzinski
Quoted 2 lines
Quoted 2 lines
libmultipath/hwtable.c +2 -0
+		.fast_io_fail  = 10,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
Quoted 2 lines · Xose Vazquez Perez

It would be nice to have more information.
Why and when is this needed?

Quoted 6 lines

I assume the change to dev_loss_tmo is simply a preference issue. Like Netapp, they don't want their devices to get auto-removed when they go down. I also assume that in their internal testing, they hit cases where 5 seconds wasn't enough time to wait for some transient issue with the array to resolve. At any rate, I'm simply passing along their request, which seems like a perfectly reasonable one to me.

Those arguments should come from the vendor.

"dev_loss_tmo 14" is recommended(???) in latest 3PAR docs (Jun 2017):

- HPE 3PAR SUSE Linux Enterprise Implementation Guide (Wed 14 Jun 2017 11:48:14 PM CEST)
http://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay/?docId=c02663748

- HPE 3PAR Red Hat Enterprise Linux and Oracle Linux Implementation Guide (Wed 14 Jun 2017 12:10:06 AM CEST)
http://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay/?docId=c04448818

author maintainer
#4 lore raw
Quoted 19 lines · Xose Vazquez Perez
Quoted 8 lines · Benjamin Marzinski
Quoted 2 lines
Quoted 2 lines
libmultipath/hwtable.c +2 -0
+		.fast_io_fail  = 10,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
Quoted 2 lines · Xose Vazquez Perez

It would be nice to have more information.
Why and when is this needed?

Quoted 6 lines

I assume the change to dev_loss_tmo is simply a preference issue. Like Netapp, they don't want their devices to get auto-removed when they go down. I also assume that in their internal testing, they hit cases where 5 seconds wasn't enough time to wait for some transient issue with the array to resolve. At any rate, I'm simply passing along their request, which seems like a perfectly reasonable one to me.

Those arguments should come from the vendor.

Quoted 7 lines

"dev_loss_tmo 14" is recommended(???) in latest 3PAR docs (Jun 2017):

- HPE 3PAR SUSE Linux Enterprise Implementation Guide (Wed 14 Jun 2017 11:48:14 PM CEST)
http://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay/?docId=c02663748

- HPE 3PAR Red Hat Enterprise Linux and Oracle Linux Implementation Guide (Wed 14 Jun 2017 12:10:06 AM CEST)
http://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay/?docId=c04448818

Here I what I got from HP:

********

We will be changing the recommendation in the next version of the 3PAR Implementation Guide. I am the owner for these guides.

The reason we want the dev_loss_tmo "infinity" is to help in a feature called Peer Persistence where on primary array power fails and the device on the remote array (standby array) becomes active. The standby state of the device paths will automatically change to active state if the underlying device instances exist so we need infinity setting.

The fast_io_fail_tmo we want to be bumped from 5 to 10 so that it allows a array feature called persistent port to work well where we want the want the array path going away failure transient state to be held for the longer time in the SCSI and FC OS layers (I/O retry) without multipath reacting to it which allows the array to move the physical port flogi instance on the switch to move to partner physical port as an NPIV Port when the array node goes down. Complete details in this PDF

https://www.hpe.com/h20195/v2/GetPDF.aspx/4AA4-4545ENW.pdf

*******

-Ben

#5 lore raw
Quoted 19 lines · Benjamin Marzinski

Here I what I got from HP:

We will be changing the recommendation in the next version of the 3PAR Implementation Guide. I am the owner for these guides.

The reason we want the dev_loss_tmo "infinity" is to help in a feature called Peer Persistence where on primary array power fails and the device on the remote array (standby array) becomes active. The standby state of the device paths will automatically change to active state if the underlying device instances exist so we need infinity setting.

The fast_io_fail_tmo we want to be bumped from 5 to 10 so that it allows a array feature called persistent port to work well where we want the want the array path going away failure transient state to be held for the longer time in the SCSI and FC OS layers (I/O retry) without multipath reacting to it which allows the array to move the physical port flogi instance on the switch to move to partner physical port as an NPIV Port when the array node goes down. Complete details in this PDF

Quoted 1 line

https://www.hpe.com/h20195/v2/GetPDF.aspx/4AA4-4545ENW.pdf

Fine, I will send a v2 PATCH with that text. Christophe, drop this one.

#6 lore raw
In reply to Benjamin Marzinski

Merged,
Thanks.

(And version bumped to 0.7.2)

Quoted 24 lines · Benjamin Marzinski

This updated config comes from hp.

---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -1
index 390d143..54bdcfc 100644
@@ -49,6 +49,8 @@ static struct hwentry default_hw[] = {
                .hwhandler     = "1 alua",
                .prio_name     = PRIO_ALUA,
                .no_path_retry = 18,
+               .fast_io_fail  = 10,
+               .dev_loss      = MAX_DEV_LOSS_TMO,
        },
        {
                /* RA8000 / ESA12000 */
--

2.7.4