Skip to content
Log In Sign Up info@muvcloud.com

XCP-ng in Short

XCP-ng turns a physical server into a host for virtual machines. It started in 2018 as a community fork of XenServer and is now developed as an open-source project with a company behind it that sells support. It runs only virtual machines; there are no containers in the platform itself.

Xen is a type 1 hypervisor: it runs directly on the hardware, below every operating system. The difference between the hypervisor types is in what a hypervisor is.

Control Domain and Guests

Xen starts a first, privileged virtual machine called the control domain, or dom0. It is a small Linux system that holds the hardware drivers and runs the management toolstack (XAPI). Every other virtual machine is a guest, or domU. When you log in to an XCP-ng host over SSH, you are in dom0.

Managing It

  • Xen Orchestra: the full web interface, installed as a separate virtual machine. It manages several hosts and pools and runs backups.
  • XO Lite: a lighter interface served by the host itself (bundled since XCP-ng 8.3), for basic tasks on that host.
  • The xe command: the command-line client of XAPI, on every host.
xe host-list
xe vm-list power-state=running params=name-label,uuid
xe vm-start vm=web1
xe vm-shutdown vm=web1
xe sr-list
xe vm-snapshot vm=web1 new-name-label=before-upgrade

Parameters are written as name=value; xe help --all lists every command.

Pools and Live Migration

Several hosts with compatible CPUs form a pool, managed through one master host. Inside a pool, a running virtual machine can move to another host. With shared storage only memory moves; with local disks, storage migration copies the disk as well and takes longer. A pool can also restart guests on another host when one fails, if high availability is set up with a shared storage repository for its heartbeat and the guests' disks are on shared storage; the project recommends at least three hosts for it.

Storage Repositories

Virtual disks live in storage repositories (SRs): local LVM, local file-based storage, NFS, iSCSI, and others. Thin provisioning and quick snapshots depend on the repository type, so choose it before you create the first guests.

Backups

Backups are a feature of Xen Orchestra, not of the host: full and incremental (delta) backups to a remote such as an NFS share or object storage, disaster recovery copies, and continuous replication to another host. Keep at least one copy outside the pool; see the 3-2-1 backup rule.

Guest Tools

Current Linux kernels already contain the Xen paravirtual drivers for disk and network, so on Linux the guest tools are mainly a management agent (from the xe-guest-utilities package or the guest tools ISO). Install it inside each Linux virtual machine: it lets the host and Xen Orchestra see details such as the guest's IP addresses, and the project documents it as required for several features.

XCP-ng vs Proxmox VE

XCP-ngProxmox VE
HypervisorXenKVM
ContainersNoneLXC
InterfaceXen Orchestra, XO LiteBuilt in, on every node
Host systemLinux dom0Debian
GroupingPoolsClusters
BackupsThrough Xen Orchestravzdump, Backup Server

Both are mature. Proxmox VE has everything on the host and adds containers; XCP-ng keeps management in Xen Orchestra and suits teams that know Xen. More on the other platform in what Proxmox VE is, and a wider comparison in VMware alternatives.

Hardware Requirements

  • CPU: 64-bit x86 with Intel VT-x or AMD-V enabled in the firmware.
  • Memory: enough for dom0 plus every guest.
  • Compatibility: check the project's hardware compatibility list for your network and storage controllers before you install.
  • Remote console: an out-of-band controller such as IPMI for installation and recovery.

Updated:

Linux VPS with Full Root Access

MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.

Cloud VPS Plans Starting at2.99 $/mo Cheap Linux VPS

No Limits on Service or Support

You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

Support specialist
  • 100% customer satisfaction goal
  • Our own hardware
  • 24/7 ticket and email support
  • 4 countries with locations