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

    Migrate from XenServer 6.5 to XCP-ng 8.2

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    9 Posts 5 Posters 1.0k 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.
    • C Offline
      chris-stone
      last edited by

      Good Day,

      We're in a bit of a pickle. We need to upgrade our hypervisors from XenServer 6.5 to the latest version of XCP-ng, but without losing any data or changing the partition scheme. After a bit of digging, we read in the XCP-ng documentation that this is possible, along with instructions of how to do so. To test this process, we:

      1. Inserted into one host machine a DVD with the XCP-ng 8.2 ISO burned onto it, and booted up the machine into this DVD
      2. Followed along with the installation prompts until it searched for any present XenServer installation (host, guests, etc.). It should have found the existing installation, but instead reported the following:

      "Only product installations that cannot be upgraded have been detected. Continuing will result in a clean installation, all existing configuration will be lost. Alternatively, please contact a Technical Support Representative for the recommended upgrade path."

      We based this process on what we read here: https://docs.xcp-ng.org/installation/upgrade/#-upgrade-from-xenserver

      • we heeded the warnings within this section

      Is there something about this process that we do not understand? My current assumption is that the process of upgrading consists of: insert media that has the XCP-ng ISO, follow its prompts and it should detect what is present. Our goal is to upgrade from XenServer 6.5 to XCP-ng 8.2.1 without losing our current guest VMs or changing their partition scheme.

      Assistance is appreciated, as we use XCP-ng on other hosts and truly favor it above XenServer.

      Thanks,
      Chris

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Hi... I know that there are previous discussions on this forum where others have performed this same task. Here is one example that you may want to review. Why are you wanting to maintain the old partition scheme?

        C 1 Reply Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team
          last edited by

          @chris-stone said in Migrate from XenServer 6.5 to XCP-ng 8.2:

          Only product installations that cannot be upgraded have been detected.

          See this thread for a similar issue.

          1 Reply Last reply Reply Quote 0
          • C Offline
            chris-stone @Danp
            last edited by

            @Danp The guy who set the VMs up doesn't want to risk losing any data, as they operate 24/7 and many are customer-facing. If I'm not mistaken, this wouldn't be a problem if we made backups, but he wants to do everything possible to maintain what we have as much as possible, and minimize downtime.

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

              1. Do backup first in any case (better safe than sorry)
              2. Go to XS 7.1 first
              3. Then to XCP-ng 8.2.1

              Also, if it's production, might worth to have support from the editor…

              1 Reply Last reply Reply Quote 0
              • J Offline
                JeffBerntsen Top contributor @chris-stone
                last edited by

                @chris-stone

                I had to do an upgrade similar to this and the recommendations from @olivierlambert are pretty much what I had to do with a few additions. I had the same problem due to the difference in partitioning between XS6.5 and XS7.1 (which is also used by XCP-ng 8.2) and it was being reported as "cannot be upgraded" as yours is.

                This machine's SR was on the local storage and what I ended up having to do was move all of my VMs on this system to a new on-line storage SR (NFS v3 in my case), mark the system as safe to upgrade using the instructions here, then perform the upgrade. Removing the local storage SR once it's empty may also help. In my case, the upgrade kept the NFS SR and all VMs on it intact and I was able to move them back to a local storage SR afterwards.

                I'd still recommend upgrading to XS7.1 first as @olivierlambert suggests.

                One more thing you may need to deal with is possible compatibility problems between the version of XS drivers and agents running on guest systems, especially older versions of Windows. I've had problems with some of the older drivers crashing the guest VMs (not the host) when trying to run under newer versions of XS or XCP-ng. It might be a good idea to either upgrade them or remove them before migrating or upgrading to a newer server.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kerdiby 3rd party vendor
                  last edited by

                  Have you ever consider to use a professional VM backup and migration solution, like Veeam and Vinchin? I heard that they perform quite well when delivering such migration process.

                  DanpD 1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @kerdiby
                    last edited by

                    @aurora-chase This is more of an upgrade than a migration, so I don't see how those other products are needed here. 🤔

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

                      haha yes, it feels like a hidden plug for those product (I'm not saying it's the case, but just feeling that way).

                      Also, you can obviously backup your VMs with XO to restore them on a freshly installed (from scratch) XCP-ng 8.2 🙂

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