Owner's Manual
14 Deployment Guide
3
For high availability, edit the
/etc/modprobe.conf
file and set the option for link monitoring.
The default value for
miimon
is
0
, which disables link monitoring. Change the value to
100 milliseconds initially, and adjust it as needed to improve performance. Type:
options bonding miimon=100 mode=1
4
In the
/etc/sysconfig/network-scripts/
directory, create or edit the
ifcfg-bond0
configuration file.
For example, using sample network parameters, the file would appear as follows:
DEVICE=bond0
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
The entries for
NETMASK
,
NETWORK
, and
BROADCAST
are optional.
DEVICE=bondn
is the required name for the bond, where
n
specifies the bond number.
IPADDR
is the private IP address.
To use bond0 as a virtual device, you must specify which devices will be bonded as slaves.
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
, 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
Ty p e
ssh <private IP>
to connect to each node and verify that the private network and
ssh
are
functioning correctly.