OpenStack Architecture and Pattern Deployment with Heat. OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

Similar documents
Build Cloud like Rackspace with OpenStack Ansible

Introduction to OpenStack

Minimal OpenStack Starting Your OpenStack Journey

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

OpenStack in 10 minutes with DevStack

Red Hat OpenStack Platform 10 Product Guide

DEEP DIVE: OPENSTACK COMPUTE

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

Introduction to OpenStack

HPE Digital Learner OpenStack Content Pack

OpenStack Mitaka Release Overview

Build your own Cloud on Christof Westhues

BCS EXIN Foundation Certificate in OpenStack Software Syllabus

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Red Hat OpenStack Platform 13

Contrail Cloud Platform Architecture

Jumpstart your Production OpenStack Deployment with

SUSE OpenStack Cloud

Road to Private Cloud mit OpenStack Projekterfahrungen

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Introduction to OpenStack Trove

Introduction To OpenStack. Haim Ateya Group Manager, EMC

Contrail Cloud Platform Architecture

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Case Study on Enterprise Private Cloud

Actual Agility with SDN: Weaving SDN into Data Center Automation May 6, John Burke Principal Research Analyst & CIO

Red Hat OpenStack Platform 10

IBM Cloud Orchestrator Version User's Guide IBM

Life Without DevStack: OpenStack Development With OSA. Miguel

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

Installing and Configuring Devstack Newton for Infoblox Integration

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

Building a Video Optimized Private Cloud Platform on Cisco Infrastructure Rohit Agarwalla, Technical

HPE HELION CLOUDSYSTEM 9.0. Copyright 2015 Hewlett Packard Enterprise Development LP

Best Practice Deployment of F5 App Services in Private Clouds. Henry Tam, Senior Product Marketing Manager John Gruber, Sr. PM Solutions Architect

CLOUD INFRASTRUCTURE ARCHITECTURE DESIGN

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Spawning Virtual HPCs Using OpenStack

Red Hat OpenStack Platform 11

Red Hat OpenStack Platform 12

Trove Onboarding Session Introductory course for contributors and reviewers

Red Hat OpenStack Platform 13

GETTING STARTED WITH OPENSTACK. Kenneth Hui, Rackspace Dan Radez, Red Hat April 27, 2016

DEPLOYING NFV: BEST PRACTICES

Operating and managing an Atomic container-based infrastructure

Comparison of OpenStack Installers

EMC STORAGE SOLUTIONS WITH MIRANTIS OPENSTACK

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

Building Service Platforms using OpenStack and CEPH. Malte Dreyer

OpenStack Havana All-in-One lab on VMware Workstation

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

Taking Your Power Systems Higher in the Cloud with VMware vrealize Automation

Integrated Management of OpenPOWER Converged Infrastructures. Revolutionizing the Datacenter

DBaaS (Oracle and Open Source)

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

OpenStack Summit Half-Day Track

OpenStack Ceilometer. Tong Li (IBM) Brad Topol (IBM)

Architecture and terminology

Cloud Computing. Amazon Web Services (AWS)

Deploy TOSCA Workloads in OpenStack via Stand-Alone TOSCAParser, Heat-Translator and Murano

CloudCenter for Developers

Power Cloud for Administrators

An Introduction to Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Field Product Manager, Red Hat

POWERED BY OPENSTACK. Powered by OpenStack. Globo.Tech GloboTech Communications

SUSE OpenStack Cloud Production Deployment Architecture. Guide. Solution Guide Cloud Computing.

ENTERPRISE-GRADE MANAGEMENT FOR OPENSTACK WITH RED HAT CLOUDFORMS

Containers OpenStack. Murano brings Docker & Kubernetes to OpenStack. Serg Melikyan. software.mirantis.com. January 27, 2015

Dell EMC Red Hat OpenStack Cloud Solution. Architecture Guide Version 6.0

OPENSTACK PRIVATE CLOUD WITH GITHUB

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

Discover SUSE Manager

클라우드스토리지구축을 위한 ceph 설치및설정

OpenStack End User Guide. SUSE OpenStack Cloud 8

BRKDCT-1253: Introduction to OpenStack Daneyon Hansen, Software Engineer

Cloud Essentials for Architects using OpenStack

