openstack benelux 2015

35
1 Installation, Upgrades and Migrations in the Enterprise Alessandro Vozza Senior Cloud Architect @bongo [email protected] September 2015

Upload: microsoft

Post on 15-Apr-2017

234 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Openstack benelux 2015

1

Installation, Upgrades and Migrations in the Enterprise

Alessandro Vozza Senior Cloud Architect @bongo [email protected]

September 2015

Page 2: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

AGENDA

- Some definitions

- Why we are here, and why it matters

- The Installer Wars™ and how to win it

- Taming the Openstack beast

2

Page 3: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 20153

CLOUDS…no shortage of them in Holland!

http://cloudappreciationsociety.org/

Page 4: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

THE LAY OF THE LAND

4

upgrade verb |ʌpˈgreɪd| [ with obj. ] raise (something) to a higher standard, in particular improve (equipment or machinery) by adding or replacing components: (as adj.upgraded) : upgraded computers.

update verb |ʌpˈdeɪt| [ with obj. ] make (something) more modern or up to date: security measures are continually updated and improved | (as adj.updated) : an updated list of subscribers.

From 6.4 to 6.5 is an update From 6.5 to 7.0 is an upgrade

Page 5: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

WHY IT MATTERS

5

“How to Succeed in Your OpenStack Deployment”

20 February 2015, Donna Scott and Arun Chandrasekaran

"Most enterprises find they need more than OpenStack for management and governance, as well as for multicloud management, including bursting across private and public cloud environments. As a result, many organisations implementing OpenStack invest in a Cloud Management Platform that rides on top, and provides an API translation and orchestration layer across private and public clouds."

Make OpenStack manageable for the Enterprise

Manage in parallel with other footprints, migrate workloads

Service Catalog, Chargeback/ Showback, Policy based Controls

Manage tenant level as well as infrastructure (under-cloud)

Auto-Scaling of Infrastructure

Page 6: Openstack benelux 2015

http://sharpwriter.deviantart.com/art/Welcome-to-the-Internet-Please-Follow-me-322248378

Page 7: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 20157

Page 8: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

WHERE IS THE OP LOVE?

8

Page 9: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

THE INSTALLER WARS

9

WHO DIES FIRST IN ANY WAR?

Page 10: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

OUR GOAL: A DEPLOYED AND MANAGED CLOUD

• Planning

• What will this OpenStack deployment look like? Topology? Capacity?

• Deployment

• Hardware and service lifecycle management. Policy driven process.

• Infrastructure Operations

• Visualize capacity, metrics & instrumentation

10

Page 11: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

WHAT IF

11

Page 12: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

ONE TOOL TO RULE THEM ALL

• Deploying OpenStack to bare metal

• OpenStack community adopted

• Offering platform extensibility

• Providing visual status of core services and cloud infrastructure

• Is cloud operator focused!

• Providing integration via well known APIs

• Naturally resilient and scalable

12

Page 13: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201513

ENTER THE CLOUD DIRECTOR

Page 14: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

RDO-MANAGER / OSP-DIRECTOR

14

Page 15: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

RHEL OPENSTACK PLATFORM, TRIED AND TRUE

15

Page 16: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

TWO CLOUDS, TWICE THE FUN

16

Page 17: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

FAMILIAR LOOK

17

Page 18: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201518

Page 19: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201519

1. One or more Management Nodes are installed in the control rack.

Page 20: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201520

2. Operator logs into Operator Dashboard to configure the infrastructure

Page 21: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201521

3. Management App discovers your infrastructure hardware.

Hardware Discovery

Page 22: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201522

4. Operator defines the OpenStack control services.

Page 23: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201523

5. Operator defines the OpenStack resource nodes.

Page 24: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201524

6. Control service and Resource nodes get provisioned.(Tuskar -> Heat -> Nova -> Ironic -> Hardware)

Page 25: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 201525

Logical view of the Management and Production clouds

Deployment & Management App

OpenStack Production Cloud

Page 26: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

TRIPLE-O?

26

Page 27: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

REGAIN CONTROL OF YOUR CLOUD

27

Page 28: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

ADVANCED FEATURES FOR OPERATORS

28

Automatic Evacuation: Compute host node high availability based on Pacemaker Remote

Aggregate logging, performance metrics and availability monitoring dashboards

Page 29: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

TO THE INFINITY..

29

CLOUDFORMS 3.2

OPENSTACK INFRASTRUCTURE PROVIDER

Designed to run with TripleO-based OpenStack Deployment (RHOSP7) Provides visibility and management capabilities for the under-cloud

FEATURES

Scaling of the over-cloud through CloudForms - Function enabled through both the UI and Automate

Host data collection- Base attributes through OpenStack APIs (Ironic, Heat, Tuskar) - Metrics through OpenStack Ceilometer- OpenStack component views, detailing the status and configuration of installed OpenStack services, through host smart state analysis

Image data collection through the OpenStack Glance API

Page 30: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

..AND BEYOND

30

Page 31: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

CLOUD INSIGHTS

31

METRICS - Deployment Role - Compute

CAPACITY -

The big question, what is the capacity of my environment? CONTENTION - Deployment Role - Compute

Page 32: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

DIRECTOR EXTENSIBILITY

32

Director offers several partner integration points:

Deployment & Service Orchestration (Heat)

Bare metal drivers (Ironic)

Instrumentation Agents (Ceilometer)

Deployment Dashboard (Horizon)

Supporting Components

(Puppet modules, extra config files, post-deploy scripts, etc)

Page 33: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

TIPS & TRICKS

33

All OpenStack deployments are COMPLEX

All OpenStack deployments are DIFFERENT

Things to consider: - Multiple service endpoints (APIs) - Multiple networks - Different hardware (e.g. Compute, Storage)

- Don’t migrate useless data (tokens)

- Live migration is almost always necessary

https://access.redhat.com/articles/1317223/

Page 34: Openstack benelux 2015

OPENSTACK BENELUX CONFERENCE 2015

MIGRATION WAR STORIES

One large institutional customer from the north

~300 VM’s migrated from Icehouse to Kilo

- DB migration scripts, selective tables

- Preserving floating IP’s, instance UUID, ports, routers..

- Shared Ceph cluster, with root and ephemeral disks on ceph

- Minimal, but still considerable VM and API downtime

34

Page 35: Openstack benelux 2015

THANK YOU & Q&A

largely based on http://videos.cdn.redhat.com/summit2015/presentations/13790_red-hat-enterprise-linux-openstack-platform-deployment-tool-roadmap.pdf