Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5154
to:
BOOTPROTO='none'
STARTMODE='onboot'
UNIQUE='gZD2.ZqnB7JKTdX0'
_nm_name='bus-pci-0000:00:0b.0'
NOTE Be sure to leave the UNIQUE and the _nm_name alone. You can also leave
in the MTU and REMOTE_IPADDR as long as they are not set.
Next in /etc/sysconfig/network edit your ifcfg-bond0 file so it looks
like the following:
BROADCAST='172.16.0.255'
BOOTPROTO='static'
IPADDR='172.16.0.1'
MTU=''
NETMASK='255.255.255.0'
NETWORK='172.16.0.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
BONDING_MASTER='yes'
BONDING_MODULE_OPTS='miimon=100 mode=1'
BONDING_SLAVE0='eth0'
BONDING_SLAVE1='eth1'
The above example configures bond0 with mii monitor equal to 100 and
mode active-backup. Adjust the IP, BROADCAST, NETMASK, NETWORK
accordingly for your configuration. The new config options as you can see
are BONDING_MASTER, BONDING-MODULE_OPTS, BONDING_SLAVE. The
BONDING_MODULE_OPTS is the additional options you want to pass to the
bonding module. You can not pass max_bonds as an option. This is not
needed as the ifup script will load the module for each bond needed.