dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools ./multipath.conf.defaults libm ...
Date: 15 Jan 2009 22:47:37 -0000	[thread overview]
Message-ID: <20090115224737.22793.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL4_FC5
Changes by:	bmarzins@sourceware.org	2009-01-15 22:47:36

Modified files:
	.              : multipath.conf.defaults 
	libmultipath   : hwtable.c 

Log message:
	Fix for bz #452340
	Added default configurations for HP devices.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.10&r2=1.5.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.14&r2=1.16.2.15

--- multipath-tools/multipath.conf.defaults	2009/01/13 22:26:36	1.5.2.10
+++ multipath-tools/multipath.conf.defaults	2009/01/15 22:47:36	1.5.2.11
@@ -45,15 +45,55 @@
 #               no_path_retry           12
 #	}
 #       device {
+#               vendor                  "COMPAQ"
+#               product                 "MSA|HSV1.0.*"
+#               path_grouping_policy    group_by_prio
+#               prio_callout            "/sbin/mpath_prio_hp_sw /dev/%n"
+#               hardware_handler        "1 hp_sw"
+#               path_checker            "hp_sw"
+#               no_path_retry           12
+#		rr_min_io		100
+#       }
+#       device {
 #               vendor                  "(COMPAQ|HP)"
-#               product                 "HSV(1|2).*"
+#               product                 "HSV1[01]1|HSV2[01]0|HSV300"
 #               path_grouping_policy    group_by_prio
-#               prio_callout            "/sbin/mpath_prio_alua %d"      
+#               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
+#               path_checker            "tur"
+#		failback		immediate
+#               no_path_retry           12
+#		rr_min_io		100
+#       }
+#       device {
+#		vendor			"HP"
+#		product			"MSA2[02]12fc|MSA2012i"
+#		path_grouping_policy	multibus
+#		path_checker		tur
+#		failback		immediate
+#               no_path_retry           18
+#		rr_min_io		100
+#	}
+#       device {
+#               vendor                  "HP"
+#               product                 "MSA2012sa|MSA23(12|24)(fc|i|sa)"
+#               path_grouping_policy    group_by_prio
+#               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
+#               path_checker            tur
+#		failback		immediate
+#               no_path_retry           18
+#		rr_min_io		100
+#       }
+#       device {
+#               vendor                  "HP"
+#               product                 "HSVX700"
+#               path_grouping_policy    group_by_prio
+#               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
+#		hardware_handler	"1 alua"
 #               path_checker            tur
 #		failback		immediate
 #               no_path_retry           12
 #		rr_min_io		100
-#        }
+#       }
 #       device {
 #		vendor			"(HITACHI|HP)"
 #		product			"OPEN-.*"
@@ -61,7 +101,6 @@
 #		path_checker		tur
 #		failback		immediate
 #               no_path_retry           12
-#		rr_min_io		100
 #	}
 #       device {
 #                vendor                 "HP"
@@ -80,12 +119,6 @@
 #		rr_min_io		100
 #       }
 #       device {
-#               vendor                  "COMPAQ"
-#               product                 "MSA1000"
-#               path_grouping_policy    group_by_serial
-#               getuid_callout          "/sbin/scsi_id -g -u -s"
-#       }
-#       device {
 #               vendor                  "DDN"
 #               product                 "SAN DataDirector"
 #               path_grouping_policy    multibus
--- multipath-tools/libmultipath/hwtable.c	2009/01/13 22:26:37	1.16.2.14
+++ multipath-tools/libmultipath/hwtable.c	2009/01/15 22:47:36	1.16.2.15
@@ -13,8 +13,6 @@
 
 	r += store_hwe(hw, "3PARdata", "VV", MULTIBUS, DEFAULT_GETUID);
 	r += store_hwe(hw, "APPLE*", "Xserve RAID ", MULTIBUS, DEFAULT_GETUID);
-	r += store_hwe(hw, "COMPAQ", "HSV110.*", GROUP_BY_SERIAL, DEFAULT_GETUID);
-	r += store_hwe(hw, "COMPAQ", "MSA1000", GROUP_BY_SERIAL, DEFAULT_GETUID);
 	r += store_hwe(hw, "DDN", "SAN DataDirector", MULTIBUS, DEFAULT_GETUID);
 	r += store_hwe(hw, "DEC", "HSG80", GROUP_BY_SERIAL, DEFAULT_GETUID);
 	r += store_hwe(hw, "EMC", "SYMMETRIX", MULTIBUS,
@@ -35,16 +33,31 @@
 	                   DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
 	                   "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
 	                   100);
-	r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV(1|2).*", GROUP_BY_PRIO,
-	                   DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
-	                   "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
+	r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
+	                   DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
+	                   "1 hp_sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
 	                   100);
+	r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300",
+			   GROUP_BY_PRIO, DEFAULT_GETUID,
+			   "/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
+			   -FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
+	r += store_hwe_ext(hw, "HP", "MSA2[02]12fc|MSA2012i", MULTIBUS, DEFAULT_GETUID,
+			   NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 18,
+			   0, 100);
+        r += store_hwe_ext(hw, "HP", "MSA2012sa|MSA23(12|24)(fc|i|sa)",
+			   GROUP_BY_PRIO, DEFAULT_GETUID,
+			   "/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
+			   -FAILBACK_IMMEDIATE, NULL, 18, 0, 100);
+        r += store_hwe_ext(hw, "HP", "HSVX700",
+			   GROUP_BY_PRIO, DEFAULT_GETUID,
+			   "/sbin/mpath_prio_alua /dev/%n", "1 alua", "0",
+			   "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
 	r += store_hwe_ext(hw, "HP", "MSA2000s*", MULTIBUS, "/sbin/cciss_id %n",
 	                   NULL, "0", "0", "cciss_tur", FAILBACK_UNDEF, NULL,
 	                   12, 0, 0);
 	r += store_hwe_ext(hw, "(HITACHI|HP)", "OPEN-.*", MULTIBUS,
 		DEFAULT_GETUID, NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE,
-		NULL, 12, 0, 100);
+		NULL, 12, 0, 0);
         r += store_hwe_ext(hw, "HP", "*33[89]0*", MULTIBUS, DEFAULT_GETUID, NULL, "0", "0",
 		    "tur", FAILBACK_UNDEF, NULL, 0, 0, 0);
 	r += store_hwe_ext(hw, "DGC", "*", GROUP_BY_PRIO,

             reply	other threads:[~2009-01-15 22:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 22:47 bmarzins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 21:56 multipath-tools ./multipath.conf.defaults libm bmarzins
2011-01-21 16:57 bmarzins
2010-11-12 20:17 bmarzins
2010-09-21 18:06 bmarzins
2010-09-14 19:42 bmarzins
2010-09-03  3:46 bmarzins
2010-08-24 21:51 bmarzins
2010-08-09 21:35 bmarzins
2010-08-09 18:38 bmarzins
2010-02-10  4:11 bmarzins
2010-01-26  5:50 bmarzins
2009-12-02 19:15 bmarzins
2009-09-28 18:41 bmarzins
2009-09-28 18:28 bmarzins
2009-09-11 15:19 bmarzins
2009-08-19 21:52 bmarzins
2009-01-13 22:26 bmarzins
2008-08-29 18:30 bmarzins
2008-07-12 17:36 bmarzins
2008-07-12  2:44 bmarzins
2008-07-12  0:07 bmarzins
2008-01-03 20:16 bmarzins
2007-10-09 21:48 bmarzins
2007-09-11 18:06 bmarzins
2007-08-14 18:08 bmarzins
2007-08-14 18:23 ` S. J. van Harmelen
2007-05-07 17:59 bmarzins
2006-12-19 22:51 bmarzins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090115224737.22793.qmail@sourceware.org \
    --to=bmarzins@sourceware.org \
    --cc=dm-cvs@sourceware.org \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).