SlideShare a Scribd company logo
1 of 25
Download to read offline
Grizzly/Hyper-V
Preview
PETER POULIOT, CISSP
MICROSOFT N.E.R.D. - CAMBRIDGE, MA
Intro
   Peter Pouliot, CISSP
   PPouliot@microsoft.com
   Education:
        BA Philosophy - Rhode Island College
        Certificate Windows NT Administration - Boston University CEC
        Oracle DBA 8i – Oracle University
        MS Telecommunication Security - Boston University MET College
        Graduate Certificate Digital Forensics - Boston University MET College
   Certifications:
        CISSP, MCSE+I, MCT (NT4/2000), OCP (8i), Network+
   Spent last 9 years working on Datacenter Operations and Linux/Windows interoperability for
    Ximian/Novell/SuSE.
   May 2011 Deployed first Openstack/Hyper-V cloud while working in the Novell/Microsoft Joint
    Interoperability Lab
   March 2012 Started working to OpenStack for Micrsoft
Hyper-V Compute
OpenStack can utilize the key features of Windows Server
2012 Virtualization Platform
OpenStack Grizzly Hyper-V

   Nova Grizzly Compute for Hyper-V
   Quantum Agent for Hyper-V
   Cloudinit functionality for Windows Workloads
   Cinder for Windows Storage Server
   FreeRDP Gateway
   Puppet Windows PE Provisioning.
Architecture 1
Hyper-V driver

 WMI
       Currently V1 namespace (root/virtualization)
       V2 namespace used for live migration
       Complete migration to V2 for Havana
 Grizzly OS support
       Windows Server / Hyper-V 2008 R2, 2012
       Windows 8 supported for development
 Havana OS Support
       New features will target 2012 and above only
Hyper-V driver disks

    Copy on write (CoW) implemented with differencing disks
        Reconnected and merged during snapshots
        Reconnected and merged on resize
             Not necessary for VHDX (Havana)
Architecture 2
Quantum

    Network connectivity as a service
    Plugin based architecture
    Official plugins:
         Open vSwitch
         Cisco UCS/Nexus
         Linux bridge
         Nicira NVP
         Ryu OpenFlow
         NEC OpenFlow
         Big Switch OpenFlow
         Hyper-V
Hyper-V plugin

 Quantum plugin
        Runs in quantum-server
        Database based configuration
              Networks, subnets, ports

 Quantum agent
        Runs on any compute node
        Supports:
              Local (private vSwitch)
              Flat
              VLAN
              NVGRE (Havana)
        Communicates with plugin via AMQP
 L3 support:
        Using the Linux L3 and DHCP plugins
Hyper-V plugin

 Nova compute driver
       Creates the vNics (one per network)
       Does not connect them
 Quantum agent
       Creates the vswitch ports
       Sets the VLAN ID and proper vswitch mode
       For NVGRE creates instances of:
            MSFT_NetVirtualizationLookupRecordSettingData
            etc
Horizon

    Main UI
    Implemented in Python with Django
        Typically deployed on Apache with mod_wsgi
    Includes console access
        Currently only VNC
        RDP to be added for Havana
Hyper-V console

 Hyper-V provides console access via RDP, but using additional settings
 compared to a standard RDP connection
       Port: 2179 (instead of 3389)
       PCB: preconnection blob, contains the VM ID (a GUID)
       Passing the PCB is possible using:
            The Microsoft remote Desktop ActiveX control
            FreeRDP
FreeRDP

 Our solution is based on FreeRDP
       Fork is going to be merged with main repository
 Open Source RDP client (Apache 2)
       https://github.com/FreeRDP/FreeRDP
 Works on Linux, Windows and Mac OS X
 Web gateway based on FreeRDP-WebConnect
       https://github.com/FreeRDP/FreeRDP-WebConnect
