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

    XOSTOR hyperconvergence preview

    Scheduled Pinned Locked Moved XOSTOR
    471 Posts 51 Posters 1.2m Views 55 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.
    • snk33S
      snk33 @ronan-a
      last edited by

      @ronan-a said in XOSTOR hyperconvergence preview:

      @peter_webbird We've already had feedback on CBT and LINSTOR/DRBD, we don't necessarily recommend enabling it. We have a blocking dev card regarding a bug with LVM lvchange command that may fail on CBT volumes used by a XOSTOR SR. We also have other issues related to migration with CBT.

      Is the problem still occurring on latest XCP-ng / XOSTOR version ? Not being able to use CBT on XOSTOR is a big issue for backup/replication.

      snk33S 1 Reply Last reply
      Reply Quote 0
      • snk33S
        snk33 @snk33
        last edited by

        Any update from someone ? Not having the ability to enable CBT on XOSTOR is really complicated to make replication / DR scenarios.

        At least to know if this is work in progress or not. If it's not we'll need to pause our PoC and post-pone production schedule waiting for significant update.

        ronan-aR 1 Reply Last reply
        Reply Quote 0
        • ronan-aR
          ronan-a Vates 🪐 XCP-ng Team @snk33
          last edited by

          @snk33 In fact we have limitations with CBT and XOSTOR. And this won't be resolved until we get back into SMAPIv3.

          Not being able to use CBT on XOSTOR is a big issue for backup/replication.

          Using it is more likely to cause problems than improve your situation. What bothers you about not using CBT here?

          snk33S 1 Reply Last reply
          Reply Quote 1
          • snk33S
            snk33 @ronan-a
            last edited by

            @ronan-a we need to have CBT to use 3rd party backup & replication solution such as Veeam.

            On the other hand, XOSTOR with VHD disk might be ok using Xen Orchestra backup & replication features but it needs more testing on our end to make sure it works good enough.
            One big question is about the snapshot chain. Coming from VMware world where keeping snapshots may impact I/O performances, we're not very comfortable with it.

            Also, we need to find solution for low-RPO replication. On our VMware infrastructure we use Zerto DR for this but XOA being more like Veeam using snapshots, low-RPO will be tough to achieve (unless making snapshots doesn't affect performances at all ?).

            1 Reply Last reply
            Reply Quote 0
            • Maelstrom96M
              Maelstrom96
              last edited by

              Is there a chance something is broken with XOSTOR when adding a new node? I've added one and tried to ran the addHost command, but whatever I do, the SM logs are filled with

              Nov  3 18:45:01 van3-pprod-xen05 SM: [7577][MainThread] Got exception: Unable to find controller uri.... Retry number: 8
              Nov  3 18:45:05 van3-pprod-xen05 SM: [4767][MainThread] Got exception: Unable to find controller uri.... Retry number: 16
              Nov  3 18:45:23 van3-pprod-xen05 SM: [5313][MainThread] Got exception: Unable to find controller uri.... Retry number: 15
              Nov  3 18:45:23 van3-pprod-xen05 SM: [9900][MainThread] Got exception: Unable to find controller uri.... Retry number: 3
              

              Networking seems all good, but the node is not able to be enabled because of that.

              DanpD dthenotD 2 Replies Last reply
              Reply Quote 0
              • DanpD
                Danp Pro Support Team @Maelstrom96
                last edited by

                @Maelstrom96 Can you provide more context?

                • XOA or XO from sources? Commit / version?
                • Are the XCP-ng hosts fully patched?
                • Did you follow this procedure when adding the new host?
                • etc
                1 Reply Last reply
                Reply Quote 0
                • dthenotD
                  dthenot Vates 🪐 XCP-ng Team @Maelstrom96
                  last edited by

                  @Maelstrom96 Hello,

                  There is indeed an identified bug with addHost that we are investigating at the moment.

                  Maelstrom96M 1 Reply Last reply
                  Reply Quote 0
                  • Maelstrom96M
                    Maelstrom96 @dthenot
                    last edited by

                    @dthenot Do we have a fix yet?

                    dthenotD 1 Reply Last reply
                    Reply Quote 0
                    • dthenotD
                      dthenot Vates 🪐 XCP-ng Team @Maelstrom96
                      last edited by dthenot

                      @Maelstrom96 Not yet, but you could revert https://github.com/xcp-ng/sm/pull/121 while adding the host and then go back to the current version. It's in progress on our side.

                      Maelstrom96M 1 Reply Last reply
                      Reply Quote 0
                      • Maelstrom96M
                        Maelstrom96 @dthenot
                        last edited by Maelstrom96

                        @dthenot

                        For anyone stuck, here is what I ended up doing:

                        I've manually hardcoded the controller_uri in /opt/xensource/sm/linstorvolumemanager.py on the new host, restarted the toolstack using xe-toolstack-restart and ran the xe host-call-plugin host-uuid=NEW_HOST_UUID plugin=linstor-manager fn=addHost args:groupName=linstor_group/thin_device command.

                        def _get_controller_uri() -> str:
                            # TODO: Check that an IP address from the current pool is returned.
                            #addresses = _get_controller_addresses()
                            return "linstor://10.25.254.100"
                            #return "linstor://" + addresses[0] if addresses else ""
                        

                        After that, you should see the addHost command return True. It should be safe to revert the change to the _get_controller_uri() function and restart to make sure everything starts properly.

                        [10:06 van3-pprod-xen01 ~]# linstor --controllers 10.25.254.100 node l
                        ╭───────────────────────────────────────────────────────────────────╮
                        ā”Š Node             ā”Š NodeType ā”Š Addresses                  ā”Š State  ā”Š
                        ā•žā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•”
                        ā”Š van3-pprod-xen01 ā”Š COMBINED ā”Š 10.25.254.100:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen02 ā”Š COMBINED ā”Š 10.25.254.101:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen03 ā”Š COMBINED ā”Š 10.25.254.102:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen04 ā”Š COMBINED ā”Š 10.25.254.103:3366 (PLAIN) ā”Š Online ā”Š
                        ╰───────────────────────────────────────────────────────────────────╯
                        [10:06 van3-pprod-xen01 ~]#  xe host-call-plugin host-uuid=f9d94f6c-e826-452f-b9b9-638550b209cf plugin=linstor-manager fn=addHost args:groupName=linstor_group/thin_device
                        True
                        [10:08 van3-pprod-xen01 ~]# linstor --controllers 10.25.254.100 node l                                            ╭───────────────────────────────────────────────────────────────────╮
                        ā”Š Node             ā”Š NodeType ā”Š Addresses                  ā”Š State  ā”Š
                        ā•žā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•”
                        ā”Š van3-pprod-xen01 ā”Š COMBINED ā”Š 10.25.254.100:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen02 ā”Š COMBINED ā”Š 10.25.254.101:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen03 ā”Š COMBINED ā”Š 10.25.254.102:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen04 ā”Š COMBINED ā”Š 10.25.254.103:3366 (PLAIN) ā”Š Online ā”Š
                        ā”Š van3-pprod-xen05 ā”Š COMBINED ā”Š 10.25.254.104:3366 (PLAIN) ā”Š Online ā”Š
                        ╰───────────────────────────────────────────────────────────────────╯
                        
                        
                        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