SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
OpenStack	
  and	
  Windows	
  

Alessandro	
  Pilo5	
  
CEO	
  
@cloudbaseit	
  
Agenda
• 
• 
• 
• 
• 

Windows as a guest
Windows licensing on OpenStack
Heat templates
Windows hypervisor (Hyper-V)
Crowbar and SUSE Cloud 2
Windows as a guest
•  Can be executed on any hypervisor used in
Nova
•  No differences compared to Linux for
image handling (glance etc)
•  Images are tipically sysprepped
–  Why?
–  It can be avoided to speed up boot times
Synthetic drivers
•  Modern Hypervisors provide drivers to replace
emulated devices with synthetic ones
–  Network adapters, etc

•  Hyper-V
–  Integration components / LIS

•  KVM
–  VirtIO

•  VMWare
–  VMWare Tools

•  XenServer / XCP
–  XenServer Tools
Cloudbase-Init
•  100% Python code
•  Wrapped in a Windows service
•  Plugin based architecture:
–  Each plugin can be executed once or more
times at boot
–  Status for each plugin is mantained in the
registry
Cloudbase-Init installer
Cloudbase-Init installer
Most important plugins
•  CreateUser
•  SetUserPassword
•  SetHostName
–  Requires a reboot

•  SSHPublicKeys
•  ExtendVolumes
–  Useful for different flavors / resizes

•  User data
–  Including multipart: Heat!!
Sysprep
•  Prepares a Windows image to be
distributed
–  Typically on large scales

•  Run before distributing any Windows
image
•  OOBE
–  Out of the box experience
–  Normally used to let the user customize the
system
SSH Equivalent?
•  It exists: WSMan / WinRM
•  Execute remote command via HTTP / HTTPS
•  Can be used for remote PowerShell or from
Linux
•  Configuration example:
–  https://github.com/cloudbase/unattended-setupscripts/blob/master/SetupWinRMAccess.ps1
OpenStack WS2012 R2
OpenStack WS2012 R2
•  Complete with:
–  Drivers / tools:
•  VirtIO, etc

–  Cloudbase-Init
–  Sysprepped

•  Eval edition can be upgraded with a simple
uder_data script:
–  DISM /online /Set-Edition:ServerStandard /
ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /
AcceptEula
–  Make sure to respect the eval license!!
How to build an image?
•  Windows has the equivalent of a kickstart /
preseed
–  https://github.com/cloudbase/windowsopenstack-imaging-tools

•  We get lots of questions about how to build
those images
•  This project automates the entire process
Lincensing
•  Windows is surprising in OpenStack
–  Datacenter license => unlimited instances
–  1 license per socket
–  Works with Hyper-V, VMWare, KVM, etc
–  The cost is 3 EUR / Month per VM with a
density of 50 VM / host

•  Volume licensing
•  Multitenant? SPLA
SVVP support
•  Windows guests are supported on:
–  Hyper-V

•  SVVP
–  Windows Server Virtualization Validation
Program
–  http://www.windowsservercatalog.com/
svvp.aspx

•  Red Hat, VMWare, SUSE
•  Your solution is not there?
–  Microsoft won’t give you support
Heat
•  Heat and Windows are a great mix
•  Templates for:
–  Active directory
–  Exchange (multi server)
–  Sharepoint (multi server)
–  SQL Server
–  IIS

•  No need to know the provisioning details
Hyper-V
•  Setup is very easy
•  Our Nova driver is at it’s 3rd release!
–  Folsom, Grizzly, Havana

• 
• 
• 
• 

Support for Hyper-V 2012 R2
VHDX support
Ceilometer support
more…
Hyper-V 2012 availability
•  FREE edition
–  Full Hypervisor
–  Minimum OS support
•  Minimum impact on security updates, etc

•  Windows Server 2012
–  Just enable the related role

•  Windows 8
–  For workstation / testing / development usage
Hyper-V / Windows
Openstack components
• 
• 
• 
• 
• 

