XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Feature request: Change bond mode in XO

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 38 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      michmoor0725
      last edited by

      I have a Bond0 interface and its currently in lacp mode. There are another set of systems that i want to set up a Bond0 interface but set it up for active-backup.

      In vmware you can have a port-group (network) assigned to uplinks and those uplinks can be set up for Teaming , active/standby which is different from lacp. It would be helpful to have that option available in the GUI.
      I can most likely adjust this to a current Bond by using the xe cli commands but it should be availabe in the GUI.

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Online
        poddingue Vates 🪐 @michmoor0725
        last edited by

        I measured this on a two-NIC 8.3 host.
        As far as I understand, there's no way to do it from XO: the call that edits a network doesn't take a bond mode, every bondMode in the codebase sits on a create path, and the REST API on a running XOA offers create_bonded_network plus get and delete on a network, with nothing that edits one. 🤷
        The CLI route looks cheap though. xe bond-set-mode on a live bond cost zero dropped packets in both directions I tried, pinging every 200ms across the change, and the command returned in about 1.4 seconds.

        Two caveats, and the second is about your case specifically: creating and destroying the bond did interrupt the host (roughly 8 and 16 seconds), and I only went active-backup to balance-slb and back, never touching lacp, because my switch port isn't configured as a LAG and I'd have dropped the box.
        So I can't tell you your lacp to active-backup move is free, only that mode changes in general didn't cost me anything.

        Worth putting on https://feedback.vates.tech either way so the votes have somewhere to gather.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post