Skip to contentSkip to conversation

multipath-tools: add IBM/FlashSystem to hwtable

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add IBM/FlashSystem to hwtable

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 <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)
libmultipath/hwtable.c +7 -0
index e1b055a..ff6989d 100644
@@ -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
 		 *
Signature · 1 line
2.10.1
#1 lore raw
Quoted 11 lines · 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

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?

Quoted 27 lines
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)
libmultipath/hwtable.c +7 -0
index e1b055a..ff6989d 100644
@@ -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
 		 *
Signature · 10 lines
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
#2 lore raw
Quoted 4 lines · Steffen Maier

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.

Quoted 1 line

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".