Nova Compute driver
Quantum plugin
Cinder Volume driver
Windows Cloud-Init
Ceilometer Agent (Havana)
Hyper-V Nova Compute
•  Python Application installed as an
application/service on the Hyper-V node.
•  OpenStack compute utilizes key features
baked into the Hyper-V Virtualization
Platform
•  Does not require windows clustering
services
•  Does not require shared storage
Neutron
•  Hyper-V plugin is part of Quantum since Jan
2013
–  Project renamed in Neutron since Havana

•  Supported network types:
– 
– 
– 
– 

VLAN
Flat
Local
NVGRE (Icehouse)

•  Plugin / agent model
–  Plugin runs in quantum-server (controller)
–  Agent runs on each Hyper-V compute node
Typical Neutron setup
Quantum Server

TenantCNet2
10.0.1.0/24
VLAN ID:3

Nova Services

L2 Agent
Nova Compute

Keystone
...
Controller Node

Management
Network

Compute Node
Data Network
VLAN

Network Node
External
Network
30.0.0.0/24
eth0

L3 Agent
DHCP Agent
L2 Agent

TenantANet1
10.0.0.0/24
VLAN ID:1
TenantANet1
10.0.0.0/24
VLAN ID:2
Neutron OVS interop
•  Quantum plugin / agent AMQP RPC protocol is
compatible with OpenVSwitch!
•  You can use the OVS plugin with Hyper-V
agents (or vice versa)
–  Limited to compatible L2 protocols: Flat / VLAN

•  You can use the L3 and DHCP agents with the
Hyper-V plugin
–  Using the OVS L2 agent on the networking nodes

•  Supports ML2 plugin!
Hyper-V OpenVSwitch!
We are officially porting
OpenVSwitch to Windows!
Why OpenVSwitch?
•  De facto standard for SDN
•  Great interoperability
–  Hyper-V / KVM / etc

•  OpenFlow
•  Tunnelling
–  VXLAN
–  GRE

•  Quantum OVS plugin
–  No need for a different one
Dashboard integration
•  Hyper-V uses RDP for accessing the console
instead of VNC
•  By default it accepts connections on port 2179
–  Not the RDP connection on 3389!
–  Access to any guest: Windows, Linux, FreeRDP, etc

•  The VM id is provided as part of an RDP
protocol additional buffer called PCB (Pre
Connection Buffer)
•  Authentication is performed against the host,
not the guest!
Nova Compute Installer
•  Independent Python environment to avoid
conflicts with existing applications
•  Installs and registers all the required
dependencies
•  Generates dynamically a nova.conf file based
on the parameters provided by the user
Nova Compute Installer
From our web site J
Puppet and Chef
•  Hyper-V compute nodes can be installed
via Puppet or Chef as well
•  Puppet
–  https://github.com/openstack-hyper-v/puppetopenstack_hyper_v

•  Chef
–  https://github.com/cloudbase/barclamphyperv-compute
Crowbar
• 
• 
• 
• 

Big part of Dell’s cloud strategy
Bare-metal deployment
vendor independent
PXE booting
–  Sledgehammer image boots and gets
configuration

•  Provisioning via Crowbar web site
•  Barclams
–  Configuration
–  Chef recipes
Crowbar + HyperV
SUSE Cloud 2.0
•  Supports Hyper-V and many other
hypervisor options
•  Based on Crowbar
–  Grizzly
–  Havana
Q&A	
  

Más contenido relacionado

La actualidad más candente

DockerCon SF 2015: Orchestration for Devs (machine + compose)
DockerCon SF 2015:  Orchestration for Devs (machine + compose)DockerCon SF 2015:  Orchestration for Devs (machine + compose)
DockerCon SF 2015: Orchestration for Devs (machine + compose)
Docker, Inc.
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
Nitin Mehta
 

La actualidad más candente (20)

OpenStack Framework Introduction
OpenStack Framework IntroductionOpenStack Framework Introduction
OpenStack Framework Introduction
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
 
