+++ /dev/null
-##
-## 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
-##
-
-# cut -b 2-
-# convert_sn() {
-# local sn a b c d
-# sn="$1"
-# if [ -z "$sn" ] ; then read sn; fi
-# a="${sn%??????????????????????????}"; sn="${sn#??????}"
-# b="${sn%????????????????????}"; sn="${sn#??????}"
-# c="${sn%??????????????}"; sn="${sn#??????}"
-# d="$sn"
-#
-# if [ "${c#0000}" = "$c" ]; then
-# echo >&2 "sn has unexpected value ($1: $a - $b - $c - $d)"
-# return 1
-# fi
-#
-# echo "36${a}000${b}${c#0000}${d}"
-# return 0
-# }
-
-
-blacklist_exceptions {
- devnode "cciss!c[0-9]d[0-9]*"
-}
-
-multipaths {
- multipath {
- wwid 3600c0ff000d75b58409f695101000000
- alias milanollo
- }
- multipath {
- wwid 3600c0ff000d75b585d026b5101000000
- alias milanollo-srv
- }
- multipath {
- wwid 3600c0ff000d5ad34b7036b5101000000
- alias picconi
- }
- multipath {
- wwid 3600c0ff000d5ad34c5036b5101000000
- alias picconi-srv
- }
- multipath {
- wwid 3600c0ff000d5ad34f1b76d5101000000
- alias senfter-srv
- }
- multipath {
- wwid 3600c0ff000d5ad34cab76d5101000000
- alias senfter
- }
- multipath {
- wwid 3600c0ff000d75b581d02705101000000
- alias adayevskaya
- }
- multipath {
- wwid 3600c0ff000d75b58acb28a5101000000
- alias pejacevic-srv
- }
- multipath {
- wwid 3600c0ff000d5ad3402a28a5101000000
- alias pejacevic
- }
- multipath {
- wwid 3600c0ff000d5ad34eab58f5101000000
- alias piu-slave-bm-a
- }
- multipath {
- wwid 3600c0ff000d5ad34fdb58f5101000000
- alias piu-slave-bm-a-swap
- }
-}
+++ /dev/null
-##
-## 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
- }
-}
--- /dev/null
+##
+## 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
+##
+
+# cut -b 2-
+# convert_sn() {
+# local sn a b c d
+# sn="$1"
+# if [ -z "$sn" ] ; then read sn; fi
+# a="${sn%??????????????????????????}"; sn="${sn#??????}"
+# b="${sn%????????????????????}"; sn="${sn#??????}"
+# c="${sn%??????????????}"; sn="${sn#??????}"
+# d="$sn"
+#
+# if [ "${c#0000}" = "$c" ]; then
+# echo >&2 "sn has unexpected value ($1: $a - $b - $c - $d)"
+# return 1
+# fi
+#
+# echo "36${a}000${b}${c#0000}${d}"
+# return 0
+# }
+
+
+blacklist_exceptions {
+ devnode "cciss!c[0-9]d[0-9]*"
+}
+
+multipaths {
+ multipath {
+ wwid 3600c0ff000d75b58409f695101000000
+ alias milanollo
+ }
+ multipath {
+ wwid 3600c0ff000d75b585d026b5101000000
+ alias milanollo-srv
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34b7036b5101000000
+ alias picconi
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34c5036b5101000000
+ alias picconi-srv
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34f1b76d5101000000
+ alias senfter-srv
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34cab76d5101000000
+ alias senfter
+ }
+ multipath {
+ wwid 3600c0ff000d75b581d02705101000000
+ alias adayevskaya
+ }
+ multipath {
+ wwid 3600c0ff000d75b58acb28a5101000000
+ alias pejacevic-srv
+ }
+ multipath {
+ wwid 3600c0ff000d5ad3402a28a5101000000
+ alias pejacevic
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34eab58f5101000000
+ alias piu-slave-bm-a
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34fdb58f5101000000
+ alias piu-slave-bm-a-swap
+ }
+}
--- /dev/null
+##
+## 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
+ }
+}
class multipath {
case $::hostname {
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'
+ $conffile = 'multipath-bm.conf'
}
rossini: {
- $conffile = 'bm-ubc-ganeti.conf'
+ $conffile = 'multipath-ubc-ganeti.conf'
}
default: {
$conffile = ''