Bond0 - what am I missing? | Nutanix Community
Skip to main content
Solved

Bond0 - what am I missing?

  • October 19, 2018
  • 7 replies
  • 4313 views

Eric-The_Viking
Forum|alt.badge.img+3
Hi All
First I run this:
allssh manage_ovs --bridge_name br0 --interfaces eth0,eth1 --bond_name bond0 update_uplinks

and the expectation I would have Bond0 entry somewhere, however

I run the "ovs-appctl bond/show /bond0" command and I get this answer:
FIPS mode initialized
Nutanix AHV
no such bond
ovs-appctl: ovs-vswitchd: server returned an error


What am I missing?

Best answer by hienle

Eric-The_Viking wrote:

hienle wrote:
@Eric-The_Viking After creating the bond0, you should check again whether that bond interface was successfully created or not:
On CVM: manage_ovs show_uplinks
(This command will list all interfaces appended to bridges on AHV host)

Anyway, the command you executed was not correct. It should be as below:

ovs-appctl bond/show bond0
Hi hienie

Thanks for the information, the show uplinks gives me:
Bridge: br0
Bond: br0-up
bond_mode: balance-slb
interfaces: eth1 eth0
lacp: off
lacp-fallback: true
lacp_speed: off
Bridge: br1

The show Bond0 - I had mis-typed in the text above but not in the CLI and get this result:

$ ssh root@192.168.5.1 "ovs-appctl bond/show"
FIPS mode initialized
Nutanix AHV
---- br0-up ----
bond_mode: balance-slb
bond may use recirculation: no, Recirc-ID : -1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 59340 ms
lacp_status: off
active slave mac: 24:6e:96:9d:68:48(eth0)
slave eth0: enabled
active slave
may_enable: true
hash 84: 50 kB load
hash 151: 31 kB load
hash 195: 8 kB load
hash 204: 6222 kB load
slave eth1: enabled
may_enable: true

So given what QuanTran has said is this actually correct ahowing br0-up? and bond0 will not show anything?

Thanks


As I remembered, bond0 was the default name of bond interface in NOS 4.x series.
From AOS 5.x, the default name has been changed to br0-up.
So, from your command output, I can have a conclusion that:
Your br0 bridge having br0-up bond interface running Load Balancing mode teamed by eth0 and eth1 physical interfaces.
If you want to check the configuration of your bond interface, just execute the below command as reference:
ovs-appctl bond/show [bond_interface_name]
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

Forum|alt.badge.img+5
  • Adventurer
  • October 22, 2018
It must be br0-up not bond0

Forum|alt.badge.img+17
  • Outrider
  • October 22, 2018
@Eric-The_Viking After creating the bond0, you should check again whether that bond interface was successfully created or not:
On CVM: manage_ovs show_uplinks
(This command will list all interfaces appended to bridges on AHV host)

Anyway, the command you executed was not correct. It should be as below:

ovs-appctl bond/show bond0

Forum|alt.badge.img+6
  • Voyager
  • October 22, 2018
from ahv
to know the status of bond
code:
ovs-appctl bond/show


Change bond-mode
code:
[Active-Backup]
ovs-vsctl set port bridge_name bond_mode=active-backup
[slb]
ovs-vsctl set port bridge_name bond_mode=active-slb
ovs-vsctl set port bridge_name other_config:bond-rebalanceinterval=60000
[lacp]
ovs-vsctl set port bridge_name lacp=active
ovs-vsctl set port bridge_name bond_mode=balance-tcp
ovs-vsctl set port bridge_name other_config:lacp-fallbackup=true


From CVM
to change uplink interface.

code:
$allssh manage_ovs --bridge_name bridge_name --bond_name bondname --interfaces eth2,eth3 update_uplinks


to know the status of uplink
code:
$allssh manage_ovs show_interfaces
$allssh manage_ovs show_uplinks

Eric-The_Viking
Forum|alt.badge.img+3
QuanTran wrote:
It must be br0-up not bond0


Hi QuanTran - I read somewhere that once the Bond was created it changed br0-up to bond0 - so why would there be a show bond command?

Thanks
E.

Eric-The_Viking
Forum|alt.badge.img+3
hienle wrote:
@Eric-The_Viking After creating the bond0, you should check again whether that bond interface was successfully created or not:
On CVM: manage_ovs show_uplinks
(This command will list all interfaces appended to bridges on AHV host)

Anyway, the command you executed was not correct. It should be as below:

ovs-appctl bond/show bond0


Hi hienie

Thanks for the information, the show uplinks gives me:
Bridge: br0
Bond: br0-up
bond_mode: balance-slb
interfaces: eth1 eth0
lacp: off
lacp-fallback: true
lacp_speed: off
Bridge: br1

The show Bond0 - I had mis-typed in the text above but not in the CLI and get this result:

$ ssh root@192.168.5.1 "ovs-appctl bond/show"
FIPS mode initialized
Nutanix AHV
---- br0-up ----
bond_mode: balance-slb
bond may use recirculation: no, Recirc-ID : -1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 59340 ms
lacp_status: off
active slave mac: 24:6e:96:9d:68:48(eth0)
slave eth0: enabled
active slave
may_enable: true
hash 84: 50 kB load
hash 151: 31 kB load
hash 195: 8 kB load
hash 204: 6222 kB load
slave eth1: enabled
may_enable: true

So given what QuanTran has said is this actually correct ahowing br0-up? and bond0 will not show anything?

Thanks

Forum|alt.badge.img+17
  • Outrider
  • October 22, 2018
Eric-The_Viking wrote:

hienle wrote:
@Eric-The_Viking After creating the bond0, you should check again whether that bond interface was successfully created or not:
On CVM: manage_ovs show_uplinks
(This command will list all interfaces appended to bridges on AHV host)

Anyway, the command you executed was not correct. It should be as below:

ovs-appctl bond/show bond0
Hi hienie

Thanks for the information, the show uplinks gives me:
Bridge: br0
Bond: br0-up
bond_mode: balance-slb
interfaces: eth1 eth0
lacp: off
lacp-fallback: true
lacp_speed: off
Bridge: br1

The show Bond0 - I had mis-typed in the text above but not in the CLI and get this result:

$ ssh root@192.168.5.1 "ovs-appctl bond/show"
FIPS mode initialized
Nutanix AHV
---- br0-up ----
bond_mode: balance-slb
bond may use recirculation: no, Recirc-ID : -1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 59340 ms
lacp_status: off
active slave mac: 24:6e:96:9d:68:48(eth0)
slave eth0: enabled
active slave
may_enable: true
hash 84: 50 kB load
hash 151: 31 kB load
hash 195: 8 kB load
hash 204: 6222 kB load
slave eth1: enabled
may_enable: true

So given what QuanTran has said is this actually correct ahowing br0-up? and bond0 will not show anything?

Thanks


As I remembered, bond0 was the default name of bond interface in NOS 4.x series.
From AOS 5.x, the default name has been changed to br0-up.
So, from your command output, I can have a conclusion that:
Your br0 bridge having br0-up bond interface running Load Balancing mode teamed by eth0 and eth1 physical interfaces.
If you want to check the configuration of your bond interface, just execute the below command as reference:
ovs-appctl bond/show [bond_interface_name]

Eric-The_Viking
Forum|alt.badge.img+3
Thank you all for your comments and suggestions, it is much appreciated.

Best regards

Eric