Skip to content
VirtualLP Virtual Learning Platform
Xen / XCP-ng P02 intermediate

Install XCP-ng (Xen) and manage VMs with XCP-ng Center and the xe CLI

Install the XCP-ng 8.3 Xen hypervisor with a static management IP, connect XCP-ng Center from an admin PC, attach an NFS ISO library, create and install an Ubuntu VM, add the guest agent and snapshot it, then build a second VM entirely with the xe CLI.

What you'll do

  • Install a Xen-based hypervisor (XCP-ng)
  • Manage a host with XCP-ng Center
  • Understand SRs, VDIs, VBDs and VIFs
  • Install PV guest tools
  • Automate VM creation with the xe CLI

Lab tasks

  1. 1 Install XCP-ng with a static management IP
  2. 2 Reboot to xsconsole
  3. 3 Connect XCP-ng Center to the host
  4. 4 Attach an ISO library named ISO library
  5. 5 Create VM ubuntu-xen01 with the New VM wizard
  6. 6 Install Ubuntu from the Console tab
  7. 7 Install the guest agent from guest-tools.iso
  8. 8 Take snapshot before-update
  9. 9 Create a local ISO SR with the xe CLI
  10. 10 Build cli-vm01 with xe
  11. 11 Start cli-vm01 and check its state
  12. 12 List running domains