This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
cluster:154 [2017/03/03 19:02] hmeij07 created |
cluster:154 [2017/03/07 18:47] hmeij07 [OpenHPC] |
||
---|---|---|---|
Line 4: | Line 4: | ||
==== OpenHPC ==== | ==== OpenHPC ==== | ||
- | * install vanilla CentOS 7.2 | + | * install vanilla CentOS 7.2 on // |
+ | * find Install_guide-CentOS7.2-SLURM-1.2.1-x86_64.pdf recipe guide on http:// | ||
+ | * turn selinux off | ||
+ | * next switch to iptables | ||
+ | |||
+ | < | ||
+ | |||
+ | [root@ohpc0-test ~]# systemctl stop firewalld | ||
+ | [root@ohpc0-test ~]# systemctl disable firewalld | ||
+ | |||
+ | [root@ohpc0-test ~]# yum install iptables-services -y | ||
+ | [root@ohpc0-test ~]# systemctl enable iptables | ||
+ | [root@ohpc0-test ~]# systemctl enable ip6tables | ||
+ | |||
+ | [root@ohpc0-test ~]# vi / | ||
+ | |||
+ | # lock up port 22: note " | ||
+ | -A INPUT -i enp4s0 -p tcp -m state --state NEW -m tcp -s 129.133.0.0/ | ||
+ | |||
+ | # local allow: note " | ||
+ | -A INPUT -i enp8s0 -d 192.168.0.0/ | ||
+ | -A INPUT -i enp8s0 -d 192.168.0.0/ | ||
+ | |||
+ | [root@ohpc0-test ~]# vi / | ||
+ | |||
+ | # comment out port 22 | ||
+ | |||
+ | [root@ohpc0-test ~]# systemctl restart iptables | ||
+ | [root@ohpc0-test ~]# systemctl restart ip6tables | ||
+ | [root@ohpc0-test ~]# iptables -L | ||
+ | Chain INPUT (policy ACCEPT) | ||
+ | target | ||
+ | ACCEPT | ||
+ | ACCEPT | ||
+ | ACCEPT | ||
+ | ACCEPT | ||
+ | ACCEPT | ||
+ | ACCEPT | ||
+ | REJECT | ||
+ | |||
+ | Chain FORWARD (policy ACCEPT) | ||
+ | target | ||
+ | REJECT | ||
+ | |||
+ | Chain OUTPUT (policy ACCEPT) | ||
+ | target | ||
+ | |||
+ | [root@ohpc0-test ~]# reboot | ||
+ | |||
+ | </ | ||
+ | |||
+ | * next add OpenHPC component, install the RPM package which also enables repo EPEL | ||
+ | |||
+ | < | ||
+ | |||
+ | [root@ohpc0-test ~]# yum install http:// | ||
+ | |||
+ | Installed: | ||
+ | ohpc-release.x86_64 0:1.2-1 | ||
+ | Dependency Installed: | ||
+ | epel-release.noarch 0:7-9 | ||
+ | |||
+ | [root@ohpc0-test ~]# yum repolist | ||
+ | repo id repo name | ||
+ | OpenHPC | ||
+ | OpenHPC-updates | ||
+ | base/ | ||
+ | *epel/ | ||
+ | extras/ | ||
+ | updates/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Next provisioning, | ||
+ | |||
+ | < | ||
+ | |||
+ | yum -y groupinstall ohpc-base | ||
+ | yum -y groupinstall ohpc-warewulf | ||
+ | # for openlava if we decide not slurm | ||
+ | yum install tcl-devel | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | yum -y groupinstall ohpc-slurm-server | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Configure '' | ||
+ | |||
+ | ==== Configure ==== | ||
+ | |||
- | * disable firewalld, install iptables | ||
- | * | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |