Jump to: navigation, search

Difference between revisions of "XenServer/GettingStarted"

Line 14: Line 14:
 
This is an opinionated guide to setting up an [[OpenStack]] Cloud using Xen/XenServer/XCP. Use this to get started quickly. It is far from the only way to setup [[OpenStack]] using Xen.
 
This is an opinionated guide to setting up an [[OpenStack]] Cloud using Xen/XenServer/XCP. Use this to get started quickly. It is far from the only way to setup [[OpenStack]] using Xen.
  
= Installation Video =
+
= Install Video =
  
You can find a video for the installation using Devstack [http://www.youtube.com/watch?v=x_-MWihUqF4&context=C45e4ee5ADvjVQa1PpcFPgMehSJPHmhv8Eqb1bMj89p0cvQ5UDNwE= here].
+
To get and idea of how to install [[OpenStack]] on [[XenServer]] using [[DevStack]], take a look at the following video on [[YouTube]]: [http://www.youtube.com/watch?v=x_-MWihUqF4&context=C45e4ee5ADvjVQa1PpcFPgMehSJPHmhv8Eqb1bMj89p0cvQ5UDNwE= Installing OpenStack on Citrix XenServer using [[DevStack]]].
  
 
= Required Hardware =
 
= Required Hardware =

Revision as of 15:45, 29 March 2012

<<TableOfContents()>>


#!wiki caution
'''Warning'''

This is still a work in progress.


Getting started with XenServer and OpenStack

This is an opinionated guide to setting up an OpenStack Cloud using Xen/XenServer/XCP. Use this to get started quickly. It is far from the only way to setup OpenStack using Xen.

Install Video

To get and idea of how to install OpenStack on XenServer using DevStack, take a look at the following video on YouTube: Installing OpenStack on Citrix XenServer using DevStack.

Required Hardware

To get started, this is probably what you want:

  • Cheap switch (most home routers will do)
  • Linux machine (preferably, running Ubuntu 11.10)
  • XenServer capable machine
  • (optional) Windows machine to run Citrix XenCenter (the official XenServer GUI)

Planning your Deployment

The most important part of planning is getting your head around the networking.

Take a look at the diagram in the wiki page on XenServer deployment.

It is probably best to configure your XenServer like this:

  • assuming two network cards
  • use nic0 (the bridge called xenbr0) to have management networks

(TODO: provide example xenrc file for devstack)

Steps to get OpenStack running on XenServer

Here is what you need to do:

Steps to add a second compute node

You can use DevStack to deploy a node that only has nova-compute and nova-network, and modify the configuration so that it talks to your other node's MySQL, Rabbit, Glance, Keystone, etc. You probably want to add something like the following in your localrc file:


MASTER_SERVER=111.111.111.111 #replace with ip of your first server
ENABLED_SERVICES=n-cpu,n-net
MYSQL_HOST=$MASTER_SERVER
RABBIT_HOST=$MASTER_SERVER
KEYSTONE_AUTH_HOST=$MASTER_SERVER
GLANCE_HOSTPORT=$MASTER_SERVER:9292