All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: add IBM/FlashSystem to hwtable
@ 2016-10-07 13:15 Xose Vazquez Perez
  2016-10-07 14:24 ` Steffen Maier
  0 siblings, 1 reply; 3+ messages in thread
From: Xose Vazquez Perez @ 2016-10-07 13:15 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez

System          Vendor Product          Multipathing Policy
=============== ====== ================ =======================
FlashSystem 710 IBM    FlashSystem      Symmetric Active/Active
FlashSystem 720 IBM    FlashSystem      Symmetric Active/Active
FlashSystem 810 IBM    FlashSystem      Symmetric Active/Active
FlashSystem 820 IBM    FlashSystem      Symmetric Active/Active
FlashSystem 840 IBM    FlashSystem-9840 Symmetric Active/Active
FlashSystem 900 IBM    FlashSystem-9840 Symmetric Active/Active

Based on documentation from the manufacturer:
http://www.redbooks.ibm.com/redbooks/pdfs/sg248271.pdf

Cc: Hannes Reinecke <hare@suse.de>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index e1b055a..ff6989d 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -522,6 +522,13 @@ static struct hwentry default_hw[] = {
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 		.pgpolicy      = MULTIBUS,
 	},
+	{
+		/* FlashSystem 710/720/810/820/840/900 */
+		.vendor        = "IBM",
+		.product       = "FlashSystem",
+		.no_path_retry = NO_PATH_RETRY_FAIL,
+		.pgpolicy      = MULTIBUS,
+	},
 		/*
 		 * IBM Power Virtual SCSI Devices
 		 *
-- 
2.10.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] multipath-tools: add IBM/FlashSystem to hwtable
  2016-10-07 13:15 [PATCH] multipath-tools: add IBM/FlashSystem to hwtable Xose Vazquez Perez
@ 2016-10-07 14:24 ` Steffen Maier
  2016-10-12 14:44   ` Xose Vazquez Perez
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Maier @ 2016-10-07 14:24 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: device-mapper development

On 10/07/2016 03:15 PM, Xose Vazquez Perez wrote:
> System          Vendor Product          Multipathing Policy
> =============== ====== ================ =======================
> FlashSystem 710 IBM    FlashSystem      Symmetric Active/Active
> FlashSystem 720 IBM    FlashSystem      Symmetric Active/Active
> FlashSystem 810 IBM    FlashSystem      Symmetric Active/Active
> FlashSystem 820 IBM    FlashSystem      Symmetric Active/Active
> FlashSystem 840 IBM    FlashSystem-9840 Symmetric Active/Active
> FlashSystem 900 IBM    FlashSystem-9840 Symmetric Active/Active
>
> Based on documentation from the manufacturer:
> http://www.redbooks.ibm.com/redbooks/pdfs/sg248271.pdf

IBM RedBooks are more like descriptions for one particular use case as 
described in the book rather than reference manuals.

Product documentation is elsewhere and also updated more often (like 
each product release) than a RedBook.
E.g. for IBM FlashSystem 900:
http://www.ibm.com/support/knowledgecenter/STKMQB/com.ibm.storage.flashsystem900.1.2.doc/tms_multipathing.html

You'll notice that we from Linux on s390x have a bit different 
recommendations for some of the values (no_path_retry actually depends 
on whether you have a cluster software/filesystem that can cope with EIO 
on last-path-loss. Currently, I see the default without that, i.e. 
non-clustered from which we would like to hide any path issues).

Is there some way to have "dependent" settings?

> Cc: Hannes Reinecke <hare@suse.de>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: device-mapper development <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  libmultipath/hwtable.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index e1b055a..ff6989d 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -522,6 +522,13 @@ static struct hwentry default_hw[] = {
>  		.no_path_retry = NO_PATH_RETRY_QUEUE,
>  		.pgpolicy      = MULTIBUS,
>  	},
> +	{
> +		/* FlashSystem 710/720/810/820/840/900 */
> +		.vendor        = "IBM",
> +		.product       = "FlashSystem",
> +		.no_path_retry = NO_PATH_RETRY_FAIL,
> +		.pgpolicy      = MULTIBUS,
> +	},
>  		/*
>  		 * IBM Power Virtual SCSI Devices
>  		 *
>

-- 
Mit freundlichen Grüßen / Kind regards
Steffen Maier

Linux on z Systems Development

IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] multipath-tools: add IBM/FlashSystem to hwtable
  2016-10-07 14:24 ` Steffen Maier
@ 2016-10-12 14:44   ` Xose Vazquez Perez
  0 siblings, 0 replies; 3+ messages in thread
From: Xose Vazquez Perez @ 2016-10-12 14:44 UTC (permalink / raw)
  To: Steffen Maier; +Cc: device-mapper development

On 10/07/2016 04:24 PM, Steffen Maier wrote:

> You'll notice that we from Linux on s390x have a bit different recommendations
> for some of the values (no_path_retry actually depends on whether you have a
> cluster software/filesystem that can cope with EIO on last-path-loss. Currently,
> I see the default without that, i.e. non-clustered from which we would like to hide any path issues).

This has to be modified manually.

> Is there some way to have "dependent" settings?

No. multipath.conf is mainly static.
Only two options are dynamically reconfigured, ALUA-prio and the hardware handler
with "detect_prio" and "retain_attached_hw_handler".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-12 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-07 13:15 [PATCH] multipath-tools: add IBM/FlashSystem to hwtable Xose Vazquez Perez
2016-10-07 14:24 ` Steffen Maier
2016-10-12 14:44   ` Xose Vazquez Perez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.