How DreamHost builds a Public Cloud with OpenStack
How DreamHost builds a Public Cloud with OpenStackHow DreamHost builds a Public Cloud with OpenStack
How DreamHost builds a Public Cloud with OpenStack
 
An Evaluation of OpenStack Deployment Frameworks
An Evaluation of OpenStack Deployment FrameworksAn Evaluation of OpenStack Deployment Frameworks
An Evaluation of OpenStack Deployment Frameworks
 
Openstack components as containerized microservices
Openstack components as containerized microservicesOpenstack components as containerized microservices
Openstack components as containerized microservices
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
DockerCon SF 2015: Orchestration for Devs (machine + compose)
DockerCon SF 2015:  Orchestration for Devs (machine + compose)DockerCon SF 2015:  Orchestration for Devs (machine + compose)
DockerCon SF 2015: Orchestration for Devs (machine + compose)
 
CloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community worksCloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community works
 
VMware vSphere in an OpenStack Environment
VMware vSphere in an OpenStack EnvironmentVMware vSphere in an OpenStack Environment
VMware vSphere in an OpenStack Environment
 
DevCloud - Setup and Demo on Apache CloudStack
DevCloud - Setup and Demo on Apache CloudStack DevCloud - Setup and Demo on Apache CloudStack
DevCloud - Setup and Demo on Apache CloudStack
 
dodai grizzly
dodai grizzlydodai grizzly
dodai grizzly
 
DockerCon SF 2015: Orchestration for Sysadmins
DockerCon SF 2015: Orchestration for SysadminsDockerCon SF 2015: Orchestration for Sysadmins
DockerCon SF 2015: Orchestration for Sysadmins
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
 
Kubernetes for HCL Connections Component Pack - Build or Buy?
Kubernetes for HCL Connections Component Pack - Build or Buy?Kubernetes for HCL Connections Component Pack - Build or Buy?
Kubernetes for HCL Connections Component Pack - Build or Buy?
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud Environments
 
OpenStack Summit Vancouver: Lessons learned on upgrades
OpenStack Summit Vancouver:  Lessons learned on upgradesOpenStack Summit Vancouver:  Lessons learned on upgrades
OpenStack Summit Vancouver: Lessons learned on upgrades
 
Innovating faster with SBT, Continuous Delivery, and LXC
Innovating faster with SBT, Continuous Delivery, and LXCInnovating faster with SBT, Continuous Delivery, and LXC
Innovating faster with SBT, Continuous Delivery, and LXC
 
dodai_grizzly.pdf
dodai_grizzly.pdfdodai_grizzly.pdf
dodai_grizzly.pdf
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
Ceph with CloudStack
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStack
 

Destacado

Interoperable OpenStack guest provisioning with Cloudbase-Init
Interoperable OpenStack guest provisioning with Cloudbase-InitInteroperable OpenStack guest provisioning with Cloudbase-Init
Interoperable OpenStack guest provisioning with Cloudbase-Init
Alessandro Pilotti
 
Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
Alessandro Pilotti
 
70 533 - Module 02 : Implementing and Managing Virtual Networks
70 533 - Module 02 : Implementing and Managing Virtual Networks70 533 - Module 02 : Implementing and Managing Virtual Networks
70 533 - Module 02 : Implementing and Managing Virtual Networks
Georges-Emmanuel TOPE
 

Destacado (8)

70-533 -- Course Introduction
70-533 -- Course Introduction70-533 -- Course Introduction
70-533 -- Course Introduction
 
Interoperable OpenStack guest provisioning with Cloudbase-Init
Interoperable OpenStack guest provisioning with Cloudbase-InitInteroperable OpenStack guest provisioning with Cloudbase-Init
Interoperable OpenStack guest provisioning with Cloudbase-Init
 
Gm533finalprepapr2012
Gm533finalprepapr2012Gm533finalprepapr2012
Gm533finalprepapr2012
 
Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
 
