Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5152
HWADDR=00:12:79:43:5b:f4
3. Add the following lines to /etc/modprobe.conf:
alias bond0 bonding
options bond0 miimon=100 mode=1
Use MASTER=bond1 for bond1 if you have configured a second bonding
interface, then add the following after the first bond (bond0):
options bond1 -o bonding1 miimon=100 mode=1
NOTE During configuration, you need to make sure that the active slaves for
the same bond on each node are connected the same hub or switch. You
can check on this by examining the file /proc/net/bondx/info on each
node. This file will show the active slave for bond x.
Restarting Networking
Restart the networking subsystem. From the console of either node in the
cluster, execute the following command on a Red Hat system:
/etc/rc.d/init.d/network restart
NOTE It is better not to restart the network from outside the cluster subnet, as
there is a chance the network could go down before the command can
complete.
The command prints bringing up network statements.
If there was an error in any of the bonding configuration files, the
network might not function properly. If this occurs, check each
configuration file for errors, then try to restart the network again.
Viewing the Configuration
You can test the configuration and transmit policy with ifconfig. For
the example, execution on the above created configuration, the display
should appear like this: