X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fmultipath%2Ffiles%2Fbm-multipath.conf;h=9c72d348a647d816c63ed7b89cd90984208d45a3;hb=1a2b96081cd2d9f1492630b1ebb60331e7db5a06;hp=62b5982e74e8fd3a24babc83054ccf5c764d0e34;hpb=ab2ed88279650106f252798cf1c6ba9b5ddc005b;p=mirror%2Fdsa-puppet.git diff --git a/modules/multipath/files/bm-multipath.conf b/modules/multipath/files/bm-multipath.conf index 62b5982e7..9c72d348a 100644 --- a/modules/multipath/files/bm-multipath.conf +++ b/modules/multipath/files/bm-multipath.conf @@ -3,22 +3,65 @@ ## 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 3600c0ff000d75b58d376655101000000 - alias zobel-testlun - } - multipath { wwid 3600c0ff000d75b58409f695101000000 alias milanollo } multipath { - wwid 3600c0ff000d75b584e9f695101000000 + 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 + } }