X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmultipath%2Ftemplates%2Fmultipath-ubc-ganeti.conf.erb;h=a17f573f91e3bb2469a2131ac91f2f900cc460d2;hb=76325d9d9de5b4a1a81b980c07b213defa6b2a26;hp=016d349bea142d3eda75e361604d81fb753c174e;hpb=8980a5a4c1e7dc6ea14a49b42333b9c4c82ff329;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 016d349be..a17f573f9 100644 --- a/modules/multipath/templates/multipath-ubc-ganeti.conf.erb +++ b/modules/multipath/templates/multipath-ubc-ganeti.conf.erb @@ -7,26 +7,13 @@ # # 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 -%> - devnode "^sda[0-9]*" +<%- if %w{ubc-bl7 ubc-bl3 ubc-bl6 ubc-bl2}.include?(hostname) then -%> + devnode "^sda[0-9]*$" <%- end -%> device { vendor DEC.* @@ -52,15 +39,6 @@ multipaths { wwid 3600c0ff000d5f6bd3ed7995101000000 alias r10-geo2 } - # brahms - multipath { - wwid 3600c0ff000d5f6bdf4fa995101000000 - alias r10-brahms - } - multipath { - wwid 3600c0ff000d5f6bdfdfa995101000000 - alias r10-brahms-srv - } # lotti multipath { wwid 3600c0ff000d5f6bd9a2a9a5101000000 @@ -70,33 +48,15 @@ multipaths { wwid 3600c0ff000d5f6bd1ab08c4c01000000 alias r6-lotti-srv } - # lilburn - multipath { - wwid 3600c0ff000d5f6bd40329a5101000000 - alias r10-lilburn - } - multipath { - wwid 3600c0ff000d5f6bd46329a5101000000 - alias r10-lilburn-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 + alias r10-jenko } # fano multipath { @@ -126,11 +86,6 @@ multipaths { wwid 3600c0ff000d5f6bd318a9e5101000000 alias r10-gombert } - # blavet - multipath { - wwid 3600c0ff000d5f6bd736aa05101000000 - alias r10-blavet - } # tye multipath { wwid 3600c0ff000d5f6bdb08aa05101000000 @@ -163,4 +118,17 @@ multipaths { wwid 3600c0ff000d5f6bd0944b85101000000 alias r10-nono } + multipath { + wwid 3600c0ff000d5f6bd6c75695501000000 + alias r10-nono-lvm + } + # bizet + multipath { + wwid 3600c0ff000d5f6bdba31435501000000 + alias r10-bizet + } + multipath { + wwid 3600c0ff000d5f6bdc5d83f4f01000000 + alias bizet-srv + } }