Install XenServer
Before you can run OpenStack with XenServer, you must install the
hypervisor on
an appropriate server
.
Xen is a type 1 hypervisor: When your server starts, Xen is the
first software that runs. Consequently, you must install XenServer
before you install the operating system where you want to run
OpenStack code. You then install
nova-compute into a
dedicated virtual machine on the host.
Use the following link to download XenServer's installation media:
http://xenserver.org/open-source-virtualization-download.html
When you install many servers, you might find it easier to perform
PXE boot installations
. You can also package any post-installation changes that you want to
make to your XenServer by following the instructions of
creating your own XenServer supplemental pack
.
Make sure you use the EXT type of storage repository (SR). Features
that require access to VHD files (such as copy on write, snapshot
and migration) do not work when you use the LVM SR. Storage
repository (SR) is a XAPI-specific term relating to the physical
storage where virtual disks are stored.
On the XenServer installation screen, choose the
XenDesktop Optimized
option. If you use an answer file, make sure you use
srtype="ext"
in the
installation
tag of the answer file.
Post-installation steps
The following steps need to be completed after the hypervisor's
installation:
For resize and migrate functionality, enable password-less
SSH authentication and set up the
/images
directory on dom0.
Install the XAPI plug-ins.
To support AMI type images, you must set up
/boot/guest
symlink/directory in dom0.
Create a paravirtualized virtual machine that can run
nova-compute.
Install and configure
nova-compute
in the above virtual machine.