File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ required to due to a a Slurm major version upgrade and carry it out if so.
143
143
Slurm versions before 24.11 do not support this check and so no upgrade will
144
144
occur. The following variables control behaviour during this upgrade:
145
145
146
+ ` openhpc_slurm_accounting_storage_client_package ` : Optional. String giving the
147
+ name of the database client package to install, e.g. ` mariadb ` . Default ` mysql ` .
148
+
146
149
` openhpc_slurm_accounting_storage_backup_cmd ` : Optional. String (possibly
147
150
multi-line) giving a command for ` ansible.builtin.shell ` to run a backup of the
148
151
Slurm database before performing the databse upgrade. Default is the empty
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ openhpc_slurm_partitions: []
8
8
openhpc_cluster_name :
9
9
openhpc_packages :
10
10
- slurm-libpmi-ohpc
11
- - mysql # actually from rocky repos
12
11
openhpc_resume_timeout : 300
13
12
openhpc_retry_delay : 10
14
13
openhpc_job_maxtime : ' 60-0' # quote this to avoid ansible converting some formats to seconds, which is interpreted as minutes by Slurm
@@ -108,3 +107,4 @@ openhpc_slurm_accounting_storage_service: ''
108
107
openhpc_slurm_accounting_storage_backup_cmd : ' '
109
108
openhpc_slurm_accounting_storage_backup_host : " {{ openhpc_slurm_accounting_storage_host }}"
110
109
openhpc_slurm_accounting_storage_backup_become : true
110
+ openhpc_slurm_accounting_storage_client_package : mysql
Original file line number Diff line number Diff line change 15
15
openhpc_slurm_partitions :
16
16
- name : " compute"
17
17
openhpc_cluster_name : testohpc
18
+ openhpc_slurm_accounting_storage_client_package : mariadb
18
19
tasks :
19
20
- name : " Include ansible-role-openhpc"
20
21
include_role :
Original file line number Diff line number Diff line change 49
49
install_weak_deps : false # avoids getting recommended packages
50
50
when : openhpc_slurm_pkglist | default(false, true)
51
51
52
- - name : Install packages from openhpc_packages variable
52
+ - name : Install other packages
53
53
yum :
54
- name : " {{ openhpc_packages }}"
54
+ name : " {{ openhpc_packages + [openhpc_slurm_accounting_storage_client_package] }}"
55
55
56
56
...
Original file line number Diff line number Diff line change 7
7
login_db : " {{ openhpc_slurmdbd_mysql_database }}"
8
8
login_user : " {{ openhpc_slurmdbd_mysql_username }}"
9
9
login_password : " {{ openhpc_slurmdbd_mysql_password }}"
10
- # login_host:
10
+ login_host : " {{ openhpc_slurm_accounting_storage_host }} "
11
11
query : SHOW TABLES
12
12
register : _openhpc_slurmdb_tables
13
13
You can’t perform that action at this time.
0 commit comments