User Tools

Site Tools


cluster:144

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:144 [2016/02/05 08:59]
hmeij [Warewulf Golden Image]
cluster:144 [2018/07/26 14:52] (current)
hmeij07 [Deploying]
Line 47: Line 47:
 Set ''rsync'' to work between the two. Unmount any NFS file systems on the node. Adjust the exclusion selections in template file (ie after /home is unmounted on node I do want the mount point...scratch space, etc). Set ''rsync'' to work between the two. Unmount any NFS file systems on the node. Adjust the exclusion selections in template file (ie after /home is unmounted on node I do want the mount point...scratch space, etc).
  
-  * /usr/libexec/warewulf/wwmkchroot/golden-system.tmpl+
  
 <code> <code>
  
 # minder: all NFS file systems unmounted? # minder: all NFS file systems unmounted?
 +# or add rsync excludes in
 +# /usr/libexec/warewulf/wwmkchroot/golden-system.tmpl
  
 mkdir /var/chgroots/goldimages; cd /var/chgroots/goldimages mkdir /var/chgroots/goldimages; cd /var/chgroots/goldimages
Line 87: Line 89:
 # switch node to image VNFS # switch node to image VNFS
 wwsh provision set b6 --vnfs=b0.chroot wwsh provision set b6 --vnfs=b0.chroot
 +
 +# Rajil adds for GPU
 +# Keep in mind that nouveau should be disabled,
 +wwsh provision set c038 --kargs=\
 +"acpi_pad.disable=1 console=ttyS0,115200 rd.driver.blacklist=nouveau nouveau.modeset=0" 
  
 # just to be prudent # just to be prudent
Line 118: Line 125:
  
 This is currently not working as expected. In my first attempts I'd specify sda1 (size=500), sda2 (size=2048, type=swap) and sda3 (size=fill) but what I end up with is a standard layout it looks like.  Any sizes are also ignored. So for now I just pick the ones I want (sda1, sda3, sda7). This is currently not working as expected. In my first attempts I'd specify sda1 (size=500), sda2 (size=2048, type=swap) and sda3 (size=fill) but what I end up with is a standard layout it looks like.  Any sizes are also ignored. So for now I just pick the ones I want (sda1, sda3, sda7).
 +
 +Note: this problem turns out to be hardware related, it is not appearing on newer hardware
 + --- //[[hmeij@wesleyan.edu|Henk]] 2017/09/13 08:11//
  
  
Line 160: Line 170:
  
   wwbootstrap --chroot=/var/chroots/goldimages/n0.chroot 2.6.32-573.12.1.el6.x86_64   wwbootstrap --chroot=/var/chroots/goldimages/n0.chroot 2.6.32-573.12.1.el6.x86_64
-  wwsh provision set --vnfs=n0.chroot --bootstrap=2.6.32-573.12.1.el6.x86_64 n22 +  wwsh provision set n22 --vnfs=n0.chroot --bootstrap=2.6.32-573.12.1.el6.x86_64 
  
 </code> </code>
Line 270: Line 280:
  wwsh provision set $node --fileadd hosts,bashrc,profile -y  wwsh provision set $node --fileadd hosts,bashrc,profile -y
  wwsh provision set $node --fileadd network.ww,ifcfg-eth1.ww,ifcfg-ib0.ww -y  wwsh provision set $node --fileadd network.ww,ifcfg-eth1.ww,ifcfg-ib0.ww -y
 +
 +# note: no diskpartition, already exists and fails on this hardware,
 +# otherwise add diskpartion=sda so that "mkbootable" succeeds
  
  wwsh object modify -s bootloader=sda $node -y  wwsh object modify -s bootloader=sda $node -y
Line 290: Line 303:
  wwsh dhcp update  wwsh dhcp update
  service dhcpd restart  service dhcpd restart
 + service httpd restart
  
  echo "now reboot: $node"  echo "now reboot: $node"
 +
 + echo "wwsh provision set --bootlocal=EXIT $node -y"
  
  
cluster/144.1454680760.txt.gz ยท Last modified: 2016/02/05 08:59 by hmeij