Web Gateway

 Client
         HTML5
         Works on any modern browser
         Web sockets for data transfer
         Canvas for painting
         Can be embedded in any web site
 Server proxy
         (wsgate) written in C++
         Currently working on Linux
              can work on Windows
Dashboard integration

 Decoupling from VNC
         Create plugin that embed the canvas in the Dashboard


 Authentication layer
         Keystone token validation


 Logic for retrieving VM id from OpenStack instance ID
         Ask Nova about the instance details, in particular the Hyper-V host running it
         Get cached hypervisor credentials from keyring or similar
         Query the Hyper-V host about the RDP console port (2179 by default)
         Retrieve the VM id from the host given the instance name
         Perform connection via wsgate


 Alessandro Pilotti, Cloudbase Solutions, Webcast: http://bit.ly/VgwMvs
Instance initialization

 Guests require cloud specific customization on startup, e.g.:
       Hostname
       SSH keys
       Users / groups, password management
       Partition resize
       Static network configuration
       Custom scripts
            On Windows: Powershell, cmd.exe, bash
Metadata access

    Metadata needs to be provided to the guest:
        Metadata API, accessed via 169.254.169.254
             Openstack or EC2 format
        ConfigDriveV2
Cloud-Init

 Project provided by Canonical
        Currently Linux specific
        GPL
    Windows Cloud-Init (cloudbase-init)
        Written in Python
        Apache 2
        Very easy to install
        Supports any Hypervisor
Windows Cloud-Init
Windows images

    Create VM
    Install OS
         Manual or unattended setup
         On KVM include VirtIO drivers
         Keep partition sizes as small as possible
    Apply SP / updates
    Install Windows Cloud-Init
    Sysprep
    Shutdown
    Copy instance to Glance
Nova Compute Installer
Nova Compute Installer

    Provides a very simple way to install OpenStack on a Windows
     compute node
    Can be executed fully unattended
    Installs a complete Python environment
    Generates Nova and Quantum configuration files
    Based on user input:
        Creates external virtual switches
        Installs the Quantum Hyper-V agent
        Enables live migration
        Enables the iScsi initiator service
Puppet Manifests for Windows/Linux
Provisioning
    Puppet manifests for complete windows pxe deployment
    Compute pxe infrastructure to programmatically boot all openly
     available linux distributions
    Integration from wireline provisioning through configuration
     management.
OpenStack/Hyper-V Demo

    Nova Compute Installer
    Hyper-V Quantum Agent
    RDP Gateway
    Windows Provisioning Automation

More Related Content

What's hot

Docker and OpenStack Boston Meetup
Docker and OpenStack Boston MeetupDocker and OpenStack Boston Meetup
Docker and OpenStack Boston Meetup
Kamesh Pemmaraju
 

What's hot (20)

Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
Docker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slidesDocker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slides
 
Docker networking Tutorial 101
Docker networking Tutorial 101Docker networking Tutorial 101
Docker networking Tutorial 101
 
Intro- Docker Native for OSX and Windows
Intro- Docker Native for OSX and WindowsIntro- Docker Native for OSX and Windows
Intro- Docker Native for OSX and Windows
 
LinuxKit Deep Dive
LinuxKit Deep DiveLinuxKit Deep Dive
LinuxKit Deep Dive
 
Docker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental NetworkingDocker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental Networking
 
Docker engine - Indroduc
Docker engine - IndroducDocker engine - Indroduc
Docker engine - Indroduc
 
Docker 1.12 networking deep dive
Docker 1.12 networking deep diveDocker 1.12 networking deep dive
Docker 1.12 networking deep dive
 
Docker Networking Tip - Load balancing options
Docker Networking Tip - Load balancing optionsDocker Networking Tip - Load balancing options
Docker Networking Tip - Load balancing options
 
Docker open stack boston
Docker open stack bostonDocker open stack boston
Docker open stack boston
 
OSCON: System software goes weird
OSCON: System software goes weirdOSCON: System software goes weird
OSCON: System software goes weird
 
