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

    Xen Orchestra 5.110 V2V not working

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    28 Posts 5 Posters 712 Views 4 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.
    • F Offline
      farokh @florent
      last edited by

      @florent Yes, I made sure that I had a snapshot.

      I guess my main question is why the VM is being powered off? It's supposed to be a warm migration, meaning the VM is running while the data is migrated, correct?

      But, assuming that you have to power the VM down, and I haven't done any programming or scripting with ESXi, but I can tell you that the web interface can tell if the VM has the tools installed. If the tools are installed, you should be able to send a Shutdown request, which should shut the machine down gracefully, allowing the OS to perform tasks prior to powering off. You can wait a few minutes and if the machine hasn't powered off yet, you could then issue the power off command to stop it.

      Next time I test a migration, I'll check the task and/or disk to see the status.

      Thanks.

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        farokh @farokh
        last edited by

        Hi, just wondering if there's any update on why the VMs are being shutdown for the migration.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          We made a patch release of XOA, improving some aspects. Have you tried it?

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            farokh @olivierlambert
            last edited by

            @olivierlambert No, I wasn't aware. I'll take a look.
            Thanks.

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              farokh @farokh
              last edited by farokh

              Is there a blog or forum post about the updates? I can't seem to find anything.

              Thanks.

              Edit: and without the VMWare tools, there's no way to do a clean shutdown. It's, again, simply powered off.

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                farokh @farokh
                last edited by farokh

                Tried it again, on a different VM. I took a snapshot, and made sure that the VMWare tools were uninstalled.

                The job was started at 10:57, it's now 18:42 and the job is still running.

                At 12:30, the VM was shutdown and has been shut down since then.

                Edit: So the import completed at some point (something like 7-8 hours), but the original VM was never started up again.

                florentF 1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  @florent is working on improving the details of each step so you know what's going on.

                  1 Reply Last reply Reply Quote 0
                  • florentF Offline
                    florent Vates 🪐 XO Team @farokh
                    last edited by florent

                    @farokh the VM (from source or target) are not started automatically

                    After the migration, the VM from on the xcp-ng host shoud be ready to start, with snapshot corresponding to the steps of the replication

                    this is not automatic because, for now, we put a lot of work on the disk data transfer, but there is much to do around it to ensure the VM start exactly as intended : guest tools, advanced network or storage configuration.

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      farokh @florent
                      last edited by

                      @florent The VM I ws referring to was the one on the ESXi host.

                      If you're providing a warm migration, then that VM should be running during the transfer.

                      If for whatever reason a warm migration can't be done, then the user should be made aware of that.

                      At this point, just to be safe, I'm going to make the assumption that the VM to be migrated has to be powered off.

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        idar21
                        last edited by

                        Don't intend to bump in but the new migration tool isn't working as per the release notes.

                        I had similar issues, there is no warm migration. My testing against esxi v7, resulted in:

                        .Abrupt power off of source VM on esxi.
                        .VM disks start copying. I can see disk copy progress in tasks.
                        .Migration tasks fails but multiple disks of the source VM keeps on copying.
                        .when all the disks are copied, there is no VM with the name available in xcp.
                        .All disks are labeled orphaned under health in xo.

                        .Where is the pause/resume function as stated in the release notes.

                        I don't think the tool has been tested properly. The only difference from older migration tool to this one is progress of disk copying. Otherwise nothing new. The old tool could only do cold migrations and had issues with vms with multiple disks. The new can also only do cold migrations and still has issues with multiple disks migrations.

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by olivierlambert

                          Hi,

                          1. The fact is doesn't work for you doesn't mean it doesn't work for everyone. Sadly, especially in IT and on-prem, there's a near infinite combo of ESXi version, firmware, network, storage and compute associations. We do tested with at least dozens of different cases (internally and with users), and for the vast majority it works. I understand it's frustrating for you, but you cannot simply tell "it wasn't tested", making the impression we did not work at all on this despite spending weeks doing exactly that.
                          2. That's exactly the goal of the community forum: giving feedback so we can improve it. The way you give feedback will encourage (or not) the fact we'll dedicate time with you to solve your issue on your setup.

                          There are actual people behind this, investing a lot of their energy into it, diminishing what they did is not helpful for anyone.

                          I 1 Reply Last reply Reply Quote 0
                          • I Offline
                            idar21 @olivierlambert
                            last edited by idar21

                            @olivierlambert -

                            Hi,First off, I want to acknowledge the team's commitment and hard work. It's clear that a lot of effort has gone into testing across many different environments, and I truly appreciate the energy and dedication that everyone puts into this project.

                            I certainly didn't mean to dismiss the significant work that's already been done. At the same time, I think it's important for us all to be open to constructive criticism. Sometimes, even with the most thorough testing, unique configurations slip through the cracks, and that's nobody's fault—it's just the nature of complex IT systems.

                            My intention was not to diminish the team's work, but to highlight a potential gap that might help improve things further.

                            D olivierlambertO 2 Replies Last reply Reply Quote 0
                            • D Offline
                              DustinB @idar21
                              last edited by

                              @idar21 said in Xen Orchestra 5.110 V2V not working:

                              unique configurations slip through the cracks,

                              In all fairness, edge cases are never tested for until you're building solutions for those edge cases.... It is a bit rough to simply throw the entire thing away because you're on an edge case and a tool built for the masses doesn't work on that edge case...

                              1 Reply Last reply Reply Quote 0
                              • olivierlambertO Offline
                                olivierlambert Vates 🪐 Co-Founder CEO @idar21
                                last edited by olivierlambert

                                @idar21 said in Xen Orchestra 5.110 V2V not working:

                                I certainly didn't mean to dismiss the significant work that's already been done. At the same time, I think it's important for us all to be open to constructive criticism. Sometimes, even with the most thorough testing, unique configurations slip through the cracks, and that's nobody's fault—it's just the nature of complex IT systems.

                                That was exactly my own point. And this forum is filled with posts of us solving bugs from people's feedback, all along from the last 10 years at least. So we do appreciate a LOT any constructive feedback: we want to fix what's broken, even for free!

                                I was talking about this sentence:

                                I don't think the tool has been tested properly.

                                Which doesn't sound very constructive in my opinion. That was my point, nothing more. Constructive feedback: yes. Non-constructive feedback: no.

                                So let's move over, to be able to assist, we need to know your XOA version (or XO commit), exact ESXi version, the kind of storage you use. That is the base of constructive feedback 🙂

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post