• No results found

OpenStack Open Source Cloud Computing Software

N/A
N/A
Protected

Academic year: 2021

Share "OpenStack Open Source Cloud Computing Software"

Copied!
58
0
0

Loading.... (view fulltext now)

Full text

(1)

OpenStack

Open Source Cloud Computing Software

Alexandru Coman | Cloud Engineer

(2)

Agenda

Windows hypervisor (Hyper-V) OpenStack

Windows as a guest Rude Questions

(3)
(4)
(5)
(6)
(7)

OpenStack

An open source IaaS project (Apache 2 license) Managed by the OpenStack Foundation

• More than 150 companies joined it including:

• AMD, Intel, Canonical, SUSE Linux, Red Hat, Cisco, Dell, HP, IBM, NEC, VMware

• Second largest OSS foundation after Linux

Portable (Mostly used on Linux) Written in Python

(8)

Contribution Summary (Liberty)

• Commits: 1278 • LOCs: 282293

• Looks good for core (+2): 468 • Approve: 291

• Patch Sets: 5177

• Resolved Bugs: 275

(9)

Releases

Essex: April 2012 Hyper-V removed)

Folsom: October 2012 (Hyper-V re-included) Grizzly: April 2013 Havana: October 2013 Icehouse: April 2014 Juno: October 2014 Kilo: April 2015 Liberty: October 2015

(10)

Reasons for success

Most cloud providers want a platform to embed and extend (E.g. Rackspace, HP)

Most cloud engineers want a platform which is easy to maintain and troubleshoot

• Python, due to it’s dynamic nature, fits the role and is widely known by Linux admins

Great scalability

Great support for multiple hypervisors

• Nowadays hypervisors are “simple” components in the global architecture, not the focal point anymore

Great support for virtual networking (OpenVSwitch is becoming the “standard de facto” in SDN)

Compatibility with EC2 and S3 API

(11)

Drawbacks

Terrible setup experience

• Lack of unified deployment tools • Lack of proper documentation

Some “youth” issues

• The project is anyway maturing really fast The UI is not at the level of the competition

(12)

Components

Compute (Nova)

Object Storage (Swift) Block Storage (Cinder) Image Service (Glance) Networking (Quantum)

Dashboard (Horizon) Identity (Keystone)

Metering (Ceilometer) Orchestration (Heat)

(13)

file cloud service Access Control Virtual Network VHD storage blob

Portal

Network

Block

Blob

Image

Compute

Identity

(14)

Component interaction

• AMQP • RabbitMQ • Apache Qpid • API • RESTful services • Database

• Any Python SQLAlchemy provider • Mostly MySQL

(15)
(16)

Gerrit

Originally developed by Google for Android Stand-alone patch review system

Manages:

• Git Repositories • Code Review

• Event Stream

(17)
(18)
(19)

Gerrit checks

• Gerrit triggers:

• Pep8 / Flake8 tests • Unit tests

• Integration tests with multiple environments (e.g. Nova):

• KVM

• Hyper-V • VMWare • XenServer • etc

(20)
(21)
(22)

Integration tests

• Each CI results can vote +1 / -1 or be neutral

• At the moment both errors and failures account for -1

• Hard to distinguish between them

(23)
(24)
(25)

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 typically sysprepped

(26)

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

(27)

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 maintained in the registry

(28)
(29)
(30)

Plugin modules

Users / groups management Storage

WinRM

Licensing

User Data (PowerShell, Heat, etc) NTP, MTU, LocalScripts and more

(31)

Multi-cloud support

OpenStack (HTTP) OpenStack (ConfigDrive) Amazon EC2 CloudStack OpenNebula Ubuntu MAAS

(32)

Supported Windows versions

Windows 7, 8, 8.1, 10 x86 / x64

Windows Server 2008 / 2008 R2 / 2012 / 2012 R2 x64

Windows Server 2016 (TP) NanoServer 2016 (WiP)

(33)

OpenStack WS2012 R2 eval

images

• 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

(34)
(35)

How to build an image?

• https://github.com/cloudbase/windows-openstack-imaging-tools • We get lots of questions about how to build those images

(36)

Does Microsoft support Hyper-V in

OpenStack?

• Yes!

• Microsoft supports Hyper-V regardless of the management stack!

• Any supported licensing model works (Volume Licensing, SPLA, etc)

(37)

Windows Openstack components

• Nova Hyper-V Compute driver

• Neutron agent (Hyper-V SDN, OVS) • Cinder Volume drivers (iSCSI, SMB3) • Manila SMB3 driver

