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:154 [2017/03/09 15:50] hmeij07 [Deploy] |
cluster:154 [2017/03/20 14:09] hmeij07 [Deploy] |
||
---|---|---|---|
Line 20: | Line 20: | ||
[root@ohpc0-test ~]# vi / | [root@ohpc0-test ~]# vi / | ||
- | # lock up port 22: note "eth0" | + | # lock up port 22: note "eth1" |
- | -A INPUT -i enp4s0 | + | -A INPUT -i enp8s0 |
- | # local allow: note "eth1" | + | # local allow: note "eth0" |
- | -A INPUT -i enp8s0 | + | -A INPUT -i enp4s0 |
- | -A INPUT -i enp8s0 | + | -A INPUT -i enp4s0 |
[root@ohpc0-test ~]# vi / | [root@ohpc0-test ~]# vi / | ||
Line 102: | Line 102: | ||
< | < | ||
- | perl -pi -e " | + | perl -pi -e " |
perl -pi -e " | perl -pi -e " | ||
Line 205: | Line 205: | ||
wwsh -y file import / | wwsh -y file import / | ||
wwsh -y file set network --path / | wwsh -y file set network --path / | ||
- | wwsh -y node new ohpc0 --ipaddr=192.168.1.248 --hwaddr=00: | + | wwsh -y node new ohpc0 --ipaddr=192.168.1.248 --hwaddr=00: |
wwsh -y file import /etc/passwd | wwsh -y file import /etc/passwd | ||
Line 214: | Line 214: | ||
wwsh -y provision set ohpc0 --vnfs=centos7.2 --bootstrap=`uname -r` \ | wwsh -y provision set ohpc0 --vnfs=centos7.2 --bootstrap=`uname -r` \ | ||
| | ||
- | systemctl restart dhcpd | + | |
wwsh pxe update | wwsh pxe update | ||
+ | wwsh dhcp update | ||
+ | systemctl restart dhcpd | ||
+ | systemctl restart httpd | ||
</ | </ | ||
Line 233: | Line 236: | ||
| | ||
wwsh -y object modify -s bootlocal=UNDEF -t node ohpc0 | wwsh -y object modify -s bootlocal=UNDEF -t node ohpc0 | ||
- | systemctl restart dhcpd | + | |
wwsh pxe update | wwsh pxe update | ||
+ | wwsh dhcp update | ||
+ | systemctl restart dhcpd | ||
+ | systemctl restart httpd | ||
Line 250: | Line 256: | ||
mountpoint=/ | mountpoint=/ | ||
4: NETDEVS | 4: NETDEVS | ||
- | NETDEVS.enp8s0.NAME = enp8s0 | + | NETDEVS.enp4s0.NAME = enp8s0 |
- | NETDEVS.enp8s0.HWADDR | + | NETDEVS.enp4s0.HWADDR |
- | NETDEVS.enp8s0.IPADDR | + | NETDEVS.enp4s0.IPADDR |
4: NODENAME | 4: NODENAME | ||
4: VNFSID | 4: VNFSID | ||
+ | |||
+ | # Strange that netmask is not listed, but when I recreated the object I used | ||
+ | wwsh -y node new ohpc0 --ipaddr=192.168.1.248 --hwaddr=00: | ||
+ | | ||
[root@ohpc0-test ~]# wwsh -y bootstrap list | [root@ohpc0-test ~]# wwsh -y bootstrap list | ||
Line 265: | Line 275: | ||
</ | </ | ||
+ | |||
+ | Final notes. I now have a 3 node OpenHPC cluster up using CentOS 7.3.1611 ... because of the edit mention above of the provision template URL the CHROOT is at the latest version of CentOS. Thus I updated my SMS master too so that the construct bootstrap=`uname -r` builds an image compatible between SMS and CHROOT. | ||
+ | |||
+ | On towards testing the tools. | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |