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

User Tools

Site Tools


cluster:171

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:171 [2018/08/20 09:11]
hmeij07 [Step 4]
cluster:171 [2018/08/20 09:36]
hmeij07 [deploy.txt]
Line 143: Line 143:
 # final touches in CHROOT # final touches in CHROOT
 # edit deploy.sh (check filesystems, vnfs, bootstrap, UEFI stuff) # edit deploy.sh (check filesystems, vnfs, bootstrap, UEFI stuff)
 +
 +# copy your user and group base in passwd/shadow/group files in CHROOT/etc
 +# copy or edit bashrc and fstab in CHROOT/etc, add your NFS mounts
  
 # version # version
Line 157: Line 160:
 vanilla.chroot      533.9    /data/goldimages/vanilla.chroot vanilla.chroot      533.9    /data/goldimages/vanilla.chroot
  
- +# configure node, deploy
-# configure node, done on WW 3.6.99 +
 # assumes node pxe boots first # assumes node pxe boots first
 +
 cd /data/goldimages/vanilla.chroot/root cd /data/goldimages/vanilla.chroot/root
 ./deploy.sh `grep ^n37 deploy.txt` ./deploy.sh `grep ^n37 deploy.txt`
- 
 ssh n37 reboot ssh n37 reboot
  
 +# once the deploy is on it's way, imaging might take 5 mins or so
 +# for next node boot to be from local disk, on SMS_server issue
  
-# once the deploy is on it's way, imaging might take 5 mins or so 
-# on SMS_server issue 
 wwsh provision set --bootlocal=EXIT n37 -y wwsh provision set --bootlocal=EXIT n37 -y
- 
-# test a reboot of node n37 from local disk 
  
 </code> </code>
Line 177: Line 177:
 ==== Step 5 ===== ==== Step 5 =====
  
-So after imaging and reboot, what do we have? Definitely an imaged node, the partitions have shuffled. And our VERSION file came from the vnfs made from CHROOT. We also have eth0, eth1 and ib0.+So after imaging and reboot, what do we have? Definitely an imaged node, the partitions have shuffled around. And our VERSION file came from the vnfs made inside CHROOT. We also have eth0, eth1 and ib0.
  
 <code> <code>
Line 193: Line 193:
 /dev/sda3        65529135   234436544    84453705   83  Linux /dev/sda3        65529135   234436544    84453705   83  Linux
  
-[root@n37 etc]# ifconfig | grep 'inet '+[root@n37 ~]# ifconfig | egrep 'inet |UP'
 Infiniband hardware address can be incorrect! Please read BUGS section in ifconfig(8). Infiniband hardware address can be incorrect! Please read BUGS section in ifconfig(8).
 +eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.102.47  netmask 255.255.0.0  broadcast 192.168.255.255         inet 192.168.102.47  netmask 255.255.0.0  broadcast 192.168.255.255
 +eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 10.10.102.47  netmask 255.255.0.0  broadcast 10.10.255.255         inet 10.10.102.47  netmask 255.255.0.0  broadcast 10.10.255.255
 +ib0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 2044
         inet 10.11.103.47  netmask 255.255.0.0  broadcast 10.11.255.255         inet 10.11.103.47  netmask 255.255.0.0  broadcast 10.11.255.255
 +lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
         inet 127.0.0.1  netmask 255.255.255.0         inet 127.0.0.1  netmask 255.255.255.0
 +
  
 </code> </code>
  
-Before the reboot we grabbed passwd/shadow/group/fstab and pulled to our global archive. Spliced in our user and group bases and added our NFS mounts to fstab (comment out UUID lines). A post boot script will  copy those in place as well as the tarball for 'usr/local' which will contain our K20 compiled software (hence the rsync excludekeep vnfs small). Then all that is left to do is:+Then I have a post boot script that will upgrade the kerneldoes something like:
  
 <code> <code>
  
 +# make sure my mounts are all ok
 [root@n37 ~]# mount -a [root@n37 ~]# mount -a
  
-[root@n37 rpms]# cd /sanscratch/tmp/rpms +# staged kernel rpms 
-[root@n37 rpms]# yum install --tolerant *3.10.0*+[root@n37 ~]# cd /sanscratch/tmp/rpms 
 +[root@n37 rpms]# yum install --tolerant kernel*3.10.0*
  
 ... ...
Line 224: Line 231:
 ... ...
  
-# reboot from local disk, do not make a golden image of this, stay on 7.2 till 7.5 +# reboot from local disk, do not make a golden image of this
-# is fixed, only add non-kernel packages to vanilla.chroot if needed and re-image+
  
 </code> </code>
Line 316: Line 322:
  
 ==== deploy.txt ==== ==== deploy.txt ====
- 
-File deploy.txt 
  
 <code> <code>
cluster/171.txt · Last modified: 2018/08/20 09:55 by hmeij07