Docker and OpenStack Boston Meetup
Docker and OpenStack Boston MeetupDocker and OpenStack Boston Meetup
Docker and OpenStack Boston Meetup
 
Linux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy serversLinux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy servers
 
Deeper Dive in Docker Overlay Networks
Deeper Dive in Docker Overlay NetworksDeeper Dive in Docker Overlay Networks
Deeper Dive in Docker Overlay Networks
 
Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker Orchestration at Production Scale
Docker Orchestration at Production Scale
 
Docker Presentation
Docker PresentationDocker Presentation
Docker Presentation
 
"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library Hypervisor
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013
 
Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018
 

Similar to Hyper-V support for OpenStack Grizzly

Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
Alessandro Pilotti
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
Dan Wendlandt
 
Win08 R2 It Pro Overview
Win08 R2 It Pro OverviewWin08 R2 It Pro Overview
Win08 R2 It Pro Overview
guest092b9a8
 
Windows Server 2008 R2
Windows Server 2008 R2Windows Server 2008 R2
Windows Server 2008 R2
Rishu Mehra
 

Similar to Hyper-V support for OpenStack Grizzly (20)

Open stack icehouse microsoftupdate
Open stack icehouse microsoftupdateOpen stack icehouse microsoftupdate
Open stack icehouse microsoftupdate
 
An HTML5 client to connect to the Hyper-V console
An HTML5 client to connect to the Hyper-V consoleAn HTML5 client to connect to the Hyper-V console
An HTML5 client to connect to the Hyper-V console
 
Folsom Summit - Hyper-V Deep Dive
Folsom Summit - Hyper-V Deep Dive Folsom Summit - Hyper-V Deep Dive
Folsom Summit - Hyper-V Deep Dive
 
OpenStack and Windows - What's new in Ocata
OpenStack and Windows - What's new in OcataOpenStack and Windows - What's new in Ocata
OpenStack and Windows - What's new in Ocata
 
Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
 
OSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and WindowsOSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and Windows
 
20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day
 
ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)
ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)
ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)
 
Proxmox for DevOps
Proxmox for DevOpsProxmox for DevOps
Proxmox for DevOps
 
Full on Demo on Setting up High Availability Virtual Machine
Full on Demo on Setting up High Availability Virtual MachineFull on Demo on Setting up High Availability Virtual Machine
Full on Demo on Setting up High Availability Virtual Machine
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
Win08 R2 It Pro Overview
Win08 R2 It Pro OverviewWin08 R2 It Pro Overview
Win08 R2 It Pro Overview
 
Windows Server 2008 R2
Windows Server 2008 R2Windows Server 2008 R2
Windows Server 2008 R2
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
 
Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5
 
Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)
 
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
 
Puppet + Windows Nano Server
Puppet + Windows Nano ServerPuppet + Windows Nano Server
Puppet + Windows Nano Server
 

More from Kamesh Pemmaraju

Software Defined Networking
Software Defined Networking Software Defined Networking
Software Defined Networking
Kamesh Pemmaraju
 

More from Kamesh Pemmaraju (20)

kamesh Videos
kamesh Videoskamesh Videos
kamesh Videos
 
OpenStack networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgridOpenStack networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgrid
 
Mirantis OpenStack and Cumulus Linux Webinar
Mirantis OpenStack and Cumulus Linux WebinarMirantis OpenStack and Cumulus Linux Webinar
Mirantis OpenStack and Cumulus Linux Webinar
 
Designing OpenStack Architectures
Designing OpenStack ArchitecturesDesigning OpenStack Architectures
Designing OpenStack Architectures
 
New Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference ArchitecturesNew Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference Architectures
 
OpenStack and Ceph case study at the University of Alabama
OpenStack and Ceph case study at the University of AlabamaOpenStack and Ceph case study at the University of Alabama
OpenStack and Ceph case study at the University of Alabama
 
