This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:139 [2015/04/10 17:56] hmeij [Warewulf LBL] |
cluster:139 [2015/04/17 19:41] hmeij [Warewulf LBL] |
||
---|---|---|---|
Line 122: | Line 122: | ||
</ | </ | ||
- | Next restart some warewulf services. I had to edit the / | + | Next restart some warewulf services. I had to edit the / |
< | < | ||
Line 146: | Line 146: | ||
</ | </ | ||
- | Booting the node we observe the eth0 MAC address being picked up by DHCPd followed by the tftpboot process. | + | Booting the node we observe the eth0 MAC address being picked up by DHCPd followed by the tftpboot process. |
+ | |||
+ | < | ||
+ | |||
+ | [root@petaltail ~]# wwsh file import / | ||
+ | |||
+ | [root@petaltail ~]# wwsh file list | ||
+ | dynamic_hosts | ||
+ | group : -rw-r--r-- 1 root root 6247 / | ||
+ | passwd | ||
+ | shadow | ||
+ | |||
+ | [root@petaltail ~]# wwsh provision set b[0-51] --fileadd passwd | ||
+ | |||
+ | [root@petaltail ~]# wwsh provision print | ||
+ | #### b51.cluster ############################################################## | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | b51.cluster: | ||
+ | ... | ||
+ | |||
+ | </ | ||
+ | |||
+ | Next build a hybrid VNFS, this is the way to add packages to the nodes. | ||
+ | |||
+ | < | ||
+ | |||
+ | cd / | ||
+ | mkdir vnfs | ||
+ | |||
+ | vi etc/fstab (inside of chroot area, edit) | ||
+ | 192.168.1.217:/ | ||
+ | |||
+ | wwvnfs --chroot / | ||
+ | Overwrite original: y | ||
+ | |||
+ | # reboot node, observe mount, then add NTP to chgroot | ||
+ | |||
+ | yum --tolerant --installroot / | ||
+ | |||
+ | vi etc/ | ||
+ | # chkconfig: 35 58 74 | ||
+ | |||
+ | # then make the following links in etc/ | ||
+ | |||
+ | vi etc/ | ||
+ | restrict default ignore | ||
+ | restrict 127.0.0.0 | ||
+ | server 192.168.1.217 | ||
+ | restrict 192.168.1.217 nomodify | ||
+ | |||
+ | wwvnfs --chroot / | ||
+ | VNFS ' | ||
+ | |||
+ | # reboot node | ||
+ | |||
+ | </ | ||
+ | |||
+ | Then build the node up: | ||
+ | |||
+ | * use yum to install the openlava 2.2.1 RPM (pulls in tcl) | ||
+ | * copy the openlava config files into the centos-6 are | ||
+ | * use yum to install postfix | ||
+ | * add links in rc3.d and rc5.d | ||
+ | * remove sendmail links | ||
+ | * yum install perl | ||
+ | * yum install munge | ||
+ | * build RPMs from tar ball | ||
+ | * rebuild the VNFS and reboot | ||
Useful links | Useful links |