Owner's Manual
12 Configuring Your Network
If you have not already configured the public network, perform the following
steps on each node:
1
Log in as
root
.
2
Edit the network device file
/etc/sysconfig/network-scripts/ifcfg-eth
#,
where
#
is the number of the network device:
DEVICE=eth0
ONBOOT=yes
IPADDR=<Public IP Address>
NETMASK=<Subnet mask>
BOOTPROTO=static
HWADDR=<MAC Address>
SLAVE=no
3
Edit the
/etc/sysconfig/network
file, and, if necessary, replace
localhost.localdomain
with the qualified public node name.
For example, the command for node 1:
hostname=node1.domain.com
4
Ty p e :
service network restart
5
Ty p e
ifconfig
to verify that the IP addresses are set correctly.
6
To check your network configuration, ping each public IP address from a
client on the LAN that is outside of the cluster.
7
Connect to each node to verify that the public network is functioning.
Ty p e
ssh <public IP>
to verify that the
secure shell (ssh)
command
is working.
Configuring the Private Network Using Bonding
Before you deploy the cluster, configure the private cluster network to allow
the nodes to communicate with each other. This involves configuring
network bonding and assigning a private IP address and hostname to each
node in the cluster.
To set up network bonding for Broadcom
®
or Intel
®
NICs, and to configure
the private network, perform the following steps on each node:
1
Log in as
root
.
2
Add the following line to the
/etc/modprobe.conf
file:
alias bond0 bonding
Lnx_Stnwt.book Page 12 Jeudi, 16. juillet 2009 1:36 13