OpenStack Magnum Hands-on. By Saulius Alisauskas and Bryan Havenstein

Dell Red Hat OpenStack Cloud Solution Reference Architecture Guide - Version 5.0

The Total Newbie s Introduction to Heat Orchestration in OpenStack

Dell EMC Ready Bundle for Red Hat OpenStack Platform. PowerEdge FX Architecture Guide Version

Human Centric. Innovation. OpenStack = Linux of the Cloud? Ingo Gering, Fujitsu Dirk Müller, SUSE

OpenStack Tutorial. Shihabur R. Chowdhury CS Winter 2017 University of Waterloo

VMware Integrated OpenStack User Guide. VMware Integrated OpenStack 4.1

COMMUNITY-GENERATED ROADMAP

RHOSP 12 Director Installation on MaxCore TM Platform

RHEV in the weeds - special sauce! Marc Skinner

Dell EMC Ready Bundle for Red Hat OpenStack Platform. Dell EMC PowerEdge R-Series Architecture Guide Version

VMware + OpenStack. Dan Wendlandt Director of Product Management VMware VMware Inc. All rights reserved.

Getting Started with OpenStack

Application Centric Microservices Ken Owens, CTO Cisco Intercloud Services. Redhat Summit 2015

File system, 199 file trove-guestagent.conf, 40 flavor-create command, 108 flavor-related APIs list, 280 show details, 281 Flavors, 107

Red Hat Cloud Platforms with Dell EMC. Quentin Geldenhuys Emerging Technology Lead

Red Hat Enterprise Linux OpenStack Platform User Group.

VMware vrealize Code Stream Reference Architecture. 16 MAY 2017 vrealize Code Stream 2.3

Dynamic Resource Allocation and Management Using OpenStack

Anand Bhadouria Chief Cloud Technologist. December 10, 2014

VMware vrealize Code Stream Reference Architecture. 12 APRIL 2018 vrealize Code Stream 2.4

5 Things You Need for a True VMware Private Cloud

Trove: The OpenStack DBaaS

Transcription:

OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

Agenda 1. OpenStack Architecture 2. Pattern Deployment with Heat 3. Summary 2

What is OpenStack? At its most basic level, OpenStackis a set of open-source software tools for building clouds. The code that comes out of the OpenStackcommunity is used to deploy compute, storage and networking resources in a data center. Users can take control of their application infrastructure environment and manage those resources faster and with greater agility. Jonathan Bryce (Executive Director OpenStack Foundation) Information Week OpenStack: Driving The Software-Defined Economy 30 January 2015 3

OpenStack Mission Statement The OpenStack Mission: to produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable. 4

OpenStack is Huge! Because an open interoperable Cloud is critical for flexible cloud deployment and customer success 22 IBM has 22 core contributors 2 IBM is #2 in contributions to OpenStack integrated projects Platinum Sponsors Gold Sponsors +100 IBMers active developers in OpenStack projects +400 IBMers working on OpenStack from formation of the Foundation to Code Quality & New Function 5

Key messages from the OpenStack Foundation 2H/2015 Marketing Plan OpenStack Powered Planet: realizing the vision of an interoperable, global network of public / private clouds running a common set of services. Integration Engine: OpenStack provides a single pane of glass for your data center technologies. Users don t want to create islands in their data centers; they want a single operating system to manage VMs, containers, bare metal and whatever comes next. Platform for the next 10 years: OpenStack is a sustainable choice based on the breadth of its platform, community engagement, and integration of new technologies. Position OpenStack as the path to production for new technologies as they emerge, like containers. The business case for OpenStack, focusing on end users. 6

Conceptual Architecture 7

8

9

OpenStack Segregation Region 1 Region 2 Heat Glance Nova Horizon Heat Glance Nova Swift Cinder Neutron Keystone Swift Cinder Neutron Availability Zone 1 Availability Zone 2 Availability Zone 1 Availability Zone 2 Nova Compute Nova Compute Nova Compute Nova Compute Nova Compute Host Aggregate SSD disks 10

Deployment Model 11

Hardware Requirements 12

