New Home Hypervisor - XCP-ng/ Xen Orchestra
With Broadcom's recent licensing changes for VMware, I decided to change the hypervisor for my home lab. After evaluating several freely available options likely to work in an enterprise environment, I chose the XCP-ng/Xen Orchestra solution.
When reviewing XCP-ng as a solution, it appears to be the closest to running VMware while maintaining an open-source foundation. The stack consists of two main components: XCP-ng and Xen Orchestra. XCP-ng is the equivalent of ESXi and is directly installed on the hardware. With the recent release of 8.3, XOA-Lite is now part of the stack, allowing for a GUI experience on the host without requiring an external controller. Xen Orchestra is a vCenter-like control plane that centralizes control. Unlike vCenter, it is installed on another machine, and hosts can be controlled by multiple XO instances. For day-to-day operations, it runs on an Ubuntu server VM, though I have an instance installed through my main laptop's WSL instance. Overall, the appliance is much lighter than a traditional vCenter. For home lab or non-production use, you can compile it yourself from GitHub. In a production environment, Vates provides support through a licensed appliance.
An important goal of this migration was to move existing VMs from the VMware stack to the new stack, using XO’s convenient tool. Here are the high-level steps I took during the migration.
Migration Process
- Power down all unused services in my existing home lab.
- Remove Host 3 from my VMware Cluster.
- Install XCP-ng on Host 3
- Create a new VM to host XO using XO-Lite
- Compile an open-source XO instance from GitHub
- Use the VM import tool to convert machines to VMware
- Fully decommission the vCenter environment
- Install XCP-ng on the other two hosts
- Add everything to a single pool in XO and verify functionality
End Results
Overall, I was very pleased with the migration process and was able to complete it on a Saturday, restoring things to work as expected. All the functionality I expected, including live migration of VMs between hosts, works as expected, along with additional features such as integrated backups. The one area that seems like an immediate miss is the lack of thin provisioning on iSCSI disks, which will lead me to convert my storage NAS to NFS at a later date to utilize thin provisioning. I have more upcoming content on using XCP-ng planned for the future, so stay tuned and check out some of the resources I used below.
Comments
Post a Comment