ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-VVF Administrator
          • vcp-vvf-2.
        • Close
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • XCP-NG
    • XCP-NG
    • Close
  • Proxmox
    • Proxmox
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • Privacy policy
    • PDFs and Books
    • Close
  • Free

How-to Update Lab with XCP-NG and Xen Orchestra built from sources

By Vladan SEGET | Last Updated: April 13, 2026

Shares

A couple of months ago I installed a lab (a nested virtual lab running under VMware Workstation) with XCP-NG and Xen Orchestra. This virtualization solution should be familiar to you, for those of you who follow my blog sinca a long time. There are many reasons why many home labbers like me or other admins previously using VMware, are switching to alternative hypervisors. But let's focus on the techicals only this time and see how easy is to update the lab. Note that I have build my Xen Orchestra from the sources as I have no official support from Vates (no need for a lab, right?).

Due to the constrainst I have for my lab, I only use virtual labs under VMware Workstation (FREE Software now). Like this I don't need a ton of hardware. I spin a lab when I need it only. If I need VMware lab, I spin VMware. If I need Proxmox lab, I spin Proxmox etc… Same for XCP-NG. 

Beside that, I have other virtual labs, for backup software (Veeam, Nakivo etc…) It is very flexible and I can also use the desktop as a video editing rig as the underlying OS is W11.

Update your XCP-NG hosts

At first, I updated all my hosts running XCP-NG. I have just 3 hosts. That's all.

To update XCP-ng from the console, log in as root via SSH or the physical console (or via web browser – IP of the host) and use the yum package manager to apply patches and upgrades.

For routine updates (bugfixes and security fixes), run the following commands to check for available updates and install them:

yum check-update

yum update

It is that simple!

After updating, restart the toolstack or reboot the host if required.  You can verify if a reboot is necessary by running needs-restarting -r. If you have LINSTOR installed, you must stop the controller and restart the satellite after updating all hosts without rebooting first:

systemctl stop linstor-controller

systemctl restart linstor-satellite

For major version upgrades (e.g., moving from version 8.1 to 8.2), using yum is only supported for certain point releases and is considered riskier than using the installation ISO. If performing a major upgrade via command line, ensure you have disabled third-party repositories and check the release notes for specific requirements.  Note that XCP-ng 8.3 cannot be upgraded to using the yum method; the installation ISO is the recommended approach for such jumps.

Key Considerations:

  • Pool Master: Always upgrade and reboot the pool master host first.
  • High Availability: Disable HA before upgrading.
  • Maintenance Mode: Do not use Maintenance Mode in XCP-ng Center during upgrades, as it moves the pool master.
  • Backups: Unlike ISO upgrades, command-line updates do not create a system backup, so changes to the system are retained but a rollback is not possible without a reinstall.

Update Xen Orchestra

To update a self-built Xen Orchestra Appliance (XOA) from the console, you must first SSH into the VM, as the built-in updater is not available for source-built instances. Run the xo-install.sh script from the /opt/XenOrchestraInstallerUpdater directory to pull the latest updates and rebuild the instance.

Note: I have used script from Roni Väyrynen. The script is maintained by Roni Väyrynen and it's freely available on github. (if you like it, support the author – via PayPal!) The script can also do updates or rollbacks. It supports many Linux distributions or even containers. In my case, I used Kubuntu (based on Ubuntu 24.04,).

For a standard update, navigate to the installation directory and execute the update command:

cd /opt/XenOrchestraInstallerUpdater

sudo ./xo-install.sh –update

If you encounter issues or need a clean rebuild, you can force the update or switch to a specific release branch using the following commands:

  • Force clean installation: sudo ./xo-install.sh –update –force
  • Switch to next-release branch: sudo ./xo-install.sh –update -b next-release

Note that if you are running a version built from the ronivay/XenOrchestraInstallerUpdater repository, the updater script is located in /opt/XenOrchestraInstallerUpdater. If you are using the Jarli01 script, the command may be sudo ./xo-update -f to force a rebuild. Ensure you have sufficient disk space before running these commands, as the build process can be resource-intensive.

