20
1 INTEL CONFIDENTIAL 1 Intel’s Innovations with OpenStack Shane Wang Engineering Manager Intel Open Source Technology Center

Intel’s Innovations with OpenStack - IT168.com – 电商时 …topic.it168.com/factory/adc2013/doc/wangqing.pdf ·  · 2013-08-05Introducing COSBench •An Intel-developed benchmarking

  • Upload
    vutram

  • View
    218

  • Download
    3

Embed Size (px)

Citation preview

1 INTEL CONFIDENTIAL 1

Intel’s Innovations

with OpenStack

Shane Wang

Engineering Manager

Intel Open Source Technology Center

2

Agenda

1. Intel and OpenStack

2. Key Intel Contributions to OpenStack and Open Source

3. Intel IT OpenStack update

3

Intel is committed to OpenStack

• Contributions across OpenStack

projects plus tools released to

Open Source

• One of top contributors to Grizzly1

• Performance optimizations,

validation and patches

• Validate Intel IT customization of

OpenStack

• Document best practices

• Share best practices with enterprises

and services providers

• Intel IT Open Cloud with

OpenStack

• Deliver Consumable Services

• Enable Automated Management

of Cloud

Intel® Cloud Builders Reference Architecture Contributions

Enable Enterprises & Cloud Service Providers to deploy Open Clouds

Intel® IT Open Cloud