70 533 - Module 01 - Introduction to Azure
70 533 - Module 01 - Introduction to Azure70 533 - Module 01 - Introduction to Azure
70 533 - Module 01 - Introduction to Azure
 
Ebook 70 533 implementing microsoft infrastructure solution
Ebook 70 533 implementing microsoft infrastructure solutionEbook 70 533 implementing microsoft infrastructure solution
Ebook 70 533 implementing microsoft infrastructure solution
 
70 533 - Module 02 : Implementing and Managing Virtual Networks
70 533 - Module 02 : Implementing and Managing Virtual Networks70 533 - Module 02 : Implementing and Managing Virtual Networks
70 533 - Module 02 : Implementing and Managing Virtual Networks
 
Microsoft certification exams 70 533
Microsoft certification exams 70 533Microsoft certification exams 70 533
Microsoft certification exams 70 533
 

Similar a OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows

Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 
Xen Cloud Platform by Tim Mackey
Xen Cloud Platform by Tim MackeyXen Cloud Platform by Tim Mackey
Xen Cloud Platform by Tim Mackey
buildacloud
 
Neutrondev ppt
Neutrondev pptNeutrondev ppt
Neutrondev ppt
marunewby
 

Similar a OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows (20)

OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016
 
Server virtualization 2
Server virtualization   2Server virtualization   2
Server virtualization 2
 
RMLL / LSM 2009
RMLL / LSM 2009RMLL / LSM 2009
RMLL / LSM 2009
 
Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
 
Open stack + Containers + Hyper-V
Open stack + Containers + Hyper-VOpen stack + Containers + Hyper-V
Open stack + Containers + Hyper-V
 
Linux on Hyper-V
Linux on Hyper-VLinux on Hyper-V
Linux on Hyper-V
 
Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux Virtualization
 
Simplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware AdministratorsSimplifying Hyper-V Management for VMware Administrators
Simplifying Hyper-V Management for VMware Administrators
 
Xen Cloud Platform by Tim Mackey
Xen Cloud Platform by Tim MackeyXen Cloud Platform by Tim Mackey
Xen Cloud Platform by Tim Mackey
 
Server 2016 sneak peek
Server 2016 sneak peekServer 2016 sneak peek
Server 2016 sneak peek
 
Intro to Deploying and administering server virtualization with Hyper-V and S...
Intro to Deploying and administering server virtualization with Hyper-V and S...Intro to Deploying and administering server virtualization with Hyper-V and S...
Intro to Deploying and administering server virtualization with Hyper-V and S...
 
Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3
 
Neutrondev ppt
Neutrondev pptNeutrondev ppt
Neutrondev ppt
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
Neutron scaling
Neutron scalingNeutron scaling
Neutron scaling
 
Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018Proxmox Talk - Linux Fest Northwest 2018
Proxmox Talk - Linux Fest Northwest 2018
 
Virtualizacao de Servidores - Windows
Virtualizacao de Servidores - WindowsVirtualizacao de Servidores - Windows
Virtualizacao de Servidores - Windows
 
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
 
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
 
Net Devops Overview
Net Devops OverviewNet Devops Overview
Net Devops Overview
 

Más de eNovance

OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
eNovance
 
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
eNovance
 
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick HamonOpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
eNovance
 
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
eNovance
 

Más de eNovance (20)

OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
OpenStack in Action! 5 - OpenStack Fundation - Behind the scenes: How we prod...
 
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
OpenStack in Action! 5 - Red Hat - Accelerate Your Business in the Open Hybri...
 
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick HamonOpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
OpenStack in Action! 5 - Dell - OpenStack powered solutions - Patrick Hamon
 
Ceph de facto storage backend for OpenStack
Ceph de facto storage backend for OpenStack Ceph de facto storage backend for OpenStack
Ceph de facto storage backend for OpenStack
 
