This article describes how to proceed in order to convert your Citrix© XenServer infrastructure into a XCP-ng infrastructure.
All of this, without losing ANY settings (SR, VMs, networks) from your existing XenServer infrastructure!
XCP-NG installation follows roughly the same workflow than a XenServer installation. Therefore, the migration procedure will be very similar to an upgrade procedure in XenServer.
- Download the XCP-ng ISO from this page
- Put this ISO on a CD or a USB-key and start the installation procedure in your XenServer infrastructure
You can use this:
dd if=XCP-ng_7.4.1.iso of=/dev/sdX bs=8M status=progress oflag=direct
You can also burn a real CD or use a Windows program to create a bootable USB key from an ISO file.
- Follow the instruction on the screen to start the migration of your infrastructure from XenServer to XCP-ng.
- Eventually, you will reach a screen proposing you to upgrade your XenServer 7.X to XCP-ng
- Once the installation process is complete, reboot your host.
- XCP-ng will boot
And it’s done, you have succesfully migrated from XenServer to XCP-ng. Everything will be as it was before, in your XenServer infrastructure. SRs, VMs, network configuration, everything is kept during the migration to XCP-ng!
Migration from XenServer 6.X
XenServer 7 introduced a new (and better) partition scheme. Therefore, if you want to migrate from a XenServer 6 version you have two possibilities.
- You can keep the old partition model
- you can “upgrade” it to the new scheme
As it’s (obvioulsy) a better partition scheme, we strongly recommend you to upgrade to this scheme and not to keep the old one, but it’s your call.
WARNING: using the new partition scheme will REMOVE the content of your local SR.
Using the new partition
In order to migrate using the new partition scheme, you need to run this command on your host before launching the migration process.
$ touch /var/preserve/safe2upgrade
Check that you are using GPT partitioning and not MBR and doublecheck that you don’t have any VDI attach to your local SR. Any remaining VDI will be removed.
Then, you can follow the standard migration procedure describe before.
Migrating your XenServer Pool to XCP-ng without downtime
Here is how to proceed in order to migrate without having downtime in your infrastructure.
- Live migrate your VMs from the pool master to other hosts
- Upgrade your pool master
- Live migrate VMs from another host to your pool master
- Upgrade the host
- Repeat until all hosts are migrated
XCP-ng administration tool
- Xen Orchestra (complete web admin tool)
- XCP-ng Center
See the download section for more details!