Skip to contentSkip to conversation

multipath-tools: add more info for NetApp RDAC arrays

PATCH Superseded Xose Vazquez Perez 3 participants 3 messages Aug 23, 2022 – Aug 24, 2022 Device mapper

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add more info for NetApp RDAC arrays

From:
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-49E94674-947F-4921-A1D1-CE9B42DCBA39.html
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-CA17AE34-F5B2-4FF4-8FD4-4A7AA4238976.html
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-3DA657A9-FF4A-4237-90EC-BA8863B7431E.html

To use ALUA mode, "Automatic Load Balancing" should be enabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.10 or later)".

To use RDAC mode, "Automatic Load Balancing" should be disabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.9 or earlier)".

Add it to prio and hardware_handler, and to alua info.

Cc NetApp RDAC team <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
 README.md                  | 5 +++--
 multipath/multipath.conf.5 | 8 +++++---
 2 files changed, 8 insertions(+), 5 deletions(-)
README.md +3 -2
index b05b1332..4e34c591 100644
@@ -165,8 +165,9 @@ To enable ALUA, the following options should be changed:
    "LUN Affinity" and "ALUA" should be changed to "Enable", "Redundancy Type"
    must be "Active-Active".
 
-- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and OEM arrays:
-   "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.10 or later)".
+- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and rebranded arrays:
+  "Automatic Load Balancing" should be enabled and "Select operating system:"
+  should be changed to "Linux DM-MP (Kernel 3.10 or later)".
 
 - NetApp ONTAP:
    To check ALUA state: "igroup show -v <igroup_name>", and to enable ALUA:
multipath/multipath.conf.5 +5 -3
index acdd1ae6..58080990 100644
@@ -6,7 +6,7 @@
 .\" Update the date below if you make any significant change.
 .\" ----------------------------------------------------------------------------
 .
-.TH MULTIPATH.CONF 5 2021-09-08 Linux
+.TH MULTIPATH.CONF 5 2022-08-14 Linux
 .
 .
 .\" ----------------------------------------------------------------------------
@@ -320,7 +320,8 @@ Generate the path priority for NetApp ONTAP class, and rebranded arrays.
 .I rdac
 (Hardware-dependent)
 Generate the path priority for LSI/Engenio/NetApp RDAC class as NetApp SANtricity
-E/EF Series, and rebranded arrays.
+E/EF Series and rebranded arrays, with Automatic Load Balancing disabled and
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier).
 .TP
 .I hp_sw
 (Hardware-dependent)
@@ -1568,7 +1569,8 @@ with Failover Mode 1 (Passive Not Ready(PNR)).
 .I 1 rdac
 (Hardware-dependent)
 Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp SANtricity E/EF
-Series, and rebranded arrays.
+Series and rebranded arrays, with Automatic Load Balancing disabled and
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier).
 .TP
 .I 1 hp_sw
 (Hardware-dependent)
Signature · 6 lines
2.37.2

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
#1 lore raw
Quoted 86 lines · Xose Vazquez Perez

From:
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-49E94674-947F-4921-A1D1-CE9B42DCBA39.html
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-CA17AE34-F5B2-4FF4-8FD4-4A7AA4238976.html
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-3DA657A9-FF4A-4237-90EC-BA8863B7431E.html

To use ALUA mode, "Automatic Load Balancing" should be enabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.10 or later)".

To use RDAC mode, "Automatic Load Balancing" should be disabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.9 or earlier)".

Add it to prio and hardware_handler, and to alua info.

Cc NetApp RDAC team <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

---
 README.md                  | 5 +++--
 multipath/multipath.conf.5 | 8 +++++---

 2 files changed, 8 insertions(+), 5 deletions(-)
README.md +0 -0
index b05b1332..4e34c591 100644
@@ -165,8 +165,9 @@ To enable ALUA, the following options should be

changed:
    "LUN Affinity" and "ALUA" should be changed to "Enable", "Redundancy Type"
    must be "Active-Active".

-- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and OEM arrays:
-   "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.10 or later)".
+- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and rebranded arrays:
+  "Automatic Load Balancing" should be enabled and "Select operating system:"
+  should be changed to "Linux DM-MP (Kernel 3.10 or later)".
 - NetApp ONTAP:
    To check ALUA state: "igroup show -v <igroup_name>", and to enable ALUA:

multipath/multipath.conf.5 +0 -0
index acdd1ae6..58080990 100644
@@ -6,7 +6,7 @@

 .\" Update the date below if you make any significant change. .\" ----------------------------------------------------------------
------------
 .
-.TH MULTIPATH.CONF 5 2021-09-08 Linux
+.TH MULTIPATH.CONF 5 2022-08-14 Linux
 .
 .
 .\" ----------------------------------------------------------------
------------

multipath/multipath.conf.5 +0 -0
@@ -320,7 +320,8 @@ Generate the path priority for NetApp ONTAP

