Today. 1. Private Clouds. Private Cloud toolkits. Private Clouds and OpenStack Introduction



Similar documents
An Introduction to OpenStack and its use of KVM. Daniel P. Berrangé

OpenStack IaaS. Rhys Oxenham OSEC.pl BarCamp, Warsaw, Poland November 2013

OpenStack Alberto Molina Coballes

Multi Provider Cloud. Srinivasa Acharya, Engineering Manager, Hewlett-Packard

OpenStack Ecosystem and Xen Cloud Platform

OpenStack Introduction. November 4, 2015

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

Déployer son propre cloud avec OpenStack. GULL François Deppierraz

Snakes on a cloud. A presentation of the OpenStack project. Thierry Carrez Release Manager, OpenStack

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

KVM, OpenStack, and the Open Cloud

Isabell Sippli Cloud Architect, Lab Based Services IBM Software Group 2013 IBM Corporation

Introduction to OpenStack

KVM, OpenStack, and the Open Cloud

Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

Openstack. Cloud computing with Openstack. Saverio Proto

OpenStack The State of the Stack

How To Compare Cloud Computing To Cloud Platforms And Cloud Computing

Mobile Cloud Computing T Open Source IaaS

cloud functionality: advantages and Disadvantages

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

Change the Game with HP Helion

KVM, OpenStack and the Open Cloud SUSECon November 2015

Is OpenStack the best path forward towards successful Clouds? Cor van der Struijf Senior Cloud Advisor

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

SUSE Cloud 5 Private Cloud based on OpenStack

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

An Intro to OpenStack. Ian Lawson Senior Solution Architect, Red Hat

Introduction to Openstack, an Open Cloud Computing Platform. Libre Software Meeting

Mirantis

Sunshine in a Cloudy World

การใช งานและต ดต งระบบ OpenStack ซอฟต แวร สาหร บบร หารจ ดการ Cloud Computing เบ องต น

OpenStack Towards a fully open cloud. Thierry Carrez Release Manager, OpenStack

Cloud Platform Comparison: CloudStack, Eucalyptus, vcloud Director and OpenStack

OpenStack Manila Shared File Services for the Cloud

CLOUDSTACK VS OPENSTACK. Apache CloudStack: It Just Works for Service Providers

HP OpenStack & Automation

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

OPEN CLOUD INFRASTRUCTURE BUILT FOR THE ENTERPRISE

Cloud on TIEN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat

OpenStack & Hyper-V. Alessandro Pilo- CEO Cloudbase

Corso di Reti di Calcolatori M

How To Use Openstack On Your Laptop

Large Construction of a Cloud IaaS with Dynamic Resource Allocation Method Using OpenStack

OpenStack Assessment : Profiling & Tracing

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

Cloud Computing with Open Source Tool :OpenStack. Dr. Urmila R. Pol Department Of Computer Science, Shivaji University, Kolhapur.

Comparing Open Source Private Cloud (IaaS) Platforms

How To Build A Cloud Stack For A University Project

How To Install Openstack On Ubuntu (Amd64)

What is OpenStack? Mike Buzzetti IBM

How To Use Openstack At Cern

Building Storage as a Service with OpenStack. Greg Elkinbard Senior Technical Director

2) Xen Hypervisor 3) UEC

Onboarding VMs to Cisco OpenStack Private Cloud

OpenStack Awareness Session

SYNNEFO: A COMPLETE CLOUD PLATFORM OVER GOOGLE GANETI WITH OPENSTACK APIs VANGELIS KOUKIS, TECH LEAD, SYNNEFO

Research of Enterprise Private Cloud Computing Platform Based on OpenStack. Abstract

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

Sistemi Operativi e Reti. Cloud Computing

Understand IBM Cloud Manager V4.2 for IBM z Systems

Red Hat Enterprise Linux OpenStack Platform Update February 17, 2016

Block Storage in the Open Source Cloud called OpenStack

Architecture des plates-formes IaaS Etat des lieux et perspectives

Infrastructure as a Service (IaaS)

IBM Cloud Manager with OpenStack 4.1

OpenNebula An Innovative Open Source Toolkit for Building Cloud Solutions

Wojciech Furmankiewicz Senior Solution Architect Red Hat CEE

