Slurm AccountingStorageEnforce =无效的关联

时间:2013-03-22 12:17:50

标签: hpc

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

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

AccountingStorageEnforce=associations

我重新加载了配置:

scontrol reconfig

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

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

2 个答案:

答案 0 :(得分:1)

似乎要考虑到这种修改,你需要重新启动slurm守护进程,重新加载是不够的。

答案 1 :(得分:0)

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控制器守护程序(如果已配置,则重新启动辅助控制器。)