Question

ahv network configuration ovs-vsctl

  • 2 September 2020
  • 6 replies
  • 297 views

Badge

 

Can't I remove the interface included in the bond with ovs-vsctl

 

For example If br0 contains interfaces eth0 to 3 in bond name br0-up, I want to clear eth0, eth1. If I can't, is there a command to update or remove interfaces like manage_ovs --bridge_name br0 --bond_name br0-up --interfaces eth2,eth4 update_uplinks command in ahv?

 

Thank you for always helping me


6 replies

Userlevel 3
Badge +4

Hi @hyoung ho 

In AHV, we need to update the interface which we want in that bond so that means it will remove the non-required interface.

 

Here is the command

nutanix@CVM$ manage_ovs --bridge_name <bridge> --interfaces <interfaces> --require_link=false update_uplinks

 

Please refer following AHV networking guide for more detail

https://portal.nutanix.com/page/documents/solutions/details?targetId=BP-2071-AHV-Networking:BP-2071-AHV-Networking

Badge

I have a question.

1. Isn't the manage_ovs command a command that needs to be included in cluster?

2. Is there a way to remove the bond sub-interface from ahv rather than by connecting to cvm from ahv?

3. What should I do if I need to configure ovs before being included in the cluster?

Badge

Hi @hyoung ho 

In AHV, we need to update the interface which we want in that bond so that means it will remove the non-required interface.

 

Here is the command

nutanix@CVM$ manage_ovs --bridge_name <bridge> --interfaces <interfaces> --require_link=false update_uplinks

 

Please refer following AHV networking guide for more detail

https://portal.nutanix.com/page/documents/solutions/details?targetId=BP-2071-AHV-Networking:BP-2071-AHV-Networking

 

 

I have a question.

1. Isn't the manage_ovs command a command that needs to be included in cluster?

2. Is there a way to remove the bond sub-interface from ahv rather than by connecting to cvm from ahv?

3. What should I do if I need to configure ovs before being included in the cluster?

Userlevel 3
Badge +4

Hi @hyoung ho 

There is a way to do but its not best practice to change from AHV itself that's the reason in guide the steps are mentioned to change from CVM through manage_ovs.

 

manage_ovs is included in the CVM and not in AHV.

Userlevel 3
Badge +14

Hello @hyoung ho there is another flag in manage_ovs called --host that may help you here. You can run manage_ovs from a CVM already in the cluster and specify the --host you’d like the operation to execute on.

You could use ovs-vsctl as a last resort if you can’t get manage_ovs to work for you, but you should use caution there and make sure the configuration matches our best practices.

We’re adding a feature in the future that will allow you to configure new nodes automatically as they are added to the cluster from the GUI, so keep an eye out for that in a future release.

Userlevel 1
Badge +2

Whenever you are doing such type of operation ensure you have IPMI up and running. This way you do not have to visit physical location if host is inaccessible.

Reply