Scenario: bonding virtual network devices on the client LPAR
If you are not using SEA failover feature but still have two VIO servers for high availability each of them providing a bridge to the outside network you will need to assign virtual adapters in the VIO servers to different VLANs.
Following picture illustrates this scenario (no matte if Linux or IBM VIO is used):

Configuration
LPAR setup
Assign two virtual network adapters to every client LPAR, set VLAN ID for the first adapter to mach the VLAN ID of the Bridge on VIO1 and the VLAN ID for the second adapter to match the VLAN ID of the VI02.
Operating system: network configuration
We are going to use network bonding in active backup mode with arrping. Because our networ switch is virtual the link is always up, we can not use MII status. We will need to arpping any address in the network in order to determine if the slave device is functional or not.
On Red Hat we need following configuration files:
All the bonding options are set during the module load, so we add them to the /etc/modprobe.conf:
the network configuration is in /etc/sysconfig/network-scripts
- /etc/sysconfig/network-scripts/ifcfg-bond0
- /etc/sysconfig/network-scripts/ifcfg-eth0
- /etc/sysconfig/network-scripts/ifcfg-eth1
Monitoring and troubleshooting
Monitoring
You can see and monitor the status in /proc/net/bonding/bond0
You will also see messages in dmesg and /var/log/messages if you active slave fails:
Troubleshooting
- Make sure your ibmveth driver has Version 1.05:
- Check that only bond0 has an IP, slave devices should be up but without any ip-configuration
- Check routing; routes should be set only for bond0 not for slave devices
- If you can not ping, try to configure eth0 and eth1 manually and ping using each device to make sure your SEA setup works.
____
See http://linux-net.osdl.org/index.php/Bonding
for more information