Skip to contentSkip to conversation

libmultipath: update 3PARdata builtin config

PATCH In review Xose Vazquez Perez 1 participant 2 messages Jul 31, 2017 – Aug 4, 2017 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libmultipath: update 3PARdata builtin config

From: Benjamin Marzinski <[email protected]>

This updated config comes from hp.

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

*******

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index c2ed171..9e14ec1 100644
@@ -98,6 +98,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.13.3
#1 lore raw
Quoted 5 lines · Xose Vazquez Perez

From: Benjamin Marzinski <[email protected]>>
This updated config comes from hp.

Here I what I got from HP:

Patch missing in last merge.

Quoted 45 lines

********

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

*******

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index c2ed171..9e14ec1 100644
@@ -98,6 +98,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 */