XAPI Ubuntu Install: Difference between revisions

From Xen
Jump to navigationJump to search
mNo edit summary
m (moved XCP Ubuntu Install to XAPI Ubuntu Install: Recasting page from a XAPI perspective. Original XCP version now on XenServer.org.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.


Ubuntu is supported both as a PV or HVM guest on XAPI-based orchestrators like XenServer. 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:

There's some helpful information on the Ubuntu wiki, but bear in mind this information is oriented towards a local Xen Project configuration, not specifically XAPI:
*[https://help.ubuntu.com/community/Xen https://help.ubuntu.com/community/Xen]
*[https://help.ubuntu.com/community/Xen https://help.ubuntu.com/community/Xen]
*[https://help.ubuntu.com/community/XenProposed https://help.ubuntu.com/community/XenProposed] (a better version of the docs)
*[https://help.ubuntu.com/community/XenProposed https://help.ubuntu.com/community/XenProposed] (a better version of the docs)


== Considerations for XenServer Users ==
The easiest way to install a new Ubuntu guest is to use Citrix XenCenter and one of the built-in Ubuntu templates.

On XenServer, the easiest way to install a new Ubuntu guest is to use 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 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.
If you have boot problems, please read [[XAPI_Ubuntu_PV]] for more information about configuring the Ubuntu kernel to boot correctly from XenServer.

== XAPI packages in Ubuntu Server 12.04 LTS ==

Ubuntu Server 12.04 LTS now supports the Xen Project Hypervisor, the XAPI packages (called XCP-XAPI) and XAPI-based OpenStack plug-ins. The inclusion of the XAPI packages into Ubuntu Server 12.04 LTS makes the Xen Project Hypervisor more easily accessible to Ubuntu users and adds a wealth of enterprise virtualization functionality.

== Access via XAPI protocol on Ubuntu Server 12.04 ==

[http://ubuntuforums.org/showthread.php?t=2158441 This post] suggests that an adjustment to the PAM rules is needed for remote XAPI nodes to access the server. This affects XenServer's XenCenter and third-party XAPI-based orchestrators.


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 a XAPI-based orchestrator:
== XCP-XAPI packages in Ubuntu Server 12.04 LTS ==


<pre>
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.
#%PAM-1.0
auth include common-auth
account include common-auth
password include common-auth
</pre>


Documentation:
== Documentation ==
* [http://packages.ubuntu.com/precise/xcp-xapi XCP-API package on Ubuntu]
* [http://packages.ubuntu.com/precise/xcp-xapi XAPI package on Ubuntu]
* [http://manpages.ubuntu.com/manpages/precise/man1/xapi.1.html XCP-XAPI documentation on Ubuntu]
* [http://manpages.ubuntu.com/manpages/precise/man1/xapi.1.html XAPI documentation on Ubuntu]
* [[:Category:OpenStack|XCP-OpenStack documentation]]
* [[:Category:OpenStack|OpenStack documentation]]


[[Category:Users]]
[[Category:Users]]
[[Category:Ubuntu]]
[[Category:Ubuntu]]
[[Category:Guest Install]]
[[Category:Guest Install]]
[[Category:XAPI]]
[[Category:XCP]]

Latest revision as of 14:48, 16 July 2014

Ubuntu is supported both as a PV or HVM guest on XAPI-based orchestrators like XenServer. 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 Project configuration, not specifically XAPI:

Considerations for XenServer Users

On XenServer, the easiest way to install a new Ubuntu guest is to use 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 XAPI_Ubuntu_PV for more information about configuring the Ubuntu kernel to boot correctly from XenServer.

XAPI packages in Ubuntu Server 12.04 LTS

Ubuntu Server 12.04 LTS now supports the Xen Project Hypervisor, the XAPI packages (called XCP-XAPI) and XAPI-based OpenStack plug-ins. The inclusion of the XAPI packages into Ubuntu Server 12.04 LTS makes the Xen Project Hypervisor more easily accessible to Ubuntu users and adds a wealth of enterprise virtualization functionality.

Access via XAPI protocol 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. This affects XenServer's XenCenter and third-party XAPI-based orchestrators.

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 a XAPI-based orchestrator:

#%PAM-1.0
auth include common-auth
account include common-auth
password include common-auth

Documentation