cheat-sheets

XCP-ng

XCP-ng is an open source, Xen-based hypervisor forked from XenServer, hosted by the Linux Foundation and backed by Vates. It is managed from Xen Orchestra.

Documentation: XCP-ng Docs · Xen Orchestra Docs Project: XCP-ng

See also: Hypervisors Compared · VMware ESXi · Proxmox VE Overview and Install · NFS

Release and Requirements #

FACTDETAIL
Current8.3 LTS (released 2024-10-07, supported to 2028-11-30); 8.2 is end-of-life; 9.0 announced without a date
Requirements64-bit x86 with VT-x or AMD-V plus SLAT; 2 GB RAM minimum (8 GB or more recommended); 46 GB disk minimum
InstallUSB ISO or netinstall ISO; EXT storage recommended; USB and SD installs discouraged

Storage #

Supported SR types: local EXT, local LVM, NFS, File (use with caution), iSCSI, HBA and XOSTOR. ZFS and Ceph are provided as-is. Snapshots use VHD; removing one triggers a coalesce, with a chain limit of 30.

CLI #

COMMANDDESCRIPTION
xe vm-listList VMs (--minimal, params= supported)
xe helpList xe commands
xe sr-createCreate a storage repository
xe host-disable / xe host-enableTake a host out of, and back into, service for updates
xe host-evacuateMove VMs off a host
xe task-listShow running tasks
xe-toolstack-restartRestart the toolstack without a reboot
yum updateUpdate the host (update the pool master first)
xe pool-dump-database file-name=<FILE>Back up the pool database
xe pool-restore-database file-name=<FILE> dry-run=trueTest a restore

Update from SSH, not xsconsole or a VNC console, and disable third-party repositories first.

Xen Orchestra #

Backups: rolling snapshots, full and incremental backups, replication and mirroring, to S3, NFS and SMB targets. It also imports from ESXi. Free versus paid features and the Lite edition were not verified (unverified).

Search all sheets

Tip: / or Ctrl/Cmd+K to open, Esc to close.