27
SUSE® Cloud Become Your Company's Cloud Service Provider Piotr Szewczuk Senior Consultant [email protected]

SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

SUSE® CloudBecome Your Company's Cloud Service Provider

Piotr Szewczuk Senior Consultant

[email protected]

Page 2: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

2

SUSE® Cloud ...

Page 3: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

3

SUSE® Cloud

Enterprise OpenStack distribution that rapidly deploys and easily manages highly available, mixed hypervisor IaaS Clouds

• Increase business agility

• Economically scale IT capabilities

• Easily deliver future innovations

Page 4: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

SUSE® Cloud Overview

Page 5: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

5

OpenStack Distribution

Billing VM Mgmt Image Tool Portal App Monitor Sec & Perf

Cloud

Management

Orchestration(Heat)

Dashboard(Horizon)

Cloud APIs(OpenStack and

EC2)

Identity(Keystone)

Images(Glance)

Hypervisor

Compute(Nova)

Operating System

Physical Infrastructure: x86-64, Switches, Storage

OpenStack Icehouse

Object(Swift)

Network(Neutron)

Adapters Adapters

Telemetry(Ceilometer)

Block(Cinder)

SUSE Cloud Adds

RequiredServicesRabbitMQPostgresql

Ins

tall

Fra

me

wo

rk(C

row

ba

r, C

he

f, T

FT

P, D

NS

, D

HC

P)

SUSEManager

SUSEStudio

HypervisorXen, KVM

SUSE Linux Enterprise Server 11 SP3

SUSE Product

Rados

RBD

RadosGW

Ceph

Adapters

Highly Available Services

SUSE® Cloud 4

Physical Infrastructure: x86-64, Switches, Storage

Billing Portal App Monitor Sec & Perf

Adapters Adapters VMware, Hyper-V

Partner Solutions

Billing VM Mgmt Image Tool Portal App Monitor Sec & Perf

Cloud

Management

Orchestration(Heat)

Dashboard(Horizon)

Cloud APIs(OpenStack and

EC2)

Identity(Keystone)

Images(Glance)

Hypervisor

Compute(Nova)

Operating System

Physical Infrastructure: x86-64, Switches, Storage

OpenStack Icehouse

Object(Swift)

Network(Neutron)

Adapters Adapters

Telemetry(Ceilometer)

Block(Cinder)

SUSE Cloud Adds

RequiredServicesRabbitMQPostgresql

Ins

tall

Fra

me

wo

rk(C

row

ba

r, C

he

f, T

FT

P, D

NS

, D

HC

P)

Page 6: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

6

OpenStack Architecture Diagram

Page 7: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

7

SCARY AS HELL!

Why an Install Framework?

Page 8: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

8

WeekHour

Why an Install Framework?

Parameters

Components

1229

11

1

Page 9: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

Introduction to Crowbar

Page 10: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

10

Crowbar

Page 11: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

11

Page 12: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

12

SUSE® Cloud Administration Server

SUSE Cloud Administration

SoftwareRepository

Control and ComputeNodes

Page 13: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

13

SUSE® Cloud Control Node

Control Node

ComputeNodes

• PostgreSQL database

• Image Service (Glance) for managing virtual images

• Identity (Keystone), providing authentication and authorization for all SUSE Cloud services

• Dashboard (Horizon), providing the Dashboard, which is a user Web interface for the SUSE Cloud services

• Nova API and scheduler

• Message broker (RabbitMQ)

Page 14: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

14

SUSE® Cloud Compute Nodes

• Pool of machines where instances run

• Equipped with RAM and CPU

• SUSE Cloud Compute (nova) service

‒ Setting up, starting, stopping, migration of VMs

Control Node

ComputeNodes

Compute

Compute

Compute

Compute

Page 15: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

15

SUSE Cloud Logical Network Diagram

Page 16: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

High Availability and Cloud

Page 17: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

17

Why High Availability?

“I can't have my systems go down. We lose $1,000,000 for every minute that we're down, and upper-management gets really 'excited' when that happens.”

Page 18: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

18

High Availability for OpenStack

What might we want to protect?

• Admin server‒ core infrastructure: DNS, NTP, provisioning capabilities

• Controller node‒ OpenStack services

• Compute nodes‒ Hypervisor

‒ VM instances (i.e. guests in the cloud)

Page 19: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

19

Component failure impact

• Admin server‒ New cloud nodes require manual addition and configuration

‒ Currently no ability to rediscover existing nodes on restart

‒ No impact on currently operating cloud

• Control node‒ Cannot start or stop guest instances

‒ No ability to rediscover existing nodes or guest VMs on restart

‒ No impact on currently deployed instances

Page 20: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

20

Pets vs. cattle metaphor

• Pets are given names like mittens.mycompany.com

• Each one is unique, lovingly hand-raised and cared for

• When they get ill, you spend money nursing them back to health

• Cattle are given names like vm0213.cloud.mycompany.com

• They are almost identical to other cattle

• When one gets ill, you shoot it and get another one

Page 21: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

21

Component failure impact (continued)

• Compute node‒ Loss of VMs on that node

‒ Recovery is by restart and re-provisioning of physical server

‒ Can be mitigated through application design

• VM instances‒ Loss of workload

‒ Recovery is by booting a replacement instance (cattle)

‒ Can be mitigated through application design

Page 22: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

22

Component failure assessment

• Control Node‒ Highest priority

‒ Recovery realistically requires complete cloud restart

• Compute Node & VM instances‒ Application level recovery is normal practice for existing clouds

‒ Not existing “enterprise” expectation, but workaround exists for new workloads

• Admin Server‒ Least impact on deployed system

‒ Operation can continue with no impact on end users

Page 23: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

23

Non-HA SUSE® Cloud Installation

Page 24: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

24

HA SUSE® Cloud Installation

Page 25: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

25

Typical Deployment Schema

Admin Node Control Node

Network Node

Compute

Compute

Compute

Cloud Node

Chef Server

Chef Client

Chef Client

Crowbar Provisioner

Page 26: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

Corporate HeadquartersMaxfeldstrasse 590409 NurembergGermany

+49 911 740 53 0 (Worldwide)www.suse.com

Join us on:www.opensuse.org

26

Page 27: SUSE Cloud · 20 Pets vs. cattle metaphor • Pets are given names like mittens.mycompany.com • Each one is unique, lovingly hand- raised and cared for • When they get ill, you

Unpublished Work of SUSE LLC. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.