User Tools

Site Tools


cluster:170

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
cluster:170 [2018/08/14 15:56]
hmeij07
cluster:170 [2019/03/18 18:11] (current)
hmeij07
Line 1: Line 1:
 \\ \\
 **[[cluster:0|Back]]** **[[cluster:0|Back]]**
 +
 + --- //[[hmeij@wesleyan.edu|Henk]] 2019/03/18 13:58//
 +Note self
 +  * Host ohpc0-test + n29 + n31 did form a tiny openhpc/slurm/ww test cluster, redone -slurm
 +  * Host sharptail2 act as a Centos7 Warewulf server (host petaltail is Centos6 warewulf server)
  
 ===== OpenHPC 1.3.1 ===== ===== OpenHPC 1.3.1 =====
Line 33: Line 38:
  
 /etc/warewulf/provision \\ /etc/warewulf/provision \\
-device = enps0 \\+device = enp4s0 \\
 dynamic_hosts, hostfile, localdomain all "no"  dynamic_hosts, hostfile, localdomain all "no" 
 +
 +disable=o /etc/xinetd.d/tftp
  
 In warewulf config section httpd.conf is all set. \\ In warewulf config section httpd.conf is all set. \\
-Restart/Enable all services.\\ +Restart/Enable all services listed in recipe.\\ 
-Set a mysql root password.+ 
 +/etc/warewulf/database-root \\ 
 +Set a mysql root password. \\ 
 +wwinit DATABASE \\ 
 +mysql -u root \\ 
 +set password for 'root'@'localhost' = PASSWORD('some_string');
  
  
Line 73: Line 85:
 HOSTNAME=%{NODENAME} HOSTNAME=%{NODENAME}
 </code> </code>
 +
 **ifcfg-eth1.ww** **ifcfg-eth1.ww**
 <code> <code>
Line 83: Line 96:
 NETWORK=%{NETDEVS::ETH1::NETWORK} NETWORK=%{NETDEVS::ETH1::NETWORK}
 </code> </code>
 +
 **ifcfg-ib0.ww** **ifcfg-ib0.ww**
 <code> <code>
Line 96: Line 110:
 </code> </code>
  
-Next prepare bootstrap and VNFS image. Configuration is still vanilla.+<code> 
 + 
 +wwsh file import /data/templates/network.ww \ 
 +--path=/etc/sysconfig/network --name=network.ww -y 
 +wwsh file import /data/templates/ifcfg-eth1.ww \ 
 +--path=/etc/sysconfig/network-scripts/ifcfg-eth1 --name=ifcfg-eth1.ww -y 
 +wwsh file import /data/templates/ifcfg-ib0.ww \ 
 +--path=/etc/sysconfig/network-scripts/ifcfg-ib0 --name=ifcfg-ib0.ww -y 
 + 
 +</code> 
 + 
 +Next prepare bootstrap and VNFS image. Configuration is still vanilla stateless 7.5.
  
 <code> <code>
  
-# /etc/warewulf/database-root.conf change password 
-# run wwinit DATABASE 
 echo "drivers += updates/kernel" >> /etc/warewulf/bootstrap.conf echo "drivers += updates/kernel" >> /etc/warewulf/bootstrap.conf
  
Line 116: Line 139:
 VNFS NAME            SIZE (M)   ARCH       CHROOT LOCATION VNFS NAME            SIZE (M)   ARCH       CHROOT LOCATION
 centos-7.chroot      306.3      x86_64     /data/centos-7.chroot centos-7.chroot      306.3      x86_64     /data/centos-7.chroot
- 
-# files & paths 
-wwsh file import  /data/templates/ifcfg-eth1.www  --name=ifcfg-eth1.ww 
-wwsh file import  /data/templates/ifcfg-ib0.ww  --name=ifcfg-ib0.ww 
-wwsh file import  /data/templates/network.ww  --name=network.ww 
-wwsh file set network.ww --path /etc/sysconfig/network 
-wwsh file set ifcfg-eth1.ww --path /etc/sysconfig/network-scripts/ifcfg-eth1 
-wwsh file set ifcfg-ib0.ww --path /etc/sysconfig/network-scripts/ifcfg-ib0 
  
 </code> </code>
cluster/170.1534262170.txt.gz · Last modified: 2018/08/14 15:56 by hmeij07