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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <christophe.varoqui@xxxxxxxxxxx>
Cc: device-mapper development <dm-devel@xxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 libmultipath/hwtable.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 1845881..4d5717a 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -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
 	 */
-- 
2.7.4

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux