
In this article, we will discuss how to Check and Install Patches on XCP-ng 8.3 via CLI and XO Lite. If you are running XCP-ng in an enterprise or lab environment and have been anxiously waiting to bring it under the umbrella of Veeam Backup & Replication (VBR), the latest patch release for XCP-ng 8.3 is not optional, it is the foundational requirement. Please see A-Z of XCP-ng and Xen Orchestra setup and VM Creation, and how to Integrate Trellix ePolicy Orchestrator with a Syslog Server
Note that, Xen Orchestra (XO) is the official web-based management, orchestration, and backup plane for XCP-ng, developed by Vates alongside the hypervisor itself.
While XO Lite provides a lightweight, built-in interface on individual hosts for basic visibility and local tasks, a full Xen Orchestra deployment runs as a dedicated virtual appliance (XOA) or compiled from source to manage multiple pools, automate backups, enforce Role-Based Access Control (RBAC), and orchestrate patch management at scale.
How Xen Orchestra Handles XCP-ng Updates
Unlike legacy hypervisors that require uploading monolithic patch ISOs, XCP-ng uses standard RPM repositories (yum), and Xen Orchestra coordinates updates across your infrastructure through an XAPI plugin (updater.py).
- XO aggregates patch status across every host and pool in a single dashboard, flagging missing updates as we will see very shortly, and indicating when a host reboot is required after installation.
- Rather than patching hosts piecemeal, XO encourages pool-level patching so every node runs identical xapi, storage (sm), and kernel versions.
- In multi-host pools with shared storage, XO automates zero-downtime patching by evacuating VMs via live migration, installing RPM updates, rebooting the host (starting with the Pool Coordinator), and moving on to the next node.
Note: In a single-host setup like TDAXCP-ng01, updates still require a manual maintenance window to shut down VMs and reboot
Please see how to Leverage Azure Blob Storage as an Object Storage Repo in Veeam, how to PXE Boot Failure: “Access Denied or Aborted” with Secure Boot on [Part 4], and Advanced Tape Troubleshooting: Diagnosing Veeam LTO Drive Issues with ITDT.
Why You Should Run XCP-ng Update
Skipping or delaying hypervisor updates creates compounding operational, security, and compatibility risks:
- Third-Party Ecosystem & Backup Compatibility: External integrations such as Veeam Backup & Replication’s native Xen plug-in depend on specific xapi endpoints, Changed Block Tracking (CBT) fixes, and storage daemon (sm) behaviors introduced in newer patch levels. Outdated hosts frequently reject worker deployments or fail snapshot operations.
- Pool Stability & Migration Reliability: Running hosts at mismatched patch levels inside a pool can break live VM migrations, shared storage locking (sm-fairlock), and high-availability (HA) failover.
- Hypervisor & Hardware Security: Updates patch vulnerabilities in the Xen hypervisor, Dom0 Linux kernel, OpenSSL/GnuTLS libraries, and CPU microcode (amd-microcode / intel-microcode), protecting against guest-to-host escape vectors and side-channel exploits.
- Preventing Massive Update Debt: Allowing systems to fall hundreds of packages behind can transform routine maintenance into a large, multi-hundred-RPM update transaction, requiring longer maintenance windows and making rollbacks more complex if problems occur.
Determine XCP-ng Version
To do this , connect via SSH to your XCP-ng host as root and inspect the release file or query the xe host software parameters:
cat /etc/redhat-release
The xe ook for product_version (e.g., 8.3.0) and build_number, xapi version. For native Veeam Plug-in for Xen compatibility, ensure your pool is running XCP-ng 8.3 or newer which we are currently running.
xe host-list params=name-label,software-version

Check for Missing/Pending Updates
To check for check for missing updates which we have already seen over the XO Lite console as shown below

Or run the command below.
yum check-update

xcp-ng-base and xcp-ng-updates repositoriesPlease see How to remove a Repository from Veeam Backup and Replication, how to Update Veeam Backup & Replication to Build 13.0.1.2067, and how to Fix broken Repository Path in Veeam Scale-Out Backup Repository.
Apply XCP-ng Patches
Note: Applying these updates requires rebooting TDAXCP-ng01, which will take all 3 running VMs (TDAVBEM01, TechDC02, ViHR) offline. I will recommend gracefully shutting down your guest VMs before rebooting.
Note: You may need to also perform the host reboot via direct SSH rather than the XO Lite web console if TDAVBEM01 or another VM routes your management access. But this is a lab environment, so I do not care and will perform the updates over the XO Lite interface.
yum update -y

At this point, yum is currently downloading the RPM packages for XCP-ng 8.3 update and have shown up to (123/170).

Here is the active installation andupdate phase (49/334 to 69/334) of the yum update transaction.

Yum is now in the final cleanup/removal phase of the update transaction (228/334 to 250/334), removing older superseded RPM versions (Cleanup / Erasing) after installing the new packages. The total of 334 RPM transaction operations reflects installing/updating the 170 packages and cleaning out the older packages they replaced.

As you can see below, the update is comeplete. Remember what we discussed above previously, that is the command returns a clean prompt with no package list, it means that the host is fully patched against the enabled xcp-ng-base and xcp-ng-updates repositories as shown below.

Please see Veeam Backup and Replication: PowerShell must be Remote Signed, how to Prevent Automatic Driver Updates in Windows and Xen-Orchestra, and how to Switch from IP Addresses to DNS for Backup Infrastructure in VBR.
Determine Installed XCP-ng Patches
You can check the recently installed patches as shown below, expecially xapi and xcp-ng-xapi-plugins via the following command.
rpm -qa --last | head -n 20

Or check the specific XAPI plugin package version directly as shown below
rpm -q xcp-ng-xapi-plugins xapi-core

Because microcode (amd-microcode), xapi, and kernel packages are included in full updates, reboot the host to load the patched stack

I hope you foudn this artcle on “How to Check and Install Patches on XCP-ng 8.3 via CLI and XO Lite” very useful. Please feel free to leave a comment below.