High Availability for OpenStack
High Availability for OpenStackHigh Availability for OpenStack
High Availability for OpenStack
 
OpenStack 101 update
OpenStack 101 updateOpenStack 101 update
OpenStack 101 update
 
Dell openstack cloud with inktank ceph – large scale customer deployment
Dell openstack cloud with inktank ceph – large scale customer deploymentDell openstack cloud with inktank ceph – large scale customer deployment
Dell openstack cloud with inktank ceph – large scale customer deployment
 
Whats new in neutron for open stack havana
Whats new in neutron for open stack havanaWhats new in neutron for open stack havana
Whats new in neutron for open stack havana
 
Postgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStackPostgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStack
 
Massachusetts Open Cloud Initiative
Massachusetts Open Cloud InitiativeMassachusetts Open Cloud Initiative
Massachusetts Open Cloud Initiative
 
Dell SUSE Cloud Solution, Powered by OpenStack
Dell SUSE Cloud Solution, Powered by OpenStackDell SUSE Cloud Solution, Powered by OpenStack
Dell SUSE Cloud Solution, Powered by OpenStack
 
Ceph and openstack at the boston meetup
Ceph and openstack at the boston meetupCeph and openstack at the boston meetup
Ceph and openstack at the boston meetup
 
Solving Business Challenges with OpenStack
Solving Business Challenges with OpenStackSolving Business Challenges with OpenStack
Solving Business Challenges with OpenStack
 
Openstack 101
Openstack 101Openstack 101
Openstack 101
 
Software Defined Networking
Software Defined Networking Software Defined Networking
Software Defined Networking
 
Open stack qa and tempest
Open stack qa and tempestOpen stack qa and tempest
Open stack qa and tempest
 
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
Wicked Easy Ceph Block Storage & OpenStack Deployment with CrowbarWicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
 
