Skip to contentSkip to conversation

ALUA support for PURE FlashArray

PATCH RESEND Superseded Xose Vazquez Perez 2 participants 3 messages Dec 28, 2019 – Mar 2, 2020 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ALUA support for PURE FlashArray

From: Brian Bunker <[email protected]>

Hello all,

It has been some time since we updated our PURE FlashArray configuration. The Linux vendors that we had been seeing in the field were using very old versions of multipath-tools, so we haven’t needed to change anything for some time. With the release of RHEL8, some of our earlier values have been lost by upstream changes.

In addition we have our Active Cluster feature which leverages ALUA since our last patch. The ALUA confguration will work for all FlashArrays with or without Active Cluster.

We are changing 3 things.

1. ALUA support
2. Fast fail timeout from the default of 5 seconds to 10 seconds (We need this for our FC NPIV port migration).
3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block limits VPD page of INQUIRY).

Thanks,
Brian

---
 libmultipath/hwtable.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +6 -1
index 16627ec..9bc59f1 100644
@@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
 		/* FlashArray */
 		.vendor        = "PURE",
 		.product       = "FlashArray",
-		.pgpolicy      = MULTIBUS,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.hwhandler     = "1 alua",
+		.prio_name     = PRIO_ALUA,
+		.fast_io_fail  = 10,
+		.max_sectors_kb = 4096,
 	},
 	/*
 	 * Huawei
Signature · 11 lines
2.24.1

Brian Bunker
SW Eng
[email protected]


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

On 12/28/19 1:24 AM, Xose Vazquez Perez wrote:

Hi Christophe,

This one is missing.

Thank you.

Quoted 42 lines

From: Brian Bunker <[email protected]>

Hello all,

It has been some time since we updated our PURE FlashArray configuration. The Linux vendors that we had been seeing in the field were using very old versions of multipath-tools, so we haven’t needed to change anything for some time. With the release of RHEL8, some of our earlier values have been lost by upstream changes.

In addition we have our Active Cluster feature which leverages ALUA since our last patch. The ALUA confguration will work for all FlashArrays with or without Active Cluster.

We are changing 3 things.

1. ALUA support
2. Fast fail timeout from the default of 5 seconds to 10 seconds (We need this for our FC NPIV port migration).
3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block limits VPD page of INQUIRY).

Thanks,
Brian

---
  libmultipath/hwtable.c | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +0 -0
index 16627ec..9bc59f1 100644
@@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
  		/* FlashArray */
  		.vendor        = "PURE",
  		.product       = "FlashArray",

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

Quoted 10 lines
libmultipath/hwtable.c +6 -1
-		.pgpolicy      = MULTIBUS,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.hwhandler     = "1 alua",
+		.prio_name     = PRIO_ALUA,
+		.fast_io_fail  = 10,
+		.max_sectors_kb = 4096,
  	},
  	/*
  	 * Huawei

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

#2 lore raw

Hi Xose, Brian,

I don't have the original patch in my mailbox, ... only Xose's notifications.
Brian, please resend to: me, cc: list

Best,
Christophe.

Quoted 62 lines · Xose Vazquez Perez

On 12/28/19 1:24 AM, Xose Vazquez Perez wrote:

Hi Christophe,

This one is missing.

Thank you.

Quoted 52 lines

From: Brian Bunker <[email protected]>

Hello all,

It has been some time since we updated our PURE FlashArray configuration. The Linux vendors that we had been seeing in the field were using very old versions of multipath-tools, so we haven’t needed to change anything for some time. With the release of RHEL8, some of our earlier values have been lost by upstream changes.

In addition we have our Active Cluster feature which leverages ALUA since our last patch. The ALUA confguration will work for all FlashArrays with or without Active Cluster.

We are changing 3 things.

1. ALUA support
2. Fast fail timeout from the default of 5 seconds to 10 seconds (We need this for our FC NPIV port migration).
3. Maximum sector size of 4MB. Some Linux vendors don’t honor the block limits VPD page of INQUIRY).

Thanks,
Brian

---
  libmultipath/hwtable.c | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +6 -1
index 16627ec..9bc59f1 100644
@@ -1039,7 +1039,12 @@ static struct hwentry default_hw[] = {
              /* FlashArray */
              .vendor        = "PURE",
              .product       = "FlashArray",
-             .pgpolicy      = MULTIBUS,
+             .pgpolicy      = GROUP_BY_PRIO,
+             .pgfailback    = -FAILBACK_IMMEDIATE,
+             .hwhandler     = "1 alua",
+             .prio_name     = PRIO_ALUA,
+             .fast_io_fail  = 10,
+             .max_sectors_kb = 4096,
      },
      /*
       * Huawei