Jump to: navigation, search

XenServer/XenAndXenServer

< XenServer
Revision as of 17:30, 12 March 2012 by JohnGarbutt (talk)

<<TableOfContents()>>

Getting Started

To get started, take a look at: [[XenServer/GettingStarted|Getting started with XenServer and OpenStack]]

XenServer Deployments

When deploy OpenStack on XenServer you will get something similar to this:

File:XenServer$$XenXCPAndXenServer$DevStackDiagram.png

Key things to note:

  • The hypervisor: Xen
  • Domain0 control VM: runs xapi/XenAPI and is provided by XenServer or XCP (or yourself using Kronos)
  • The nova code runs in a Para-virtulized virtual machine, running on the hyper visor it is wanting to manage
  • Nova uses xapi python bindings to talk to the hypervisor, and it uses a host local network, called the Guest Installer Network, that has a DHCP server

Some notes on the networking:

  • The above diagram assume FlatDHCP networking (the DevStack default)
  • There are three main OpenStack networks: Management traffic (Rabbit, MySQL, etc), Guest network traffic (controlled by nova-network) and Public traffic (floating ips, public api end points)
  • Above we show how you can use VLANs to reduce the required number of network cards on the server, in this case running the instance traffic on a VLAN when exiting the XenServer machine.

XenServer pools

Before 2012.1, all XenServer machines used with OpenStack are deployments are standalone machines, usually only using local storage.

However in 2012.1 and later, the host-aggregates feature allows you to create pools of XenServer hosts (configuring shared storage is still an out of band activity). This move will enable live migration when using shared storage.

Choosing between Xen, XCP and XenServer with OpenStack

Xen or XenServer power some of the worlds largest clouds, including Amazon (Xen) and Rackspace (XenServer).

There are several ways to use the Xen hypervisor with OpenStack:

  • Use Xen directly through libvirt
  • Use XenServer or Xen Cloud Platform (XCP) to manage Xen using xapi/XenAPI
  • Convert your Debian/Ubuntu or RedHat/Fedora/CentOS box into an XCP Domain0 using Project Kronos, then use xapi as above

Please note:

Xen and libvirt

It may possible to talk directly to Xen using libvirt.

However, it is easiest to get started using XenServer or XCP, because this approach is better tested and documented.