The Big Tent and Core Services Bit Tent ZAQAR Messaging Service SAHARA Data Processing HEAT Orchestration CONGRESS Governance Service NOVA Compute GLANCE Image Core Services GLANCE Image TROVE Database BARICAN Key Management DESIGNATE DNS Service MISTRAL Workflow Service MANILA Shared Filesystem CINDER Block Storage GLANCE Image HORIZON Dashboard MAGNUM Container Service CEILOMETER Telemetry KEYSTONE Identity IRONIC Bare-Metal Provisioning MURANO Application Catalog 13

Patterns and Openstack HEAT A Pattern is a reusable template that describes the structure of an IT solution and contains an abstract model that represents the infrastructure and application components of the IT solution, for example, servers, disks and an application but also policies and pre-defined configurations. OpenStack Heat is a open-standard, template-based orchestration engine on-top of OpenStack APIs For example, a middleware pattern may be implemented in form of a OpenStack Heat template and a set of Chef artefacts. Template Stack Middleware Middleware Server Server Network Storage Volume Network Storage Volume 14

OpenStack Magnum and Containers 15

What is DevStack? A documented shell script to build complete OpenStack development environments devstack is written in bash Supported on both Ubuntu and Fedora Linux Able to run in both single and multi-node environments Not Intended for deployment of OpenStack in production environments 16

Getting started with devstack 1. Ubuntu Server 14.04.3 LTS 2. sudo apt-get update 3. sudo apt-get install git 4. git clone https://www.github.com/openstack-dev/devstack.git -b stable/liberty 5. cd devstack 6. Vim local.conf [[local localrc]] ADMIN_PASSWORD=husa4vik DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD SWIFT_HASH=$ADMIN_PASSWORD # Enable Neutron ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron # Optional, to enable tempest configuration as part of devstack enable_service tempest # Enable heat services ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng # Enable Swift enable_service s-proxy s-object s-container s-account 7../stack.sh 17

Agenda 1. OpenStack Architecture 2. Pattern Deployment with Heat 3. Summary 18

Levels of Cloud Orchestrations Management Tool Integration Service Orchestration Workload Orchestration Infrastructure as a Service Enabling business transformation Self Service Catalog & Orchestration Workflows Composable and integrated application development platform Pattern Management Software Defined, Enterprise class, optimized infrastructure Infrastructure Management Compute Storage Networking Development Environment Integration 19

WAS ND 8.5.5 clustered with horizontal scalability Cell-1 OS::Heat::ResourceGoup IHS JVM RHEL 6.5 Disk1: 64 GB FS Appl FS Data NA Root disk 64 GB... NDM RHEL 6.5 Disk1: 64 GB FS Appl FS Data IHS JVM RHEL 6.5 Disk1: 64 GB FS Appl FS Data Root disk 64 GB NA Root disk 64 GB Pattern Specification: WAS ND 8.5.5 Multi Node Installation: NDM on dedicated VM Single Cell OS::Heat::ResourceGroup with 1 to n VMs as Application Server nodes Each VM with UCD 6.1 agent IHS and JVM will be configured later on by UCD Each VM with: Red Hat Enterprise Linux 6.5 Default T-Shirt Size: Small 1 vcpus, 2 GB RAM Root Disk: 64 GB Additional Disk with 64 GB, partitioned and with volume groups using script provided by SOD team TSM file backup enabled Installation of WAS 8.5.5 on file system of application volume group Availability Zone (DC) selectable SLA and disk parameters selectable Default: Bronze and no disk mirroring Security Zone and Patch category selectable 20

OpenStack deployment of a middleware pattern 1. Heat stack-create command is run with the specified Heat template containing the definition of software resources. 2. Heat Engine orchestrates the deployment of associated resources. 3. A new virtual machine is provisioned. 4. On first boot, cloud-init retrieves configuration data from metadata service. 5. The virtual machine is initialized with the configuration and user-data scripts are executed. OpenStack Services Identity Service Storage Service Telemetry Service Compute Service Metadata Service Image Service 2 Heat 1 Heat Template Repository Server Chef Server Software Repository 6. TripleO tools retrieve from the Heat metadata service the script for installing and initializing the Chef client of the associated software configuration resource. 7. Based on the role assigned to the virtual machine, the Chef cookbook is run on the local node and the installation media is retrieved 8. Middleware is installed and configured 3 Compute Service 4 Cloud-Init User Data 5 7 6 TripleO Tools Chef client 8 Compute Node Virtual Machine Middleware 21

