Owner's Manual
33
5
For each device that is a bond member, perform the following steps:
a
In the directory
/etc/sysconfig/network-scripts/
, edit lines in the
ifcfg-eth
n
file as follows:
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
, type
ifconfig
to verify that the private interface is
functioning.
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 lines in the
/etc/hosts
file by typing:
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 step the step that follows are for a two-node
configuration. Add lines for each additional node.