Stay tuned through RSS, and social media channels ( Twitter, FB, YouTube ). Happy hacking, and see you in the next post!

More posts from ESX Virtualization:

  • Ready for Voyage? Try Voyager Linux Distro – A Slick, Hybrid Distro That Just Works
  • VMware Workstation Pro 25H2U1 Released: Why You Should Update Now
  • Thinware SimpleVM – A Free-Forever Hypervisor Alternative for VMware Admins Tired of Broadcom’s Rising Costs
  • Veeam Backup and Replication Upgrade on Windows – Yes we can
  • Securing Your Backups On-Premises: How StarWind VTL Fits Perfectly with Veeam and the 3-2-1 Rule
  • Winux OS – Why I like it?
  • VMware Alternative – OpenNebula: Powering Edge Clouds and GPU-Based AI Workloads with Firecracker and KVM
  • Proxmox 9 (BETA 1) is out – What’s new?
  • Another VMware Alternative Called Harvester – How does it compare to VMware?
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Vulnerability in your VMs – VMware Tools Update
  • VMware ESXi FREE is FREE again!
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • VMware Workstation 17.6.2 Pro does not require any license anymore (FREE)
  • Two New VMware Certified Professional Certifications for VMware administrators: VCP-VVF and VCP-VCF
  • Patching ESXi Without Reboot – ESXi Live Patch – Yes, since ESXi 8.0 U3
  • Update ESXi Host to the latest ESXi 8.0U3b without vCenter
  • Upgrade your VMware VCSA to the latest VCSA 8 U3b – latest security patches and bug fixes
  • VMware vSphere 8.0 U2 Released – ESXi 8.0 U2 and VCSA 8.0 U2 How to update
  • What’s the purpose of those 17 virtual hard disks within VMware vCenter Server Appliance (VCSA) 8.0?
  • VMware vSphere 8 Update 2 New Upgrade Process for vCenter Server details
  • vSphere 8.0 Page
  • ESXi 7.x to 8.x upgrade scenarios
  • VMware vCenter Server 7.03 U3g – Download and patch
  • Upgrade VMware ESXi to 7.0 U3 via command line
  • VMware vCenter Server 7.0 U3e released – another maintenance release fixing vSphere with Tanzu
  • What is The Difference between VMware vSphere, ESXi and vCenter
  • How to Configure VMware High Availability (HA) Cluster
Vote !
Shares

| Filed Under: Server Virtualization Leave a Comment

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x17, Veeam Vanguard x11, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Private Sponsors

 

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
Click to Become a Sponsor

Most Recent

  • How-to Update Lab with XCP-NG and Xen Orchestra built from sources
  • Alpine Linux – Why I like it?
  • StarWind HCI Appliances: Storage Virtualization, Synchronous Replication, and Bulletproof Support
  • DataCore Puls8 vs OpenEBS: Comparison for Kubernetes Persistent Storage
  • A Community Study Guide VMware vSphere Foundation Administrator (VCP-VVF) – Free Download
  • SysInternals Suite: Still the #1 Must-Have Toolkit for Every Windows (and Now macOS/Linux) IT Admin in 2026
  • Windows 11 Installation Assistant 25H2 – upgrade your W10 or W11 with the help of this new tool from Microsoft
  • ResOps in Action – Commvault’s Big Moves at RSAC 2026: Okta Support, Satori-Powered Risk Analysis, ThreatScan Evolution & Sentinel Automation
  • StarWind V2V / P2V Converter Version 9 (build 848) – Multi-VM Conversions, Full CLI Support, Hot Migrations, and Cloud Improvements Make This Free Tool a Datacenter Must-Have
  • Nakivo 11.2 With Proxmox 9.1 and VMware vSphere 9 Support Released

Veeam Vanguard x12

Get new posts by email:

 

 

 

 

Deals

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Friendly Websites and Blogs

  • vBlog.io
  • VMware Engineer Jobs
 

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2026 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com