Skip to contentSkip to conversation

multipath-tools: add KOVE/XPD to hwtable

PATCH In review Xose Vazquez Perez 3 participants 26 messages Jul 30, 2016 – Oct 22, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/18 multipath-tools: add KOVE/XPD to hwtable

Info provided directly by the manufacturer - http://kove.net/xpd :

.vendor        = "KOVE",
.product       = "XPD",
.features      = DEFAULT_FEATURES,
.hwhandler     = DEFAULT_HWHANDLER,
.selector      = "round-robin 0",
.pgpolicy      = MULTIBUS,
.pgfailback    = -FAILBACK_IMMEDIATE,
.rr_weight     = RR_WEIGHT_NONE,
.no_path_retry = DEFAULT_NO_PATH_RETRY,
.minio         = DEFAULT_MINIO,
.minio_rq      = DEFAULT_MINIO_RQ,
.checker_name  = DIRECTIO,
.prio_name     = DEFAULT_PRIO,
.prio_args     = NULL,
Cc Nick Russo <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
libmultipath/hwtable.c +10 -0
index 1efaeee..3e22714 100644
@@ -771,6 +771,16 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = 30,
 		.minio         = 128,
 	},
+	/*
+	 * Kove
+	 */
+	{
+		.vendor        = "KOVE",
+		.product       = "XPD",
+		.selector      = "round-robin 0",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = DEFAULT_NO_PATH_RETRY,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/18 multipath-tools: Remove ONTAP IBM Nseries from hwtable

Originally from Martin George <[email protected]>

He wrote:
"Even earlier, the NetApp IBM Nseries product line never used a VID/PID of "IBM" & "Nseries" respectively. Instead, it always used the same VID/PID of "NETAPP" & "LUN" itself, similar to the ONTAP product line. So this piece of code was redundant from the beginning itself."

Cc Hannes Reinecke <[email protected]>
Cc Martin George <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 8 --------
 1 file changed, 8 deletions(-)
libmultipath/hwtable.c +0 -8
index 3e22714..73ba4ee 100644
@@ -508,14 +508,6 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.prio_name     = PRIO_ONTAP,
 	},
-	{
-		/* IBM NSeries */
-		.vendor        = "IBM",
-		.product       = "Nseries.*",
-		.features      = "1 queue_if_no_path",
-		.minio         = 128,
-		.prio_name     = PRIO_ONTAP,
-	},
 	/* LSI/Engenio/NetApp RDAC family
 	 *
 	 * Maintainer : Sean Stewart
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/18 multipath-tools: reorganize NetApp devices

In reply to Xose Vazquez Perez
Cc Martin George <[email protected]>
Cc Sean Stewart <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
libmultipath/hwtable.c +12 -9
index 73ba4ee..3952b42 100644
@@ -494,12 +494,15 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,
 	},
 	/*
-	 * NetApp ONTAP family
-	 *
-	 * Maintainer : Martin George
-	 * Mail : [email protected]
+	 * NetApp
 	 */
 	{
+		/*
+		 * ONTAP family
+		 *
+		 * Maintainer : Martin George
+		 * Mail : [email protected]
+		 */
 		.vendor        = "NETAPP",
 		.product       = "LUN.*",
 		.features      = "3 queue_if_no_path pg_init_retries 50",
@@ -508,12 +511,12 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.prio_name     = PRIO_ONTAP,
 	},
-	/* LSI/Engenio/NetApp RDAC family
-	 *
-	 * Maintainer : Sean Stewart
-	 * Mail : [email protected]
-	 */
 	{
+		/* LSI/Engenio/NetApp RDAC family
+		 *
+		 * Maintainer : Sean Stewart
+		 * Mail : [email protected]
+		 */
 		.vendor        = "(NETAPP|LSI|ENGENIO)",
 		.product       = "INF-01-00",
 		.bl_product    = "Universal Xport",
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/18 multipath-tools: add NetApp/SolidFir to hwtable

In reply to Xose Vazquez Perez

Based on info provided directly by the manufacturer:
http://www.solidfire.com/
http://www.netapp.com/us/products/storage-systems/solidfire/

Redhat 7+:
vendor "SolidFir"
product "SSD SAN"
path_grouping_policy multibus
path_checker tur
hardware_handler "0"
failback immediate
rr_weight uniform
rr_min_io 10
rr_min_io_rq 10
features "0"
no_path_retry 24
prio const

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)
libmultipath/hwtable.c +9 -0
index 3952b42..bd0bd8c 100644
@@ -526,6 +526,15 @@ static struct hwentry default_hw[] = {
 		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 	},
