User Tools

Site Tools


cluster:170

Warning: Undefined array key -1 in /usr/share/dokuwiki/inc/html.php on line 1458

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 11:47]
hmeij07
cluster:170 [2019/03/18 14: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 19: Line 24:
 <code> <code>
 yum install http://build.openhpc.community/OpenHPC:/1.3/CentOS_7/x86_64/ohpc-release-1.3-1.el7.x86_64.rpm yum install http://build.openhpc.community/OpenHPC:/1.3/CentOS_7/x86_64/ohpc-release-1.3-1.el7.x86_64.rpm
-yum update --disablerepo=* --enablerepo=ohpc-release --enablerepo=epel-release+yum update ohpc-release epel-release
  
-# not sure why epel does not show up in repolist, fix later +yum install ohpc-base  
-yum install ohpc-base --enablerepo=epel +yum install ohpc-warewulf
-yum install ohpc-warewul --enablerepo=epel+
  
 # skipping on ohpc-slurm-server on master # skipping on ohpc-slurm-server on master
Line 32: Line 36:
  
 </code> </code>
- 
-In warewulf config section httpd.conf is all set. \\ 
-Restart/Enable all services.\\ 
-Set a mysql root password. 
  
 /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. \\
 +Restart/Enable all services listed in recipe.\\
 +
 +/etc/warewulf/database-root \\
 +Set a mysql root password. \\
 +wwinit DATABASE \\
 +mysql -u root \\
 +set password for 'root'@'localhost' = PASSWORD('some_string');
 +
 +
  
 Next build compute image for provisioning (first time, vanilla). Before I do that I will bring a second disk online (/dev/sdb) for /data to store CHROOTs in. Next build compute image for provisioning (first time, vanilla). Before I do that I will bring a second disk online (/dev/sdb) for /data to store CHROOTs in.
Line 72: Line 85:
 HOSTNAME=%{NODENAME} HOSTNAME=%{NODENAME}
 </code> </code>
 +
 **ifcfg-eth1.ww** **ifcfg-eth1.ww**
 <code> <code>
Line 82: Line 96:
 NETWORK=%{NETDEVS::ETH1::NETWORK} NETWORK=%{NETDEVS::ETH1::NETWORK}
 </code> </code>
 +
 **ifcfg-ib0.ww** **ifcfg-ib0.ww**
 <code> <code>
Line 95: 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 115: 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.1534261629.txt.gz · Last modified: 2018/08/14 11:47 by hmeij07