MEAP Edition Manning Early Access Program OpenStack in Action Version 14

Agile Infrastructure: an updated overview of IaaS at CERN

The OpenNebula Standard-based Open -source Toolkit to Build Cloud Infrastructures

Standard Interfaces for Open Source Infrastructure as a Service Platforms

Stanislav Ulrych CTO RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

An Efficient Failover Enabling Mechanism in OpenStack

Getting Started Hacking on OpenNebula

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

Product Overview. Marc Skinner Principal Solutions Architect Red Hat RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Integrated Management of IaaS Resources

Software Defined Networking (SDN) and OpenStack. Christian Koenning

OpenStack An Open Cloud for an Open Data World IBM s Contributions, Commitments & Products

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

TUT19741 Use SUSE Cloud 5 with Manila to utilize NetApp s enterprise class storage for SAP workloads

The OpenNebula Cloud Platform for Data Center Virtualization

FIA Athens 2014 ~OKEANOS: A LARGE EUROPEAN PUBLIC CLOUD BASED ON SYNNEFO. VANGELIS KOUKIS, TECHNICAL LEAD, ~OKEANOS

FREE AND OPEN SOURCE SOFTWARE FOR CLOUD COMPUTING SERENA SPINOSO FULVIO VALENZA

Iron Chef: Bare Metal OpenStack

Transcription:

Today Private Clouds and OpenStack Introduction 1. Private Clouds 2. Introduction to OpenStack What is OpenStack? Architecture and Main components Demo: basic commands Luis Tomás Department of Computing Science 1. Private Clouds Private Cloud toolkits IaaS infrastructure Built for exclusive use of one client full control over infrastructure, data, quality of service, etc. Private Company owns infrastructure may be located at enterprise or at colocation Local (if in-house) Built and managed by enterprise IT or cloud provider Most have stack in their name: Covers the stack from layer 1 (physical) to layer 7 (applications) of the OSI (Open Systems Interconnection) model Quite a few toolkits, and even more debate Examples OpenStack CloudStack OpenNebula Eucalyptus 1

Private Cloud toolkits OpenStack Started by Rackspace (storage files) and NASA in 2010 Both Ubuntu and Red Hat distributions Hypervisors: KVM, Xen, VmWare,,even baremetal CloudStack Apache project OpenStack owner (Citrix) now own CloudStack (2009) and dropped OpenStack More Amazon like Hypervisors: KVM, vsphere, XenServer, Oracle VM More private Cloud toolkits OpenNebula Developed 2008, Complutense University of Madrid, Spain Xen, KVM, VmWare Interfaces: EC2, OGF OCCI, vcloud Large open-source community Nimbus Developed 2009 EC2/S3 compatible Xen, KVM Combine with OpenStack, Amazon, others Even more Eucalyptus Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems Developed 2008 VMware, Xen, KVM Ubuntu, RHEL, and other flavors of Linux Only project based on GPL (GNU general SW license) and not ASL (Apache SW license) Implement AWS API on top of Eucalyptus AWS agrees to support Eucalyptus, users can migrate workloads between the two, applications compatible with both Agenda 1. Private Clouds 2. Introduction to OpenStack What is OpenStack? Architecture and Main components Demo: basic commands 2

2. Introduction to OpenStack 2. Introduction to OpenStack Initiated by Rackspace Cloud and NASA in 2010 Supported by an industry consortium IBM Canonical AT&T Rackspace HP RedHat The Cloud Operation System The biggest open source project in the world > 18000 people, >400 companies, >140 countries, >20M lines of code, http://www.openstack.org/ What is OpenStack? What is OpenStack? Mission statement To produce the ubiquitous open source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. Open Open source Open design Open development Open community OpenStack Foundation OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a data center, all managed through a dashboard that gives administrators control while empowering users to provision resources through a web interface. 3

