opennebula and cloud architecture

Similar documents
Open Cloud Reference Architecture

OpenNebula on VMware: Cloud Reference Architecture

Installing and Basic Usage

OpenNebula 5.2 Deployment guide

OpenNebula 4.8 Design and Installation Guide

Hyperconverged Cloud Architecture with OpenNebula and StorPool

OpenNebula 4.12 Quickstart Ubuntu and KVM

Experiences with OracleVM 3.3

OpenNebula 4.8 Quickstart CentOS 6 and Xen

Cloud environment with CentOS, OpenNebula and KVM

OpenNebula 4.4 Quickstart Ubuntu and KVM. OpenNebula Project

OpenNebula 4.6 Quickstart CentOS 6 and ESX 5.x

OpenNebula 4.4 Quickstart CentOS 6 and KVM. OpenNebula Project

Overview Demo Claudia OpenNebula

Getting to Know Apache CloudStack

The OpenNebula Virtual Infrastructure Engine

Soluzioni integrate con vsphere La virtualizzazione abilita il percorso evolutivo di innovazione dell'it

OpenNebula 4.10 Quickstart CentOS 6 and KVM

Introduction to Virtualization

Integration of Cloud and Grid Middleware at DGRZR

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

Modelling of virtualized servers

An Introduction to Cloud Computing with OpenNebula

Introducing VMware Validated Designs for Software-Defined Data Center

CloudOpen Europe 2013 SYNNEFO: A COMPLETE CLOUD STACK OVER TECHNICAL LEAD, SYNNEFO

OpenNebula 4.12 Quickstart CentOS 7 and KVM

Introducing VMware Validated Designs for Software-Defined Data Center

Citrix CloudPlatform (powered by Apache CloudStack) Version 4.5 Concepts Guide

Introducing VMware Validated Designs for Software-Defined Data Center

OpenNebula 4.4 Quickstart CentOS 6 and ESX 5.x. OpenNebula Project

PassTest. Bessere Qualität, bessere Dienstleistungen!

Resiliency Replication Appliance Installation Guide Version 7.2

[TITLE] Virtualization 360: Microsoft Virtualization Strategy, Products, and Solutions for the New Economy

vonecloud Documentation

Building Private Cloud Infrastructure

OpenNebula 4.6 Administration Guide

Copyright 2015 EMC Corporation. All rights reserved. Published in the USA.

Upgrade Guide. This document details the upgrade process for customers moving from the full version of OnApp Cloud v2.3.1 to v2.3.2.

Automated Deployment of Private Cloud (EasyCloud)

COP Cloud Computing. Presented by: Sanketh Beerabbi University of Central Florida

Managing a tier-2 computer centre with a private cloud infrastructure

Installation and Cluster Deployment Guide

OPENSTACK: THE OPEN CLOUD

Virtualization. Michael Tsai 2018/4/16

Automated Deployment of Private Cloud (EasyCloud)

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

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

VMware Virtual SAN. Technical Walkthrough. Massimiliano Moschini Brand Specialist VCI - vexpert VMware Inc. All rights reserved.

Introduction to Virtualization. From NDG In partnership with VMware IT Academy

Introducing VMware Validated Design Use Cases

Building a Big IaaS Cloud. David /

The OnApp Cloud Platform

vonecloud Documentation

5/19/11. Introduction. Private cloud Xen, KVM and VMware. Hybrid cloud (cloudbursting) Amazon EC2 other providers through Deltacloud

Installation and Cluster Deployment Guide for VMware

ElasterStack 3.2 User Administration Guide - Advanced Zone

Installation and Cluster Deployment Guide for KVM

Introducing VMware Validated Design Use Cases. Modified on 21 DEC 2017 VMware Validated Design 4.1

Road to Private Cloud mit OpenStack Projekterfahrungen

VMware Integrated OpenStack User Guide. VMware Integrated OpenStack 4.1

[TITLE] Virtualization 360: Microsoft Virtualization Strategy, Products, and Solutions for the New Economy

CompTIA CV CompTIA Cloud+ Certification. Download Full Version :

vsphere Installation and Setup Update 2 Modified on 10 JULY 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

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

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

Citrix CloudPlatform (powered by Apache CloudStack) Version 4.5 Getting Started Guide

VMware Integrated OpenStack User Guide

Installation and Cluster Deployment Guide for KVM

Installing and Upgrading Cisco Network Registrar Virtual Appliance

