Owner's Manual
10 Configuring Your Network
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
3
In the
/etc/sysconfig/network-scripts/
directory, create or edit the
ifcfg-bond0
configuration file.
For example, using sample network parameters, the file appears as:
DEVICE=bond0
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes
BONDING_OPTS="mode=6 miimon=100 max_bonds=2