OpenStack: Overview Written (mostly) in Python All code available as open source Use Devstack available for more convenient development Other tools available, such as RDO from RedHat Ongoing projects for quick/easy installation/ configuration (TripleO) OpenStack inside OpenStack Ongoing effort Changing rapidly DevStack template SERVICE_TOKEN=azertytoken ADMIN_PASSWORD=nomoresecrete MYSQL_PASSWORD=stackdb RABBIT_PASSWORD=stackqueue SERVICE_PASSWORD=$ADMIN_PASSWORD # ``HOST_IP`` should be set manually for best results if the NIC configuration # of the host is unusual, i.e. ``eth1`` has the default route but ``eth0`` is the # public interface. It is auto-detected in ``stack.sh`` but often is indeterminate # on later runs due to the IP moving from an Ethernet interface to a bridge on # the host. Setting it here also makes it available for ``openrc`` to include # when setting ``OS_AUTH_URL``. # ``HOST_IP`` is not set by default. #HOST_IP=w.x.y.z # Logging # ------- LOGFILE=$DEST/logs/stack.sh.log # Using milestone-proposed branches #CINDER_BRANCH=milestone-proposed #GLANCE_BRANCH=milestone-proposed DevStack template ENABLED_SERVICES=rabbit,mysql,key ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account ENABLED_SERVICES+=,g-api,g-reg ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond ENABLED_SERVICES+=,horizon ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometercollector,ceilometer-api Q_PLUGIN=ml2 ENABLE_TENANT_VLANS=True Q_AGENT=openvswitch ML2_VLAN_RANGES=physnet1:100:400 PHYSICAL_NETWORK=physnet1 OVS_PHYSICAL_BRIDGE=br-ex RDO template # Set to 'y' if you would like Packstack to install OpenStack Compute # (Nova) CONFIG_NOVA_INSTALL=y CONFIG_NEUTRON_INSTALL=y CONFIG_HORIZON_INSTALL=y CONFIG_SWIFT_INSTALL=y CONFIG_CEILOMETER_INSTALL=y CONFIG_HEAT_INSTALL=n CONFIG_CLIENT_INSTALL=y... # The IP address of the server on which to install OpenStack services # specific to controller role such as API servers, Horizon, etc. CONFIG_CONTROLLER_HOST=192.168.0.1 # The list of IP addresses of the server on which to install the Nova # compute service CONFIG_COMPUTE_HOSTS=192.168.0.2,192.168.0.3,192.168.0.4,192.168.0.5 PUBLIC_INTERFACE=eth1. 4

RDO template OpenStack: Overview CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vlan # A comma separated ordered list of network_types to allocate as # tenant networks. The value 'local' is only useful for single-box # testing but provides no connectivity between hosts. CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vlan # A comma separated ordered list of networking mechanism driver # entrypoints to be loaded from the neutron.ml2.mechanism_drivers # namespace. CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch # A comma separated list of physical_network names with which flat # networks can be created. Use * to allow flat networks with arbitrary # physical_network names. CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*. Design and coding standards Scalability and elasticity Asynchronous Horizontally scalable Share-nothing (or sharding) Distribute everything Accept eventual consistency Test everything Enforce PEP-8 6 month release cycle OpenStack: Overview Release history OpenStack: Overview Austin Bexar Cactus Diablo Essex Folsom Grizzly Havana Icehouse Juno Kilo? October 2010 February 2011 April 2011 September 2011 April 2012 September 2012 April 2013 October 2013 April 2014 October 2014 April 2015 October 2015? Why Service Providers Are Adopting? Originated by Rackspace and NASA Designed to scale cost effectively Emerging standard backed by large ecosystem Open source with no lock-in or license No desire to build proprietary clouds 5

OpenStack: Overview Contributors OpenStack: Overview Contributors Agenda Conceptual Architecture 1. Private Clouds 2. Introduction to OpenStack What is OpenStack? Architecture and Main components Demo: basic commands 6

Architecture Architecture Consists on several (main) modules: Compute (Nova) Network (Neutron) Image storage (Glance) Block storage (Cinder) Object storage (Swift) Identity (Keystone) Metering (Ceilometer) Orchestration (Heat) Dashboard (Horizon) And many more: Database Service (Trove) Deployment (TripleO) Common Libraries (Oslo) Bare metal (Ironic) Queue service (Marconi) Data processing (Sahara) Key management (Barbican) Logical (Core) Architecture: Icehouse Modules Compute - Nova Controls the cloud computing fabric VM management through the hypervisor Launch VM Start/Stop/Suspend/Resume/Reboot VM Resize/Migrate/LiveMigrate VM Format for describing VMs (Flavor) Supports popular Hypervisors KVM, Xen, or VMWare LXC (Container-based) 7

