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/06 09:16]
hmeij07 [Older kernel]
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 11: Line 16:
   - [[cluster:160|OpenHPC page 4]]   - [[cluster:160|OpenHPC page 4]]
  
-First install and enable ntp.+First install SMS_server then deploy a stateless client.  Select "Server with GUI". "eth0" will be private provisioning nic 192.168.1.220 and "eth1" will be public on wesleyan.edu. Enable ntp immediately. 
 + 
 +First do iptables, NetworkManager, firewalld, follow Page 1 listed above.
  
-Follow recipe...problem in epel repo files: what worked for me was commenting the "metalink", and un-commenting the "baseurl" in /etc/yum.repos.d/epel.repo and removing the epel-testing.repo file.+Then follow recipe...problem in epel repo files: what worked for me was commenting the "metalink", and un-commenting the "baseurl" in /etc/yum.repos.d/epel.repo and removing the epel-testing.repo file.
  
 <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 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 29: Line 36:
  
 </code> </code>
 +
 +/etc/warewulf/provision \\
 +device = enp4s0 \\
 +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'); 
 + 
  
 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 65: Line 85:
 HOSTNAME=%{NODENAME} HOSTNAME=%{NODENAME}
 </code> </code>
 +
 **ifcfg-eth1.ww** **ifcfg-eth1.ww**
 <code> <code>
Line 75: Line 96:
 NETWORK=%{NETDEVS::ETH1::NETWORK} NETWORK=%{NETDEVS::ETH1::NETWORK}
 </code> </code>
 +
 **ifcfg-ib0.ww** **ifcfg-ib0.ww**
 <code> <code>
Line 88: Line 110:
 </code> </code>
  
-Next prepare bootstrap and VNFS image. At this 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 108: 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>
Line 183: Line 206:
 # n33.chroot type nodes, ASUS type servers with 4x K20 gpus # n33.chroot type nodes, ASUS type servers with 4x K20 gpus
 n37 50:46:5D:E8:1F:A8 192.168.102.47 50:46:5D:E8:1F:A9 10.10.102.47 10.11.103.47 n37 50:46:5D:E8:1F:A8 192.168.102.47 50:46:5D:E8:1F:A9 10.10.102.47 10.11.103.47
 +# more servers ...
  
 </code> </code>
cluster/170.1533561395.txt.gz · Last modified: 2018/08/06 09:16 by hmeij07