In last post of AHV Networking series, we learnt the basics of the various bond modes that are available with OVS in AHV. In this post we will learn how to change the bond mode configuration.
Lets jump into lab and start firing some commands.
1: Verify current bond mode.
SSH to any of the AHV host in cluster and run command: ovs-appctl bond/show
This command shows the current bond mode that is configured and the member interfaces that are present in the bond.
Alternatively you can connect to a CVM and run command: allssh ssh root@192.168.5.1 ovs-vsctl show to fetch more information about a bond.
2: Change Bond Mode from Active/Backup to Balance-SLB
To change bond from active/backup to balance-slb, we can use the allssh command to update bond configuration on all AHV host (that are part of a cluster) in one shot. Command to do this is : allssh ssh root@192.168.5.1ovs-vsctl set port br0-up bond_mode=balance-slb
3: Verify that bond mode has changed
Command: allssh ssh root@192.168.5.1ovs-vsctl show
4: Change Rebalance Interval
In balance-slb mode, default rebalance interval is 10 secs which is too short.… Read More