HyperFlex. Simplifying your Data Center. Steffen Hellwig Data Center Systems Engineer June 2016

How to Keep UP Through Digital Transformation with Next-Generation App Development

A High-Availability Cloud for Research Computing

Using CFEngine with Open Nebula A CFEngine Special Topics Handbook

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

Oracle Corporation 1

Latest IT Exam Questions & Answers

vonecloud Documentation

Build Cloud like Rackspace with OpenStack Ansible

2014 VMware Inc. All rights reserved.

Automated Deployment of Private Cloud (EasyCloud)

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Merging Enterprise Applications with Docker* Container Technology

When (and how) to move applications from VMware to Cisco Metacloud

Installation and Cluster Deployment Guide for KVM

UP! TO DOCKER PAAS. Ming

How CloudEndure Works

What s New with VMware vcloud Director 8.0

Detail the learning environment, remote access labs and course timings

DEPLOYING A VMWARE VCLOUD DIRECTOR INFRASTRUCTURE-AS-A-SERVICE (IAAS) SOLUTION WITH VMWARE CLOUD FOUNDATION : ARCHITECTURAL GUIDELINES

CloudStack Administration Guide

Power your cloud infrastructure with Oracle VM and Cisco!

Introduction to virtualisation, hardware, cloud, containers, unikernels, microkernels. and everything else

Improving Blade Economics with Virtualization

User Workspace Management

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

How CloudEndure Works

VMware vsphere: Install, Configure, Manage plus Optimize and Scale- V 6.5. VMware vsphere 6.5 VMware vcenter 6.5 VMware ESXi 6.

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

VMware vsphere 6.0 / 6.5 Infrastructure Deployment Boot Camp

Transcription:

opennebula and cloud architecture Stefano Bagnasco INFN Torino OpenNebula Cloud Architecture- 1/120

outline Recap from yesterday OpenNebula Open Cloud Reference Architecture OpenNebula internal achitecture OpenNebula concepts & tools OpenNebula Cloud Architecture- 2/120

definition of Cloud Computing Fundamental Characteristcs On-demand self-service Broad network access. Resource pooling. Rapid elasticity. Special Publication 800-145 Measured service. Service models Software as a Service The NIST Definition of Cloud Computing Platform as a Service Infrastructure as a Service Deployment Models Private Cloud Community Cloud Public Cloud Hybrid Cloud Recommendations of the National Institute of Standards and Technology Peter Mell Timothy Grance http://goo.gl/dn1yrg OpenNebula Cloud Architecture- 3/120

cattle and pets Cloud-aware applications: Intrinsically distributed Stateless Failover managed in-app Scaling managed in-app Legacy applications: Client-server No horizontal scalability Failover managed by infrastructure Scaling managed by infrastructure OpenNebula Cloud Architecture- 4/120

reference use case Build a Private Cloud infrastructure to host a number of Virtual Batch Farms Switch Public network Head Node Worker001 Private network NFS Worker002 OpenNebula Cloud Architecture- 5/120

shopping list Hardware Virtualization tools See yesterday s lesson and hands-on OS Images Bare OS or appliance Contextualization tools Cloud platform OpenNebula OpenNebula Cloud Architecture- 6/120

open cloud reference architecture Open Cloud Reference Architecture Version 1.0 Abstract The OpenNebula Cloud Reference Architecture is a blueprint to guide IT architects, consultants, administrators and field practitioners in the design and deployment of public and private clouds fully based on open-source platforms and technologies. It has been created from the collective information and experiences from hundreds of users and cloud client engagements. Besides main logical components and interrelationships, this reference documents software products, configurations, and requirements of infrastructure platforms recommended for a smooth OpenNebula installation. Three optional functionalities complete the architecture: high availability, cloud bursting for workload outsourcing, and federation of geographically dispersed data centers. The document describes the reference architecture for Basic (small to medium-scale) and Advanced (medium to large-scale) OpenNebula Clouds and provides recommended software for main architectural components, and the rationale behind them. Each section also provides information about other open-source infrastructure platforms tested and certified by OpenNebula to work in enterprise environments. To complement these certified components, the OpenNebula add-on catalog can be browsed for other options supported by the community and partners. Moreover, there are other components in the open cloud ecosystem that are not part of the reference architecture, but are nonetheless important to consider at the time of designing a cloud, like for example Configuration Management and Automation Tools for configuring cloud infrastructure and manage large number of devices. OpenNebula Cloud Architecture- 7/120

