1

我正在使用 slurm 和 slurmdbd 管理集群(使用 MySQL)

我在 /etc/slurm/slurm.conf 中设置了以下选项

AccountingStorageEnforce=associations

我已经重新加载了配置:

scontrol reconfig

我在 sacctmgr 中配置了一些关联。

问题是我仍然可以使用不存在的 slurm 用户提交工作。我对 AccountingStorageEnforce=associations 选项的理解是非现有用户无权提交作业。

4

2 回答 2

2

看来要考虑这种修改,您需要完全重启 slurm 守护程序,重新加载是不够的。

于 2013-04-08T08:49:44.333 回答
1

手册slurm.conf页指出

   AccountingStorageEnforce
          This controls what level of association-based enforcement to impose on job submissions.  Valid options are any combination of associations,  limits,  nojobs,  nosteps,
          qos, safe, and wckeys, or all for all things.
          [...]
          When AccountingStorageEnforce is changed, a restart of the slurmctld daemon is required (not just a "scontrol reconfig").

所以你必须确保重新启动 slurm 控制器守护程序(如果配置了辅助控制器,则必须重新启动。)

于 2013-11-28T20:28:04.087 回答