• Windows Cloud-Init • Ceilometer Agent

(38)

Hyper-V

• Setup is very easy

• Our Nova driver is at it’s 7th release!

• Folsom, Grizzly, Havana, Icehouse, Juno, Kilo, Liberty

• Support for Hyper-V 2012, 2012 R2, 2016 • VHDX support

• Ceilometer support • Much more…

(39)

Hyper-V 2012 R2 / 2016

availability

FREE edition

• Full Hypervisor

• You need to license Windows guests only!

• Windows Server 2012 / 2012 R2 / 2016

• Just enable Hyper-V

• Windows 8.1 / Windows 10

• For workstation / testing / development usage • Nested Hyper-V available today

(40)

Hyper-V Nova Compute

• Seamless OpenStack experience, just like on Linux

• OpenStack compute utilizes key features baked into the Hyper-V Virtualization Platform

• Some key differentiators:

• Shared nothing live migration out of the box • RemoteFX (amazing VDI experience)

• Shielded VMs (2016)

(41)

CI

• Hyper-V is fully CI tested with Tempest tests reporting to Gerrit • One of the largest CI contributors with 10 active CIs!

• Nova

• Neutron (Hyper-V SDN, OVS - coming soon) • Networking-hyperv, Compute-hyperv

• Cinder (iSCSI, SMB3 - Windows, SMB - Linux) • Manila (Linux, Windows)

(42)

Neutron

• Hyper-V plugin is part of Neutron since Jan 2013

• Project originally called Quantum, renamed Neutron since Havana

• Supported network types:

• VLAN

• NVGRE • Flat

(43)

Neutron

• Plugin / agent model

• ML2 Plugin runs in neutron-server (controller) • Agent runs on each Hyper-V compute node

(44)

Neutron OVS interop

• Neutron ML2 mechanism driver is compatible with OpenVSwitch! • You can use the OVS with Hyper-V agents

• Limited to compatible protocols: Flat / VLAN • Possible NVGRE support

• You can use the L3 and DHCP agents with the Hyper-V plugin

(45)

Hyper-V

OpenVSwitch

(46)

Cinder

• iSCSI Windows Server driver

• SMB3 / SoFS Windows Server driver

• Great companion for Hyper-V

(47)

Manila

• SMB3 driver

• Included in Liberty

(48)

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)

(49)
(50)

Puppet, Chef, Salt, etc

Hyper-V compute nodes can be installed via Puppet or Chef as well

Puppet:

https://github.com/openstack-hyper-v/puppet-openstack_hyper_v

Chef:

(51)

Nano Server

• Leightweight

• Windows without windows 

• Very small footprint

• Fast deployment and boot

(52)

Orchestration

• Heat templates

• Juju charms

(53)

Heat

• Heat and Windows are a great mix • Templates for:

• Active directory

• Exchange (multi server) • Sharepoint (multi server) • SQL Server

• IIS

(54)
(55)

Cloudbase

Windows

Juju charms

Active Directory

Nova – Hyper-V Exchange SharePoint

Failover Clustering

VDI Windows Server Update Services

Skype for Business (coming soon) Windows File

Server (SMB) SQL Server Express SQL Server AlwaysOn Cinder – Windows

(56)

Support

[email protected]

• http://ask.cloudbase.it

(57)

Q&A

(58)

dream. code. commit.

References

Related documents

Este artículo tiene como finalidad mostrar cómo, más allá de la teoría de los stakeholders y de la responsabilidad social, existe un bien mayor y es el bien común, es decir,

What are the perceptions, experiences and understandings of dyslexia amongst mentors, nurse tutors and preceptors who support and guide dyslexic nursing

Software Defined Compute Software Defined Network Software Defined Storage Virtualized Network Virtual Storage Resource Abstraction. Unified

New York (NY): ACM Press. RFID systems and security and privacy implications. [30] Texas Instruments and VeriSign Inc.: Securing the pharmaceutical supply chain with RFID

Since SLPs are trained in the foundations of language, including phonology and morphology, it may be that the SLP is the natural choice to aid general educators in teaching

Patients were enrolled, when the attending intensive care specialist suspected infection, based on (1) suspected source which could be identified, (2) new onset organ dysfunction,

A fixed charge of £92.46 for surface water drainage and highway drainage services or a site area charging band (see A.2.d.1) may be applied to each household premises served by

 Staff reviews mitigation protocols every 30 days, and since the Governor relaxed requirements, changes to current protocols are: we removed some Table Games barriers;