X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmultipath%2Ftemplates%2Fmultipath-ubc-ganeti.conf.erb;h=5e710a22ebad4cc8f1fe362cdc83a631dfbef6a0;hb=0699df5e6cd5bf98ef78f0ffcdec7db94b47866d;hp=8edfe7de6e028f2b681b86c86d15528e7ea86ac9;hpb=ebbb077bbd05947b458da7aea18f05c9497c051f;p=mirror%2Fdsa-puppet.git diff --git a/modules/multipath/templates/multipath-ubc-ganeti.conf.erb b/modules/multipath/templates/multipath-ubc-ganeti.conf.erb index 8edfe7de6..5e710a22e 100644 --- a/modules/multipath/templates/multipath-ubc-ganeti.conf.erb +++ b/modules/multipath/templates/multipath-ubc-ganeti.conf.erb @@ -7,25 +7,12 @@ # # 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]*]" -<%- if %w{pasquini tristano boito bertali}.include?(hostname) then -%> +<%- if %w{ubc-bl7 ubc-bl3 ubc-bl6 ubc-bl2}.include?(hostname) then -%> devnode "^sda[0-9]*$" <%- end -%> device { @@ -34,33 +21,11 @@ blacklist { } } multipaths { - # reger - multipath { - wwid 3600c0ff000d5f6bd5dabd64c01000000 - alias reger-boot - } - multipath { - wwid 3600c0ff000d5f6bd72ac375101000000 - alias r10-reger-root - } - multipath { - wwid 3600c0ff000d5f6bd1dfe9d5101000000 - alias r10-reger - } # geo2 multipath { wwid 3600c0ff000d5f6bd3ed7995101000000 alias r10-geo2 } - # brahms - multipath { - wwid 3600c0ff000d5f6bdf4fa995101000000 - alias r10-brahms - } - multipath { - wwid 3600c0ff000d5f6bdfdfa995101000000 - alias r10-brahms-srv - } # lotti multipath { wwid 3600c0ff000d5f6bd9a2a9a5101000000 @@ -70,53 +35,16 @@ multipaths { wwid 3600c0ff000d5f6bd1ab08c4c01000000 alias r6-lotti-srv } - # elgar - multipath { - wwid 3600c0ff000d5f6bd04849b5101000000 - alias r10-elgar - } - # jenkins + # jenko multipath { wwid 3600c0ff000d5f6bdf38f9b5101000000 - alias r10-jenkins - } - # popov - multipath { - wwid 3600c0ff000d5f6bda9a19b5101000000 - alias r10-popov - } - multipath { - wwid 3600c0ff000d5f6bdaaa19b5101000000 - alias r10-popov-srv - } - # fano - multipath { - wwid 3600c0ff000d5f6bd71c19c5101000000 - alias r10-fano - } - multipath { - wwid 3600c0ff000d5f6bd87c49c5101000000 - alias r10-fano-srv - } - # finzi - multipath { - wwid 3600c0ff000d5f6bd68ec9c5101000000 - alias r10-finzi - } - multipath { - wwid 3600c0ff000d5f6bddd0bee4f01000000 - alias r10-finzi-srv + alias r10-jenko } # tchaikovsky multipath { wwid 3600c0ff000d5f6bd06f29c5101000000 alias r10-tchaikovsky } - # gombert - multipath { - wwid 3600c0ff000d5f6bd318a9e5101000000 - alias r10-gombert - } # tye multipath { wwid 3600c0ff000d5f6bdb08aa05101000000 @@ -144,18 +72,4 @@ multipaths { wwid 3600c0ff000d5f6bdfa42aa5101000000 alias r10-diabelli } - # nono - multipath { - wwid 3600c0ff000d5f6bd0944b85101000000 - alias r10-nono - } - # bizet - multipath { - wwid 3600c0ff000d5f6bdba31435501000000 - alias r10-bizet - } - multipath { - wwid 3600c0ff000d5f6bdc5d83f4f01000000 - alias bizet-srv - } }