Deployment Guide

16 Deployment Guide
5
For each device that is a bond member, perform the following steps:
a
In the directory
/etc/sysconfig/network-scripts/
, edit the
ifcfg-eth
n
file, containing the following lines:
DEVICE=ethn
HWADDR=<MAC ADDRESS>
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
b
Ty p e
service network restart
and ignore any warnings.
6
On
each node
, verify that the private interface is functioning by typing:
ifconfig
The private IP address for the node should be assigned to the private interface bond0.
7
When the private IP addresses are set up on every node, ping each IP address from
one node
to ensure
that the private network is functioning.
8
Connect to each node and verify that the private network and
ssh
are functioning correctly by typing:
ssh <private IP>
9
On
each node,
modify the
/etc/hosts
file by adding the following lines:
127.0.0.1 localhost.localdomain localhost
<private IP node1> <private hostname node1>
<private IP node2> <private hostname node2>
<public IP node1> <public hostname node1>
<public IP node2> <public hostname node2>
<virtual IP node1> <virtual hostname node1>
<virtual IP node2> <virtual hostname node2>
NOTE: The examples in this and the following step are for a two-node configuration; add lines for each
additional cluster node.