OpenStack in Action 4! Doug hellman - Intersection of OpenStack and python co...
OpenStack in Action 4! Doug hellman - Intersection of OpenStack and python co...OpenStack in Action 4! Doug hellman - Intersection of OpenStack and python co...
OpenStack in Action 4! Doug hellman - Intersection of OpenStack and python co...
 
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
 
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...OpenStack in  Action 4! Serge Frezefond - Database Clusters as a Service in O...
OpenStack in Action 4! Serge Frezefond - Database Clusters as a Service in O...
 
OpenStack in Action 4! Sebastien Han - Ceph: de facto storage backend for Ope...
OpenStack in Action 4! Sebastien Han - Ceph: de facto storage backend for Ope...OpenStack in Action 4! Sebastien Han - Ceph: de facto storage backend for Ope...
OpenStack in Action 4! Sebastien Han - Ceph: de facto storage backend for Ope...
 
OpenStack in Action 4! Ryan Lane - Keep your service oriented reflexes with O...
OpenStack in Action 4! Ryan Lane - Keep your service oriented reflexes with O...OpenStack in Action 4! Ryan Lane - Keep your service oriented reflexes with O...
OpenStack in Action 4! Ryan Lane - Keep your service oriented reflexes with O...
 
OpenStack in action 4! Paul Cormier - Evolve to an Open Hybrid Cloud. Unleash...
OpenStack in action 4! Paul Cormier - Evolve to an Open Hybrid Cloud. Unleash...OpenStack in action 4! Paul Cormier - Evolve to an Open Hybrid Cloud. Unleash...
OpenStack in action 4! Paul Cormier - Evolve to an Open Hybrid Cloud. Unleash...
 
OpenStack in Action 4! Franz Meyer - What Use Case does Red Hat Enterprise ...
OpenStack in Action 4!   Franz Meyer - What Use Case does Red Hat Enterprise ...OpenStack in Action 4!   Franz Meyer - What Use Case does Red Hat Enterprise ...
OpenStack in Action 4! Franz Meyer - What Use Case does Red Hat Enterprise ...
 
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
 
OpenStack in Action 4! Rachid Boularas - Pragmatic Storage Solutions for Hava...
OpenStack in Action 4! Rachid Boularas - Pragmatic Storage Solutions for Hava...OpenStack in Action 4! Rachid Boularas - Pragmatic Storage Solutions for Hava...
OpenStack in Action 4! Rachid Boularas - Pragmatic Storage Solutions for Hava...
 
OpenStack in Action 4! Mark McCLain - From Segments to Services a Dive into O...
OpenStack in Action 4! Mark McCLain - From Segments to Services a Dive into O...OpenStack in Action 4! Mark McCLain - From Segments to Services a Dive into O...
OpenStack in Action 4! Mark McCLain - From Segments to Services a Dive into O...
 
OpenStack in Action 4! Julien Niedergang - SUSE Cloud: Openstack Ready for En...
OpenStack in Action 4! Julien Niedergang - SUSE Cloud: Openstack Ready for En...OpenStack in Action 4! Julien Niedergang - SUSE Cloud: Openstack Ready for En...
OpenStack in Action 4! Julien Niedergang - SUSE Cloud: Openstack Ready for En...
 
OpenStack in Action 4! Jean-Louis Lezaun - Re-architecturing the datacenter :...
OpenStack in Action 4! Jean-Louis Lezaun - Re-architecturing the datacenter :...OpenStack in Action 4! Jean-Louis Lezaun - Re-architecturing the datacenter :...
OpenStack in Action 4! Jean-Louis Lezaun - Re-architecturing the datacenter :...
 
OpenStack in Action 4! Heidi Bretz - State of OpenStack, what's new, the tech...
OpenStack in Action 4! Heidi Bretz - State of OpenStack, what's new, the tech...OpenStack in Action 4! Heidi Bretz - State of OpenStack, what's new, the tech...
OpenStack in Action 4! Heidi Bretz - State of OpenStack, what's new, the tech...
 
