Jump to: navigation, search

HypervInstall

Revision as of 01:39, 5 January 2011 by Chiradeep (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hyper-v Development

<<TableOfContents()>>

Prepare Windows

Configure Windows

  • Supported OS: Windows 2008 R2 Datacenter
  • Initial Configuration Tasks -> add role -> Hyper-v
  • Initial Configuration Tasks -> addf features -> remote server administration tools, .Net Framework 3.5.1

Install dependencies

Note that Windows 2008 can only run the compute manager and not any other.

python 2.6 (32 bit)
Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
easy_install
pip
pywin32==214 (http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download)
Swig=2.0.1 (http://sourceforge.net/projects/swig/)
WMI==1.4.7
M2Crypto==0.19.1 (http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.19.1.win32-py2.6.exe)
MySQL-python==1.2.2 (http://www.codegood.com/archives/4)
IPy==0.72
Markdown==2.0.3
SQLAlchemy==0.6.5
Twisted==10.2.0
amqplib==0.6.1
anyjson==0.3
boto==1.9b
carrot==0.10.7
eventlet==0.9.13
greenlet==0.3.1
mox==0.5.3
python-gflags==1.4
tornado==1.1
zope.interface==3.6.1


Setup development branch

Install bzr 32 bit from http://launchpad.net/bzr/2.3/2.3b3/+download/bzr-2.3b3.win32-py2.6.exe

mkdir c:\openstack 
cd c:\openstack

bzr whoami "Your Name <first.last@doman.tld>"
bzr lp-login <LP ID>
bzr init-repo .

bzr branch lp:nova


Configure Nova flags on Hyper-V

cd nova\bin

type nova.conf 
--verbose
--nodaemon
--fake_network=True
--network_manager=nova.network.manager.FlatDHCPManager
--cc_host=<cc host>
--routing_source_ip=<cc host>
--auth_driver=nova.auth.dbdriver.DbDriver
--connection_type=hyperv
--rabbit_host=<rabbit host>
--sql_connection=mysql://<user:password>@dbserver/nova
--use_s3=False
--images_path=C:\Users\Public\Documents\Hyper-V\Virtual hard disks\images
--instances_path=C:\Users\Public\Documents\Hyper-V\Virtual hard disks\instances
--s3_host=<s3 host>