6.0 HP X9000 File Serving Software Installation (TA768-96041, October 2011)

2. Create an ifcfg-ethn file for each interface in bond1. The default for bond1 uses eth1
and eth2. Edit the ifcfg-eth1 file to appear as follows, ensuring that MASTER and SLAVE
are set properly. Assuming the HWADDR for eth1 is 78:e7:d1:64:3a:1c:
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond1
SLAVE=yes
BOOTPROTO=none
HWADDR=78:e7:d1:64:3a:1c
3. Edit the ifcfg-eth2 file to appear as follows using the correct HWADDR for the interface:
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond1
SLAVE=yes
BOOTPROTO=none
HWADDR=78:e7:d1:64:3a:19
NOTE: mode=1 sets Active-Backup mode, which has proven the most stable for 10Gb/s
implementations (X9720 VC and Flex-10 are based on 10Gb/s).
NOTE: Proper HWADDR settings for X9720 go sequentially for even interfaces:
eth0,eth2,eth4,eth6 and then odd interfaces: eth1, eth3, eth5, eth7. Use the
hpasmcli command to map the eth/NIC order to HWADDR with the NIC numbering being
1-based and eth being 0-based, but the same order. The (eth*) listing to the right below is
for reference and not part of the output:
# hpasmcli -s "show server" | grep NIC
Embedded NICs : 8
NIC1 MAC: 78:e7:d1:64:3a:18 (eth0)
NIC2 MAC: 78:e7:d1:64:3a:1c (eth1)
NIC3 MAC: 78:e7:d1:64:3a:19 (eth2)
NIC4 MAC: 78:e7:d1:64:3a:1d (eth3)
NIC5 MAC: 78:e7:d1:64:3a:1a (eth4)
NIC6 MAC: 78:e7:d1:64:3a:1e (eth5)
NIC7 MAC: 78:e7:d1:64:3a:1b (eth6)
NIC8 MAC: 78:e7:d1:64:3a:1f (eth7)
4. Restart the networking subsystem. From the console of the node, execute the following
command:
# service network restart
The command prints bringing up network statements.
NOTE: 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.
To determine whether bonding was successful, use cat /proc/net/bonding/bond1. You
should see bonding mode as active-backup in the output, as well as eth1, eth2 link
status:
# cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth2
36 Installing and configuring X9720 systems