You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,10 +65,7 @@ package in the image.
65
65
66
66
#### Accounting
67
67
68
-
By default, the accounting plugin will use the `accounting_storage/filetxt` storage type. However,
69
-
this only supports a subset of `sacct` commands.
70
-
71
-
To deploy and configure `slurmdbd`:
68
+
By default, no accounting storage is configured. OpenHPC v1.x and un-updated OpenHPC v2.0 clusters support file-based accounting storage which can be selected by setting the role variable `openhpc_slurm_accounting_storage_type` to `accounting_storage/filetxt`<supid="accounting_storage">[1](#slurm_ver_footnote)</sup>. Accounting for OpenHPC v2.1 and updated OpenHPC v2.0 clusters requires the Slurm database daemon, `slurmdbd`. To enable this:
72
69
73
70
* Configure a mariadb or mysql server as described in the slurm accounting [documentation](https://slurm.schedmd.com/accounting.html) on one of the nodes in your inventory and set `openhpc_enable.database `to `true` for this node.
74
71
* Set `openhpc_slurm_accounting_storage_type` to `accounting_storage/slurmdbd`.
@@ -80,13 +77,9 @@ The role will take care of configuring the following variables for you:
80
77
81
78
`openhpc_slurm_accounting_storage_port`: Which port to use to connect to the accounting storage.
82
79
83
-
`openhpc_slurm_accounting_storage_type`: How accounting records are stored. Can be one of `accounting_storage/none`,
84
-
`accounting_storage/slurmdbd` or `accounting_storage/filetxt`.
85
-
86
80
`openhpc_slurm_accounting_storage_user`: Username for authenticating with the accounting storage.
87
81
88
82
`openhpc_slurm_accounting_storage_pass`: Mungekey or database password to use for authenticating.
89
-
with the accounting storage
90
83
91
84
For more advanced customisation or to configure another storage type, you might want to modify these values manually.
92
85
@@ -212,3 +205,7 @@ To drain nodes, for example, before scaling down the cluster to 6 nodes:
212
205
drain: "{{ inventory_hostname not in desired_state }}"
213
206
resume: "{{ inventory_hostname in desired_state }}"
214
207
...
208
+
209
+
---
210
+
211
+
<bid="slurm_ver_footnote">1</b> Slurm 20.11 removed `accounting_storage/filetxt` as an option. This version of Slurm was introduced in OpenHPC v2.1 but the OpenHPC repos are common to all OpenHPC v2.x releases. [↩](#accounting_storage)
0 commit comments