Allow to select target node for each backup/PBS instance.
[slapos.git] / stack / resilient / buildout.cfg
1 [buildout]
2
3 parts =
4   pbsready
5   pbsready-import
6   pbsready-export
7   template-replicated
8   template-parts
9   instance-frozen
10   template-resilient
11
12
13 #----------------
14 #--
15 #-- Profiles needed to setup automated backup and recovery.
16 #--
17
18 [pbsready]
19 # Common parts for pbsready-import and pbsready-export.
20 # Provides rdiff-backup, notification queue, ssh authentication,
21 # dropbear server, and the bully script.
22 recipe = slapos.recipe.template
23 url = ${:_profile_base_location_}/pbsready.cfg.in
24 output = ${buildout:directory}/pbsready.cfg
25 md5sum = d337ecde38c368a17a74c647b2598b29
26 mode = 0644
27
28 [pbsready-import]
29 # An import instance has an importer script, which is called
30 # by the parent PBS instance when the dump content is propagated.
31 recipe = slapos.recipe.template
32 url = ${:_profile_base_location_}/pbsready-import.cfg.in
33 output = ${buildout:directory}/pbsready-import.cfg
34 md5sum = eda0c1574d8991f4f9e08e3707c2b04b
35 mode = 0644
36
37 [pbsready-export]
38 # An export instance has an exporter script, and communicates
39 # to parent PBS instances to deliver the exported dump.
40 recipe = slapos.recipe.template
41 url = ${:_profile_base_location_}/pbsready-export.cfg.in
42 output = ${buildout:directory}/pbsready-export.cfg
43 md5sum = dd56f9c74e580475a17a9afb1d220390
44 mode = 0644
45
46 [template-pull-backup]
47 recipe = slapos.recipe.template
48 url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
49 output = ${buildout:directory}/instance-pull-backup.cfg
50 md5sum = 453d96f5a6c1230c01c878cc7640bae6
51 mode = 0644
52
53 [template-replicated]
54 recipe = slapos.recipe.download
55 url = ${:_profile_base_location_}/template-replicated.cfg.in
56 md5sum = 589065f6df3b15df08afcb812f869fcf
57 mode = 0644
58 destination = ${buildout:directory}/template-replicated.cfg.in
59
60 [template-parts]
61 recipe = slapos.recipe.download
62 url = ${:_profile_base_location_}/template-parts.cfg.in
63 md5sum = c942f82552fcb42fc74a5f896e0cd5f3
64 mode = 0644
65 destination = ${buildout:directory}/template-parts.cfg.in
66
67 [instance-frozen]
68 # When an instance is detected as broken, its software type is changed to "frozen".
69 # On the next run of slapgrid-cp, the buildout profile is replaced by instance-frozen.cfg,
70 # which will run without removing any content because it raises an error.
71 recipe = slapos.recipe.template
72 url = ${:_profile_base_location_}/instance-frozen.cfg.in
73 output = ${buildout:directory}/instance-frozen.cfg
74
75 [template-resilient]
76 recipe = slapos.recipe.template
77 url = ${:_profile_base_location_}/resilient.cfg.in
78 output = ${buildout:directory}/resilient.cfg
79 md5sum = 59e74d290d623de2c1e147e48f284fba
80 mode = 0644
81