Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Lorenzo Martinico
slapos
Commits
1a56c5a1
Commit
1a56c5a1
authored
Sep 06, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resilient: output of resilient activity is outputed in a new folder accessible by monitor
parent
d8355631
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
stack/resilient/buildout.cfg
stack/resilient/buildout.cfg
+3
-3
stack/resilient/instance-pull-backup.cfg.in
stack/resilient/instance-pull-backup.cfg.in
+3
-2
stack/resilient/pbsready-import.cfg.in
stack/resilient/pbsready-import.cfg.in
+1
-1
stack/resilient/pbsready.cfg.in
stack/resilient/pbsready.cfg.in
+1
-0
No files found.
stack/resilient/buildout.cfg
View file @
1a56c5a1
...
@@ -41,7 +41,7 @@ eggs =
...
@@ -41,7 +41,7 @@ eggs =
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready.cfg.in
url = ${:_profile_base_location_}/pbsready.cfg.in
output = ${buildout:directory}/pbsready.cfg
output = ${buildout:directory}/pbsready.cfg
md5sum =
9eba09cd5f6e25f08eafbf1cb77582d5
md5sum =
28590ed58034cd5228e7f2cb2e79df94
mode = 0644
mode = 0644
[pbsready-import]
[pbsready-import]
...
@@ -50,7 +50,7 @@ mode = 0644
...
@@ -50,7 +50,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready-import.cfg.in
url = ${:_profile_base_location_}/pbsready-import.cfg.in
output = ${buildout:directory}/pbsready-import.cfg
output = ${buildout:directory}/pbsready-import.cfg
md5sum =
cb862ac8b6f979c9a80a7a6bec80bfd0
md5sum =
f4e6831110ad5fcf29e3463f49556eee
mode = 0644
mode = 0644
[pbsready-export]
[pbsready-export]
...
@@ -66,7 +66,7 @@ mode = 0644
...
@@ -66,7 +66,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
output = ${buildout:directory}/instance-pull-backup.cfg
output = ${buildout:directory}/instance-pull-backup.cfg
md5sum =
7e77ba24ab6c2f66d2c534d10247d7f7
md5sum =
1fe040ac898aff363769a84125087f0c
mode = 0644
mode = 0644
[template-replicated]
[template-replicated]
...
...
stack/resilient/instance-pull-backup.cfg.in
View file @
1a56c5a1
...
@@ -62,6 +62,7 @@ dot-ssh = $${basedirectory:ssh-home}/.ssh
...
@@ -62,6 +62,7 @@ dot-ssh = $${basedirectory:ssh-home}/.ssh
notifier-feeds = $${basedirectory:notifier}/feeds
notifier-feeds = $${basedirectory:notifier}/feeds
notifier-callbacks = $${basedirectory:notifier}/callbacks
notifier-callbacks = $${basedirectory:notifier}/callbacks
notifier-status-items = $${basedirectory:notifier}/status-items
notifier-status-items = $${basedirectory:notifier}/status-items
monitor-resilient = $${monitor-directory:private}/resilient
#----------------
#----------------
...
@@ -138,7 +139,7 @@ status-item-directory = $${directory:notifier-status-items}
...
@@ -138,7 +139,7 @@ status-item-directory = $${directory:notifier-status-items}
[pbs-resilient-status-feed]
[pbs-resilient-status-feed]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:directory}/bin/generateFeed --output $${
monitor-directory:private}/pbs-status.
rss --status-item-path $${pbs:status-item-directory} --title "Status feed for $${instance-info-parameters:root-name}-PBS" --link $${pbs:log-url}
command-line = ${buildout:directory}/bin/generateFeed --output $${
directory:monitor-resilient}/pbs-status-
rss --status-item-path $${pbs:status-item-directory} --title "Status feed for $${instance-info-parameters:root-name}-PBS" --link $${pbs:log-url}
wrapper-path = $${rootdirectory:bin}/resilient-genstatusrss.py
wrapper-path = $${rootdirectory:bin}/resilient-genstatusrss.py
[cron-pbs-status-feed]
[cron-pbs-status-feed]
...
@@ -283,7 +284,7 @@ symlink = $${pbs:rdiff-backup-data-folder}/restore.log = $${basedirectory:log}/p
...
@@ -283,7 +284,7 @@ symlink = $${pbs:rdiff-backup-data-folder}/restore.log = $${basedirectory:log}/p
[backup-signature-link]
[backup-signature-link]
recipe = cns.recipe.symlink
recipe = cns.recipe.symlink
symlink = $${directory:pbs-backup}/proof.signature = $${
monitor-directory:private
}/backup.signature
symlink = $${directory:pbs-backup}/proof.signature = $${
directory:monitor-resilient
}/backup.signature
#----------------
#----------------
#--
#--
...
...
stack/resilient/pbsready-import.cfg.in
View file @
1a56c5a1
...
@@ -167,4 +167,4 @@ curl_path = ${curl:location}/bin/curl
...
@@ -167,4 +167,4 @@ curl_path = ${curl:location}/bin/curl
###########
###########
[backup-signature-link]
[backup-signature-link]
recipe = cns.recipe.symlink
recipe = cns.recipe.symlink
symlink = $${basedirectory:backup}/proof.signature = $${monitor-directory:private}/backup.signature
symlink = $${basedirectory:backup}/proof.signature = $${directory:monitor-resilient}/backup.signature
\ No newline at end of file
\ No newline at end of file
stack/resilient/pbsready.cfg.in
View file @
1a56c5a1
...
@@ -52,6 +52,7 @@ cronstamps = $${rootdirectory:etc}/cronstamps
...
@@ -52,6 +52,7 @@ cronstamps = $${rootdirectory:etc}/cronstamps
logrotate-entries = $${rootdirectory:etc}/logrotate.d
logrotate-entries = $${rootdirectory:etc}/logrotate.d
logrotate-backup = $${basedirectory:backup}/logrotate
logrotate-backup = $${basedirectory:backup}/logrotate
cgi-bin = $${rootdirectory:srv}/cgi-bin
cgi-bin = $${rootdirectory:srv}/cgi-bin
monitor-resilient = $${monitor-directory:private}/resilient
#----------------
#----------------
#--
#--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment