AHV Active-Backup - Last Ethernet Failover | Nutanix Community
Skip to main content

Our hosts network ports are currently configured as Active-Backup bonds. I can determine which Ethernet port is currently active, which Ethernet port is on standby, and I can issue a command to failover the port. I would like to know if there is a command which can be run from the AHV which outputs the time and date-stamps of the last Host Ethernet port failover. 

Hi Carlos, I saw there is an action plan from Cesar Navarro from the caso you already open, did it work?

 

Action plan:
====
++Check the team modes:

nutanix@cvm$ ssh root@192.168.5.1 ssh root@192.168.5.1 "ovs-appctl bond/show br0-up"

++If enabled lldpctl command will give you more info

broot@Prolix2 log]# lldpctl

++ Never do changes with running vms in the node. Move the vms first.

++ If active-backup is used, you could change the active slave and check. To check and change the active slave interface on the non-working node:

nutanix@cvm$ ovs-appctl bond/show # note the "active slave"
nutanix@cvm$ ovs-appctl bond/set-active-slave bond0 eth2

If it is eth3, try to change it the other member in the bond, for example eth2.

++ To check interface change you can look at this log

broot@ ~]# tail -F /var/log/openvswitch/ovs-vswitchd.log