+	{
+		/* SolidFir */
+		.vendor        = "SolidFir",
+		.product       = "SSD SAN",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 24,
+		.minio         = 10,
+		.minio_rq      = 10,
+	},
 	/*
 	 * Nexenta
 	 *
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/18 multipath-tools: add Nimble to hwtable

In reply to Xose Vazquez Perez

Based on documentation provided by the manufacturer:
http://www.nimblestorage.com/bpg_nimble_storage_linux_fibre_channel.pdf

vendor "Nimble"
product "Server"
prio "alua"
path_grouping_policy group_by_prio
path_checker tur
hardware_handler "1 alua"
features "1 queue_if_no_path"
rr_weight priorities
rr_min_io_rq 20
failback 10
path_selector "round-robin 0"
dev_loss_tmo infinity
fast_io_fail_tmo 1

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
libmultipath/hwtable.c +16 -0
index bd0bd8c..673148a 100644
@@ -785,6 +785,22 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = DEFAULT_NO_PATH_RETRY,
 	},
+	/*
+	 * Nimble Storage
+	 */
+	{
+		.vendor        = "Nimble",
+		.product       = "Server",
+		.prio_name     = PRIO_ALUA,
+		.hwhandler     = "1 alua",
+		.features      = "1 queue_if_no_path",
+		.rr_weight     = RR_WEIGHT_PRIO,
+		.minio_rq      = 20,
+		.pgfailback    = 10,
+		.selector      = "round-robin 0",
+		.dev_loss      = MAX_DEV_LOSS_TMO,
+		.fast_io_fail  = 1,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/18 multipath-tools: add IBM/FlashSystem to hwtable

In reply to Xose Vazquez Perez

Based on documentation of the manufacturer:

- FlashSystem 820 and FlashSystem 900:
http://www.redbooks.ibm.com/redbooks/pdfs/sg248271.pdf

vendor                  "IBM"
product                 "FlashSystem-9840"
path_selector           "queue-length 0"        # Linux 6.2, if available
path_grouping_policy    multibus
path_checker            tur
rr_min_io_rq            4                       # Linux 6.x
rr_weight               uniform
no_path_retry           fail
failback                immediate
dev_loss_tmo            300
fast_io_fail_tmo        25

- FlashSystem 710/810/720/820:
http://www.ibm.com/support/knowledgecenter/ST2NVR/com.ibm.storage.flashsystem.1.1.doc/rsaa6.pdf

vendor                  "IBM"
product                 "FlashSystem"
path_selector           "round-robin 0"         # Linux 5, Linux 6
path_grouping_policy    multibus
path_checker            tur
rr_min_io_rq            4                       # 6.x,FlashSystem 720/820
rr_min_io_              4                       # 5.x,FlashSystem 720/820
rr_weight               uniform
no_path_retry           fail
failback                immediate
dev_loss_tmo            300
fast_io_fail_tmo        25
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
index 673148a..6ea20b2 100644
@@ -465,6 +465,18 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = 15,
 		.minio         = 15,
 	},
+	{
+		/* FlashSystem */
+		.vendor        = "IBM",
+		.product       = "FlashSystem",
+		.selector      = "queue-length 0",
+		.pgpolicy      = MULTIBUS,
+		.minio         = 4,
+		.minio_rq      = 4,
+		.no_path_retry = NO_PATH_RETRY_FAIL,
+		.dev_loss      = 300,
+		.fast_io_fail  = 25,
+	},
 	/*
 	 * IBM Power Virtual SCSI Devices
 	 *
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/18 multipath-tools: add EMC/Celerra to hwtable

In reply to Xose Vazquez Perez

Based on documentation of the manufacturer:
http://www.emc.com/collateral/TechnicalDocument/docu5128.pdf

vendor "EMC"
product "Celerra"
path_grouping_policy "multibus"
path_checker "tur"
no_path_retry "30"

Cc Edward Goggin <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 6 ++++++
 1 file changed, 6 insertions(+)
libmultipath/hwtable.c +6 -0
index 6ea20b2..d1e9c81 100644
@@ -186,6 +186,12 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.pgfailback    = FAILBACK_UNDEF,
 	},
+	{
+		.vendor        = "EMC",
+		.product       = "Celerra",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 30,
+	},
 	/*
 	 * DELL
 	 */
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/18 multipath-tools: add FUJITSU/ETERNUS 2000/4000/8000 to hwtable