1Source: OpenStack Grizzly Press Release 4/4/13 (https://www.openstack.org/software/grizzly/press-release)

Top Contributors to Grizzly by Employer: Red Hat, Rackspace, IBM, HP, Nebula, Intel, eNovance, Canonical, VMware, Cloudscaling, DreamHost and SINA.

4

Key Intel Contributions

Contribution Project Release Comments

Trusted Filter Nova Folsom Place VMs in Trusted Compute Pools

Trusted Filter UI Horizon Folsom GUI interface for Trusted Compute

Pool management

Filter Scheduler Cinder Grizzly Intelligent scheduler allocates

storage based on workload

Multiple Publisher

Support

Ceilometer Havana Pipeline manager; pipelines of

collectors, transformers, publishers

Open Attestation SDK To Open Source Remote Attestation service for

Trusted Compute Pools

COSBench To Open Source Object store benchmarking tool

5

Trusted Compute Pools

Use Cases

Place workloads & VMs in

trusted pools of virtualized

servers

Core technologies • Intel® Xeon® processor E3, E5 and E7

• Intel Trusted Execution Technology

• Intel VT FlexMigration

Trusted Pool Untrusted

VM VM VM VM VM

Solution stack requirements • Policy Engine / Console to Mgr

• CPU that initiates a trusted boot

• TCG Compliant Platform (TPM)

standard

18

6

Trusted Compute Pools on OpenStack using Open Attestation with Intel TXT

Intel enabled TXT in Xen 3.2 and Linux/KVM kernel in 2.6.33

Intel SSG developed open source Attestation Server in 2012

Intel contributed Trusted

Filter to OpenStack in 2012

• Subscriber specifies trust

level of VM as Trusted

• Request passes to

OpenStack Nova scheduler

• Scheduler invokes web-based

remote attestation (Open

Attestation) service

• Based on results, scheduler

schedules Trusted VM to

trusted platform

Cinder

Keystone

7

Introducing COSBench

• An Intel-developed benchmarking tool to measure Cloud Object Storage (e.g. OpenStack

Swift) performance

• Released to Open Source today

• Compare performance of cloud object stores

• Evaluate internal options for software stacks

• Identify bottlenecks and tune performance

Throughput Response

Time

Bandwidth Success Ratio

https://github.com/intel-cloud/cosbench

8

Major Features

• Developed with Java*, OSGi framework based.

• Supports multiple operating systems.

– Ubuntu 12.04 LTS*, Red Hat Enterprise Linux 6.1*,

Microsoft* Windows* 71.

• Distributed load testing framework.

• Pluggable adaptors for different storage

systems

– OpenStack * Swift and Amplidata *

Amplistor *v2.3, 2.5 and 3.1adaptors included

– Allows development of adaptors for additional

storage systems

- Web based UI

- Real-time performance monitoring

- Flexible workload definition.

* Other names and brands may be claimed as the property of others. 1 Windows tested with Mock Storage only.

Admin Console (UI)

Controller/Driver (Execution Engine)

OGSi

Adaptor Ada

ptor

Ada

ptor

Config. xml

COSBench

Storage System

9

Filter Scheduler (Cinder) “A new intelligent scheduler allows cloud end users to allocate storage based on the

workload, whether they are looking for performance, efficiency, or cost effectiveness.” OpenStack Grizzly Press Release 4/4/13 (https://www.openstack.org/software/grizzly/press-release)

Volume Service 1

Volume Service 2

Volume Service 3

Volume Service 4

Volume Service 5

Volume Service 1

Volume Service 2

Volume Service 3

Volume Service 4

Volume Service 5

Weight = 25

Weight = 20

Weight = 41

Volume Service 2

Volume Service 4

Volume Service 5

Filters Weighers

Winner!

• AvailabilityZoneFilter

• CapabilitiesFilter

• JsonFilter

• CapacityFilter

• RetryFilter

• CapacityWeigher

• AllocatedVolumesWeigher

• AllocatedSpaceWeigher

Example Use Case: Differentiated Service with Different Storage Back-ends

• Cloud provider has 3 different storage systems and wishes to

provide 4 levels of volume services

• Volume service criteria dictates which storage system can be used

• Filter scheduler allows provider to name storage services and, using

capabilities in extra specs, allocate correct volume

10

Multiple Publisher (Ceilometer) • Send one single datum to multiple consumers

• Send/publish collected measurements to different endpoint/utility through different

conduits with different format

• System has multiple data collectors; pipeline manager creates multiple pipelines

Data Collector Transformer

Pipeline Manager

Transformer

Metering

Monitoring

Publisher

Publisher

Publisher

Transformer

11

Multiple Publisher (Ceilometer)

• Multiple publishers transform collected measurements into different formats

through different conduits

• Transformers are organized as a pipeline to transform data from counter to

meter, metrics etc.

• Five components for multiple publisher support

– Data collectors: collect measurements from other openstack project.

– Transformers: transform the data from data collectors or from other transformers.

– Publishers: publish data to the world through conduit.

– Pipeline: chaining the data collectors, transformers and publishers together.

Multiple pipeline exists in the system.

– Pipeline Manager: manages the pipelines in the system. The measurement

collected from the collector will be dispatched to the pipeline manager.

12

Future OpenStack Releases

Proposal Target Release Comment

Enhanced Platform Awareness Havana Leveraging PCIe devices in cloud infrastructure

Utilization Based Scheduling Havana Better scheduling according to the compute

resources collected

Host monitoring Havana Physically monitoring on CPU, memory, network,

disk etc of computes in Ceilometer

Key Manager Havana Makes data protection more readily available via

server side encryption with key management

Erasure Code Havana Replacing tri-replication algorithm in Swift

• Looking for continued collaboration with the OpenStack community in the

following areas

13

6 Months

Infr

astr

uctu

re

As a

Serv

ice

Con

trib

uto

rs

Compute Storage Network

12-18 Months

Physic

al

Infr

astr

uctu

re

Prod

ucers

Cloud Operating

Environment Intel Contributions

Compute

(Nova) Block Storage (Cinder

Object Storage

(Swift)

Network

(Quantum)

Dashboard

(Horizon)

OS Images

(Glance)

Open-Source (OpenStack*)

Intel® IT Open Cloud IaaS Platform Solution Stack

Manageability

3 Months

Monitoring

As a

Serv

ice

Watcher

(e.g. Nagios*)

Decider

(internal)

Collector

(Mongo and HDFS) Actor

(e.g. Puppet*)

Intel Contributions Open-Source Foundation

Inte

rfaces

GUI (Graphical User Interface)

API (Application Programming Interface)

Con

su

mers

3 Months

Release Cadence

14

Current Infra/App Status

Open Cloud Utility

Abstraction Layer – API/CLI

Provision – Change - Destroy

Compute (Nova)

Storage (w/Compute)

Network (Nova)

Code/Packages/Apps/Data

Load Balancers

OpenStack Essex

2 Data Centers

Provision – Change - Destroy

3rd Party Cloud

Code/Packages/Apps/Data

Global Load

Balancer

DevOps

Consumers

(People and Services)

Load Balancers

15 15

Design Pattern : Active/Active

• App deploy to N+1 clouds

• Eventual consistency and conflict resolution is built into the developer application

• Database replication is configured

• App URL is added to GLB to actively distribute across app instances

• Users connect to any app instance – runs simultaneously

Application Stack

App 1 instance 1

Cloud Zone #2

App 1 instance 2

Application Stack

App 1 instance 1

Cloud Zone #1

App 1 instance 2

Load Balancer

Database

End User Clients Global Load Balancer

Database

Eventual

consistency

Conflict

resolution

provided by

App

Load Balancer

16

Legal Information

•Copyright © 2013 Intel Corporation. All rights reserved. Intel, the Intel logo, Xeon are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others.

•All products, computer systems, dates and figures specified are preliminary based on current expectations, and are subject to change without notice.

•The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

•No computer system can provide absolute security under all conditions. Built-in security features available on select Intel® processors may require additional software, hardware, services and/or an Internet connection. Results may vary depending upon configuration. Consult your system manufacturer for more details. For more information, see http://security-center.intel.com/

17

18

BACK-UP SLIDES

19

Filter Scheduler (Cinder) “A new intelligent scheduler allows cloud end users to allocate storage based on the

workload, whether they are looking for performance, efficiency, or cost effectiveness.” OpenStack Grizzly Press Release 4/4/13 (https://www.openstack.org/software/grizzly/press-release)

• Use Case A: Differentiated Service with Different Storage Back-ends – Example Cinder volumes

type 1: name ‘standard’, with extra specs {‘volume_backend_name’: ‘Storage System A’}

type 2: name ‘fast-n-safe’, with extra specs {‘volume_backend_name’: ‘Storage System B’}

type 3: name ‘premium-x1’, with extra specs {‘QoS’: ‘false’, ‘fast snapshot’: ‘true’}

type 4: name ‘premium-x2’, with extra specs {‘fast clone’’: ‘true’, ‘fast snapshot’: ‘true’,

‘QoS:level’: ‘guarantee:200IOPS’}

• Use Case B: Differentiated Service with Single Powerful Storage Back-end – Example Cinder volumes

type 1: name ‘standard’, with extra specs {‘QoS’: ‘true’, ‘QoS:level’: ‘best_effort:80IOPS’,

‘Reliability:backup’:’no’}

type 2: name ‘fast-n-safe’, with extra specs {‘QoS’: ‘true’, ‘QoS:level’: ‘best_effort:150IOPS’,

‘Reliability:backup’:’auto’}

type 3: name ‘premium-x1’, with extra specs {‘QoS’: ‘true’, ‘QoS:level’: ‘best_effort:150IOPS’,

‘Reliability:backup’:’auto’, ‘Feature:Enable’: ‘fast snapshot’}

type 4: name ‘premium-x2’, with extra specs {‘QoS’: ‘true’, ‘QoS:level’: ‘guarantee:200IOPS’,

‘Reliability:backup’:’auto’, ‘Feature:Enable’: ‘fast snapshot, fast cloning’}

20

Future OpenStack Releases

• Looking for continued collaboration with the OpenStack community in the following

areas:

• Leveraging PCIe devices in cloud

infrastructure

• Making data protection more readily

available via server side encryption

with key management

• Replacing tri-replication algorithm in

Swift with Erasure Code

Read/Comment on Blueprints

Enhanced Platform Awareness for PCIe:

https://blueprints.launchpad.net/nova/+spec/epa-for-pcie-

devices

Key Manager:

https://wiki.openstack.org/wiki/KeyManager

Erasure Code:

https://blueprints.launchpad.net/swift/+spec/swift-ec