Modules Modules Compute - Nova Technology agnostic: Virtual machine or container virt. Virtualization agnostic Libvirt (KVM, QEMU, Xen, LXC), XenAPI, Hyper-V, VMware ESX, PowerVM, Docker, Bare-metal Initiates most of the orchestration activities, such as running or migrating an instance Networking - Neutron Network infastructure management Concepts & User configurable topology Networks, Routers, Subnets, Ports Multiple technologies OpenvSwitch, Linux Bridge, Vendor plugins Floating IP addresses Assigning fixed external IPs to VMs Modules Modules Block Storage - Cinder Persistent block storage, named Volumes Multiple storage backends eg LVM, RBD, Gluster, Sheepdog,...+ more... Exposed to compute host via iscsi: Internet Small Computer System Interface Internet protocol (IP)-based storage networking standard for linking data storage facilities Carry SCSI commands over IP netowrks Identity Management - Keystone Single point of integration for OpenStack policy, catalog, token and authentication Central authentication mechanism Directory of users Supports user and system policies Catalog of OpenStack services Can interact with (among others) LDAP Oauth PAM 8

Modules Modules Object Storage - Swift Redundant storage system for static data VM Images Backups Archives Data replication and distribution Multi-datacenter distribution Horizontally scalable Add more storage servers if needed Similar to amazon S3 Object Storage - Swift Stores and servers objects (files) Accessed via API or HTTP requests Employs object level replication to safeguard data Maintains distributed account and container databases Modules Modules Image Service - Glance Support for VM images Discovery Registration Activation Snapshots/Backup Write-once, read-many storage of images Interacts with backend storage OpenStack Object storage Image copied on use by Nova Image Service - Glance Supports most common formats RAW, VHD, VDI, VMDK, qcow2, OVF, Metadata properties eg specify virtual hardware preferences 9

Modules Modules Dashboard - Horizon Django application that users can access in their web browser Web UI for administrators Manage projects, users, and resources Communicates with each OpenStack service via their API Metering - Ceilometer Billing and monitoring Orchestration - Heat Template based And many more Nova Nova Architecture Main, central component VM scheduling VM creating/migration/ termination/ Concepts Instances Flavours Virt drivers Security group Dual APIs OpenStack REST EC2 compatible REST 10

Nova Scheduler Places instances on compute hosts Filter Scheduler: Pluggable filtering rules CPU model / architecture Virtualization type PCI device availability CPU, RAM, Disk usage +more... Nova Compute The nova-compute process is primarily a worker daemon that creates and terminates virtual machine instances via hypervisor s APIs The process by which it does so is fairly complex but the basics are simple: Accept actions from the queue And then perform a series of system commands (like launching a KVM instance) to carry them out while updating state in the database (through nova-conductor) Instance Boot Instance Boot 11

Instance Boot Instance Boot Instance Boot Instance Boot 12

Agenda 1. Private Clouds 2. Introduction to OpenStack What is OpenStack? Architecture and Main components Demo: basic commands OpenStack Demo Basic commands A few commands to: List VMs, volumes, network, flavors Create keys, volumes and networks Create VMs Attach/Detach volumes to VMs Attach floating IPs to VMs Stop/Remove VMs Live-migrate VMs OpenStack demo List existing VMs Volumes Networks OpenStack demo Flavor list Flavor attributes 51 52 13

OpenStack demo Create and show keys OpenStack demo Create volumes OpenStack demo Create virtual networks OpenStack demo Create virtual networks 55 56 14

OpenStack demo Create VMs OpenStack demo Network connectivity and floating IPs 57 OpenStack demo Network connectivity and floating IPs OpenStack demo Attach/Detach Volumes 59 60 15

Upcoming Next (and last) lecture Cloud Application Development #2 (2*45 min) Course summary for exam (45 min) Exam 2015-03-03 Register no later than 2015-02-21 (tomorrow!) 13-17, lecture room N450 Old example exam to be added to course web Assignment 3 (project) to be posted today. 3 deliverables: (Short) project plan. Due: 2015-02-27 Presentation and live demo. Due: 2015-03-23 Project Report. Due 2015-03-27 16