slurm - slurmctld/slurmd を照会して、正しい slurm.conf バージョンを使用しているかどうかを確認することは可能ですか?

slurm - slurmctld/slurmd を照会して、正しい slurm.conf バージョンを使用しているかどうかを確認することは可能ですか?

同じ slurm.conf ファイルを使用するという点で、slurmctld と slurmd が同期していないという問題が発生しています。次のような状況です。

error: Node node1 appears to have a different slurm.conf than the slurmctld.  This could cause issues with communication and functionality.  Please review both files and make sure they are the same.  If this is expected ignore, and set DebugFlags=NO_CONF_HASH in your slurm.conf.
error: Node node2 appears to have a different slurm.conf than the slurmctld.  This could cause issues with communication and functionality.  Please review both files and make sure they are the same.  If this is expected ignore, and set DebugFlags=NO_CONF_HASH in your slurm.conf.
error: Node node3 appears to have a different slurm.conf than the slurmctld.  This could cause issues with communication and functionality.  Please review both files and make sure they are the same.  If this is expected ignore, and set DebugFlags=NO_CONF_HASH in your slurm.conf.
error: Node node4 appears to have a different slurm.conf than the slurmctld.  This could cause issues with communication and functionality.  Please review both files and make sure they are the same.  If this is expected ignore, and set DebugFlags=NO_CONF_HASH in your slurm.conf.

slurmctld/slurmdをクエリする方法(ログエラーを解析する以外に)はありますか?個別に実行されている構成について、再起動または再構成する必要があるかどうかを確認します。ハッシュを取得すれば、それらを互いに比較するのに十分だと思います。

更新: ファイルが読み取られた時刻を知ることもslurm.conf便利です。

答え1

使用することをお勧めします設定不要slurm conf で。デーモンの起動時に slurm ログにエラー メッセージが表示されますが、無視しても問題ありません。すべての slurmd システムは、slurm コントローラーから適切な構成を取得します。

関連情報