Install XCP-ng 8.2 Virtualization Platform-Step by Step Using Screenshots

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

XCP-ng is a turnkey open source virtualization platform based on Xen Source and Citrix® Hypervisor (formerly known as XenServer). XCP-ng stands for Xen Cloud Platform and is a tribute to the old open source project XCP, which was abandoned when XenServer was open sourced in 2013.

The XCP-ng project is the result of large-scale cooperation between individuals and companies, with the goal of delivering a powerful Type 1 hypervisor. Product components, documentation, repositories, and development processes are easily accessible and available to the public.

The functioning XCP-ng platform consists of the following infrastructure components:

  • Calculation
  • The internet
  • Store
  • API (Xen API)

We will install the XCP-ng virtualization platform step by step. This will be the first article, and subsequent guides will be included in a mini series for easy reference when building the final virtualization solution.

Installation requirements

XCP-ng can only be installed on 64-bit x86 server-class computers dedicated to hosting virtual machines-Linux, Unix, Windows, etc. After XCP-ng is installed, an optimized and hardened Linux partition will be created, which contains a Xen-enabled kernel. The kernel controls the interaction between the virtual machine hardware and the actual physical hardware.

In the XCP-ng virtualization platform, the hardware supported by the computing level is:

  • Up to 5 TB of RAM
  • Up to 16 physical NICs
  • Each host has a maximum of 288 logical processors.

Listed devices Citrix Hypervisor’s hardware compatibility list XCP-ng support.

Step 1: Download XCP-ng 8.x ISO

We will perform the installation of the XCP-ng version in the supported LTS version until 2025-06-25. You can choose from many installation options, namely:

ISO installation is the most commonly used method because it can be done completely offline without the need for DHCP, PXE and web servers.

In this article, we will use the ISO installation method. But first, you need to download the latest LTS ISO image of XCP-ng from: iso release page.Install XCP ng virtualization platform 01

At the time of writing, this is the version 8.2.0


You can also download the file directly from the URL in the browser.Install XCP ng virtualization platform 02

Step 2: Create bootable USB or attach ISO to virtual media

If you are installing via a KVM switch or a direct server console, you can use the following command to create a bootable USB key:

dd if=xcp-ng-8.2.0.iso of=/dev/sdX bs=8M oflag=direct

On Windows, you can use Rufus Create a bootable USB memory stick.

In order to install via IPMI, you can attach the ISO to the virtual media:Install XCP ng virtualization platform 03

Step 3: Install XCP-ng 8.2 virtualization platform

Boot the created media-USB or attached ISO to start installing the XCP-ng 8.2 virtualization platform on the physical device.Install XCP ng virtualization platform 04

Select the keyboard key map you used in this installation.Install XCP ng virtualization platform 06

Agree to clear the data so that the XCP-ng virtualization server can be installed.Install XCP ng virtualization platform 07

Accept the end user license agreement to continue the installation.Install XCP ng virtualization platform 08

Select the disk that will be used for virtual machine storage. Other configurations can be done after installation.Install XCP ng virtualization platform 09

Select the file source for installation. Since we are performing the ISO installation method, it will be “local media”.Install XCP ng virtualization platformTen

Verify the installation source to check the integrity of the files.Install XCP ng virtualization platform 11

Before we continue, expect to receive a success message.Install XCP ng virtualization platform 12

Specify the root user password-at least it must be 6 characters In length.Install XCP ng virtualization platform 13

Select the network interface used to connect to the management server on the host.Install XCP ng virtualization platform 14

Specify whether to use DHCP or a static IP address for the management interface. For a static network, please provide the server IP address, subnet mask and gateway IP address.Install XCP ng virtualization platform 15

If the interface is a Trunk and a VLAN is required, please set the IP information and specify the VLAN ID:Install XCP ng virtualization platform 16

Set the correct DNS server IP address:Install XCP ng virtualization platform 17

Select the geographic area of ​​the XCP-ng hostInstall XCP ng virtualization platform 18

Select a city in the selected geographic area.Install XCP ng virtualization platform 19

Select the local time configuration method. NTP takes precedence over manual time configuration.Install XCP ng virtualization platform 20

If you choose NTP, you need to enter the NTP server details on the next screen.Install XCP ng virtualization platform 21

After providing all the information required to install XCP-ng, you can confirm to continue.Install XCP ng virtualization platform 22

Soon after confirmation, the installation is ready to begin.Install XCP ng virtualization platform 23

The installation may take a few minutes, so please be patient!Install XCP ng virtualization platform 24

select”Do not“Used for supplemental pack installation.Install XCP ng virtualization platform 25

If your screen displays output similar to the following, the installation steps are almost complete.Install XCP ng virtualization platform 26

This is my successful installation message. You need to detach the installation media and restart the system,Install XCP ng virtualization platform 27

After restarting, you will see the TUI console as shown below:Install XCP ng virtualization platform 28

You can start the command shell by clicking “Local Command Shell” in the options.Install XCP ng virtualization platform 29

log in root Username and password set during installationInstall XCP ng virtualization platform 30

The installer creates a smaller partition for the operating system and allocates the remaining space to the virtual machine using LVM.Install XCP ng virtualization platform 32

Before using the installed XCP-ng to manage virtual machines, please upgrade the software package of the system.

yum update

Use Confirm Upgrade ÿ key:Install XCP ng virtualization platform 31

After a successful upgrade, reboot the host.

Step 4: Install XenCenter | XCP-ng Center (optional)

Please refer to the guide in the link below:

Use XenCenter to manage the XCP-ng hypervisor | XCP-ng中心

in conclusion

In this guide, we have been able to install the XCP-ng 8.2 virtualization platform on a dedicated server using the ISO downloaded from the website. In the next guide, we will delve deeper into more configuration and environment preparations before creating a virtual machine in the platform.

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

Related Posts