In reply to Xose Vazquez Perez

Based on documentation provided by the manufacturer:
http://storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-3192-en.pdf

For SUSE Linux Enterprise Server 11

vendor                  "FUJITSU"
product                 "E[248]000"
prio                    alua
path_grouping_policy    group_by_prio
path_selector           "round-robin 0"
failback                immediate
no_path_retry           10
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 d1e9c81..1845881 100644
@@ -257,6 +257,13 @@ static struct hwentry default_hw[] = {
 		.product       = "FC2502",
 		.pgfailback    = FAILBACK_UNDEF,
 	},
+	{
+		.vendor        = "FUJITSU",
+		.product       = "E[248]000",
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 10,
+		.selector      = "round-robin 0",
+	},
 	/*
 	 * Hitachi
 	 *
Signature · 1 line
2.7.4
#8 lore raw

Re: [PATCH 08/18] multipath-tools: add FUJITSU/ETERNUS 2000/4000/8000 to hwtable

Quoted 28 lines · Xose Vazquez Perez

Based on documentation provided by the manufacturer:
http://storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-3192-en.pdf

For SUSE Linux Enterprise Server 11

vendor                  "FUJITSU"
product                 "E[248]000"
prio                    alua
path_grouping_policy    group_by_prio
path_selector           "round-robin 0"
failback                immediate
no_path_retry           10
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)
libmultipath/hwtable.c +0 -0
index d1e9c81..1845881 100644
@@ -257,6 +257,13 @@ static struct hwentry default_hw[] = {
 		.product       = "FC2502",
 		.pgfailback    = FAILBACK_UNDEF,
 	},

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 269

Quoted 10 lines
libmultipath/hwtable.c +7 -0
+	{
+		.vendor        = "FUJITSU",
+		.product       = "E[248]000",
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 10,
+		.selector      = "round-robin 0",
+	},
 	/*
 	 * Hitachi
 	 *

How about dropping the path selector and merging
the entry with ETERNUS DX?

Sebastian

#9 lore raw

PATCH 9/18 multipath-tools: add VIOLIN/ "SAN ARRAY" and "SAN ARRAY ALUA" to hwtable

In reply to Xose Vazquez Perez

Based on documentation provided by the manufacturer:
https://drive.google.com/open?id=0B_B6YmEmO7cDQlMzc1BsaUxZRVU

* For "SAN ARRAY ALUA":

- Red Hat Enterprise Linux 6.x:
vendor "VIOLIN"
product "SAN ARRAY ALUA"
path_grouping_policy group_by_prio
getuid_callout "/lib/udev/scsi_id --whitelisted --replace- whitespace --page=0x80 --device=/dev/%n" prio "alua"
path_checker tur
path_selector "round-robin 0"
hardware_handler "1 alua"
failback immediate
rr_weight uniform
no_path_retry fail
rr_min_io_rq 4

- SUSE Enterprise Linux 11 SP3:
vendor "VIOLIN"
product "SAN ARRAY ALUA"
path_grouping_policy group_by_prio
prio "alua"
path_checker tur
path_selector "round-robin 0"
hardware_handler "0"
failback immediate
no_path_retry 100
detect_prio yes

* For "SAN ARRAY":

- Red Hat Enterprise Linux 6.x:
vendor "VIOLIN"
product "SAN ARRAY"
path_grouping_policy group_by_serial
getuid_callout "/lib/udev/scsi_id --whitelisted -- replace-whitespace --page=0x80 --device=/dev/%n" path_checker tur
path_selector "round-robin 0"
hardware_handler "0"
failback immediate
rr_weight uniform
no_path_retry fail
rr_min_io_rq 4

- SUSE Enterprise Linux 11 SP3:
vendor "VIOLIN"
product "SAN ARRAY"
path_grouping_policy group_by_serial
path_checker tur
path_selector "round-robin 0"
hardware_handler "0"
failback immediate
rr_weight uniform
no_path_retry 100

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +15 -0
index 1845881..4d5717a 100644
@@ -772,6 +772,21 @@ static struct hwentry default_hw[] = {
 		.features      = "1 queue_if_no_path",
 		.no_path_retry = 300,
 	},
+	{
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY",
+		.pgpolicy      = GROUP_BY_SERIAL,
+		.selector      = "round-robin 0",
+		.no_path_retry = 100,
+	},
+	{
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY ALUA",
+		.prio_name     = PRIO_ALUA,
+		.selector      = "round-robin 0",
+		.hwhandler     = "1 alua",
+		.no_path_retry = 100,
+	},
 	/*
 	 * Infinidat
 	 */