OpenStack in Action 4! Thierry Carrez - From Havana to Icehouse
OpenStack in Action 4! Thierry Carrez - From Havana to IcehouseOpenStack in Action 4! Thierry Carrez - From Havana to Icehouse
OpenStack in Action 4! Thierry Carrez - From Havana to Icehouse
 
OpenStack in Action 4! Nick Barcet & Julien Danjou - From ceilometer to telem...
OpenStack in Action 4! Nick Barcet & Julien Danjou - From ceilometer to telem...OpenStack in Action 4! Nick Barcet & Julien Danjou - From ceilometer to telem...
OpenStack in Action 4! Nick Barcet & Julien Danjou - From ceilometer to telem...
 
OpenStack in Action 4! Raphaël Ferreira & Laurent Letourmy - Build your Cloud...
OpenStack in Action 4! Raphaël Ferreira & Laurent Letourmy - Build your Cloud...OpenStack in Action 4! Raphaël Ferreira & Laurent Letourmy - Build your Cloud...
OpenStack in Action 4! Raphaël Ferreira & Laurent Letourmy - Build your Cloud...
 

Último

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows

  • 1. OpenStack  and  Windows   Alessandro  Pilo5   CEO   @cloudbaseit  
  • 2. Agenda •  •  •  •  •  Windows as a guest Windows licensing on OpenStack Heat templates Windows hypervisor (Hyper-V) Crowbar and SUSE Cloud 2
  • 3. Windows as a guest •  Can be executed on any hypervisor used in Nova •  No differences compared to Linux for image handling (glance etc) •  Images are tipically sysprepped –  Why? –  It can be avoided to speed up boot times
  • 4. Synthetic drivers •  Modern Hypervisors provide drivers to replace emulated devices with synthetic ones –  Network adapters, etc •  Hyper-V –  Integration components / LIS •  KVM –  VirtIO •  VMWare –  VMWare Tools •  XenServer / XCP –  XenServer Tools
  • 5. Cloudbase-Init •  100% Python code •  Wrapped in a Windows service •  Plugin based architecture: –  Each plugin can be executed once or more times at boot –  Status for each plugin is mantained in the registry
  • 8. Most important plugins •  CreateUser •  SetUserPassword •  SetHostName –  Requires a reboot •  SSHPublicKeys •  ExtendVolumes –  Useful for different flavors / resizes •  User data –  Including multipart: Heat!!
  • 9. Sysprep •  Prepares a Windows image to be distributed –  Typically on large scales •  Run before distributing any Windows image •  OOBE –  Out of the box experience –  Normally used to let the user customize the system
  • 10. SSH Equivalent? •  It exists: WSMan / WinRM •  Execute remote command via HTTP / HTTPS •  Can be used for remote PowerShell or from Linux •  Configuration example: –  https://github.com/cloudbase/unattended-setupscripts/blob/master/SetupWinRMAccess.ps1
  • 12. OpenStack WS2012 R2 •  Complete with: –  Drivers / tools: •  VirtIO, etc –  Cloudbase-Init –  Sysprepped •  Eval edition can be upgraded with a simple uder_data script: –  DISM /online /Set-Edition:ServerStandard / ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX / AcceptEula –  Make sure to respect the eval license!!
  • 13. How to build an image? •  Windows has the equivalent of a kickstart / preseed –  https://github.com/cloudbase/windowsopenstack-imaging-tools •  We get lots of questions about how to build those images •  This project automates the entire process
  • 14. Lincensing •  Windows is surprising in OpenStack –  Datacenter license => unlimited instances –  1 license per socket –  Works with Hyper-V, VMWare, KVM, etc –  The cost is 3 EUR / Month per VM with a density of 50 VM / host •  Volume licensing •  Multitenant? SPLA
  • 15. SVVP support •  Windows guests are supported on: –  Hyper-V •  SVVP –  Windows Server Virtualization Validation Program –  http://www.windowsservercatalog.com/ svvp.aspx •  Red Hat, VMWare, SUSE •  Your solution is not there? –  Microsoft won’t give you support
  • 16. Heat •  Heat and Windows are a great mix •  Templates for: –  Active directory –  Exchange (multi server) –  Sharepoint (multi server) –  SQL Server –  IIS •  No need to know the provisioning details
  • 17. Hyper-V •  Setup is very easy •  Our Nova driver is at it’s 3rd release! –  Folsom, Grizzly, Havana •  •  •  •  Support for Hyper-V 2012 R2 VHDX support Ceilometer support more…
  • 18. Hyper-V 2012 availability •  FREE edition –  Full Hypervisor –  Minimum OS support •  Minimum impact on security updates, etc •  Windows Server 2012 –  Just enable the related role •  Windows 8 –  For workstation / testing / development usage
  • 19. Hyper-V / Windows Openstack components •  •  •  •  •  Nova Compute driver Quantum plugin Cinder Volume driver Windows Cloud-Init Ceilometer Agent (Havana)
  • 20. Hyper-V Nova Compute •  Python Application installed as an application/service on the Hyper-V node. •  OpenStack compute utilizes key features baked into the Hyper-V Virtualization Platform •  Does not require windows clustering services •  Does not require shared storage
  • 21. Neutron •  Hyper-V plugin is part of Quantum since Jan 2013 –  Project renamed in Neutron since Havana •  Supported network types: –  –  –  –  VLAN Flat Local NVGRE (Icehouse) •  Plugin / agent model –  Plugin runs in quantum-server (controller) –  Agent runs on each Hyper-V compute node
  • 22. Typical Neutron setup Quantum Server TenantCNet2 10.0.1.0/24 VLAN ID:3 Nova Services L2 Agent Nova Compute Keystone ... Controller Node Management Network Compute Node Data Network VLAN Network Node External Network 30.0.0.0/24 eth0 L3 Agent DHCP Agent L2 Agent TenantANet1 10.0.0.0/24 VLAN ID:1 TenantANet1 10.0.0.0/24 VLAN ID:2
  • 23. Neutron OVS interop •  Quantum plugin / agent AMQP RPC protocol is compatible with OpenVSwitch! •  You can use the OVS plugin with Hyper-V agents (or vice versa) –  Limited to compatible L2 protocols: Flat / VLAN •  You can use the L3 and DHCP agents with the Hyper-V plugin –  Using the OVS L2 agent on the networking nodes •  Supports ML2 plugin!
  • 24. Hyper-V OpenVSwitch! We are officially porting OpenVSwitch to Windows!
  • 25. Why OpenVSwitch? •  De facto standard for SDN •  Great interoperability –  Hyper-V / KVM / etc •  OpenFlow •  Tunnelling –  VXLAN –  GRE •  Quantum OVS plugin –  No need for a different one
  • 26. Dashboard integration •  Hyper-V uses RDP for accessing the console instead of VNC •  By default it accepts connections on port 2179 –  Not the RDP connection on 3389! –  Access to any guest: Windows, Linux, FreeRDP, etc •  The VM id is provided as part of an RDP protocol additional buffer called PCB (Pre Connection Buffer) •  Authentication is performed against the host, not the guest!
  • 27. Nova Compute Installer •  Independent Python environment to avoid conflicts with existing applications •  Installs and registers all the required dependencies •  Generates dynamically a nova.conf file based on the parameters provided by the user
  • 29. From our web site J
  • 30. Puppet and Chef •  Hyper-V compute nodes can be installed via Puppet or Chef as well •  Puppet –  https://github.com/openstack-hyper-v/puppetopenstack_hyper_v •  Chef –  https://github.com/cloudbase/barclamphyperv-compute
  • 31. Crowbar •  •  •  •  Big part of Dell’s cloud strategy Bare-metal deployment vendor independent PXE booting –  Sledgehammer image boots and gets configuration •  Provisioning via Crowbar web site •  Barclams –  Configuration –  Chef recipes
  • 33. SUSE Cloud 2.0 •  Supports Hyper-V and many other hypervisor options •  Based on Crowbar –  Grizzly –  Havana