Skip to content

carlospuk/windows-integration

 
 

Repository files navigation

windows-integration - driverless edition 2012

This is a modified version of the main Eucalyptus windows integration service that does the following:

  • Installs and runs on Windows Server 2012 so you can install the Eucalyptus Windows Service
  • Correctly runs SysPrep without crashing
  • Performs additional Win-2012 specific registry key changes required.
  • Contains no PV drivers, so you can 'roll your own'.

The main changes to the solution are:

  • All PV drivers have been removed
  • Solution is re-built against .NET 4 (.NET 3.5 not installed on WinServer 2012 by default)
  • Solution architecture is now AnyCPU so that SysPrep.exe runs.
  • Added Windows Server 2012 OS detection & corresponding answers file
  • Added code to insert Win2012 OOBE registry keys
  • Added Win2012-specific tab to GUI to add the registry keys as a standalone process
  • Added notes to install GUI to warn users about lack of drivers.

It's designed to be packaged into an .ISO with the latest Fedora drivers for KVM - for this reason, the installation GUI prints a note to users that they can point device manager at the .ISO to update the drivers.

You can download the latest pre-built .iso from here: http://static.fatattitude.com/Dump/eucalyptus-windows-integration-2012-driverless.zip

IMPORTANT - The Eucalyptus Windows Service installs correctly and also injects the new Administrator password correctly into running instances, but at the moment I've experienced inconsistent results testing with Windows Server 2012 Essentials - sometimes the installation will fail while configuring itself.

The notes below are left unchanged from the original:

Eucalyptus windows integration is an implementation of Windows Service that runs in the Windows VM instances to prepare the VMs to work with Eucalyptus backend. The installation and usage manuals can be found at http://www.eucalyptus.com/docs.

The tool is primarily written in C# and has been tested with Visual Studio 2010 SP1.

BUILDING

  1. git clone windows-integration.

  2. If neccessry, update reference to ICSharpCode.SharpZipLib.dll.

2a. Start ->Programs -> Visual Studio 2010.

2b. Nagivate to <Github_path>/windows-integration

  Ensure the  windows-integration/EucaWindowsService->References has
  "ICSharpCode.SharpZipLib" and it is not highlighted with  YELLOW BANG "!".

  If may be necessary to delete ICSharpCode.SharpZipLib  property 
  and add it again:

 DELETE:

 - Open "windows-integration/EucaWindowsService->References"
 - Right Click on ICSharpCode.SharpZipLib, and "Delete" 

 ADD:

 - Open "windows-integration/EucaWindowsService->References"
 - Right Click -> "Add references" 
 - Browse to the directory that includes "ICSharpCode.SharpZipLib" and select.
  1. Select Eucalyptus Package project and build.

  2. After the build is complete, the executables can be found at windows-integration/EucalyptusPackage/Debug Windows 2008 and later: EucalyptusWindowsIntegration.msi
    Windows 2003: setup.exe (includes .NET 2.0 redistributable)

INSTALLATION

  1. Before bundling and registering the Windows VMs to Eucalyptus, the executables should be copied to Windows VMs and be installed.
  2. During the installation, either Virtio (KVM) or XEN PV drivers (Xen) will be installed. Make sure the Windows device manager detects the driver correctly.
  3. For more details, refer to Eucalyptus Administration Guide (Managing images > Create an image > Create Windows image)

About

Eucalyptus Windows Integration tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.9%
  • Visual Basic .NET 1.9%
  • Other 0.2%