CMS Approach for Pattern Deployment Service Orchestration: IT Service Offering selected from ICO Self-service UI or invoked via ICO API Deployment of the components of the IT Service Offering is orchestrated by ICO BPM Workload Orchestration: 1. OpenStack Heat as IBM strategic engine for pattern deployment 2. CMS pattern in open-standard format OpenStack Heat Template (HOT) format is input to the Heat engine 3. Use of Chef for middleware deployment, referenced by the pattern template Infrastructure as a Service: 1. CMS provides infrastructure resources like compute, storage and network for the pattern instances ICO 2.5 Service Orchestration Workload Orchestration Infrastructure as a Service Self-service UI Heat Pattern Engine with CMS specific resource type plugins CMS APIs Central Site Local Site IT Service Offering BPM Workflow Chef VM VM LPAR 22

CMS specific OpenStack Resource Types Resource OpenStack Resource Type CMS Resource Type Description Server OS::Nova::Server IBM::CMS::Server Create and managed VMs Storage OS::Cinder::Volume OS::Cinder::VolumeAttachment IBM::CMS::Volume Create and managed additional disks of a VM IP address OS::Neutron::Port IBM::CMS::IPAddress Reserve and release IP addresses from a given security zone (required for MQ pattern) File Backup n/a IBM::CMS::FileBackup Policy Enable File Backup for a VM SSH access n/a IBM::CMS::SSH Access a VM via pre-configure ssh key pair in order to run commands or scripts 23

Use of Heat resource type plugins for deployment CMS Pattern Deployment: Create Heat stack Workload Orchestration Heat Engine Heat stackcreate Heat Resource Type plugins IBM::CMS:: Server IBM::CMS:: StorageVolume IBM::CMS:: FileBackupPolicy IBM::CMS::SSH OS::Heat:: SoftwareConfig OS::Heat:: Software Deployment Infrastructure as a Service CMS Create Server Set Server Role Update Instance Add Disks Update Instance Enable Backup VM Configure Middleware specific userids Install and configure pattern deployment tools Install and configure middleware 24

CMS Supported OpenStack Heat Use Cases Heat stackcreate Heat stackupdate Heat stackdelete Vertical scaling Horizontal scaling Update CPU, Memory Resize additional disk Add or Remove VM(s) Heat actionsuspend Heat actionresume 25

Heat Resource Plug-in Development A resource plug-in needs to extend a base Resource class and implement some relevant life cycle handler methods. Life-cycle methods of a resource: Create: The plug-in should create a new physical resource. Update: The plug-in should update an existing resource with new configuration or tell the engine that the resource must be destroyed and re-created. This method is optional; the default behavior is to create a replacement resource and then delete the old resource. Suspend: The plug-in should suspend operation of the physical resource; this is an optional operation. Resume: The plug-in should resume operation of the physical resource; this is an optional operation. Delete: The plug-in should delete the physical resource. 26

CMS deployment of a Middleware Pattern 1. Heat stack-create command is run with the specified Heat template containing the definition of software resources. 2. Heat Engine orchestrates the deployment of associated infrastructure resources using the CMS API. 3. A new managed or unmanaged virtual machine is provisioned by CMS. OpenStack Services Identity Service Heat CMS plugins 1 Heat Template Repository Server Chef Server 4. Cloud-init is prepared on the virtual machine for execution. 5. Cloud-init is executed as a post-provisioning step and retrieves configuration data from the CMS metadata service. 6. The virtual machine is initialized with the pattern-specific configuration and user-data scripts are executed. CMS Metadata Service 5 4 2 CMS APIs 7 Software Repository 8 7. TripleO tools retrieve from the Heat metadata service the script for installing and initializing the Chef client of the associated software configuration resource. Cloud-Init 6 TripleO Tools 8. Based on the role assigned to the virtual machine, the Chef cookbook is run on the local node and the installation media is retrieved User Data Chef client 9 9. Middleware is installed and configured CMS 3 Virtual Machine Middleware 27

Agenda 1. OpenStack Architecture 2. Pattern Deployment with Heat 3. Summary 28

Summary 1. What is OpenStack and why is it important? 2. Which ones are the OpenStack core components and which functions do they have? 3. What can be done with Heat and Magnum? 4. What is devstack and what does it take to get started? 29