Differences in configuring bond via manage_ovs and ovs_vsctl explained | Nutanix Community
Skip to main content

Hi there

I’ve question about difference between configuring bond(port aggregiation) via manage_ovs and ovs_vsctl

I wanna to change bond that is in active_backup mode to active_active balance tcp

I’ve confused a little bit,what is difference between doing this with manage_ovs and ovs_vsctl

Hello Salar,

I'm wondering the difference as well.


Isn’t it just that manage_ovs is done from inside the CVM, but ovs_vsctl is done from the host?

To configure the LACP on my home CE setup, I did it via ovs_vsctl on the hosts:

ovs-vsctl set port br0-up other_config:lacp-fallback-ab=true
ovs-vsctl set port br0-up bond_mode=balance-tcp
ovs-vsctl set port br0-up lacp=active

I seem to remember I got cut off after running one of these commands (I think it was the second one) and had to run the last command from the keyboard plugged into the host (or ILO/IPMI) :)


Hi Guys

 

Manage_ovs is just a “script” that configures host networking with the recommended settings and it’s launched by the CVM (CVM communicates internally with the AHV host via the private IP 192.168.5.1) it seems to be the “recommended” way to configure host networking whereas ovs-vsctl and ovs-appctl are launched directly from the AHV host and are used to adjust specific parameters like bond-rebalance-interval on balance-slb for example

 

You can check it in this KB https://portal.nutanix.com/page/documents/kbs/details?targetId=kA0320000004H0vCAE#disable_lacp

 

I always use manage_ovs to configure AHV Networking on production systems and ovs-vsctl only to set up AHV VLAN with ovs-appct to check LACP negotiation.

 

@Salarkarimi Here’s the specific KB for your needs https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000Xf2qCAC

As you will see balance-slb is configured with manage_ovs and then if needed you can use ovs-vsctl to configure the bond-rebalance-interval

 

Hope this clarify you a bit

 

Regards!


Hi Guys

 

Manage_ovs is just a “script” that configures host networking with the recommended settings and it’s launched by the CVM (CVM communicates internally with the AHV host via the private IP 192.168.5.1) it seems to be the “recommended” way to configure host networking whereas ovs-vsctl and ovs-appctl are launched directly from the AHV host and are used to adjust specific parameters like bond-rebalance-interval on balance-slb for example

 

You can check it in this KB https://portal.nutanix.com/page/documents/kbs/details?targetId=kA0320000004H0vCAE#disable_lacp

 

I always use manage_ovs to configure AHV Networking on production systems and ovs-vsctl only to set up AHV VLAN with ovs-appct to check LACP negotiation.

 

@Salarkarimi Here’s the specific KB for your needs https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000Xf2qCAC

As you will see balance-slb is configured with manage_ovs and then if needed you can use ovs-vsctl to configure the bond-rebalance-interval

 

Hope this clarify you a bit

 

Regards!

in the KB that you said, was said use manage_ovs for NOTE: For AOS >= 5.19 and < 5.20.2

my AOS version is 5.15.4 , in this version(5.15.4)is there any difference between manage_ovs and ovs-vsctl?


Isn’t it just that manage_ovs is done from inside the CVM, but ovs_vsctl is done from the host?

 

To configure the LACP on my home CE setup, I did it via ovs_vsctl on the hosts:

 

ovs-vsctl set port br0-up other_config:lacp-fallback-ab=true
ovs-vsctl set port br0-up bond_mode=balance-tcp
ovs-vsctl set port br0-up lacp=active

 

I seem to remember I got cut off after running one of these commands (I think it was the second one) and had to run the last command from the keyboard plugged into the host (or ILO/IPMI) :)

 

Cheers,

Steve

Thank you Steve but I’ve get confused because in nutanix portal I’ve seen an article about manage_ovs is recommended way in aos version  AOS >= 5.19 and < 5.20.2 my AOS version is 5.15.4


Hi,

on the AOS versions 5.19 and newer the bond configuration is added to the Prism GUI and is managed through the virtual switch. Information about the virtual switch here: https://portal.nutanix.com/page/documents/details?targetId=AHV-Admin-Guide-v6_0:ahv-cluster-nw-vs-about-ahv-c.html

On earlier versions (as of now 5.15.x is still supported), the preferred way is the manage_ovs script. Basically, it is the scripted way of configuring the bond via ovs-vsctl which runs on CVMs and reduces the possibility of manual mistakes.

We usually don’t recommend using ovs-vsctl commands and they can be used mostly for troubleshooting purposes.