class, and rebranded arrays.
 .I rdac
 (Hardware-dependent)
 Generate the path priority for LSI/Engenio/NetApp RDAC class as NetApp SANtricity

multipath/multipath.conf.5 +1 -1
-E/EF Series, and rebranded arrays.
+E/EF Series and rebranded arrays, with Automatic Load Balancing

disabled and
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier). .TP
 .I hp_sw
 (Hardware-dependent)

multipath/multipath.conf.5 +0 -0
@@ -1568,7 +1569,8 @@ with Failover Mode 1 (Passive Not Ready(PNR)).

 .I 1 rdac
 (Hardware-dependent)
 Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp SANtricity E/EF

multipath/multipath.conf.5 +1 -1
-Series, and rebranded arrays.
+Series and rebranded arrays, with Automatic Load Balancing disabled
Quoted 2 lines

and
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier).

Don't we handle RDAC just right with detect_prio and detect_checker set to 1? I'd like to avoid adding wording here that suggest to the user that she needs to tune settings, where it's actually not necessary.

Thanks,
Martin

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

#2 lore raw
Quoted 99 lines

From: Martin Wilck <[email protected]>
Sent: Wednesday, August 24, 2022 3:24 AM

Quoted 2 lines · Xose Vazquez Perez

From:
https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-

49E94674-947F-4921-A1D1-CE9B42DCBA39.html

Quoted 1 line

https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-

CA17AE34-F5B2-4FF4-8FD4-4A7AA4238976.html

Quoted 1 line

https://library.netapp.com/ecmdocs/ECMLP2439710/html/GUID-

3DA657A9-FF4A-4237-90EC-BA8863B7431E.html

Quoted 82 lines

To use ALUA mode, "Automatic Load Balancing" should be enabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.10 or later)".

To use RDAC mode, "Automatic Load Balancing" should be disabled and "Select operating system:" should be changed to "Linux DM-MP (Kernel 3.9 or earlier)".

Add it to prio and hardware_handler, and to alua info.

Cc NetApp RDAC team <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
 README.md                  | 5 +++--
 multipath/multipath.conf.5 | 8 +++++---
 2 files changed, 8 insertions(+), 5 deletions(-)
README.md +0 -0
index b05b1332..4e34c591 100644
@@ -165,8 +165,9 @@ To enable ALUA, the following options should be

changed:
"LUN Affinity" and "ALUA" should be changed to "Enable",
"Redundancy Type"
must be "Active-Active".

-- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and OEM arrays:
- "Select operating system:" should be changed to "Linux DM-MP
(Kernel 3.10 or later)".
+- LSI/Engenio/NetApp RDAC class, as NetApp SANtricity E/EF Series and rebranded arrays:
+ "Automatic Load Balancing" should be enabled and "Select operating system:"
+ should be changed to "Linux DM-MP (Kernel 3.10 or later)".

- NetApp ONTAP:
To check ALUA state: "igroup show -v <igroup_name>", and to
enable ALUA:

multipath/multipath.conf.5 +1 -3
index acdd1ae6..58080990 100644
@@ -6,7 +6,7 @@
 .\" Update the date below if you make any significant change.
 .\" ----------------------------------------------------------------
------------
 .
-.TH MULTIPATH.CONF 5 2021-09-08 Linux
+.TH MULTIPATH.CONF 5 2022-08-14 Linux
 .
 .
 .\" ----------------------------------------------------------------
------------
@@ -320,7 +320,8 @@ Generate the path priority for NetApp ONTAP

class, and rebranded arrays.
.I rdac
(Hardware-dependent)
Generate the path priority for LSI/Engenio/NetApp RDAC class as
NetApp SANtricity

multipath/multipath.conf.5 +1 -1
-E/EF Series, and rebranded arrays.
+E/EF Series and rebranded arrays, with Automatic Load Balancing

disabled and

multipath/multipath.conf.5 +1 -0
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier).
 .TP
 .I hp_sw
 (Hardware-dependent)
@@ -1568,7 +1569,8 @@ with Failover Mode 1 (Passive Not Ready(PNR)).
 .I 1 rdac
 (Hardware-dependent)
 Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp

SANtricity E/EF

multipath/multipath.conf.5 +1 -1
-Series, and rebranded arrays.
+Series and rebranded arrays, with Automatic Load Balancing disabled
Quoted 2 lines

and
+Select operating system: Linux DM-MP (Kernel 3.9 or earlier).

Don't we handle RDAC just right with detect_prio and detect_checker set to 1? I'd like to avoid adding wording here that suggest to the user that she needs to tune settings, where it's actually not necessary.

Quoted 2 lines

Thanks,
Martin

Yes, with the multipath defaults that have been in place for years now the proper prio and checker get used.

The linked NetApp documentation is misleading, and I'll work to get that fixed in the newer versions. Manual enable/disable of Automatic LUN Balancing is NOT required as it follows the operating system type selected in the array configuration.

Thanks,
Steve

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel