From LedHed's Wiki
Contents
Changing XenServers Default Bond Mode
XenServer defaults to a bond mode of "balance-slb"
Possible Bond Modes are:
balance-rr active-backup balance-xor broadcast 802.3ad balance-tlb balance-alb balance-slb
From a console go to /opt/xensource/libexec
cd /opt/xensource/libexec
Search for "balance-slb"
grep -i balance-slb ./*
Edit any files that grep returned as a match.
sed -i 's/balance-slb/802.3ad/g' InterfaceReconfigureBridge.py InterfaceReconfigureVswitch.py
Now any new Bonds you create in XenCenter will have your newly selected Bond Mode.
Changing the Bond Mode of an existing Bond
1) Get the host UUID
xe host-list
2) Get the PIF's UUID
xe pif-list host-uuid=<HOST_UUID>
3) Change the mode:
Possible Bond Modes:
balance-rr active-backup balance-xor broadcast 802.3ad balance-tlb balance-alb balance-slb
xe pif-param-set uuid=<PIF_UUID> other-config:bond-mode=<802.3ad>
Checking the state of a Bonded NIC
cat /proc/net/bonding/bond0