Solved

AHV Active-Backup - Last Ethernet Failover

  • 2 April 2020
  • 1 reply
  • 1383 views

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. 

icon

Best answer by AntonioG 2 April 2020, 23:41

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

[root@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

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

View original

This topic has been closed for comments

1 reply

Userlevel 2
Badge +4

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

[root@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

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