XAPI Ubuntu Install
Ubuntu is supported both as a PV or HVM guest on XCP. Ubuntu 10.04 LTS works out-of-the-box as a PV guest.
There's some helpful information on the Ubuntu wiki, but bear in mind this information is oriented towards a local Xen configuration, not specifically XCP:
- https://help.ubuntu.com/community/Xen
- https://help.ubuntu.com/community/XenProposed (a better version of the docs)
The easiest way to install a new Ubuntu guest is to use Citrix XenCenter and one of the built-in Ubuntu templates.
If using the Ubuntu template in XenCenter to create a new VM, enter this URL as the InstallURL to setup a new copy of Ubuntu: http://archive.ubuntu.net/ubuntu. This will allow you to easily do a network install with 10.04.
If you have boot problems, please read XCP_Ubuntu_PV for more information about configuring the Ubuntu kernel to boot correctly from XCP.
XCP-XAPI packages in Ubuntu Server 12.04 LTS
Ubuntu Server 12.04 LTS now Xen Hypervisor, the Xen Cloud Platform (XCP) packages and XCP OpenStack plug-ins. The inclusion of the Xen Cloud Platform packages into Ubuntu Server 12.04 LTS makes Xen more easily accessible to Ubuntu users and adds a wealth of enterprise virtualization functionality.
Access from XenCenter on Ubuntu Server 12.04
This post suggests that an adjustment to the PAM rules is needed for remote XAPI nodes to access the server.
Edit the /etc/pam.d/xapi file as follows. If you change the file to look like this, you should be able to log in with XenCenter:
- %PAM-1.0
auth include common-auth account include common-auth password include common-auth