User Tools

Site Tools


自作クラスタ計算機:slurm_v25の基本設定

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
自作クラスタ計算機:slurm_v25の基本設定 [2026/07/09 03:52] – [認証鍵の設置] koudai自作クラスタ計算機:slurm_v25の基本設定 [2026/07/11 04:15] (current) – [管理] koudai
Line 248: Line 248:
 <code> <code>
 $ sudo cp /etc/slurm/slurm.key ~/slurm.key $ sudo cp /etc/slurm/slurm.key ~/slurm.key
-以下略 
 </code>  </code> 
  
-各計算ノードで鍵を設置と権限設定をします。+各計算ノードで鍵を設置と権限設定をします。
 (/etc/exports で /home に no_root_squash オプションが入っていることを確認してください) (/etc/exports で /home に no_root_squash オプションが入っていることを確認してください)
  
Line 260: Line 259:
 </code> </code>
  
 +NFSでno_root_squashを使いたくない場合は、いったん鍵をscpで各計算ノードの/tmpディレクトリに送り込んで、そこから/etc/slurm/にコピーする方法もあります。
  
  
Line 277: Line 276:
 [Service] [Service]
 ExecStart= ExecStart=
-ExecStart=/usr/sbin/slurmd --systemd --conf-server head+ExecStart=/usr/sbin/slurmd --systemd --conf-server 192.168.0.1
 </file> </file>
  
Line 317: Line 316:
 <code> <code>
 $ sudo scontrol reconfigure $ sudo scontrol reconfigure
-$ sudo scontrol update NodeName=node[11-30] State=RESUME   # 計算ノードに設定が反映されない場合+</code> 
 + 
 +ノードの停止と再開(OSのアップデートなど、ノードでなにか作業するときはノードを一旦停止させてください) 
 +<code> 
 +$ sudo scontrol update nodename=node[11-30] state=drain    # 停止 
 +$ sudo scontrol update nodename=node[11-30] state=resume   # 再開
 </code> </code>
  
自作クラスタ計算機/slurm_v25の基本設定.1783536755.txt.gz · Last modified: 2026/07/09 03:52 by koudai