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
0d8bbf1b
Commit
0d8bbf1b
authored
3 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
requesting config from secondary controller via tags=
parent
d479e118
No related branches found
Branches containing commit
No related tags found
1 merge request
!498
requesting config from secondary controller via tags=
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/slurm-start/tasks/main.yml
+6
-0
6 additions, 0 deletions
roles/slurm-start/tasks/main.yml
roles/slurm-start/templates/slurmd.service.secondary.j2
+17
-0
17 additions, 0 deletions
roles/slurm-start/templates/slurmd.service.secondary.j2
with
23 additions
and
0 deletions
roles/slurm-start/tasks/main.yml
+
6
−
0
View file @
0d8bbf1b
...
...
@@ -43,6 +43,12 @@
when
:
use_systemd is defined and start_slurmd is defined
register
:
slurmd_service_installed
-
name
:
copy slurmd.service backup
template
:
dest=/etc/systemd/system/slurmd.service src=slurmd.service.secondary.j2 mode=644
become
:
true
register
:
slurmd_service_installed
tags
:
[
never
,
DEPLOYSLURMDSERVICEBACKUP
]
-
name
:
deploy glusterfsheltest
template
:
dest=/etc/systemd/system/glusterfsheltest.sh src=templates/glusterfsheltest.sh.j2 mode=744
become
:
true
...
...
This diff is collapsed.
Click to expand it.
roles/slurm-start/templates/slurmd.service.secondary.j2
0 → 100644
+
17
−
0
View file @
0d8bbf1b
[Unit]
Description=Slurm node daemon
After=network.target
# After Slurm-20.02 (configless), this is not needed
# ConditionPathExists={{ slurm_dir }}/etc/slurm.conf
[Service]
Type=forking
KillMode=process
LimitMEMLOCK=infinity
#EnvironmentFile=/etc/default/slurmd
#ExecStart={{ slurm_dir }}/sbin/slurmd $SLURMD_OPTIONS # before slurm20
ExecStart={{ slurm_dir }}/sbin/slurmd --conf-server {{ slurmctrlbackup }}:6817
PIDFile={{ slurmpiddir }}/slurmd.pid
[Install]
WantedBy=multi-user.target
This diff is collapsed.
Click to expand it.
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