]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
multipath config ubc
authorPeter Palfrader <peter@palfrader.org>
Mon, 20 May 2013 08:12:18 +0000 (10:12 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 20 May 2013 08:12:18 +0000 (10:12 +0200)
modules/multipath/files/bm-ubc-ganeti.conf [new file with mode: 0644]
modules/multipath/manifests/init.pp

diff --git a/modules/multipath/files/bm-ubc-ganeti.conf b/modules/multipath/files/bm-ubc-ganeti.conf
new file mode 100644 (file)
index 0000000..e8e9087
--- /dev/null
@@ -0,0 +1,58 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+# conversion from MSA stype WWIDs to multipathd.conf:
+#
+#   sed -re 's#(.{6})(.{6})0000(.{2})(.*)#36\1000\2\3\4#'
+
+defaults {
+        udev_dir                /dev
+        polling_interval        10
+        path_selector           "round-robin 0"
+        path_grouping_policy    multibus
+        getuid_callout          "/lib/udev/scsi_id -g -u -s /block/%n"
+        path_checker            readsector0
+        rr_min_io               100
+        rr_weight               priorities
+        failback                immediate
+        no_path_retry           fail
+        user_friendly_names     yes
+}
+blacklist {
+        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
+        devnode "^hd[a-z][[0-9]*]"
+        devnode "^vd[a-z]"
+        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
+        device {
+                vendor DEC.*
+                product MSA[15]00
+        }
+}
+multipaths {
+        multipath {
+                wwid 3600c0ff000d5f6bdedbe744e01000000
+                alias ganeti-mini
+        }
+        multipath {
+                wwid 3600c0ff000d5f6bd5dabd64c01000000
+                alias reger-boot
+        }
+        multipath {
+                wwid 3600c0ff000d5f6bd72ac375101000000
+                alias r10-reger-root
+        }
+        multipath {
+                wwid 3600c0ff000d5f6bd8ca3735101000000
+                alias fischer-root
+        }
+        multipath {
+                wwid 3600c0ff000d5f6bd2af5de4f01000000
+                alias fischer-srv
+        }
+        multipath {
+                wwid 3600c0ff000d5f6bd3ed7995101000000
+                alias r10-geo2
+        }
+}
index e10bea64adf10422d400f12a1e9c35aa19ebce4a..aca0684058ca9cf50875feca0565dd87d2d11461 100644 (file)
@@ -3,6 +3,9 @@ class multipath {
                bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14: {
                        $conffile = 'bm-multipath.conf'
                }
+               rossini: {
+                       $conffile = 'bm-ubc-ganeti.conf'
+               }
                default: {
                        $conffile = ''
                }