Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
2076f00c
Commit
2076f00c
authored
6 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
cosmetic
parent
29aa5f5f
No related branches found
No related tags found
1 merge request
!229
Sql backup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm_sql_bk/README.md
+3
-1
3 additions, 1 deletion
roles/slurm_sql_bk/README.md
with
3 additions
and
1 deletion
roles/slurm_sql_bk/README.md
+
3
−
1
View file @
2076f00c
...
@@ -12,14 +12,16 @@ Architecture:
...
@@ -12,14 +12,16 @@ Architecture:
EXAMPLE USAGE:
EXAMPLE USAGE:
ansible-playbook -i static --limit=monarch-mgmt1 slurm_bk.yml
*
ansible-playbook -i static --limit=monarch-mgmt1 slurm_bk.yml
*
where slurm_bk.yml contains
where slurm_bk.yml contains
`
- hosts: 'ManagementNodes'
- hosts: 'ManagementNodes'
gather_facts: True
gather_facts: True
roles:
roles:
- { role: slurm_sql_bk, create_key: "True", SQL_BK_DEST_HOST: "118.138.234.186", SQL_BK_DEST_DIR: "/mnt/backup/monarch", SQL_IP: "172.16.226.88" , sqlUsername: "slurmdb", sqlPasswd: "{{ slurmdb_passwd }}" }
- { role: slurm_sql_bk, create_key: "True", SQL_BK_DEST_HOST: "118.138.234.186", SQL_BK_DEST_DIR: "/mnt/backup/monarch", SQL_IP: "172.16.226.88" , sqlUsername: "slurmdb", sqlPasswd: "{{ slurmdb_passwd }}" }
`
Meaning:
Meaning:
*
**create_key**
: If defined to True then ssh-keygen is called on local machine and then:
*
**create_key**
: If defined to True then ssh-keygen is called on local machine and then:
...
...
This diff is collapsed.
Click to expand it.
Simon Michnowicz
@smichnow
mentioned in commit
e18f204f
·
4 years ago
mentioned in commit
e18f204f
mentioned in commit e18f204f5da29122c40a95653c2a6b65b9fda80d
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment