]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/multipath/files/multipath-bm.conf
Add philp multipath entry
[dsa-puppet.git] / modules / multipath / files / multipath-bm.conf
index c16fe1cea1c66fb5296934c57fe9bb17b354e716..65262a67f0d8aca4e830cbeb020ddda9f75e1552 100644 (file)
@@ -3,25 +3,9 @@
 ## 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"
+# conversion from MSA stype WWIDs to multipathd.conf:
 #
-#           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
-#         }
-
+#   sed -re 's#(.{6})(.{6})0000(.{2})(.*)#36\1000\2\3\4#'
 
 blacklist_exceptions {
        devnode "cciss!c[0-9]d[0-9]*"
@@ -72,4 +56,40 @@ multipaths {
                wwid    3600c0ff000d5ad34fdb58f5101000000
                alias   piu-slave-bm-a-swap
        }
+       multipath {
+               wwid    3600c0ff000d5ad34a381a75101000000
+               alias   binet
+       }
+       multipath {
+               wwid    3600c0ff000d5ad34b181a75101000000
+               alias   binet-lvm
+       }
+       multipath {
+               wwid    3600c0ff000d5ad34bc2bd85101000000
+               alias   bmdb1
+       }
+       multipath {
+               wwid    3600c0ff000d83a704c2ed85101000000
+               alias   bmdb1-srv
+       }
+       multipath {
+               wwid    3600c0ff000d5ad341b45d85101000000
+               alias   coccia
+       }
+       multipath {
+               wwid    3600c0ff000d5ad34104fd85101000000
+               alias   coccia-srv
+       }
+       multipath {
+               wwid    3600c0ff000d5ad348401f95101000000
+               alias   backuphost
+       }
+       multipath {
+               wwid    3600c0ff000d5ad34d400f95101000000
+               alias   backups
+       }
+       multipath {
+               wwid    3600c0ff000d5ad34ae8e0a5201000000
+               alias   philp
+       }
 }