multipath-tools: adapt HITACHI/OPEN- config to work with alua and multibus
PATCH 1/1 multipath-tools: adapt HITACHI/OPEN- config to work with alua and multibus
ALUA is needed by Hitachi Global-Active Device (GAD):
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/8.1/Global-Active_Device/Overview_of_global-active_device
--- libmultipath/hwtable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +3 -1
@@ -485,7 +485,9 @@ static struct hwentry default_hw[] = {/* USP-V, HUS VM, VSP, VSP G1X00 and VSP GX00 families / HPE XP */ .vendor = "(HITACHI|HP|HPE)", .product = "^OPEN-", - .pgpolicy = MULTIBUS, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 10, }, {/* AMS other than AMS 2000 */
Signature · 6 lines
2.40.1 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 2 lines · Xose Vazquez Perez
ALUA is needed by Hitachi Global-Active Device (GAD):
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/8.1/Global-Active_Device/Overview_of_global-active_device
Thanks, but where exactly did you find this information in the linked document? I don't see ALUA mentioned. Unfortunately Hitachi chose to use non-standard terminology... Is ALUA always active / supported in these arrays?
Regards
Martin
PS: Btw, this sort of enhancement is likely soon obsoleted by the autodetection feature that Ben's latest series would add.
Quoted 19 lines
Cc Matthias Rudolph <[email protected]>Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>---
libmultipath/hwtable.c | 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)libmultipath/hwtable.c +0
-0@@ -485,7 +485,9 @@ static struct hwentry default_hw[] = { /* USP-V, HUS VM, VSP, VSP G1X00 and VSP GX00families / HPE XP */
.vendor = "(HITACHI|HP|HPE)",
Quoted 8 lines
.product = "^OPEN-",
- .pgpolicy = MULTIBUS,
+ .pgpolicy =GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 10,
},
{
/* AMS other than AMS 2000 */
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 7 lines · Martin Wilck
Quoted 2 lines · Xose Vazquez Perez
ALUA is needed by Hitachi Global-Active Device (GAD):
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/8.1/Global-Active_Device/Overview_of_global-active_deviceThanks, but where exactly did you find this information in the linked document? I don't see ALUA mentioned. Unfortunately Hitachi chose to use non-standard terminology...
No public info, personal e-mail from Matthias:
"We have also a config for ALUA. It is used for hardware copy between two arrays and the server should only use the local paths:
SLES 12 SP2 ALUA:
device {
vendor "HITACHI"
product "OPEN-.*"
features "0" path_grouping_policy group_by_prio
prio alua
path_selector "round-robin 0"
rr_weight uniform
no_path_retry 1
rr_min_io 100
path_checker directio
failback immediate
}
"
Quoted 1 line
Is ALUA always active / supported in these arrays?
Disable by default. And it is only needed with GAD setup:
Array settings:
"ALUA Mode" Enabled
"Path Mode" ALUA
"ALUA Permitted" YES
"ALUA Settable" YES
"Target Port Asymmetric Access State" Active/Optimized
Same case as HUAWEI https://github.com/opensvc/multipath-tools/commit/9283fa6663ad908fd0419edcef4795fbbbe9f09d
"no_path_retry 10" comes from: https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/9.8.6/Volume_Management_-_VSP_5000_Series/Host_Attachment/05_Red_Hat_Linux_configuration_and_attachment#Device_Mapper_(DM)_Multipath_configuration.0D.0A____for_Red_Hat_Linux
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 46 lines · Xose Vazquez Perez
Quoted 9 lines · Martin Wilck
Quoted 2 lines · Xose Vazquez Perez
ALUA is needed by Hitachi Global-Active Device (GAD):
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/8.1/Global-Active_Device/Overview_of_global-active_deviceThanks, but where exactly did you find this information in the linked
document? I don't see ALUA mentioned. Unfortunately Hitachi chose to
use non-standard terminology...No public info, personal e-mail from Matthias:
"We have also a config for ALUA. It is used for hardware copy between two
arrays and the server should only use the local paths:SLES 12 SP2 ALUA:
device {
vendor "HITACHI"
product "OPEN-.*"
features "0"
path_grouping_policygroup_by_prio
prio alua
path_selector "round-robin 0"
rr_weight uniform
no_path_retry 1
rr_min_io 100
path_checker directio
failback immediate
}
"> Is ALUA always active / supported in these arrays?
Disable by default. And it is only needed with GAD setup:
Array settings:
"ALUA Mode" Enabled
"Path Mode" ALUA
"ALUA Permitted" YES
"ALUA Settable" YES
"Target Port Asymmetric Access State" Active/Optimized
Quoted 5 lines
Same case as HUAWEI
https://github.com/opensvc/multipath-tools/commit/9283fa6663ad908fd0419edcef4795fbbbe9f09d"
no_path_retry10" comes from:
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/9.8.6/Volume_Management_-_VSP_5000_Series/Host_Attachment/05_Red_Hat_Linux_configuration_and_attachment#Device_Mapper_(DM)_Multipath_configuration.0D.0A____for_Red_Hat_Linux
Thanks a lot. I'll apply your patch, adding part of this information to the commit message.
Martin
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 21 lines · Xose Vazquez Perez
ALUA is needed by Hitachi Global-Active Device (GAD):
https://knowledge.hitachivantara.com/Documents/Management_Software/SVOS/8.1/Global-Active_Device/Overview_of_global-active_deviceCc Matthias Rudolph <[email protected]>Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>---
libmultipath/hwtable.c | 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)libmultipath/hwtable.c +0
-0@@ -485,7 +485,9 @@ static struct hwentry default_hw[] = { /* USP-V, HUS VM, VSP, VSP G1X00 and VSP GX00families / HPE XP */
.vendor = "(HITACHI|HP|HPE)",
Quoted 8 lines
.product = "^OPEN-",
- .pgpolicy = MULTIBUS,
+ .pgpolicy =GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 10,
},
{
/* AMS other than AMS 2000 */
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel