Difference between revisions of "XCP Introduction"

From Xen
m (System components: New info on v1.5)
(Updated Documentation Section)
Line 49: Line 49:
 
= Documentation =
 
= Documentation =
   
  +
This table lists Citrix XenServer manuals that also apply to XCP. There are some differences between XCP and XenServer, these are discussed on the errata pages. This is one reason documentation for "XCP" itself is hard to find; the team has not yet written official separate XCP docs as the [[XenServer]] docs are applicable to XCP. You can also find links to XCP documentation for a specific release in [[:Category:Manual]].
Per the explanation on http://xen.org/products/xcp/community_and_support.html, the best documentation for XCP is the official Citrix [[XenServer]] docs for 5.6 FP1, available here: http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb/
 
   
  +
{| border="1" cellpadding="5" cellspacing="0" class="wikitable sortable"
This is one reason documentation for "XCP" itself is hard to find; the team has not yet written official separate XCP docs as the [[XenServer]] docs are applicable to XCP. You can also find links to XCP documentation for a specific release in [[:Category:Manual]].
 
  +
|-
 
  +
! scope="col" | XCP version
This documentation is best combined with knowledge of the feature differences between XCP and [[XenServer]], as explained on the [[XCP/XenServer_Feature_Matrix|XCP/XenServer Feature Matrix comparison]] page.
 
  +
! scope="col" | XenServer version
  +
! scope="col" class="unsortable" | Errata
  +
|-
  +
| 1.5
  +
| [http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/ 6.0]
  +
| [[XCP_1.5_Manuals | yes]]
  +
|-
  +
| 1.1
  +
| [http://docs.vmd.citrix.com/XenServer/5.6.0sp2/1.0/en_gb/ 5.6 SP2]
  +
| [[XCP_1.1_Manuals | yes]]
  +
|-
  +
| 1.0
  +
| [http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb 5.6 FP1]
  +
| [[XCP_1.0_Manuals | yes]]
  +
|-
  +
| 0.5
  +
| [http://docs.vmd.citrix.com/XenServer/5.6.0/1.0/en_gb/ 5.6]
  +
|
  +
|}
   
 
[[Category:XCP]]
 
[[Category:XCP]]

Revision as of 10:45, 20 August 2012


Introduction

This introduction is a simple explanation for those unfamiliar with Xen, XenServer, and Xen Cloud Platform (XCP).

Xen itself is the underlying virtualization software. It's the hypervisor component that actually runs the virtual guest machines. It has been used by many projects and packaged in many ways. It can be installed and run on many *nix operating systems, for example as a Linux package installed with apt on Ubuntu. There's a very nice explanation with further details on the Xen Wikipedia page. XCP is derived from the commercial Citrix XenServer, which itself also includes Xen, but XCP is completely free and open source. XCP can be thought of as the open source release of XenServer.

System components

The current XCP v1.1 release was derived from XenServer 5.6 FP1. There is also a XCP v1.5 that is currently in beta testing, based on XenServer 6.0. It is hoped that XCP v1.6 will ship in September, or October 2012.

XCP v1.1 is a packaged up version of Linux CentOS 5 (Linux kernel v2.6.32), combined together with Xen v3.4.2, and a web service API called XenAPI that provides a management API for the Xen components intended to be used by various Management Tools.

XCP v1.5 uses Xen v4.1.2, and CentOS v5.7 (Linux kernel v2.6.32). New features include GPU passthrough, for graphic-intesive VMs; improved performance; an Open vSwitch backend; and additional guest templates.

XCP can be installed in two ways:

  • A bootable ISO allows you to quickly get a bare-metal machine running as a virtualization server (this is comparable to VMware ESXi).
  • The Debian and Ubuntu repos have XCP packages, allowing XCP setups that don't run on CentOS.

Installation

Installable ISO

  1. Download the ISO
  2. Boot/install it on a fresh machine (likely using the whole available hard drive)
  3. Configure the network from the very brief administrative interface that stays on the screen after installation
  4. Manage the server over the network using CLI tools, or a GUI management tool.
  5. Now you can start installing and running supported guest VMS using paravirtualization or hardware virtualization.
    1. You can run hardware virtualization (HVM) guests only if your machine has the necessary hardware to support it.
    2. Otherwise any CPU can run paravirtualization (PV) guests, it just means you're limited to the guest OSes and kernel versions that specifically support PV (e.g. Ubuntu 10.04 for example supports PV).

There's a great article here that shows screen-shots all the way through the installation process: http://www.dedoimedo.com/computers/xen-cloud.html

From the Debian/Ubuntu Repos

You can install xapi, the XenAPI management server, on a Debian or Ubuntu system.

  1. Install Debian, or Ubuntu, using your preferred method
  2. apt-get install xcp-xapi

See Installing Xapi on a Debian-based system for more information.

Management

After installation, many users choose to use Citrix XenCenter for management as it is a stable and mature tool. If you're not interested in a GUI, you can SSH to the XCP server itself, and run the built-in command line tools (xe and xl) as described on the Management Tools and Command Line Interface pages. You can also install the management CLI on a separate Linux box.

If you have existing physical machines or VMs from other hypervisors, you can import them into XCP.

Documentation

This table lists Citrix XenServer manuals that also apply to XCP. There are some differences between XCP and XenServer, these are discussed on the errata pages. This is one reason documentation for "XCP" itself is hard to find; the team has not yet written official separate XCP docs as the XenServer docs are applicable to XCP. You can also find links to XCP documentation for a specific release in Category:Manual.

XCP version XenServer version Errata
1.5 6.0 yes
1.1 5.6 SP2 yes
1.0 5.6 FP1 yes
0.5 5.6