open cloud reference architecture opennebula.org Figure 1. Reference Architecture, a bird's eye view OpenNebula Cloud Architecture- 8/120

physical hosts Servers that will host the Virtual Machines Often called Hypervisors (like the software) KVM (OpenNebula supports also vcenter and Xen) Monitoring daemons sshd for system connection Figure 1. Reference Architecture, a bird's eye view OpenNebula Cloud Architecture- 9/120

networks Used by OpenNebula and the infrastructure: Service and Storage network Monitoring and control information Image transfers Used by the Virtual Machines: Private Network Private IPs Intra-cloud communications Public Network Public IPs Incoming connectivity to VMs Figure 1. Reference Architecture, a bird's eye view OpenNebula Cloud Architecture- 10/120

storage Service datastores don t necessarily need to be shared across VMs Images can be transferred to the hypervisors disk through ssh and started locally Image Repository Datastore Holds the OS images System Datastore Holds the running instances If it s a shared FS, VMs can be " live-migrated Figure 1. Reference Architecture, a bird's eye view OpenNebula Cloud Architecture- 11/120

the control node Runs the OpenNebula stack oned (the main daemon) schedd (the VM scheduler) Sunstone (the web-based GUI) MySQL DB backend (can be separate) API services (OCCI or EC2) Advanced services " (OneFlow, OneGate, ) Control node unavailability does" not affect running VMs Only control on them (start & " stop, monitoring, ) Figure 1. Reference Architecture, a bird's eye view OpenNebula Cloud Architecture- 12/120

opennebula First established as a research project back in 2005 by Ignacio M. Llorente and Rubén S. Montero. Since its first public release of software in March 2008, it has evolved through opensource releases and now operates as an open source project. OpenNebula.org is a project now managed and supported by OpenNebula Systems. OpenNebula Cloud Architecture- 13/120

disclaimer This is only a partial overview of OpenNebula most basic concepts and capabilities Time is limited Reference release for this is 4.8 Oldish, but we know it well Daniel Molina will give a talk about the future and exciting new features in 4.14 For everything in between, everything we could not fit in the time allotted, and any kind of extra details please refer to OpenNebula documentation http://docs.opennebula.org/4.12 OpenNebula Cloud Architecture- 14/120

opennebula internal architecture CLI GUI API OpenNebula Core Scheduler Drivers Virt Network Storage Auth IS Cloud Local infrastructure External cloud OpenNebula Cloud Architecture- 15/120

a more detailed view OpenNebula Cloud Architecture- 16/120

basic resources and components Host: Physical machine running a supported hypervisor. Cluster: Pool of hosts that share datastores and virtual networks. Template: Virtual Machine definition. Also, everything else is defined through templates Image: Virtual Machine disk image. Virtual Machine: Instantiated Template. A Virtual Machine represents one life-cycle, and several Virtual Machines can be created from a single Template. Virtual Network: A group of IP leases that VMs can use to automatically obtain IP addresses. OpenNebula Cloud Architecture- 17/120

images Disk Images are key component of any cloud system Disk images can be persistent or volatile Persistent images are saved back to the repository when the VM is destroyed Changes on volatile images are lost Three types of images: OS Datablock CDROM Plain file (Kernel, RamDisk, Context) OpenNebula Cloud Architecture- 18/120

datastores OpenNebula uses Datastores to handle the VM disk Images. A Datastore is any storage medium used to store disk images for VMs Typically, a datastore will be backed by SAN/NAS servers. Each Datastore has to be accessible through the front-end using any suitable technology NAS, SAN or direct attached storage. Image datastores can be of different type depending on the underlying technology: File-system vmfs FS LVM Block LVM Ceph GlusterFS Devices OpenNebula Cloud Architecture- 19/120

transfer managers The Disk images registered in a datastore are transferred to the hosts by the transfer manager drivers. TM drivers perform low-level storage operations. OpenNebula includes several different TMs Not all TMs work with all Datastores! shared ssh qcow2 vmfs ceph lvm fs_lvm dev OpenNebula Cloud Architecture- 20/120

virtual networks OpenNebula allows the creation of Virtual Networks by mapping them on top of the physical ones. They will be available to the VMs through the corresponding bridges on hosts. A virtual network definition consists of three different parts: the underlying physical network infrastructure The logical address space available (IPv4, IPv6, dual stack) Context attributes (e.g. netmask, DNS, gateway, ) OpenNebula also comes with a Virtual Router appliance to provide networking services like DHCP, DNS, OpenNebula Cloud Architecture- 21/120

network isolation OpenNebula connects a newly created VM s network interfaces to the bridge or physical device specified in the definition. This will allow the VM to have access to different networks, public or private. In some cases, the relevant bridges are also created on the host Each host has an associated Network Driver, with different network isolation technologies: dummy fw 802.1Q ebtables ovswitch VMware OpenNebula Cloud Architecture- 22/120

templates Resources and components are defined in OpenNebula through templates. All templates share the same syntax The most important ones are VM templates Managed through the onetemplate command NAME = test-vm MEMORY = 128 CPU = 1 DISK = [ IMAGE = CentOS6" ] DISK = [ TYPE = swap, SIZE = 1024 ] NIC = [ NETWORK = "Public", NETWORK_UNAME="oneadmin" ] GRAPHICS = [ TYPE = "vnc", LISTEN = "0.0.0.0"] OpenNebula Cloud Architecture- 23/120

basic vm lifecycle Pending Initial state, waiting for a resource to run on. Prolog The system is transferring the VM files to the host. Boot OpenNebula is waiting for the hypervisor to create the VM. Running The VM is running, the virtualization driver will monitor it. Save The system is saving the VM files after a migration, stop or suspend operation. Epilog The system is cleaning up the host, and disk images to be saved are copied back to the system datastore. Shutdown OpenNebula has sent the VM the shutdown ACPI signal, and is waiting for it to complete the shutdown process. Stopped, Suspended, Poweroff The VM is stopped. Failed The VM failed. (There are more ) OpenNebula Cloud Architecture- 24/120

simplified VM lifecycle OpenNebula Cloud Architecture- 25/120

full VM lifecycle Stefano Bagnasco - INFN Torino. OpenNebula Cloud Architecture- 26/120

the scheduler The OpenNebula scheduler matches the VMs in the queues with the available hosts Implemented as a separate daemon Just a FIFO buffer, no scheduling algorithms like FairShare Several policies can be implemented: Striping Packing Load-Sensitive OpenNebula Cloud Architecture- 27/120

contextualization Default method for contextualization is the Virtual CDROM The image needs the opennebula-context RPM package ONe generates a context.sh file based on information in the VM template Networking root ssh key ONe generates a virtual CDROM image with context.sh Also custom extra files can be added mounted at boot time on the new VM context.sh (with ONe-generated context) and possibly init.sh (with custom context) are executed at boot time By /etc/one-context.d/00-network OpenNebula Cloud Architecture- 28/120

contextualization CONTEXT=[ ] SSH_PUBLIC_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApph23\ K7jDUqm24mnewnnJkFgY/W8mIfytrKEIADUp9I5ksxOgMwRFkYvWmhUAY\ CCkagTxQwFPvNAJbkdEYBEVvpCSw2Nfbb8uOMZovIoBEziV7cZAn2SDrT\ XfaGUOblR14a9THoK7P2FpoXn86lFDcfrXcEnU3i2qoRaJ4cW+QLSIzRr\ zi4nnffldbfqetru2u+bjbtytfq+alwmsunfy1fwcmktzcoj06fczik1d\ Q6gKgDcuSzEHVKIi9Jc7HrWNfXhsLlqdnNbC9WbCmDvSlOCAQ1Gl12WHz\ thbjjqgfrjp5u76n+c0wb8scs4yahayf5w+xfvmgxvw==\ oneadmin@one-master.to.infn.it", FILES="/var/lib/one/devel/context/TestVM/init.sh\ /var/lib/one/devel/context/testvm/bagnasco.pub, TARGET="vde OpenNebula Cloud Architecture- 29/120

two strategies When instantiating a new VM Start from a very basic OS image and use tools to configure it Decouple OS from application Maintain only a limited number of images Basic OS images are small Contextualization scripts can be complex and difficult to maintain Complex contextualizations can be (very) slow Instantiate an OS image, configure it, save it and re-use it for subsequent instantiations Short VM start-up time Saved images are always consistent Large number of images to maintain Fully configured images can be very large OpenNebula Cloud Architecture- 30/120

now... More about this after the coffee break With live demo! OpenNebula Cloud Architecture- 31/120

Questions? Stefano.Bagnasco@to.infn.it?Thanks OpenNebula Cloud Architecture- 32/120