File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
environments/common/inventory/group_vars/all Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,12 @@ ohpc_default_extra_repos:
58
58
" 9 " : []
59
59
" 8 " : []
60
60
61
- # systemd.service.unit.TimeoutStartSec to wait for slurmdbd startup
62
- # Set long enought to avoid problems with a major version upgrade
63
- # Currently implemented in environments/common/inventory/group_vars/all/systemd.yml
64
- openhpc_slurmdbd_timeout_start_sec : ' 45 minutes'
61
+ # configure slurm database pre-upgrade backups:
62
+ openhpc_slurm_accounting_storage_service : mysql
63
+ openhpc_slurm_accounting_storage_backup_cmd : >-
64
+ openstack volume snapshot create
65
+ --volume {{ openhpc_cluster_name }}-state
66
+ --force
67
+ {{ openhpc_cluster_name }}-state-{{ ansible_date_time.iso8601_basic_short }}
68
+ openhpc_slurm_accounting_storage_backup_host : localhost
69
+ openhpc_slurm_accounting_storage_backup_become : false
Original file line number Diff line number Diff line change @@ -14,13 +14,7 @@ systemd_dropins:
14
14
content : " {{ _systemd_requiresmount_statedir }}"
15
15
slurmdbd :
16
16
group : openhpc
17
- content : |
18
- {{ _systemd_requiresmount_statedir }}
19
-
20
- [Service]
21
- # Allow slurmdbd to complete major version upgrades
22
- TimeoutStartSec={{ openhpc_slurmdbd_timeout_start_sec }}
23
-
17
+ content : " {{ _systemd_requiresmount_statedir }}"
24
18
slurmctld :
25
19
group : openhpc
26
20
content : " {{ _systemd_requiresmount_statedir }}"
Original file line number Diff line number Diff line change 4
4
version : v25.3.2
5
5
name : stackhpc.nfs
6
6
- src : https://github.com/stackhpc/ansible-role-openhpc.git
7
- version : v0.28.0
7
+ version : ' feat/upgrade-db ' # local - TODO: bump on release
8
8
name : stackhpc.openhpc
9
9
- src : https://github.com/stackhpc/ansible-node-exporter.git
10
10
version : stackhpc
You can’t perform that action at this time.
0 commit comments