Difference between revisions of "Lustre install for Unit.tv"
Jump to navigation
Jump to search
| Line 43: | Line 43: | ||
== Installation Steps == | == Installation Steps == | ||
| − | # Set up IML | + | 1. install cobbler |
| − | + | 1.1 follow the steps on wiki | |
| − | + | 1.2 check all services are running, httpd, dhcpd, xinetd, cobblerd | |
| − | + | 1.3 open the ports for cobbler: | |
| − | + | <syntaxhighlight> | |
| − | + | [root@localhost ~]# cat /etc/sysconfig/iptables | |
| + | # Generated by iptables-save v1.4.7 on Wed Jul 8 16:37:31 2015 | ||
| + | *nat | ||
| + | :PREROUTING ACCEPT [0:0] | ||
| + | :POSTROUTING ACCEPT [44:2156] | ||
| + | :OUTPUT ACCEPT [48:2352] | ||
| + | -A POSTROUTING -o eth1 -j MASQUERADE | ||
| + | COMMIT | ||
| + | # Completed on Wed Jul 8 16:37:31 2015 | ||
| + | # Generated by iptables-save v1.4.7 on Wed Jul 8 16:37:31 2015 | ||
| + | *filter | ||
| + | :INPUT ACCEPT [0:0] | ||
| + | :FORWARD ACCEPT [0:0] | ||
| + | :OUTPUT ACCEPT [31985:2140861] | ||
| + | -A INPUT -s 172.105.0.0/16 -p udp -m udp --dport 69 -j ACCEPT | ||
| + | -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | ||
| + | -A INPUT -p icmp -j ACCEPT | ||
| + | -A INPUT -i lo -j ACCEPT | ||
| + | -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT | ||
| + | -A INPUT -p tcp -m tcp --dport 69 -j ACCEPT | ||
| + | -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT | ||
| + | -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT | ||
| + | -A INPUT -p tcp -m tcp --dport 25151 -j ACCEPT | ||
| + | -A INPUT -p udp -m state --state NEW -m udp --dport 69 -j ACCEPT | ||
| + | -A FORWARD -i eth1 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT | ||
| + | -A FORWARD -i eth0 -o eth1 -j ACCEPT | ||
| + | COMMIT | ||
| + | # Completed on Wed Jul 8 16:37:31 2015 | ||
| + | |||
| + | </syntaxhighlight> | ||
| + | 1.4 enable traffic forwarding | ||
| + | <syntaxhighlight> | ||
| + | [root@localhost ~]# cat /etc/rc.local | ||
| + | #!/bin/sh | ||
| + | # | ||
| + | # This script will be executed *after* all the other init scripts. | ||
| + | # You can put your own initialization stuff in here if you don't | ||
| + | # want to do the full Sys V style init stuff. | ||
| + | |||
| + | touch /var/lock/subsys/local | ||
| + | iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | ||
| + | iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT | ||
| + | iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT | ||
| + | </syntaxhighlight> | ||
| + | 2 Set up IML | ||
| + | 2.1 install and configure IML with the latest RPMs | ||
| + | 2.1.1 change the eht0 ip to 172.28.11.1 | ||
| + | |||
| + | 3 deploy all other nodes using cobbler | ||
| + | 4 deploy IEEL on all other nodes | ||
| + | |||
| + | 172.105.0.103 | ||
Revision as of 16:11, 8 July 2015
Preparation
Nodes
IML:
- CentOS 6.6
- Cobbler
- let kickstart file to only install system on first partition
- IML
MDS
- CentOS 6.6
- RAID:
- small partition for MGS
- large partition for MDT
OSS:
- CentOS 6.6
- RAID:
- 2 RAID arays: r6
Network
- management netowrk
- PXE network: 172.28.11.xx
- subnet for eth1 on iml:
- ip: 172.105.0.0
- IPMI network: 172.105.1.xx
- IB network (private)
- IP: 192.168.0.x
- ETH Network (private)
- IP: 192.168.1.x
- Switch
- enable ETH license
- Cards
- first port IB, second port eth
- IML
- IP: 172.28.0.114
Hardware
- Network
- all IB card should be set to port1 -> IB, port2 -> ETH
- some port on IB switch should be ETH
- for every pair of JBOD, connect network cable directly to each other
Installation Steps
1. install cobbler 1.1 follow the steps on wiki 1.2 check all services are running, httpd, dhcpd, xinetd, cobblerd 1.3 open the ports for cobbler:
[root@localhost ~]# cat /etc/sysconfig/iptables
# Generated by iptables-save v1.4.7 on Wed Jul 8 16:37:31 2015
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [44:2156]
:OUTPUT ACCEPT [48:2352]
-A POSTROUTING -o eth1 -j MASQUERADE
COMMIT
# Completed on Wed Jul 8 16:37:31 2015
# Generated by iptables-save v1.4.7 on Wed Jul 8 16:37:31 2015
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [31985:2140861]
-A INPUT -s 172.105.0.0/16 -p udp -m udp --dport 69 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 69 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 25151 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 69 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o eth1 -j ACCEPT
COMMIT
# Completed on Wed Jul 8 16:37:31 20151.4 enable traffic forwarding
[root@localhost ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT2 Set up IML 2.1 install and configure IML with the latest RPMs 2.1.1 change the eht0 ip to 172.28.11.1
3 deploy all other nodes using cobbler 4 deploy IEEL on all other nodes
172.105.0.103