Owners Manual
ONBOOT="yes"
IPADDR="<ip address of the network adapter>"
NETMASK="<netmask of the cache network>"
NAME="bond0"
BONDING_OPTS="mode=1 fail_over_mac=1 miimon=100 downdelay=300 updelay=300"
NOTE: In the BONDING_OPTS line, the values for mode and fail_over_mac must be set
exactly as shown in the example.
5. Configure an interface for use on the bonded port by running the following command:
vi /etc/sysconfig/network-scripts/ifcfg-<interface name>
NOTE: For the names of the interfaces on your server used by Fluid Cache, run the command:
ip addr. The names of the network interfaces used by Fluid Cache are often in the format
pXpY (for example, p6p2), but may be in the format ethX, emX, or other formats, depending on
your operating system. For example outputs, see Checking Network Adapter Firmware and
Drivers.
6. In the configuration file, edit the parameters as follows:
DEVICE=<interface name>
BOOTPROTO="none"
ONBOOT="yes"
NM_CONTROLLED="no"
SLAVE="yes"
MASTER="
bond0"
7. For the other interface in the bonded port, repeat the tasks in 5–6.
8. Start network connection to the bonded port by running the following command: ifup bond0
9. Check the status of your bonded port and its interfaces by running the following command:
ifconfig
The output must contain entries similar to the following. Note the line that states that the port
session is started as a master or slave, and note that the slave interfaces no longer have individual IP
addresses:
bond0 Link encap:Ethernet HWaddr 00:02:C9:E5:C5:C0
inet addr:172.20.3.116 Bcast:172.20.7.255 Mask:255.255.248.0
inet6 addr: fe80::202:c9ff:fee5:c5c0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
.
.
.
p5p1 Link encap:Ethernet HWaddr 00:02:C9:E5:C5:C0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
.
.
.
p5p2 Link encap:Ethernet HWaddr 00:02:C9:E5:C5:C0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
.
.
.
10. Open the avahi-daemon.config file, and in the Server section, add this entry: Allow Interfaces =
bond0.
11. Make sure that all servers in the cache network can ping every other server, and also the
management interface.
17