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/13 13:49]
hmeij07 [OpenHPC 1.3.1]
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 SMS_server then deploy a stateless client.  Enable ntp immediately.+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>
- 
-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 69: Line 85:
 HOSTNAME=%{NODENAME} HOSTNAME=%{NODENAME}
 </code> </code>
 +
 **ifcfg-eth1.ww** **ifcfg-eth1.ww**
 <code> <code>
Line 79: Line 96:
 NETWORK=%{NETDEVS::ETH1::NETWORK} NETWORK=%{NETDEVS::ETH1::NETWORK}
 </code> </code>
 +
 **ifcfg-ib0.ww** **ifcfg-ib0.ww**
 <code> <code>
Line 92: 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 112: 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.1534182575.txt.gz · Last modified: 2018/08/13 13:49 by hmeij07