]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/multipath/templates/multipath-ubc-ganeti.conf.erb
multipath: drop brahms, decomissioned
[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 defaults {
11         udev_dir                /dev
12         polling_interval        10
13         path_selector           "round-robin 0"
14         path_grouping_policy    multibus
15         getuid_callout          "/lib/udev/scsi_id -g -u -s /block/%n"
16         path_checker            readsector0
17         rr_min_io               100
18         rr_weight               priorities
19         failback                immediate
20         no_path_retry           fail
21         user_friendly_names     yes
22 }
23 blacklist {
24         devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
25         devnode "^hd[a-z][[0-9]*]"
26         devnode "^vd[a-z]"
27         devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
28 <%- if %w{ubc-bl7 ubc-bl3 ubc-bl6 ubc-bl2}.include?(hostname) then -%>
29         devnode "^sda[0-9]*$"
30 <%- end -%>
31         device {
32                 vendor DEC.*
33                 product MSA[15]00
34         }
35 }
36 multipaths {
37         # reger
38         multipath {
39                 wwid 3600c0ff000d5f6bd5dabd64c01000000
40                 alias reger-boot
41         }
42         multipath {
43                 wwid 3600c0ff000d5f6bd72ac375101000000
44                 alias r10-reger-root
45         }
46         multipath {
47                 wwid 3600c0ff000d5f6bd1dfe9d5101000000
48                 alias r10-reger
49         }
50         # geo2
51         multipath {
52                 wwid 3600c0ff000d5f6bd3ed7995101000000
53                 alias r10-geo2
54         }
55         # lotti
56         multipath {
57                 wwid 3600c0ff000d5f6bd9a2a9a5101000000
58                 alias r10-lotti
59         }
60         multipath {
61                 wwid 3600c0ff000d5f6bd1ab08c4c01000000
62                 alias r6-lotti-srv
63         }
64         # elgar
65         multipath {
66                 wwid 3600c0ff000d5f6bd04849b5101000000
67                 alias r10-elgar
68         }
69         # jenko
70         multipath {
71                 wwid 3600c0ff000d5f6bdf38f9b5101000000
72                 alias r10-jenko
73         }
74         # fano
75         multipath {
76                 wwid 3600c0ff000d5f6bd71c19c5101000000
77                 alias r10-fano
78         }
79         multipath {
80                 wwid 3600c0ff000d5f6bd87c49c5101000000
81                 alias r10-fano-srv
82         }
83         # finzi
84         multipath {
85                 wwid 3600c0ff000d5f6bd68ec9c5101000000
86                 alias r10-finzi
87         }
88         multipath {
89                 wwid 3600c0ff000d5f6bddd0bee4f01000000
90                 alias r10-finzi-srv
91         }
92         # tchaikovsky
93         multipath {
94                 wwid 3600c0ff000d5f6bd06f29c5101000000
95                 alias r10-tchaikovsky
96         }
97         # gombert
98         multipath {
99                 wwid 3600c0ff000d5f6bd318a9e5101000000
100                 alias r10-gombert
101         }
102         # tye
103         multipath {
104                 wwid 3600c0ff000d5f6bdb08aa05101000000
105                 alias r10-tye
106         }
107         multipath {
108                 wwid 3600c0ff000d5f6bdb28aa05101000000
109                 alias r10-tye-srv
110         }
111         # glinka
112         multipath {
113                 wwid 3600c0ff000d5f6bdf0eaa45101000000
114                 alias r10-glinka
115         }
116         multipath {
117                 wwid 3600c0ff000d5f6bdf1eaa45101000000
118                 alias r10-glinka-srv
119         }
120         multipath {
121                 wwid 3600c0ff000d5f6bd866d4c5101000000
122                 alias r6-glinka-mirrors
123         }
124         # diabelli
125         multipath {
126                 wwid 3600c0ff000d5f6bdfa42aa5101000000
127                 alias r10-diabelli
128         }
129         # nono
130         multipath {
131                 wwid 3600c0ff000d5f6bd0944b85101000000
132                 alias r10-nono
133         }
134         multipath {
135                 wwid 3600c0ff000d5f6bd6c75695501000000
136                 alias r10-nono-lvm
137         }
138         # bizet
139         multipath {
140                 wwid 3600c0ff000d5f6bdba31435501000000
141                 alias r10-bizet
142         }
143         multipath {
144                 wwid 3600c0ff000d5f6bdc5d83f4f01000000
145                 alias bizet-srv
146         }
147 }