Skip to main content

XCP-ng virtualization platform

XCP-ng is the open source virtualization platform of the Vates VMS stack. You install it directly on your servers, and it runs your virtual machines on top of the Xen hypervisor. You manage it centrally with Xen Orchestra, or host by host with the built-in XO Lite.

The name stands for Xen Cloud Platform, next generation. XCP was the free edition of Citrix XenServer. When Citrix removed features from free XenServer after version 7.3, the project was started in 2018 as a friendly fork of XenServer that keeps every feature open, with no limits. XCP-ng stays close to upstream and contributes its changes back wherever possible. See About XCP-ng for the full history.

Architecture​

XCP-ng is built around the Xen hypervisor and installs on bare-metal servers. The hypervisor, a privileged control domain (dom0) and the XAPI toolstack form the platform; your VMs run beside them.

dom0 · control domainXAPI toolstackdevice driversQEMUI/O backends for the guestsguest VMguest VMyour appsyour appsguest OSguest OSXen hypervisortype-1 · boots directly on the metalHardwareCPURAMdisksNICsGPU
XCP-ng · what runs whereXCP-ng / Xenyour workloads

Xen hypervisor​

The Xen hypervisor, from the Xen Project, is an open source type-1 hypervisor: it boots directly on the physical server. The virtual machines running on top of it are called domains, and there are two kinds:

  • dom0: the privileged control domain. It holds the device drivers, performs I/O on behalf of the guests, and runs the management toolstack.
  • domU: the guest VMs running your applications.

XAPI​

XCP-ng is managed through XAPI, the toolstack shared with XenServer, which runs in dom0. XAPI keeps the configuration of the pool (hosts, VMs, networks, storage and more) in a database held by the pool coordinator and replicated to every member (see XCP-ng pools).

Every client, including Xen Orchestra and the xe CLI, talks to the pool coordinator through the XAPI. A single connection to the coordinator is enough to manage every host of the pool.

XO Lite​

Xen Orchestra Lite (XO Lite) is a lightweight version of Xen Orchestra for single-host or single-pool administration, hosted directly on XCP-ng and running from your browser without having to deploy anything. See the XO Lite page for details.

XCP-ng pools​

A pool is a group of up to 64 XCP-ng hosts managed as a single entity, sharing compute, network and storage. One host is the pool coordinator (formerly called pool master): it exposes the XAPI endpoint for the whole pool. Because every member keeps a replicated copy of the pool database, another host can take over the coordinator role if needed.

A freshly installed host is a pool of one. When you join it to an existing pool, it becomes a member, and the existing coordinator stays in charge.

Pool 1Pool N···hosthosthosthosthosthostVMVMVMVMVMVMVMVMVMVMVMVMexternal shared storageiSCSI · NFS · FC
Pools · hosts share compute, network and storageshared SR · iSCSI / NFS / FC

Pool features​

  • Live migration: move running VMs between hosts of a pool, between pools, and between storage repositories, with no downtime.
  • High availability: when a host fails, its protected VMs restart automatically on the remaining hosts. It requires shared storage.
  • Load balancing and affinity or anti-affinity rules: provided by the Xen Orchestra load balancer plugin, which live migrates VMs to spread load, save power, or keep VMs together or apart.

Pool networking​

XCP-ng uses Open vSwitch for networking. Installation creates one network per physical NIC. When a host joins a pool, its default networks are merged with the pool's: NICs with the same device name attach to the same network, so a VM keeps its connectivity on whichever host it runs. The network types are:

  • External (Default): bridges a VM to a physical NIC, giving it access to resources on the host's physical network.
  • Bonded: combines two or more NICs into a single, high-performing channel.
  • Private: connects VMs internally on a single host, with no traffic sent outside.
  • Global Private: extends private networks across different hosts and pools using the Xen Orchestra SDN controller.

For advanced software-defined networking, an SDN controller is provided as a Xen Orchestra plugin, enabling pool-wide and cross-pool private networks along with features such as GRE/VXLAN tunnels, encryption, and OpenFlow rules.

In summary, XCP-ng networking covers VLANs (IEEE 802.1Q tagging), bonds, GRE and VXLAN tunnels, private network encryption and OpenFlow rules. See Networking in the XCP-ng documentation.

Pool storage​

To manage storage, XCP-ng uses Storage Repositories (SRs), the abstraction that holds virtual disks (VDIs). SRs can be backed by local disks or shared external storage, allowing multiple hosts in a pool to access the same storage and enabling features like live migration and high availability.

Besides external arrays, two other cases rely on the hosts' own disks:

XOSTOR · hyperconvergedplain local storagehosthosthosthostshared SR from local diskslive migration and HA, no SANlocal disksimplest setup,no live migration, no HA
Local-disk options · XOSTOR or plain local SRreplicated local disks

Storage features​

  • External shared storage over iSCSI, Fibre Channel (FC), and NFS, letting all hosts in a pool share the same repository.
  • Disk live migration: move a running VM's virtual disks between storage repositories with no downtime.
  • Large VDI support: virtual disks up to 16 TiB with the QCOW2 format, generally available in XCP-ng 8.3 LTS. VHD disks remain limited to 2 TiB, and Xen Orchestra picks QCOW2 automatically for larger disks.
  • XOSTOR hyperconvergence: pools local disks across hosts into shared, replicated storage without dedicated external hardware.

See Storage in the XCP-ng documentation for every SR type.

Compatibility​

Versions and support​

XCP-ng 8.3 is the current release, with Long Term Support since June 2025. XCP-ng 8.2 LTS reached its end of life on September 16, 2025: hosts still running it should upgrade to 8.3, and extended support is available from Vates for infrastructures that cannot upgrade yet. The next major release, XCP-ng 9.0, is in development for both x86 and ARM. Release announcements and the monthly security and maintenance updates are published on the XCP-ng blog.

Learn more​