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

    VM's from ESXi, live migration not possible

    Scheduled Pinned Locked Moved Solved Migrate to XCP-ng
    21 Posts 3 Posters 5.3k Views 3 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      @OhSoNoob said in VM's from ESXi, live migration not possible:

      data-cant-suspend-reason: {"error":{"class":"GenericError","desc":"State blocked by non-migratable device '0000:00:07.0/nvme'","data":{}},"id":"qmp-000253-22"}

      Are you using a PCI passthrough or something in the CTX VM? Because that's the issue here: inside the VM, there's a device that can't be suspended.

      OhSoNoobO 1 Reply Last reply Reply Quote 0
      • OhSoNoobO Offline
        OhSoNoob @olivierlambert
        last edited by

        @olivierlambert I am not using any kind of PCI passthrough, but it seems like the storage device for xcp-ng is not using the correct driver.

        This is the result of the migrated CTX servers (now using a different server as example, but the result is the same):

        02dc1378-09e6-4600-a1b3-9a1be2cbdecc-image.png

        With the test server:
        1288f4b8-9925-4d9b-b7b7-518424560d72-image.png

        however, just changing the storage driver doesn't seem to work. Any experience or tips with this?

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

          Okay so the Xen PV driver for storage isn't working correctly in the problematic VM, so the storage can't be suspended to do a live migration. That's causing your issue 🙂

          I don't know why the device isn't working correctly (maybe try to reinstall the tools?), but as soon it does, live migrate should work.

          OhSoNoobO 1 Reply Last reply Reply Quote 0
          • OhSoNoobO Offline
            OhSoNoob @olivierlambert
            last edited by

            @olivierlambert The problem with fully installing the tools is our antivirus solution SentinelOne. Simply pausing the agent + reboot gave the XenTools the possibility to install succesfully. After a succesfull installation, enabling the SentinelOne agent again is possible without any other issues regarding the tools or drivers.

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

              Oh great news then!!! 🍾

              So now you can live migrate and such, right?

              OhSoNoobO 1 Reply Last reply Reply Quote 0
              • OhSoNoobO Offline
                OhSoNoob @olivierlambert
                last edited by

                @olivierlambert Yes! Live migration is now available and working. Which is great!

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

                  Excellent news! Thank you very much for the feedback, it might be helpful for others 👍

                  Enjoy XCP-ng and XO!

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO olivierlambert marked this topic as a question on
                  • olivierlambertO olivierlambert has marked this topic as solved on
                  • G Offline
                    glatour @OhSoNoob
                    last edited by

                    @OhSoNoob said in VM's from ESXi, live migration not possible:

                    @olivierlambert The problem with fully installing the tools is our antivirus solution SentinelOne. Simply pausing the agent + reboot gave the XenTools the possibility to install succesfully. After a succesfull installation, enabling the SentinelOne agent again is possible without any other issues regarding the tools or drivers.

                    Thank you for that find, I was in the same boat.

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

                      Oh wow, I couldn't think it would have been helpful that fast!! I think I might update our documentation page about Windows tools and this issue.

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

                        Done: https://docs.xcp-ng.org/troubleshooting/windows-pv-tools/#not-all-pv-drivers-are-correctly-installed

                        G 1 Reply Last reply Reply Quote 0
                        • G Offline
                          glatour @olivierlambert
                          last edited by

                          @olivierlambert said in VM's from ESXi, live migration not possible:

                          Oh wow, I couldn't think it would have been helpful that fast!! I think I might update our documentation page about Windows tools and this issue.

                          Yes, take a look at ticket #7723929. There is also something about shrinking a Windows partition using Linux tools and avoid data loss that could be added to the doc.

                          olivierlambertO 1 Reply Last reply Reply Quote 0
                          • G Offline
                            glatour @olivierlambert
                            last edited by

                            @olivierlambert said in VM's from ESXi, live migration not possible:

                            Done: https://docs.xcp-ng.org/troubleshooting/windows-pv-tools/#not-all-pv-drivers-are-correctly-installed

                            wow that was fast, thank you!

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

                              @glatour Where would you add this in our doc? (the shrink tip)

                              G 1 Reply Last reply Reply Quote 0
                              • G Offline
                                glatour @olivierlambert
                                last edited by

                                @olivierlambert said in VM's from ESXi, live migration not possible:

                                @glatour Where would you add this in our doc? (the shrink tip)

                                There: https://docs.xcp-ng.org/guides/shrink_virtual_drive/ under the Windows VMs part.

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

                                  On it!

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

                                    Done: https://docs.xcp-ng.org/guides/shrink_virtual_drive/#pre-requisites

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