Pyrax talk
Pyrax talkPyrax talk
Pyrax talk
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Hyper-V support for OpenStack Grizzly

  • 2. Intro  Peter Pouliot, CISSP  PPouliot@microsoft.com  Education:  BA Philosophy - Rhode Island College  Certificate Windows NT Administration - Boston University CEC  Oracle DBA 8i – Oracle University  MS Telecommunication Security - Boston University MET College  Graduate Certificate Digital Forensics - Boston University MET College  Certifications:  CISSP, MCSE+I, MCT (NT4/2000), OCP (8i), Network+  Spent last 9 years working on Datacenter Operations and Linux/Windows interoperability for Ximian/Novell/SuSE.  May 2011 Deployed first Openstack/Hyper-V cloud while working in the Novell/Microsoft Joint Interoperability Lab  March 2012 Started working to OpenStack for Micrsoft
  • 3. Hyper-V Compute OpenStack can utilize the key features of Windows Server 2012 Virtualization Platform
  • 4. OpenStack Grizzly Hyper-V  Nova Grizzly Compute for Hyper-V  Quantum Agent for Hyper-V  Cloudinit functionality for Windows Workloads  Cinder for Windows Storage Server  FreeRDP Gateway  Puppet Windows PE Provisioning.
  • 6. Hyper-V driver WMI  Currently V1 namespace (root/virtualization)  V2 namespace used for live migration  Complete migration to V2 for Havana Grizzly OS support  Windows Server / Hyper-V 2008 R2, 2012  Windows 8 supported for development Havana OS Support  New features will target 2012 and above only
  • 7. Hyper-V driver disks  Copy on write (CoW) implemented with differencing disks  Reconnected and merged during snapshots  Reconnected and merged on resize  Not necessary for VHDX (Havana)
  • 9. Quantum  Network connectivity as a service  Plugin based architecture  Official plugins:  Open vSwitch  Cisco UCS/Nexus  Linux bridge  Nicira NVP  Ryu OpenFlow  NEC OpenFlow  Big Switch OpenFlow  Hyper-V
  • 10. Hyper-V plugin Quantum plugin  Runs in quantum-server  Database based configuration  Networks, subnets, ports Quantum agent  Runs on any compute node  Supports:  Local (private vSwitch)  Flat  VLAN  NVGRE (Havana)  Communicates with plugin via AMQP L3 support:  Using the Linux L3 and DHCP plugins
  • 11. Hyper-V plugin Nova compute driver  Creates the vNics (one per network)  Does not connect them Quantum agent  Creates the vswitch ports  Sets the VLAN ID and proper vswitch mode  For NVGRE creates instances of:  MSFT_NetVirtualizationLookupRecordSettingData  etc
  • 12. Horizon  Main UI  Implemented in Python with Django  Typically deployed on Apache with mod_wsgi  Includes console access  Currently only VNC  RDP to be added for Havana
  • 13. Hyper-V console Hyper-V provides console access via RDP, but using additional settings compared to a standard RDP connection  Port: 2179 (instead of 3389)  PCB: preconnection blob, contains the VM ID (a GUID)  Passing the PCB is possible using:  The Microsoft remote Desktop ActiveX control  FreeRDP
  • 14. FreeRDP Our solution is based on FreeRDP  Fork is going to be merged with main repository Open Source RDP client (Apache 2)  https://github.com/FreeRDP/FreeRDP Works on Linux, Windows and Mac OS X Web gateway based on FreeRDP-WebConnect  https://github.com/FreeRDP/FreeRDP-WebConnect
  • 15. Web Gateway Client  HTML5  Works on any modern browser  Web sockets for data transfer  Canvas for painting  Can be embedded in any web site Server proxy  (wsgate) written in C++  Currently working on Linux  can work on Windows
  • 16. Dashboard integration Decoupling from VNC  Create plugin that embed the canvas in the Dashboard Authentication layer  Keystone token validation Logic for retrieving VM id from OpenStack instance ID  Ask Nova about the instance details, in particular the Hyper-V host running it  Get cached hypervisor credentials from keyring or similar  Query the Hyper-V host about the RDP console port (2179 by default)  Retrieve the VM id from the host given the instance name  Perform connection via wsgate Alessandro Pilotti, Cloudbase Solutions, Webcast: http://bit.ly/VgwMvs
  • 17. Instance initialization Guests require cloud specific customization on startup, e.g.:  Hostname  SSH keys  Users / groups, password management  Partition resize  Static network configuration  Custom scripts  On Windows: Powershell, cmd.exe, bash
  • 18. Metadata access  Metadata needs to be provided to the guest:  Metadata API, accessed via 169.254.169.254  Openstack or EC2 format  ConfigDriveV2
  • 19. Cloud-Init Project provided by Canonical  Currently Linux specific  GPL  Windows Cloud-Init (cloudbase-init)  Written in Python  Apache 2  Very easy to install  Supports any Hypervisor
  • 21. Windows images  Create VM  Install OS  Manual or unattended setup  On KVM include VirtIO drivers  Keep partition sizes as small as possible  Apply SP / updates  Install Windows Cloud-Init  Sysprep  Shutdown  Copy instance to Glance
  • 23. Nova Compute Installer  Provides a very simple way to install OpenStack on a Windows compute node  Can be executed fully unattended  Installs a complete Python environment  Generates Nova and Quantum configuration files  Based on user input:  Creates external virtual switches  Installs the Quantum Hyper-V agent  Enables live migration  Enables the iScsi initiator service
  • 24. Puppet Manifests for Windows/Linux Provisioning  Puppet manifests for complete windows pxe deployment  Compute pxe infrastructure to programmatically boot all openly available linux distributions  Integration from wireline provisioning through configuration management.
  • 25. OpenStack/Hyper-V Demo  Nova Compute Installer  Hyper-V Quantum Agent  RDP Gateway  Windows Provisioning Automation