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

    How to Migrate VMs Seamlessly in Xen Orchestra ??

    Scheduled Pinned Locked Moved Management
    3 Posts 3 Posters 242 Views 2 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.
    • D Offline
      danieeljosee
      last edited by

      Hi everyone,

      I am fairly new to Xen Orchestra and am exploring its capabilities for VM management. I understand it offers robust features for managing, backing up and migrating virtual machines within XCP-ng environments. However.., I am particularly interested in best practices for VM migration.

      Here are some questions that I have in my mind :-

      What are the prerequisites for live migration in Xen Orchestra: ??
      Are there any specific configurations or network settings required for seamless migration between XCP-ng hosts: ??
      How does Xen Orchestra handle storage migration? Is shared storage mandatory, or are there alternatives: ??
      Have you encountered any common pitfalls or errors during VM migration, and how can I avoid them: ??

      I have already gone through this thread https://xcp-ng.org/forum/topic/9169/best-way-to-migrate-vms-from-old-pool-to-new-ccsp-certification it helped me alot but still need some more tips and advice. I would appreciate any tips or a step by step guide that could help streamline this process. Looking forward to learning from this community’s experience !!

      Thanks in advance for your help.

      With Regards,
      Daniel Jose

      P gskgerG 2 Replies Last reply Reply Quote 0
      • P Offline
        ph7 @danieeljosee
        last edited by

        @danieeljosee
        Take a look at Tom Lawrence YT channel
        Lots of good stuff there
        https://www.youtube.com/@LAWRENCESYSTEMS

        1 Reply Last reply Reply Quote 1
        • gskgerG Offline
          gskger Top contributor @danieeljosee
          last edited by gskger

          @danieeljosee If your XCP-ng pool is set up correctly, live migration with Xen Orchestra works straight away. Compatibility is key in a pool (CPU manufacturer, CPU architecture, XCP-ng version, network cards/ports). There is a lot of leeway for CPU architecture, but I would recommend not mixing new and older CPU generations.

          For the network settings, it depends on your network architecture. You can run all network traffic via one NIC or you can separate the network traffic from management, VM migration, VM and/or storage/backup using more NICs. In a homelab, one NIC is usually sufficient.

          While shared storage is very helpful for VM live migration, you can also live migrate the VM with its disks attached on local storage. Just select the destination host and destination storage repository. For local storage, VMs and attached disks must of course be located on the same destination host.

          Check out Tom's YT channel as @ph7 suggested.

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