Owner's Manual

10 Configuring Your Network
NOTE: Ensure that the
Gateway
address is configured for the public network
interface. If the
Gateway
address is not configured, the grid installation may
fail.
DEVICE=eth0
ONBOOT=yes
IPADDR=<Public IP Address>
NETMASK=<Subnet mask>
BOOTPROTO=static
HWADDR=<MAC Address>
SLAVE=no
GATEWAY=<Gateway Address>
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
to restart the network service.
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 not a part 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 host name to each
node in the cluster.
To set up network bonding for Broadcom or Intel NICs, and to configure the
private network 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 10 Wednesday, August 4, 2010 11:58 AM