User Tools

Site Tools


cluster:154

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:154 [2017/03/08 18:32]
hmeij07 [Configure]
cluster:154 [2017/03/08 18:48]
hmeij07 [Configure]
Line 167: Line 167:
 # pass on infiniband # pass on infiniband
  
-# if it does not exist on sms issue command ''wwinit ssh''+# if it does not exist on **master** issue command ''wwinit ssh''
 cat ~/.ssh/cluster.pub cat ~/.ssh/cluster.pub
 cat ~/.ssh/cluster.pub >> /data/ohpc/images/centos7.2/root/.ssh/authorized_keys cat ~/.ssh/cluster.pub >> /data/ohpc/images/centos7.2/root/.ssh/authorized_keys
Line 178: Line 178:
 chroot /data/ohpc/images/centos7.2 systemctl enable ntpd chroot /data/ohpc/images/centos7.2 systemctl enable ntpd
 echo "server 192.168.1.249" >> /data/ohpc/images/centos7.2/etc/ntp.conf echo "server 192.168.1.249" >> /data/ohpc/images/centos7.2/etc/ntp.conf
 +
 +# finally on **master** issue
 +perl -pi -e "s/ControlMachine=\S+/ControlMachine=ohpc0-test/" /etc/slurm/slurm.conf
 +echo "/home *(rw,no_subtree_check,fsid=10,no_root_squash)" >> /etc/exports
 +echo "/opt/ohpc/pub *(ro,no_subtree_check,fsid=11)" >> /etc/exports
 +exportfs -ra
 +systemctl restart nfs
 +systemctl enable nfs-server
 +
 +</code>
 +
 +  * Next we PXE boot the compute node for imaging (after building bootstrp image and VNFS)
 +
 +<code>
 +
  
  
cluster/154.txt ยท Last modified: 2018/08/17 12:48 by hmeij07