SUSE Cloud 5 Private Cloud based on OpenStack Michał Jura Senior Software Engineer Linux HA/Cloud Developer mjura@suse.com
2
New solutions emerge: Infrastructure-as-Service Cloud = 3
SUSE Cloud
Why OpenStack? 5
Project History 6 Provide components for Infrastructure-as-a-Service Started by Rackspace and NASA in July 2010 Currently used for example by CERN Today: more than 500 companies involved in the OpenStack ecosystem (including SUSE) Eleven releases so far (Austin, Bexar, Cactus, Diablo, Essex, Folsom, Grizzly, Havana, Icehouse, Juno, Kilo) Next release: Liberty Under development: Mitaka
How is SUSE Participating? Alan Clark Platinum Member first Chairman of the Board Promotion in opensuse Community 7
SUSE Cloud Overview
SUSE Cloud SUSE Cloud is an open source software solution based on the OpenStack and Crowbar projects that provides the fundamental capabilities for enterprises to deploy an Infrastructure-as-a-Service Private Cloud End Users APIs Self Service Portal Automated Image Repository Configuration Optimized Deployment APIs 9 Pool of Virtualized Servers (Compute Storage Nodes)
OpenStack Distribution SUSE Cloud 5 Management Framework Install Install Framework (Crowbar, Chef, TFTP, DNS, DHCP) Billling Cloud Required Services RabbitMQQ Message Postgresql Database SUSE VM Mgmt Manager SUSE Image Tool Studio Dashboard (Horizon) Compute (Nova) Portal Cloud APIs (OpenStack and EC2) AUTH (Keystone) Images (Glance) App Monitor Orchestration (Heat) Object (Swift) Hypervisor Sec & Perf Telemetry (Ceilometer) Network (Neutron) Adapters Xen, KVM Vmware, Vmware, HyperV HyperV RadosGW Block (Cinder) Adapters RBD Rados Operating System SUSE Linux Enterprise Server 12 Physical Infrastructure: x86-64, Switches, Storage OpenStack Juno 10 SUSE CloudTools Adds Management OS andproduct Hypervisor SUSE Physical Infrastructure Partner Solutions Ceph
11
SUSE Cloud Controller 12 State Database (PostgreSQL) 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)
SUSE Cloud Storage Nodes Pool of machines providing storage Object storage provided by swift or ceph Block storage provided by Nova Volume or ceph 13 optional Multiple backends
SUSE Cloud and SUSE Storage Ceph Project 14 Ceph Overview Unified cloud storage object and block in a single system An alternative for Swift, integrated with SUSE Cloud Block Storage SUSE Cloud and Ceph Integrates with Nova for provisioning ReSTful API SUSE Cloud full support
SUSE Cloud Compute Nodes Pool of machines where instances run Equiped with RAM and CPU SUSE Cloud Compute (nova) service 15 Setting up, starting, stopping, migration of VM's
SUSE Cloud 5 Hypervisor Support 16 Linux hypervisors coming with SUSE Cloud 5: KVM Xen Docker ZVM (SUSE OpenStack Cloud 6) Microsoft Hyper-V VMware vsphere and Vmware NSX Mixed hypervisor support: different hypervisors in the same cloud Baremetal install via Crowbar of nodes incl. KVM, Xen, Hyper-V compute nodes
OpenStack Neutron with VMware NSX 17
OpenStack Nova with VMware vcenter 18
SUSE Cloud Admin Server 20 Installation Framework Physical server orchestration Chef and Crowbar open source projects Mission: A Zero Touch Cloud Installer Servers in boxes to full function cloud in under two hours Bare metal install including BIOS and RAID config Users Choose How Their System is Configured ( barclamps ) Ongoing Operations Model (DevOps for Clouds) Leverages & Wraps Opscode Chef
6471 16 2 Parameters Components Hours Days 21
SUSE Cloud Admin Server - Workflow Status (post) Admin Node Cloud Node State Machine Run List Crowbar Config Software Mirror Ch Chef Server lien ef C t Chef Client Ch ef Cli en t AutoYAST DHCP/TFTP Apps Network Config Network Config SUSE Linux Enterprise Server Hardware Config (via image discovery) PXE Boot 22 Apps
SUSE Cloud 5 Highlights Based on OpenStack Juno Orchestration Telemetry (metering, measuring) Trove (DataBase as a Service) Features Docker support - in addition to KVM, Xen, VMware, Hyper-V Networking and block storage adapter support 23 Cisco Unified Computing System Cisco Nexus, EMC, VMware NSX and others Full support for Ceph Platform for High Availability
SUSE Cloud HA
High Availability Minimize data loss Minimize system downtime 25
High Availability for SUSE Cloud 26 First question: what are we trying to protect? Administration Server Control Plane Guests
SUSE Cloud components 27
HA Setup SUSE Cloud components 28
Development approach Use SLE HA Components Pacemaker cluster Create single Pacemaker barclamp Modify existing barclamps to enable HA deployments HAproxy as load balancer Postgres 29 Use DRBD + Pacemaker Control Node SKUs will include entitlement to SLE HA
HA: Simplified Structure Control Node 2 Control Node 1 Dashboard Nova Neutron Glance Keystone RabbitMQ PostgreSQL DRBD Pacemaker Cluster 30
HA: Cloud Diagram Controller Cluster Data Cluster Network Cluster Compute Nodes Compute 1 Crowbar Compute 2 192.168.124.10 31 192.168.124.8{7,9} 192.168.124.8{1,3} 192.168.130.1{1,2} 192.168.130.1{0,-} 192.168.126.{2,3} 192.168.126.{8,-} 192.168.124.8{4,2} 192.168.124.8{5,6} 192.168.130.1{3,4} 192.168.126.{5,6}
High Availability 32 Component HA type Data Base Active/Passive RabbitMQ Active/Passive Keystone Active/Active Glance Active/Active Cinder Active/Active Neutron Active/Active Nova-Service Active/Active Horizon Active/Active Heat Active/Active Ceilometer Active/Active
Questions?
Call to action line one and call to action line two www.calltoaction.com Dziękuję za uwagę! 34
SUSE w Polsce ul. Postępu 21 02-676 Warszawa 36 +48 22 537 5020 Infolinia 800 22 6685 www.suse.com Dołącz do nas: www.opensuse.org
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 Disclaimer This 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.