openstack-manuals/doc/src/docbkx/openstack-compute-admin/hyperv.xml

67 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Configuring OpenStack with Hyper-V</title>
<para>You can run OpenStack Compute with Hyper-V as the hypervisor to run Windows 2008 R2
Datacenter or Enterprise virtual instances. </para>
<section>
<title>Requirements</title>
<para>Supported Operating System: Windows 2008 R2 Datacenter or Enterprise (Note that licensing is limited on Enterprise.)</para>
<para>On the Compute node that is running Windows, install the following
dependencies.</para>
<itemizedlist><listitem><para>Python 2.6 (32 bit): <link xlink:href="http://www.python.org/download/releases/2.6.6/"
>http://www.python.org/download/releases/2.6.6/</link></para></listitem>
<listitem><para>Microsoft Visual C++ 2008 Redistributable Package: <link xlink:href="http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF">http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF</link></para></listitem>
<listitem><para>easy_install: <link xlink:href="http://pypi.python.org/pypi/setuptools#files">http://pypi.python.org/pypi/setuptools#files</link></para></listitem>
<listitem><para>Pywin32 214<link
xlink:href="http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download"
>http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download</link></para></listitem>
<listitem><para>Swig 2.0.1:<link xlink:href="http://sourceforge.net/projects/swig/"> http://sourceforge.net/projects/swig/</link></para></listitem>
<listitem><para>M2Crypto 0.19.1 <link xlink:href="http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.19.1.win32-py2.6.exe">http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.19.1.win32-py2.6.exe</link></para></listitem>
<listitem><para>MySQL-python 1.2.2: <link xlink:href="http://www.codegood.com/archives/4">http://www.codegood.com/archives/4</link></para></listitem>
</itemizedlist>
<para>Use easy_install to install the following additional requirements:</para>
<itemizedlist>
<listitem><para>pip</para></listitem>
<listitem><para>netaddr</para></listitem>
<listitem><para>paramiki</para></listitem>
<listitem><para>WMI 1.4.7</para></listitem>
<listitem><para>IPy 0.72</para></listitem>
<listitem><para>Markdown 2.0.3</para></listitem>
<listitem><para>SQLAlchemy 0.6.5</para></listitem>
<listitem><para>Twisted 10.2.0</para></listitem>
<listitem><para>amqplib 0.6.1</para></listitem>
<listitem><para>anyjson 0.3</para></listitem>
<listitem><para>boto 1.9b</para></listitem>
<listitem><para>carrot 0.10.7</para></listitem>
<listitem><para>eventlet 0.9.13</para></listitem>
<listitem><para>greenlet 0.3.1</para></listitem>
<listitem><para>mox 0.5.3</para></listitem>
<listitem><para>python-gflags 1.4</para></listitem>
<listitem><para>tornado 1.1</para></listitem>
<listitem><para>zope.interface 3.6.1</para></listitem></itemizedlist>
</section>
<section><title>Installation Architecture</title><para>With Hyper-V integration, the nova-compute service runs on a Windows server and the remaining nova- services run on Linux servers.</para></section>
<section><title>Configuring OpenStack Compute (Nova) to use Hyper-V</title><para>Configure Windows Server for the Compute Node </para>
<para>Install Dependencies </para>
<para>Setting up the Nova Environment </para>
<para>Configure nova.conf flags for Hyper-V</para></section>
<section><title>Running Nova with Hyper-V</title><para>Managing instances running Hyper-V</para></section>
<section><title>Preparing Images for use with Hyper-V</title>
<para>Install a new virtual machine on Hyper-V to create a VHD file using <link xlink:href="http://technet.microsoft.com/en-us/library/cc732470%28WS.10%29.aspx#BKMK_step3">instructions from Microsoft</link>. </para>
<para>The VHD file is usually saved in C:\Users\Public\Documents\Hyper-V\Virtual hard disks.
If using a local copy (when use_s3=False in your nova.conf), copy this to
C:\Users\Public\Documents\Hyper-V\Virtual hard disks\images\&lt;image name&gt;\image.
Note this is "image" not "image.vhd" - no file extension. The VHD file needs to be
renamed to just "image" in the directory with the name of the image. </para></section>
</chapter>