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

    Hyper-V to XCP-ng

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    3 Posts 3 Posters 3.5k 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.
    • M Offline
      MrNaz
      last edited by

      We have a Hyper-V server with 3 VMs. The client has finally given us the green light to upgrade the ancient hardware and also migrate to XCP-ng. Yay!

      However we are having difficulty. We have exported one VM's VHD and are trying to import it into XO. We have set up a temporary network share for the purpose of making the VHD available. Here are the steps we are trying to follow:

      1. Copy the VHD onto the network share.
      2. Create a VM in xcp-ng with no disks.
      3. Attach the VHD to the new VM.
      4. Move the new VM's disk to local storage.

      Any guidance or tips or guides on migrating from Hyper-V to xcp-ng would be great.

      I have one question about all this though: The xcp-ng host is set up to use LVM. Given that VHDs are used in EXT mode, is the fact that we have xcp-ng with LVM set up possibly what is causing us problems with using VHDs?

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

        Hi,

        2 options:

        1. If not done yet, take a look at https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/#from-hyper-v
        2. If you want dedicated assistance on your migration, you can ask at https://vates.tech/contact 🙂

        About VHDs and LVM: it will be harder, because it means you'll have to inject the VHD inside the logical volume instead of just dropping the right VHD file into the folder with ext.

        1 Reply Last reply Reply Quote 0
        • planedropP Offline
          planedrop Top contributor
          last edited by

          Like @olivierlambert mentioned it would be best to go with ext instead of LVM, makes the migration process a lot easier.

          I've gone through a similar migration and it was super smooth using ext.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO olivierlambert moved this topic from Xen Orchestra on
          • First post
            Last post