## 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]*"
wwid 3600c0ff000d5ad34fdb58f5101000000
alias piu-slave-bm-a-swap
}
+ multipath {
+ wwid 3600c0ff000d5ad34a381a75101000000
+ alias binet
+ }
+ multipath {
+ wwid 3600c0ff000d5ad34b181a75101000000
+ alias binet-srv
+ }
}