]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2media-virtual.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / bacula-sd-2media-virtual.conf.in
1 #
2 # Storage daemon for testing a Virtual Autochanger
3 #  with 2 Media Types and two different Archive Directories
4 #
5
6 Storage {                             # definition of myself
7   Name = @hostname@-sd
8   SDPort = @sdport@                  # Director's port      
9   WorkingDirectory = "@working_dir@"
10   Pid Directory = "@piddir@"
11   Subsys Directory = "@subsysdir@"
12   Maximum Concurrent Jobs = 100
13 }
14
15 #
16 # List Directors who are permitted to contact Storage daemon
17 #
18 Director {
19   Name = @hostname@-dir
20   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
21 }
22
23 Autochanger {
24   Name = Virtual
25   Changer Device = /dev/null
26   Changer Command =""
27   Device = vDrive-0,  vDrive-1, vDrive-2
28   Device = vDrive-3, vDrive-4, vDrive-5, vDrive-6, vDrive-7, vDrive-8, vDrive-9, vDrive-10, vDrive-11, vDrive-12, vDrive-13, vDrive-14, vDrive-15, vDrive-16, vDrive-17, vDrive-18, vDrive-19
29 }
30
31 Device {
32   Name = vDrive-0
33   Device Type = File
34   Media Type = disk
35   Archive Device = @tmpdir@/disk
36   AutomaticMount = yes;
37   Autochanger = yes
38   Drive Index = 0
39   AlwaysOpen = yes;
40   RemovableMedia = yes;
41   Maximum Concurrent Jobs = 3
42   Volume Poll Interval = 15
43 # Maximum File Size = 1000000
44 }
45
46 Device {
47   Name = vDrive-1
48   Device Type = File
49   Media Type = disk
50   Archive Device = @tmpdir@/disk
51   AutomaticMount = yes;
52   Autochanger = yes
53   Drive Index = 0
54   AlwaysOpen = yes;
55   RemovableMedia = yes;
56   Maximum Concurrent Jobs = 3
57   Volume Poll Interval = 15
58 # Maximum File Size = 1000000
59 }
60
61 Device {
62   Name = vDrive-2
63   Device Type = File
64   Media Type = disk
65   Archive Device = @tmpdir@/disk
66   AutomaticMount = yes;
67   Autochanger = yes
68   Drive Index = 1
69   AlwaysOpen = yes;
70   RemovableMedia = yes;
71   Maximum Concurrent Jobs = 3
72   Volume Poll Interval = 15
73 # Maximum File Size = 1000000
74 }
75
76 Device {
77   Name = vDrive-3
78   Device Type = File
79   Media Type = disk1              # Different Media Type
80   Archive Device = @tmpdir@/disk1 # Different directory
81   AutomaticMount = yes;
82   Autochanger = yes
83   Drive Index = 2
84   AlwaysOpen = yes;
85   RemovableMedia = yes;
86   Maximum Concurrent Jobs = 3
87   Volume Poll Interval = 15
88 # Maximum File Size = 1000000
89 }
90
91 Device {
92   Name = vDrive-4
93   Device Type = File
94   Media Type = disk
95   Archive Device = @tmpdir@/disk
96   AutomaticMount = yes;
97   Autochanger = yes
98   Drive Index = 0
99   AlwaysOpen = yes;
100   RemovableMedia = yes;
101   Maximum Concurrent Jobs = 3
102   Volume Poll Interval = 15
103 # Maximum File Size = 1000000
104 }
105
106 Device {
107   Name = vDrive-5
108   Device Type = File
109   Media Type = disk
110   Archive Device = @tmpdir@/disk
111   AutomaticMount = yes;
112   Autochanger = yes
113   Drive Index = 0
114   AlwaysOpen = yes;
115   RemovableMedia = yes;
116   Maximum Concurrent Jobs = 3
117   Volume Poll Interval = 15
118 # Maximum File Size = 1000000
119 }
120
121 Device {
122   Name = vDrive-6
123   Device Type = File
124   Media Type = disk
125   Archive Device = @tmpdir@/disk
126   AutomaticMount = yes;
127   Autochanger = yes
128   Drive Index = 0
129   AlwaysOpen = yes;
130   RemovableMedia = yes;
131   Maximum Concurrent Jobs = 3
132   Volume Poll Interval = 15
133 # Maximum File Size = 1000000
134 }
135
136 Device {
137   Name = vDrive-7
138   Device Type = File
139   Media Type = disk
140   Archive Device = @tmpdir@/disk
141   AutomaticMount = yes;
142   Autochanger = yes
143   Drive Index = 0
144   AlwaysOpen = yes;
145   RemovableMedia = yes;
146   Maximum Concurrent Jobs = 3
147   Volume Poll Interval = 15
148 # Maximum File Size = 1000000
149 }
150 Device {
151   Name = vDrive-8
152   Device Type = File
153   Media Type = disk
154   Archive Device = @tmpdir@/disk
155   AutomaticMount = yes;
156   Autochanger = yes
157   Drive Index = 0
158   AlwaysOpen = yes;
159   RemovableMedia = yes;
160   Maximum Concurrent Jobs = 3
161   Volume Poll Interval = 15
162 # Maximum File Size = 1000000
163 }
164
165 Device {
166   Name = vDrive-9
167   Device Type = File
168   Media Type = disk
169   Archive Device = @tmpdir@/disk
170   AutomaticMount = yes;
171   Autochanger = yes
172   Drive Index = 0
173   AlwaysOpen = yes;
174   RemovableMedia = yes;
175   Maximum Concurrent Jobs = 3
176   Volume Poll Interval = 15
177 # Maximum File Size = 1000000
178 }
179
180 Device {
181   Name = vDrive-10
182   Device Type = File
183   Media Type = disk
184   Archive Device = @tmpdir@/disk
185   AutomaticMount = yes;
186   Autochanger = yes
187   Drive Index = 0
188   AlwaysOpen = yes;
189   RemovableMedia = yes;
190   Maximum Concurrent Jobs = 3
191   Volume Poll Interval = 15
192 # Maximum File Size = 1000000
193 }
194
195 Device {
196   Name = vDrive-11
197   Device Type = File
198   Media Type = disk
199   Archive Device = @tmpdir@/disk
200   AutomaticMount = yes;
201   Autochanger = yes
202   Drive Index = 0
203   AlwaysOpen = yes;
204   RemovableMedia = yes;
205   Maximum Concurrent Jobs = 3
206   Volume Poll Interval = 15
207 # Maximum File Size = 1000000
208 }
209
210 Device {
211   Name = vDrive-12
212   Device Type = File
213   Media Type = disk
214   Archive Device = @tmpdir@/disk
215   AutomaticMount = yes;
216   Autochanger = yes
217   Drive Index = 0
218   AlwaysOpen = yes;
219   RemovableMedia = yes;
220   Maximum Concurrent Jobs = 3
221   Volume Poll Interval = 15
222 # Maximum File Size = 1000000
223 }
224
225 Device {
226   Name = vDrive-13
227   Device Type = File
228   Media Type = disk
229   Archive Device = @tmpdir@/disk
230   AutomaticMount = yes;
231   Autochanger = yes
232   Drive Index = 0
233   AlwaysOpen = yes;
234   RemovableMedia = yes;
235   Maximum Concurrent Jobs = 3
236   Volume Poll Interval = 15
237 # Maximum File Size = 1000000
238 }
239
240 Device {
241   Name = vDrive-14
242   Device Type = File
243   Media Type = disk
244   Archive Device = @tmpdir@/disk
245   AutomaticMount = yes;
246   Autochanger = yes
247   Drive Index = 0
248   AlwaysOpen = yes;
249   RemovableMedia = yes;
250   Maximum Concurrent Jobs = 3
251   Volume Poll Interval = 15
252 # Maximum File Size = 1000000
253 }
254
255 Device {
256   Name = vDrive-15
257   Device Type = File
258   Media Type = disk
259   Archive Device = @tmpdir@/disk
260   AutomaticMount = yes;
261   Autochanger = yes
262   Drive Index = 0
263   AlwaysOpen = yes;
264   RemovableMedia = yes;
265   Maximum Concurrent Jobs = 3
266   Volume Poll Interval = 15
267 # Maximum File Size = 1000000
268 }
269
270 Device {
271   Name = vDrive-16
272   Device Type = File
273   Media Type = disk
274   Archive Device = @tmpdir@/disk
275   AutomaticMount = yes;
276   Autochanger = yes
277   Drive Index = 0
278   AlwaysOpen = yes;
279   RemovableMedia = yes;
280   Maximum Concurrent Jobs = 3
281   Volume Poll Interval = 15
282 # Maximum File Size = 1000000
283 }
284
285 Device {
286   Name = vDrive-17
287   Device Type = File
288   Media Type = disk
289   Archive Device = @tmpdir@/disk
290   AutomaticMount = yes;
291   Autochanger = yes
292   Drive Index = 0
293   AlwaysOpen = yes;
294   RemovableMedia = yes;
295   Maximum Concurrent Jobs = 3
296   Volume Poll Interval = 15
297 # Maximum File Size = 1000000
298 }
299
300 Device {
301   Name = vDrive-18
302   Device Type = File
303   Media Type = disk
304   Archive Device = @tmpdir@/disk
305   AutomaticMount = yes;
306   Autochanger = yes
307   Drive Index = 0
308   AlwaysOpen = yes;
309   RemovableMedia = yes;
310   Maximum Concurrent Jobs = 3
311   Volume Poll Interval = 15
312 # Maximum File Size = 1000000
313 }
314
315 Device {
316   Name = vDrive-19
317   Device Type = File
318   Media Type = disk
319   Archive Device = @tmpdir@/disk
320   AutomaticMount = yes;
321   Autochanger = yes
322   Drive Index = 0
323   AlwaysOpen = yes;
324   RemovableMedia = yes;
325   Maximum Concurrent Jobs = 3
326   Volume Poll Interval = 15
327 # Maximum File Size = 1000000
328 }
329
330
331 Autochanger {
332   Name = Virtual2
333   Changer Device = /dev/null
334   Changer Command =""
335   Device = vDrive2-1, vDrive2-2, vDrive2-3
336 }
337
338 Device {
339   Name = vDrive2-1
340   Device Type = File
341   Media Type = disk2
342   Archive Device = @tmpdir@/disk
343   AutomaticMount = yes;
344   Autochanger = yes
345   Drive Index = 0
346   AlwaysOpen = yes;
347   RemovableMedia = yes;
348   Maximum Concurrent Jobs = 3
349   Volume Poll Interval = 15
350 # Maximum File Size = 1000000
351 }
352
353 Device {
354   Name = vDrive2-2
355   Device Type = File
356   Media Type = disk2
357   Archive Device = @tmpdir@/disk
358   AutomaticMount = yes;
359   Autochanger = yes
360   Drive Index = 1
361   AlwaysOpen = yes;
362   RemovableMedia = yes;
363   Maximum Concurrent Jobs = 3
364   Volume Poll Interval = 15
365 # Maximum File Size = 1000000
366 }
367
368 Device {
369   Name = vDrive2-3
370   Device Type = File
371   Media Type = disk2
372   Archive Device = @tmpdir@/disk
373   AutomaticMount = yes;
374   Autochanger = yes
375   Drive Index = 2
376   AlwaysOpen = yes;
377   RemovableMedia = yes;
378   Maximum Concurrent Jobs = 3
379   Volume Poll Interval = 15
380 # Maximum File Size = 1000000
381 }
382
383
384
385 # Send all messages to the Director, 
386 # mount messages also are sent to the email address
387 #
388 Messages {
389   Name = Standard
390   director = @hostname@-dir = all, !terminate
391 }
392
393 Cloud {
394   Name = DummyCloud
395   Driver = "File"
396   HostName = "@tmpdir@/cloud"
397   BucketName = "DummyBucket"
398   AccessKey = "DummyAccessKey"
399   SecretKey = "DummySecretKey"
400   Protocol = HTTPS
401   UriStyle = VirtualHost
402 }
403