Jump to: navigation, search

XenServer/PostInstall

< XenServer
Revision as of 20:03, 18 July 2012 by JohnGarbutt (talk)

Post Install steps to prepare XenServer for OpenStack

Some hints on preparing your XenServer machine to work with OpenStack.

Storage

You must ensure you correctly selected EXT storage for your local SR during the install process. It may have been called "XenDesktop Optimised" storage.

If you have an LVM based local SR, you will find that many of the OpenStack features will not work (due to the need for easy access to the raw VHD files).

XenAPI Plugins

Only needed if not using DevStack.

OpenStack has some plugins to XenAPI. These must be installed in either:

  • /etc/xapi.d/plugins/ (XenServer)
  • /usr/lib/xcp/plugins/ (XCP on Ubuntu, aka Kronos)

You can get the plugins from here: https://github.com/openstack/nova/tree/master/plugins/xenserver/xenapi

Please note the plugins will not work correctly if they are not executable. They should have the correct permission in GitHub, but take care not to loose them when you copy them onto your XenServer host.

VIF Isolation Rules

Only needed if not using DevStack.

There are some docs on this here: https://github.com/openstack/nova/blob/master/plugins/xenserver/doc/networking.rst

You can get these from here: https://github.com/openstack/nova/tree/master/plugins/xenserver/networking

SSH configuration

To allow features like resize where a vhd disk is copied using ssh and rsyc, you will need to configure password-less login between all your XenServer hosts.

You can find much information on how to do this. One such source is: http://www.eng.cam.ac.uk/help/jpmg/ssh/authorized_keys_howto.html

Required Directories

It would seem to make resize work, you need to run the following command on your XenServer hosts:


mkdir /images


Install Python 2.6 in Dom0

When running the quantum agent you may find you need to install python26 in Dom0.

The best way is to use the latest package from EPEL:

wget http://mirrors.coreix.net/fedora-epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
yum --enablerepo=epel --disablerepo=citrix install python26


Supplimental Packs

XenServer and the binary XCP distribution have the ability to have supplemental packs. Once these are ready, all the following steps can be performed by a set of OpenStack supplemental packs.

There are plans to build a supplemental pack that can fetch and install a pre-prepared DomU templated.

One big advantage of having these packs, is that they can be installed as part of a PXE install of XenServer.