Drop multipath mappings for elgar.d.o and gombert.d.o on ganeti2.d.o
[mirror/dsa-puppet.git] / modules / multipath / templates / multipath-ubc-ganeti.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 # conversion from MSA stype WWIDs to multipathd.conf:
7 #
8 #   sed -re 's#(.{6})(.{6})0000(.{2})(.*)#36\1000\2\3\4#'
9
10 blacklist {
11         devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
12         devnode "^hd[a-z][[0-9]*]"
13         devnode "^vd[a-z]"
14         devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
15 <%- if %w{ubc-bl7 ubc-bl3 ubc-bl6 ubc-bl2}.include?(hostname) then -%>
16         devnode "^sda[0-9]*$"
17 <%- end -%>
18         device {
19                 vendor DEC.*
20                 product MSA[15]00
21         }
22 }
23 multipaths {
24         # reger
25         multipath {
26                 wwid 3600c0ff000d5f6bd5dabd64c01000000
27                 alias reger-boot
28         }
29         multipath {
30                 wwid 3600c0ff000d5f6bd72ac375101000000
31                 alias r10-reger-root
32         }
33         multipath {
34                 wwid 3600c0ff000d5f6bd1dfe9d5101000000
35                 alias r10-reger
36         }
37         # geo2
38         multipath {
39                 wwid 3600c0ff000d5f6bd3ed7995101000000
40                 alias r10-geo2
41         }
42         # lotti
43         multipath {
44                 wwid 3600c0ff000d5f6bd9a2a9a5101000000
45                 alias r10-lotti
46         }
47         multipath {
48                 wwid 3600c0ff000d5f6bd1ab08c4c01000000
49                 alias r6-lotti-srv
50         }
51         # jenko
52         multipath {
53                 wwid 3600c0ff000d5f6bdf38f9b5101000000
54                 alias r10-jenko
55         }
56         # tchaikovsky
57         multipath {
58                 wwid 3600c0ff000d5f6bd06f29c5101000000
59                 alias r10-tchaikovsky
60         }
61         # tye
62         multipath {
63                 wwid 3600c0ff000d5f6bdb08aa05101000000
64                 alias r10-tye
65         }
66         multipath {
67                 wwid 3600c0ff000d5f6bdb28aa05101000000
68                 alias r10-tye-srv
69         }
70         # glinka
71         multipath {
72                 wwid 3600c0ff000d5f6bdf0eaa45101000000
73                 alias r10-glinka
74         }
75         multipath {
76                 wwid 3600c0ff000d5f6bdf1eaa45101000000
77                 alias r10-glinka-srv
78         }
79         multipath {
80                 wwid 3600c0ff000d5f6bd866d4c5101000000
81                 alias r6-glinka-mirrors
82         }
83         # diabelli
84         multipath {
85                 wwid 3600c0ff000d5f6bdfa42aa5101000000
86                 alias r10-diabelli
87         }
88         # nono
89         multipath {
90                 wwid 3600c0ff000d5f6bd0944b85101000000
91                 alias r10-nono
92         }
93         multipath {
94                 wwid 3600c0ff000d5f6bd6c75695501000000
95                 alias r10-nono-lvm
96         }
97 }