Skip to content

Commit

Permalink
Merge pull request #604 from pneerincx/upgrade/slurm
Browse files Browse the repository at this point in the history
Upgraded Slurm 20.11.8-1.el7.umcg -> 22.05.2-1.el7.umcg for various clusters
  • Loading branch information
scimerman authored Jul 26, 2022
2 parents 87ac800 + b693503 commit 0253a70
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion group_vars/marvin_cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slurm_cluster_name: 'marvin'
stack_domain: ''
stack_name: "{{ slurm_cluster_name }}_cluster" # stack_name must match the name of the folder that contains this vars.yml file.
stack_prefix: 'mv'
slurm_version: '20.11.8-1.el7.umcg'
slurm_version: '22.05.2-1.el7.umcg'
slurm_partitions:
- name: regular # Must be in sync with group listed in Ansible inventory.
default: yes
Expand Down
2 changes: 1 addition & 1 deletion group_vars/nibbler_cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slurm_cluster_name: 'nibbler'
stack_domain: 'hpc.rug.nl'
stack_name: "{{ slurm_cluster_name }}_cluster" # stack_name must match the name of the folder that contains this vars.yml file.
stack_prefix: 'nb'
slurm_version: '20.11.8-1.el7.umcg'
slurm_version: '22.05.2-1.el7.umcg'
slurm_partitions:
- name: regular # Must be in sync with group listed in Ansible inventory.
default: yes
Expand Down
2 changes: 1 addition & 1 deletion group_vars/talos_cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slurm_cluster_name: 'talos'
stack_domain: 'hpc.rug.nl'
stack_name: "{{ slurm_cluster_name }}_cluster" # stack_name must match the name of the folder that contains this vars.yml file.
stack_prefix: 'tl'
slurm_version: '20.11.8-1.el7.umcg'
slurm_version: '22.05.2-1.el7.umcg'
slurm_allow_jobs_to_span_nodes: true
slurm_partitions:
- name: regular # Must be in sync with group listed in Ansible inventory.
Expand Down
2 changes: 1 addition & 1 deletion group_vars/wingedhelix_cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slurm_cluster_name: 'wingedhelix'
stack_domain: 'hpc.rug.nl'
stack_name: "{{ slurm_cluster_name }}_cluster" # stack_name must match the name of the folder that contains this vars.yml file.
stack_prefix: 'wh'
slurm_version: '20.11.8-1.el7.umcg'
slurm_version: '22.05.2-1.el7.umcg'
slurm_partitions:
- name: regular # Must be in sync with group listed in Ansible inventory.
default: yes
Expand Down
9 changes: 9 additions & 0 deletions roles/slurm_management/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@
- 'restart_slurmctld'
become: true

- name: 'Delete deprecated/unused Slurm packages.'
ansible.builtin.yum:
state: 'removed'
name:
- 'slurm-libpmi'
- 'slurm-openlava'
- 'slurm-torque'
become: true

- name: 'Install Slurm management deamons with yum.'
ansible.builtin.yum:
state: 'installed'
Expand Down

0 comments on commit 0253a70

Please sign in to comment.