This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:154 [2017/03/27 17:08] hmeij07 |
cluster:154 [2018/08/17 12:48] (current) hmeij07 |
||
---|---|---|---|
Line 2: | Line 2: | ||
**[[cluster: | **[[cluster: | ||
- | ==== OpenHPC ==== | + | ==== OpenHPC |
* install vanilla CentOS 7.2 on //master// | * install vanilla CentOS 7.2 on //master// | ||
Line 10: | Line 10: | ||
< | < | ||
- | + | ||
- | [root@ohpc0-test ~]# systemctl | + | [root@ohpc0-test ~]# systemctl |
+ | |||
[root@ohpc0-test ~]# systemctl disable firewalld | [root@ohpc0-test ~]# systemctl disable firewalld | ||
- | [root@ohpc0-test ~]# yum install iptables-services -y | + | [root@ohpc0-test ~]# yum install iptables-services -y |
+ | |||
[root@ohpc0-test ~]# systemctl enable iptables | [root@ohpc0-test ~]# systemctl enable iptables | ||
- | [root@ohpc0-test ~]# systemctl enable ip6tables | ||
[root@ohpc0-test ~]# vi / | [root@ohpc0-test ~]# vi / | ||
# lock up port 22: note " | # lock up port 22: note " | ||
- | -A INPUT -i enp8s0 | + | -A INPUT -p tcp -m state --state NEW -m tcp -s 129.133.0.0/ |
# local allow: note " | # local allow: note " | ||
- | -A INPUT -i enp4s0 | + | -A INPUT -d 192.168.0.0/ |
- | -A INPUT -i enp4s0 | + | -A INPUT -d 192.168.0.0/ |
- | [root@ohpc0-test ~]# vi / | + | [root@ohpc0-test ~]# reboot |
- | # comment out port 22 | + | # check firwewall |
- | + | ||
- | [root@ohpc0-test ~]# systemctl restart iptables | + | |
- | [root@ohpc0-test ~]# systemctl restart ip6tables | + | |
[root@ohpc0-test ~]# iptables -L | [root@ohpc0-test ~]# iptables -L | ||
Chain INPUT (policy ACCEPT) | Chain INPUT (policy ACCEPT) | ||
- | target | + | ... |
- | ACCEPT | + | |
- | ACCEPT | + | |
- | ACCEPT | + | |
ACCEPT | ACCEPT | ||
ACCEPT | ACCEPT | ||
Line 44: | Line 39: | ||
REJECT | REJECT | ||
- | Chain FORWARD (policy ACCEPT) | + | # copy global hpc /etc/hosts in place |
- | target | + | # check hostname is on provisioning network |
- | REJECT | + | [root@ohpc0-test ~]# ping `hostname` |
- | + | PING ohpc0-test (192.168.1.249) 56(84) bytes of data. | |
- | Chain OUTPUT (policy ACCEPT) | + | 64 bytes from ohpc0-test (192.168.1.249): |
- | target | + | |
- | + | ||
- | [root@ohpc0-test ~]# reboot | + | |
</ | </ | ||
Line 189: | Line 181: | ||
# finally on **master** issue | # finally on **master** issue | ||
perl -pi -e " | perl -pi -e " | ||
+ | # this turned out to be wrong, first I change the hostname to '' | ||
+ | # added line in /etc/hosts pointing this to 192.168.1.249, | ||
+ | |||
+ | NodeName=ohpc0-slurm NodeAddr=192.168.1.249 CPUs=2 \ | ||
+ | RealMemory=8 Sockets=2 CoresPerSocket=4 ThreadsPerCore=2 State=UNKNOWN | ||
+ | NodeName=n29 NodeAddr=192.168.102.38 CPUs=2 \ | ||
+ | RealMemory=8 Sockets=2 CoresPerSocket=4 ThreadsPerCore=2 State=UNKNOWN | ||
+ | NodeName=n31 NodeAddr=192.168.102.40 CPUs=2 | ||
+ | RealMemory=8 Sockets=2 CoresPerSocket=4 ThreadsPerCore=2 State=UNKNOWN | ||
+ | PartitionName=test Nodes=n29, | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
echo "/home *(rw, | echo "/home *(rw, | ||
echo "/ | echo "/ | ||
Line 356: | Line 363: | ||
</ | </ | ||
+ | |||
+ | page 1 - [[cluster: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |