]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/multipath/templates/multipath-ubc-ganeti.conf.erb
replace a few bertali occurrences with ubc-bl2
[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{pasquini tristano boito 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         # brahms
56         multipath {
57                 wwid 3600c0ff000d5f6bdf4fa995101000000
58                 alias r10-brahms
59         }
60         multipath {
61                 wwid 3600c0ff000d5f6bdfdfa995101000000
62                 alias r10-brahms-srv
63         }
64         # lotti
65         multipath {
66                 wwid 3600c0ff000d5f6bd9a2a9a5101000000
67                 alias r10-lotti
68         }
69         multipath {
70                 wwid 3600c0ff000d5f6bd1ab08c4c01000000
71                 alias r6-lotti-srv
72         }
73         # elgar
74         multipath {
75                 wwid 3600c0ff000d5f6bd04849b5101000000
76                 alias r10-elgar
77         }
78         # jenkins
79         multipath {
80                 wwid 3600c0ff000d5f6bdf38f9b5101000000
81                 alias r10-jenkins
82         }
83         # popov
84         multipath {
85                 wwid 3600c0ff000d5f6bda9a19b5101000000
86                 alias r10-popov
87         }
88         multipath {
89                 wwid 3600c0ff000d5f6bdaaa19b5101000000
90                 alias r10-popov-srv
91         }
92         # fano
93         multipath {
94                 wwid 3600c0ff000d5f6bd71c19c5101000000
95                 alias r10-fano
96         }
97         multipath {
98                 wwid 3600c0ff000d5f6bd87c49c5101000000
99                 alias r10-fano-srv
100         }
101         # finzi
102         multipath {
103                 wwid 3600c0ff000d5f6bd68ec9c5101000000
104                 alias r10-finzi
105         }
106         multipath {
107                 wwid 3600c0ff000d5f6bddd0bee4f01000000
108                 alias r10-finzi-srv
109         }
110         # tchaikovsky
111         multipath {
112                 wwid 3600c0ff000d5f6bd06f29c5101000000
113                 alias r10-tchaikovsky
114         }
115         # gombert
116         multipath {
117                 wwid 3600c0ff000d5f6bd318a9e5101000000
118                 alias r10-gombert
119         }
120         # tye
121         multipath {
122                 wwid 3600c0ff000d5f6bdb08aa05101000000
123                 alias r10-tye
124         }
125         multipath {
126                 wwid 3600c0ff000d5f6bdb28aa05101000000
127                 alias r10-tye-srv
128         }
129         # glinka
130         multipath {
131                 wwid 3600c0ff000d5f6bdf0eaa45101000000
132                 alias r10-glinka
133         }
134         multipath {
135                 wwid 3600c0ff000d5f6bdf1eaa45101000000
136                 alias r10-glinka-srv
137         }
138         multipath {
139                 wwid 3600c0ff000d5f6bd866d4c5101000000
140                 alias r6-glinka-mirrors
141         }
142         # diabelli
143         multipath {
144                 wwid 3600c0ff000d5f6bdfa42aa5101000000
145                 alias r10-diabelli
146         }
147         # nono
148         multipath {
149                 wwid 3600c0ff000d5f6bd0944b85101000000
150                 alias r10-nono
151         }
152         # bizet
153         multipath {
154                 wwid 3600c0ff000d5f6bdba31435501000000
155                 alias r10-bizet
156         }
157         multipath {
158                 wwid 3600c0ff000d5f6bdc5d83f4f01000000
159                 alias bizet-srv
160         }
161 }