Install XenServer and create your first VM
This article steps you through a minimal XenServer installation: one host, XenCenter connected, and a running virtual machine. It covers the most direct path to a working environment.
For a structured multi-host evaluation with shared storage, high availability, and a formal pass/fail scorecard, see the XenServer PoC guide.
Before you begin
You need:
-
A physical server to run XenServer (64-bit Intel VT or AMD-V CPU, UEFI firmware with virtualization extensions enabled — legacy BIOS is not supported in XenServer 9)
-
A Windows workstation to run XenCenter
-
The XenServer ISO and XenCenter installer, both available from the XenServer downloads page
For full system requirements, see System requirements.
Install XenServer
Tip:
Press F12 to advance quickly through installer screens. Press F1 for general help.
-
Boot the server from the XenServer ISO.
-
Select your keyboard layout, then select OK on the Welcome to XenServer Setup screen.
-
Accept the EULA.Note:If you see a System Hardware warning, enable hardware virtualization support (Intel VT or AMD-V) in your server firmware before continuing.
-
Select OK to perform a clean installation. Choose the disk for the XenServer installation, then select OK.
-
Select Local media as the installation source, select Skip Verification, and choose OK.
-
Set a root password. You use this to connect XenCenter to the host.
-
Configure the management network interface: select the NIC to use, then set the IP address. The management IP address must not change after installation. Use a static IP address, or use DHCP only if the DHCP server always assigns the same address to the host (a reservation) and the DHCP server doesn't run as a VM on this host.
-
Set the hostname, DNS, time zone, and NTP server.
-
Select Install XenServer and wait for the installation to complete.
-
When prompted for supplemental packs, select No. Eject the installation media and select OK to reboot.
After the host reboots, XenServer shows xsconsole. Note the IP address displayed — you need it in the next step.
Install XenCenter and connect to the host
-
Download the XenCenter installer from the XenServer downloads page and run it on your Windows workstation.
-
Launch XenCenter and click Add New Server.
-
Enter the host IP address, username (
root), and the password you set during installation. Click Add.Note:On first connection, XenCenter shows a New Security Certificate dialog. Compare the TLS fingerprint shown to the one displayed on the host console to confirm you are connecting to the correct server.
License XenServer
XenServer runs as Trial Edition for up to 90 days without a license, with Premium Edition features available in a pool of up to three hosts. After the trial expires, VMs cannot be started.
To apply a license:
-
Select the host in the Resources pane and choose Tools > License Manager.
-
Follow the wizard to activate your license via the License Activation Service in Citrix Cloud.
For licensing details and subscription information, see Licensing.
Create a virtual machine
-
Click New VM on the XenCenter toolbar.
-
Select a template for your guest OS and click Next.Note:For the full list of supported guest operating systems, see Supported guest operating systems.
-
Enter a name for the VM and click Next.
-
Select the OS installation media (ISO library or DVD drive) and click Next.
-
Accept the default CPU and memory allocation, or adjust as needed. Click Next.
-
Accept the default storage configuration and click Next.
-
Select the network interface and click Next.
-
Review the summary and click Create Now.
-
Select the VM in the Resources pane and click the Console tab to follow the OS installation.
Install XenServer VM Tools
VM Tools provide paravirtualized I/O drivers, dynamic memory control, and clean shutdown support. Running a VM without VM Tools is not supported.
Warning:
Take a VM snapshot before installing or updating VM Tools.
Windows VMs:
-
Download the VM Tools installer (
managementagentx64.msi) from the XenServer downloads page onto the VM. -
Run the installer and restart the VM when prompted.
Linux VMs:
Download the XenServer VM Tools for Linux from the XenServer downloads page and install them in the VM. For more information, see Linux VMs.
Next steps
-
To extend this to a multi-host pool with shared storage and high availability, see the XenServer PoC guide.
-
To manage XenServer from the command line, see Command-line interface.
-
For full host and pool configuration options, see Resource pools.