Signature · 1 line
2.7.4
#10 lore raw

PATCH 10/18 multipath-tools: add Nexsan E-Series and SATABeast/SATABoy to hwtable

In reply to Xose Vazquez Perez

Based on documentation provided by the manufacturer:
https://drive.google.com/file/d/0B_B6YmEmO7cDeGRXeG85MXFVMEU

Redhat 6:

vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "0"
rr_weight               priorities
no_path_retry           15
failback                immediate

SUSE 11 (including OpenSUSE):

vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
getuid_callout          "/lib/udev/scsi_id --whitelisted -g -u -d /dev/%n"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "0"
rr_weight               priorities
no_path_retry           15
failback                immediate

Debian Wheezy:

vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "1 alua"
rr_weight               priorities
no_path_retry           5
failback                immediate
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
index 4d5717a..45a6332 100644
@@ -841,6 +841,18 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.fast_io_fail  = 1,
 	},
+	/*
+	 * Nexsan
+	 */
+	{
+		.vendor        = "NEXSAN",
+		.product       = "(NXS-B0.*|SATAB.*)",
+		.selector      = "round-robin 0",
+		.prio_name     = PRIO_ALUA,
+		.hwhandler     = "1 alua",
+		.rr_weight     = RR_WEIGHT_PRIO,
+		.no_path_retry = 15,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.
Signature · 1 line
2.7.4
#11 lore raw

PATCH 11/18 multipath-tools: add Xiotech ISE 1400/2400/3400/3401 to hwtable

In reply to Xose Vazquez Perez

Based on documentation provided by the manufacturer:
https://drive.google.com/file/d/0B_B6YmEmO7cDc201a3ZlcmFvUmM

For the latest 2 updates of Redhat 6.x

vendor                  "XIOTECH"
product                 "ISE([12]400|340[01])"
path_grouping_policy    multibus
prio_callout            “none”
path_checker            tur
path_selector           “round-robin 0”
failback                immediate
dev_loss_tmo            600
fast_io_fail_tmo        5
no_path_retry           12
rr_min_io_rq            1
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
libmultipath/hwtable.c +10 -0
index 45a6332..3b67030 100644
@@ -853,6 +853,16 @@ static struct hwentry default_hw[] = {
 		.rr_weight     = RR_WEIGHT_PRIO,
 		.no_path_retry = 15,
 	},
+	/*
+	 * Xiotech
+	 */
+	{
+		.vendor        = "XIOTECH",
+		.product       = "ISE([12]400|340[01])",
+		.selector      = "round-robin 0",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 12,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.
Signature · 6 lines
2.7.4

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#12 lore raw

PATCH 12/18 multipath-tools: put a comment in the correct place

In reply to Xose Vazquez Perez

FibreCAT S80 was out of the braces.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
index 3b67030..822f7ff 100644
@@ -251,8 +251,8 @@ static struct hwentry default_hw[] = {
 		.no_path_retry = 10,
 		.prio_name     = PRIO_ALUA,
 	},
-		/* FibreCAT S80 */
 	{
+		/* FibreCAT S80 */
 		.vendor        = "EUROLOGC",
 		.product       = "FC2502",
 		.pgfailback    = FAILBACK_UNDEF,
Signature · 1 line
2.7.4
#13 lore raw

PATCH 13/18 multipath-tools: delete nearly all attribute of last member(NULL) in hwtable

In reply to Xose Vazquez Perez

They are "useless".
Leave only mandatory attributes.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 23 -----------------------
 1 file changed, 23 deletions(-)
libmultipath/hwtable.c +0 -23
index 822f7ff..ebad919 100644
@@ -910,29 +910,6 @@ static struct hwentry default_hw[] = {
 	{
 		.vendor        = NULL,
 		.product       = NULL,
-		.revision      = NULL,
-		.bl_product    = NULL,
-		.pgpolicy      = 0,
-		.uid_attribute = NULL,
-		.selector      = NULL,
-		.checker_name  = NULL,
-		.features      = NULL,
-		.hwhandler     = NULL,
-		.prio_name     = NULL,
-		.prio_args     = NULL,
-		.pgfailback    = 0,
-		.rr_weight     = 0,
-		.no_path_retry = 0,
-		.minio         = 0,
-		.minio_rq      = 0,
-		.flush_on_last_del = 0,
-		.fast_io_fail  = 0,
-		.dev_loss      = 0,
-		.retain_hwhandler = NULL,
-		.detect_prio   = NULL,
-		.deferred_remove = NULL,
-		.delay_watch_checks = 0,
-		.delay_wait_checks = 0,
 	},
 };
 
Signature · 1 line
2.7.4
#14 lore raw

PATCH 14/18 multipath-tools: change path grouping policy for EUROLOGC/FC2502

In reply to Xose Vazquez Perez

No prio defined and .pgpolicy=GROUP_BY_PRIO are an impossible combination.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index ebad919..728680a 100644
@@ -256,6 +256,7 @@ static struct hwentry default_hw[] = {
 		.vendor        = "EUROLOGC",
 		.product       = "FC2502",
 		.pgfailback    = FAILBACK_UNDEF,
+		.pgpolicy      = MULTIBUS,
 	},
 	{
 		.vendor        = "FUJITSU",
Signature · 1 line
2.7.4
#15 lore raw

PATCH 15/18 multipath-tools: add official name to Huawei devices

In reply to Xose Vazquez Perez

from http://www.t10.org/ftp/t10/vendorid.txt
Its official name is: "HUASY"

Just in case.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
index 728680a..a9e65fc 100644
@@ -755,7 +755,7 @@ static struct hwentry default_hw[] = {
 	 * Huawei
 	 */
 	{
-		.vendor        = "HUAWEI",
+		.vendor        = "(HUAWEI|HUASY)",
 		.product       = "XSG1",
 		.pgpolicy      = MULTIBUS,
 	},
Signature · 1 line
2.7.4
#16 lore raw

PATCH 16/18 multipath-tools: Use ALUA for HP 3PAR

In reply to Xose Vazquez Perez

Original patch from Hannes Reinecke <[email protected]>:

 		.vendor        = "3PARdata",
 		.product       = "VV",
 		.features      = DEFAULT_FEATURES,
-		.hwhandler     = DEFAULT_HWHANDLER,
-		.pgpolicy      = MULTIBUS,
-		.pgfailback    = FAILBACK_UNDEF,
+		.hwhandler     = "1 alua",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,

- .no_path_retry = NO_PATH_RETRY_UNDEF,
- .checker_name = DEFAULT_CHECKER,
- .prio_name = DEFAULT_PRIO,
+ .no_path_retry = 18,

+		.checker_name  = TUR,
+		.prio_name     = PRIO_ALUA,
 		.prio_args     = NULL,

Sebastian was not convinced with this change, full thread: https://marc.info/?t=146175638600002
But there is no automatic way to change .pgpolicy from MULTIBUS to GROUP_BY_PRIO. So we should stick to latest manufacturer's recommendations:

"With 3PAR OS 3.1.3 or later, Hewlett Packard Enterprise recommends host persona 2 (ALUA). Advantages of Host Persona 2 (ALUA):
o A single VV migration can be performed by using 3PAR Peer Motion if the source and destination 3PAR StoreServ Storage array uses host persona 2 (required by the 3PAR OS).
o Host persona 2 is required for Storage Federation (required by the 3PAR OS).

*3PAR plans to support additional features in later HPE 3PAR OS releases only at
Generic-ALUA Persona 2

Persona_Number Persona_Name   Host_Operating_System       Additional_Capabilities
============== ============== ==========================  =======================
1              Generic        Linux, Windows and Solaris  UARepLun, SESLun
2              Generic-ALUA   Linux, Windows and Solaris  UARepLun, SESLun, ALUA
6              Generic-Legacy Linux, Windows and Solaris  None

o UARepLun - Notifies the host of newly exported VLUNs and should trigger a LUN discovery request on the host, making the VLUN automatically available on format.
o SESLun - Enables iSCSI Enclosure Services (SES) LUN ID 254 for Host Explorer
agent support.
o ALUA - Enables the Asymmetric Logical Unit Access (ALUA) command and
asymmetric state change unit attention when path counts change due to adding or removing ports in the host's definition."

HPE 3PAR docs: http://www.hpe.com/info/storage/docs

Cc Sebastian Herbszt <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +3 -2
index a9e65fc..e4c7b7d 100644
@@ -42,8 +42,9 @@ static struct hwentry default_hw[] = {
 	{
 		.vendor        = "3PARdata",
 		.product       = "VV",
-		.pgpolicy      = MULTIBUS,
-		.pgfailback    = FAILBACK_UNDEF,
+		.hwhandler     = "1 alua",
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 18,
 	},
 	{
 		.vendor        = "DEC",
Signature · 1 line
2.7.4
#17 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 20 lines · Xose Vazquez Perez

Original patch from Hannes Reinecke <[email protected]>:

.vendor = "3PARdata",
.product = "VV",
.features = DEFAULT_FEATURES,
- .hwhandler = DEFAULT_HWHANDLER,
- .pgpolicy = MULTIBUS,
- .pgfailback = FAILBACK_UNDEF,
+ .hwhandler = "1 alua",
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = NO_PATH_RETRY_UNDEF,
- .checker_name = DEFAULT_CHECKER,
- .prio_name = DEFAULT_PRIO,
+ .no_path_retry = 18,
+ .checker_name = TUR,
+ .prio_name = PRIO_ALUA,
.prio_args = NULL,

Quoted 3 lines

Sebastian was not convinced with this change, full thread: https://marc.info/?t=146175638600002
But there is no automatic way to change .pgpolicy from MULTIBUS to GROUP_BY_PRIO. So we should stick to latest manufacturer's recommendations:

So 'retain_attached_hw_handler' suggested by Hannes doesn't work?

Sebastian

#18 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 7 lines · Sebastian Herbszt
Quoted 3 lines · Xose Vazquez Perez

Sebastian was not convinced with this change, full thread: https://marc.info/?t=146175638600002
But there is no automatic way to change .pgpolicy from MULTIBUS to GROUP_BY_PRIO. So we should stick to latest manufacturer's recommendations:

So 'retain_attached_hw_handler' suggested by Hannes doesn't work?

No. It's related to hardware_handler, "alua" in this case.

#19 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 11 lines · Xose Vazquez Perez
Quoted 7 lines · Sebastian Herbszt
Quoted 3 lines · Xose Vazquez Perez

Sebastian was not convinced with this change, full thread: https://marc.info/?t=146175638600002
But there is no automatic way to change .pgpolicy from MULTIBUS to GROUP_BY_PRIO. So we should stick to latest manufacturer's recommendations:

So 'retain_attached_hw_handler' suggested by Hannes doesn't work?

No. It's related to hardware_handler, "alua" in this case.

So how does the output of 'multipath -ll' looks like for persona 1 and 2 with and without 'retain_attached_hw_handler'?

Sebastian

#20 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 6 lines · Sebastian Herbszt
Quoted 2 lines · Xose Vazquez Perez

No. It's related to hardware_handler, "alua" in this case.

So how does the output of 'multipath -ll' looks like for persona 1 and 2 with and without 'retain_attached_hw_handler'?

retain_attached_hw_handler is innocuous.
The paths grouping policy is controlled by the "path_grouping_policy" keyword, multibus vs. group_by_prio. See man page.

Persona 1 and 2 basically is the same, but:

Persona 1: path_grouping_policy = multibus
failback = manual
prio = const

Persona 2: path_grouping_policy = group_by_prio
failback = immediate
prio = alua (this is irrelevant, alua-prio is autodetected)
hardware_handler= "1 alua" (this is irrelevant, all hardware handlers are autodetected)

With 3PAR-OS 3.1.3, or later, you should use "Persona 2"

#21 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 4 lines · Xose Vazquez Perez
Quoted 2 lines · Sebastian Herbszt
Quoted 1 line · Xose Vazquez Perez
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

No. It's related to hardware_handler, "alua" in this case.

So how does the output of 'multipath -ll' looks like for persona 1 and 2 with and without 'retain_attached_hw_handler'?

retain_attached_hw_handler is innocuous.
The paths grouping policy is controlled by the "path_grouping_policy" keyword, multibus vs. group_by_prio. See man page.

multibus should equal

path_grouping_policy = group_by_prio
prio = const

Quoted 6 lines

Persona 1 and 2 basically is the same, but:

Persona 1: path_grouping_policy = multibus
failback = manual
prio = const

Quoted 6 lines

Persona 2: path_grouping_policy = group_by_prio
failback = immediate
prio = alua (this is irrelevant, alua-prio is autodetected)
hardware_handler= "1 alua" (this is irrelevant, all hardware handlers are autodetected)

With 3PAR-OS 3.1.3, or later, you should use "Persona 2"

The above change plus

retain_attached_hw_handler = yes
detect_prio = yes

should work with persona 1 and 2.

Sebastian

#22 lore raw

Re: [PATCH 16/18] multipath-tools: Use ALUA for HP 3PAR

Quoted 30 lines · Sebastian Herbszt
Quoted 4 lines · Xose Vazquez Perez
Quoted 2 lines · Sebastian Herbszt
Quoted 1 line · Xose Vazquez Perez
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

No. It's related to hardware_handler, "alua" in this case.

So how does the output of 'multipath -ll' looks like for persona 1 and 2 with and without 'retain_attached_hw_handler'?

retain_attached_hw_handler is innocuous.
The paths grouping policy is controlled by the "path_grouping_policy" keyword, multibus vs. group_by_prio. See man page.

multibus should equal

path_grouping_policy = group_by_prio
prio = const

Quoted 11 lines

Persona 1 and 2 basically is the same, but:

Persona 1: path_grouping_policy = multibus
failback = manual
prio = const

Persona 2: path_grouping_policy = group_by_prio
failback = immediate
prio = alua (this is irrelevant, alua-prio is autodetected)
hardware_handler= "1 alua" (this is irrelevant, all hardware handlers are autodetected)

Quoted 8 lines
Quoted 1 line

With 3PAR-OS 3.1.3, or later, you should use "Persona 2"

The above change plus

retain_attached_hw_handler = yes
detect_prio = yes

should work with persona 1 and 2.

3PAR arrays are Symmetric Active/Active and with ALUA support.

- With Persona 1/Generic(UARepLun, SESLun), only one mode is supported:

o Symmetric Active/Active
{
.vendor = "3PARdata",
.product = "VV",
.pgpolicy = MULTIBUS,
.no_path_retry = 18,
},

- With Persona 2/Generic-ALUA(UARepLun, SESLun, ALUA), both of them are supported:

o Symmetric Active/Active
{
.vendor = "3PARdata",
.product = "VV",
.pgpolicy = MULTIBUS,
.no_path_retry = 18,
},

o Symmetric Active/Active + ALUA
{
.vendor = "3PARdata",
.product = "VV",
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.hwhandler = "1 alua",
.prio_name = PRIO_ALUA,
.no_path_retry = 18,
},

Thera are also others Symmetric Active/Active arrays with support of ALUA. At least, EMC/SYMMETRIX and IBM/2810XIV.

#23 lore raw

PATCH 17/18 multipath-tools: add HPE StoreVirtual P4000 family to hwtable

In reply to Xose Vazquez Perez

No official documentation. Based on field-tested configuration:
https://www.citrix.com/blogs/2013/10/02/hp-p4000-multipath-config-file/

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 8 ++++++++
 1 file changed, 8 insertions(+)
libmultipath/hwtable.c +8 -0
index e4c7b7d..51e115d 100644
@@ -139,6 +139,14 @@ static struct hwentry default_hw[] = {
 		.minio         = 100,
 		.prio_name     = PRIO_ALUA,
 	},
+		/* StoreVirtual P4000 family */
+	{
+		.vendor        = "LEFTHAND",
+		.product       = "^(P4000.*|iSCSIDisk)",
+		.no_path_retry = 18,
+		.minio         = 100,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * DataDirect Networks
 	 */
Signature · 1 line
2.7.4
#24 lore raw

PATCH 18/18 multipath-tools: add Oracle FS to hwtable

In reply to Xose Vazquez Perez

Based on an auto-generated template from Oracle FS Path Manager 4.0:

        vendor                  "^Oracle(  )?$"
        product                 "^Oracle FS"
        path_selector           "round-robin 0"
        path_grouping_policy    group_by_prio
        prio                    oraclefspm
        path_checker            oraclefspm
        failback                immediate

Oracle is using a customized checker and prioritizer, and running a daemon.
.

├── etc
│   └── init.d
│       └── oracle-fspmd
└── opt
    └── oracle
        └── fspm
            ├── bin
            │   ├── fspmd
            │   └── fspm-update-mpt
            └── plugins
                ├── libcheckoraclefspm.so
                ├── libpriooraclefspm.so
                └── mpath_prio_oraclefspm
Cc Srinivasan Ramani <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +8 -2
index 51e115d..fe4a51f 100644
@@ -625,17 +625,23 @@ static struct hwentry default_hw[] = {
 	/*
 	 * Oracle
 	 */
-	{
 		/*
-		 * Pillar Data
+		 * Pillar Data / Oracle FS
 		 *
 		 * Maintainer : Srinivasan Ramani
 		 * Mail : [email protected]
 		 */
+	{
 		.vendor        = "Pillar",
 		.product       = "Axiom.*",
+		.prio_name     = PRIO_ALUA,
 		.pgfailback    = FAILBACK_UNDEF,
+	},
+	{
+		.vendor        = "^Oracle",
+		.product       = "^Oracle FS.*",
 		.prio_name     = PRIO_ALUA,
+		.selector      = "round-robin 0",
 	},
 		/* StorageTek */
 	{
Signature · 6 lines
2.7.4

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#25 lore raw
In reply to Xose Vazquez Perez

Sorry this patchset will also need rebasing.
Thanks.

Quoted 50 lines · Xose Vazquez Perez

Info provided directly by the manufacturer - http://kove.net/xpd :

.vendor        = "KOVE",
.product       = "XPD",
.features      = DEFAULT_FEATURES,
.hwhandler     = DEFAULT_HWHANDLER,
.selector      = "round-robin 0",
.pgpolicy      = MULTIBUS,
.pgfailback    = -FAILBACK_IMMEDIATE,
.rr_weight     = RR_WEIGHT_NONE,
.no_path_retry = DEFAULT_NO_PATH_RETRY,
.minio         = DEFAULT_MINIO,
.minio_rq      = DEFAULT_MINIO_RQ,
.checker_name  = DIRECTIO,
.prio_name     = DEFAULT_PRIO,
.prio_args     = NULL,
Cc Nick Russo <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
libmultipath/hwtable.c +10 -1
index 1efaeee..3e22714 100644
@@ -771,6 +771,16 @@ static struct hwentry default_hw[] = {
                .pgfailback    = 30,
                .minio         = 128,
        },
+       /*
+        * Kove
+        */
+       {
+               .vendor        = "KOVE",
+               .product       = "XPD",
+               .selector      = "round-robin 0",
+               .pgpolicy      = MULTIBUS,
+               .no_path_retry = DEFAULT_NO_PATH_RETRY,
+       },
 #if 0
        /*
         * Copy this TEMPLATE to add new hardware.
--

2.7.4