Warning: Undefined array key "DOKU_PREFS" in /usr/share/dokuwiki/inc/common.php on line 2082
cluster:170 [DokuWiki]

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
Next revision Both sides next revision
cluster:170 [2018/08/14 11:47]
hmeij07
cluster:170 [2018/08/20 08:55]
hmeij07 [Warewulf]
Line 19: Line 19:
 <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 31:
  
 </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 80:
 HOSTNAME=%{NODENAME} HOSTNAME=%{NODENAME}
 </code> </code>
 +
 **ifcfg-eth1.ww** **ifcfg-eth1.ww**
 <code> <code>
Line 82: Line 91:
 NETWORK=%{NETDEVS::ETH1::NETWORK} NETWORK=%{NETDEVS::ETH1::NETWORK}
 </code> </code>
 +
 **ifcfg-ib0.ww** **ifcfg-ib0.ww**
 <code> <code>
Line 95: Line 105:
 </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 134:
 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.txt · Last modified: 2019/03/18 14:11 by hmeij07