SlideShare a Scribd company logo
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

PPTX
Docker Networking Overview
PPTX
Docker Networking - Common Issues and Troubleshooting Techniques
PDF
SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"
PDF
High availability virtualization with proxmox
PDF
Advanced Docker Developer Workflows on MacOS X and Windows
PPTX
Proxmox 4.2 usage in the Standards Interoperability PLM Project
PDF
Introduction to Docker
PDF
[workshop] The Revolutionary WebRTC
Docker Networking Overview
Docker Networking - Common Issues and Troubleshooting Techniques
SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"
High availability virtualization with proxmox
Advanced Docker Developer Workflows on MacOS X and Windows
Proxmox 4.2 usage in the Standards Interoperability PLM Project
Introduction to Docker
[workshop] The Revolutionary WebRTC

What's hot (20)

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

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

PPTX
OpenStack and Windows
PDF
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
PPTX
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
PDF
Folsom Summit - Hyper-V Deep Dive
PDF
OpenStack - JobShop @Iași, 2016
PPTX
Open stack icehouse microsoftupdate
PPTX
Nova for Physicalization and Virtualization compute models
PPTX
Supporting Hyper-V 3.0 on Apache CloudStack
PPTX
Open stack + Containers + Hyper-V
PPTX
Hyper-V OpenStack Nova Compute
PPTX
An Intrudction to OpenStack 2017
PDF
2011 Essex Summit: Openstack/Hyper-V clouds
PPT
Automating Your CloudStack Cloud with Puppet
PDF
Open nebula froscon
PPTX
OpenStack and Windows - What's new in Ocata
PDF
Workshop eNovance/OpenStack 20-12-2012
PPTX
Xen Project Update LinuxCon Brazil
PPTX
Openstack win final
PPTX
Cloud computing virtualization
PPTX
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
OpenStack and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
Folsom Summit - Hyper-V Deep Dive
OpenStack - JobShop @Iași, 2016
Open stack icehouse microsoftupdate
Nova for Physicalization and Virtualization compute models
Supporting Hyper-V 3.0 on Apache CloudStack
Open stack + Containers + Hyper-V
Hyper-V OpenStack Nova Compute
An Intrudction to OpenStack 2017
2011 Essex Summit: Openstack/Hyper-V clouds
Automating Your CloudStack Cloud with Puppet
Open nebula froscon
OpenStack and Windows - What's new in Ocata
Workshop eNovance/OpenStack 20-12-2012
Xen Project Update LinuxCon Brazil
Openstack win final
Cloud computing virtualization
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
Ad

More from Kamesh Pemmaraju (20)

PPTX
kamesh Videos
PDF
OpenStack networking - Neutron deep dive with PLUMgrid
PDF
Mirantis OpenStack and Cumulus Linux Webinar
PDF
Designing OpenStack Architectures
PPTX
New Ceph capabilities and Reference Architectures
PPTX
OpenStack and Ceph case study at the University of Alabama
PDF
High Availability for OpenStack
PDF
OpenStack 101 update
PDF
Dell openstack cloud with inktank ceph – large scale customer deployment
PDF
Whats new in neutron for open stack havana
PDF
Postgres Plus Cloud Database on OpenStack
PDF
Massachusetts Open Cloud Initiative
PDF
Dell SUSE Cloud Solution, Powered by OpenStack
PDF
Ceph and openstack at the boston meetup
PDF
Solving Business Challenges with OpenStack
PDF
Openstack 101
PPTX
Software Defined Networking
PDF
Open stack qa and tempest
PDF
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
PPT
Pyrax talk
kamesh Videos
OpenStack networking - Neutron deep dive with PLUMgrid
Mirantis OpenStack and Cumulus Linux Webinar
Designing OpenStack Architectures
New Ceph capabilities and Reference Architectures
OpenStack and Ceph case study at the University of Alabama
High Availability for OpenStack
OpenStack 101 update
Dell openstack cloud with inktank ceph – large scale customer deployment
Whats new in neutron for open stack havana
Postgres Plus Cloud Database on OpenStack
Massachusetts Open Cloud Initiative
Dell SUSE Cloud Solution, Powered by OpenStack
Ceph and openstack at the boston meetup
Solving Business Challenges with OpenStack
Openstack 101
Software Defined Networking
Open stack qa and tempest
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
Pyrax talk

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Modernizing your data center with Dell and AMD
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Network Security Unit 5.pdf for BCA BBA.
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Monthly Chronicles - July 2025
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity
Modernizing your data center with Dell and AMD
Diabetes mellitus diagnosis method based random forest with bat algorithm
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

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