Difference between revisions of "Lustre install for Unit.tv"

From Define Wiki
Jump to navigation Jump to search
Line 44: Line 44:
 
== Installation Steps ==
 
== Installation Steps ==
 
1. install cobbler
 
1. install cobbler
 +
 
1.1 follow the steps on wiki
 
1.1 follow the steps on wiki
 +
 
1.2 check all services are running, httpd, dhcpd, xinetd, cobblerd
 
1.2 check all services are running, httpd, dhcpd, xinetd, cobblerd
 +
 
1.3 open the ports for cobbler:
 
1.3 open the ports for cobbler:
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 93: Line 96:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
2 Set up IML
 
2 Set up IML
 +
 
2.1 install and configure IML with the latest RPMs
 
2.1 install and configure IML with the latest RPMs
 +
 
2.1.1 change the eht0 ip to 172.28.11.1
 
2.1.1 change the eht0 ip to 172.28.11.1
  
 
3 deploy all other nodes using cobbler
 
3 deploy all other nodes using cobbler
 +
 
4 deploy IEEL on all other nodes
 
4 deploy IEEL on all other nodes
  
 
172.105.0.103
 
172.105.0.103

Revision as of 16:12, 8 July 2015

Preparation

Nodes

IML:

  1. CentOS 6.6
  2. Cobbler
    1. let kickstart file to only install system on first partition
  3. IML

MDS

  1. CentOS 6.6
  2. RAID:
    1. small partition for MGS
    2. large partition for MDT

OSS:

  1. CentOS 6.6
  2. RAID:
    1. 2 RAID arays: r6

Network

  1. management netowrk
    1. PXE network: 172.28.11.xx
    2. subnet for eth1 on iml:
      1. ip: 172.105.0.0
      2. IPMI network: 172.105.1.xx
  2. IB network (private)
    1. IP: 192.168.0.x
  3. ETH Network (private)
    1. IP: 192.168.1.x
  4. Switch
    1. enable ETH license
  5. Cards
    1. 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 2015

1.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 ACCEPT

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