OpenNebula. Sándor Ács

Similar documents
Getting Started Hacking on OpenNebula

The OpenNebula Cloud Platform for Data Center Virtualization

OpenNebula Open Souce Solution for DC Virtualization. C12G Labs. Online Webinar

OGF25/EGEE User Forum Catania, Italy 2 March 2009

OpenNebula Open Souce Solution for DC Virtualization

OpenNebula Open Souce Solution for DC Virtualization

Cloud Computing Architecture with OpenNebula HPC Cloud Use Cases

OpenNebula The Open Source Solution for Data Center Virtualization

Deployment of Private, Hybrid & Public Clouds with OpenNebula

Open Source Cloud Computing Management with OpenNebula

Building Clouds with OpenNebula 2.2 and StratusLab

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

VM Management for Green Data Centres with the OpenNebula Virtual Infrastructure Engine

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

Virtual Machine Management with OpenNebula in the RESERVOIR project

OpenNebula An Innovative Open Source Toolkit for Building Cloud Solutions

OpenNebula Cloud Platform for Data Center Virtualization

Open-source and Standards - Unleashing the Potential for Innovation of Cloud Computing

Why is a good idea to use OpenNebula in your VMware Infrastructure?

Elastic Management of Cluster based Services in the Cloud

International Symposium on Grid Computing 2009 April 23th, Academia Sinica, Taipei, Taiwan

Introduction to Cloud Computing

GESTIONE DI APPLICAZIONI DI CALCOLO ETEROGENEE CON STRUMENTI DI CLOUD COMPUTING: ESPERIENZA DI INFN-TORINO

Mobile Cloud Computing T Open Source IaaS

Scheduler in Cloud Computing using Open Source Technologies

Building Clouds with OpenNebula 3.4

Lecture on Cloud Computing. Course 10. Academic cloud systems

Managing a Tier-2 Computer Centre with a Private Cloud Infrastructure

New resource provision paradigms for Grid Infrastructures: Virtualization and Cloud

An Introduction to Virtualization and Cloud Technologies to Support Grid Computing

OpenNebula Cloud Case Studies

Design and Building of IaaS Clouds

OpenNebula Cloud Case Studies for Research and Industry

Cloud and Virtualization to Support Grid Infrastructures

Cloudcom 2010 Indianapolis, USA Nov 30 Dec 3, OpenNebula Tutorial. Constantino Vázquez Blanco Borja Sotomayor

Enabling Technologies for Cloud Computing

Vmware Training. Introduction

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

OpenNebula Leading Innovation in Cloud Computing Management

VMware vsphere-6.0 Administration Training

Vmware VSphere 6.0 Private Cloud Administration

Frequently Asked Questions: EMC UnityVSA

Infrastructure as a Service

Sistemi Operativi e Reti. Cloud Computing

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

Storage solutions for a. infrastructure. Giacinto DONVITO INFN-Bari. Workshop on Cloud Services for File Synchronisation and Sharing

vsphere Private Cloud RAZR s Edge Virtualization and Private Cloud Administration

Cloud Computing from an Institutional Perspective

Standard Interfaces for Open Source Infrastructure as a Service Platforms

Cloud Computing for Control Systems CERN Openlab Summer Student Program 9/9/2011 ARSALAAN AHMED SHAIKH

How To Build A Cloud Stack For A University Project

OpenNebula 4.12 Design and Installation Guide

With Red Hat Enterprise Virtualization, you can: Take advantage of existing people skills and investments

Challenges in Hybrid and Federated Cloud Computing

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Cloud Computing Overview

OpenNebula 4.6 Design and Installation Guide

RED HAT ENTERPRISE VIRTUALIZATION

Enterprise-Class Virtualization with Open Source Technologies

Cloud Computing #8 - Datacenter OS. Johan Eker

CLOUD COMPUTING. Virtual Machines Provisioning and Migration Services Mohamed El-Refaey

Khóa học dành cho các kỹ sư hệ thống, quản trị hệ thống, kỹ sư vận hành cho các hệ thống ảo hóa ESXi, ESX và vcenter Server

Operating Systems Virtualization mechanisms

OpenNebula Cloud Innovation and Case Studies for Telecom

Integrated Management of IaaS Resources

Cloud Models and Platforms

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

Mirantis

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

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

THE EUCALYPTUS OPEN-SOURCE PRIVATE CLOUD

SURFnet Cloud Computing Solutions

CLOUD COMPUTING. Virtual Machines Provisioning and Migration Services Mohamed El-Refaey

VMware vcloud Director for Service Providers

FOR SERVERS 2.2: FEATURE matrix

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

Preparation Guide. How to prepare your environment for an OnApp Cloud v3.0 (beta) deployment.

Nasuni Filer Virtualization Getting Started Guide. Version 7.5 June 2016 Last modified: June 9, Nasuni Corporation All Rights Reserved

AFACT Cloud Computing Working Group. Chia Hung Kao Institute for Information Industry

VMware vsphere: Install, Configure, Manage [V5.0]

How to Create a Simple Content Management Solution with Joomla! in a vcloud Environment. A VMware Cloud Evaluation Reference Document

VMware vsphere Design. 2nd Edition

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Definitions. Hardware Full virtualization Para virtualization Hosted hypervisor Type I hypervisor. Native (bare metal) hypervisor Type II hypervisor

VMware vsphere 5.1 Advanced Administration

7 Ways OpenStack Enables Automation & Agility for KVM Environments

Setup for Failover Clustering and Microsoft Cluster Service

How To Install Vsphere On An Ecx 4 On A Hyperconverged Powerline On A Microsoft Vspheon Vsphee 4 On An Ubuntu Vspheron V2.2.5 On A Powerline

Virtualization, SDN and NFV

Marco Mantegazza WebSphere Client Technical Professional Team IBM Software Group. Virtualization and Cloud

How To Create A Cloud Based System For Aaas (Networking)

How To Run A Cloud Server On A Server Farm (Cloud)

Comparison of Multiple Cloud Frameworks

Comparing Open Source Private Cloud (IaaS) Platforms

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

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Onboarding VMs to Cisco OpenStack Private Cloud

Simplified Private Cloud Management

Table of Contents. vsphere 4 Suite 24. Chapter Format and Conventions 10. Why You Need Virtualization 15 Types. Why vsphere. Onward, Through the Fog!

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

Transcription:

OpenNebula Sándor Ács acs.sandor@sztaki.mta.hu http://www.lpds.sztaki.hu/cloudresearch This presentation is heavily based on multiple presentations of the following people: Gábor Kecskeméti, Ignacio M. Llorente, Rubén S. Montero, Jaime Melis, Javier Fontán, Rafael Moreno

Outline Virtual Infrastructure Managers OpenNebula as a whole Architectural view on OpenNebula Constructing a Private cloud Virtual Machines in OpenNebula Constructing a Hybrid cloud

VIRTUAL INFRASTRUCTURE MANAGERS

Why a Virtual Infrastructure Manager? VMs are great!!...but something more is needed Where did/do I put my VM? (scheduling & monitoring) How do I provision a new cluster node? (clone & context) What MAC addresses are available? (networking) Provides a uniform view of the resource pool Life-cycle management and monitoring of VM The VIM integrates Image, Network and Virtualization VM VM VM VM OpenNebula (VIM) hypervisor hypervisor hypervisor hypervisor

Extending the Benefits of Virtualization to Clusters Dynamic deployment and replacement of virtual machines on a pool of physical resources Transform a rigid distributed physical infrastructure into a flexible and agile virtual infrastructure Backend of Public Cloud: Internal management of the infrastructure Private Cloud: Virtualization of cluster or data-center for internal users Cloud Interoperation: Ondemand access to public clouds

WHAT IS OPENNEBULA?

IaaS Cloud Computing Tool for Managing a Data Center's Virtual Infrastructure Open source Apache license Interoperable, based on standards Adaptable Private Clouds Virtualize your on-premise infrastructure Pubic Clouds Expose standard cloud interfaces Hybrid Clouds Extend your private cloud with resources from a remote cloud provider Ready for end-users Advanced user management CLI and Web Interface What is OpenNebula? Administrator Private User Physical Infrastructure Public User Remote Provider

What is OpenNebula? Rigorously Tested, Matured Through Vibrant Community and Many Release Cycles Develop & innovate Support the community Collaborate Third party scalability tests: 16,000 VMs TP v1.0 v1.2 v1.4 v2.0 v2.2 v3.0 v3.2 v3.4 v3.6 v3.8 v4.0 2005 2008 2009 2010 2011 2012 2013 2014 Research Project 5,000 downloads/month

The Benefits of OpenNebula For the Infrastructure Manager Centralized management of VM workload and distributed infrastructures Support for VM placement policies: balance of workload, server consolidation Dynamic resizing of the infrastructure Dynamic partition and isolation of clusters Dynamic scaling of private infrastructure to meet fluctuating demands Lower infrastructure expenses combining local and remote Cloud resources For the Infrastructure User Faster delivery and scalability of services Support for heterogeneous execution environments Full control of the lifecycle of virtualized services management

Interoperability from the Cloud Provider perspective Interoperable (platform independent), innovative (feature-rich) and proven (mature to run in production).

Widely Used to Build Enterprise Private Clouds in Medium and Large Data Centers Survey Q2/Q3 2012 (2,500 users http://c12g.com/resources/survey/)

The Benefits for System Integrators Fits into any existing data center, due to its open, flexible and extensible interfaces, architecture and components Builds any type of Cloud deployment Open source software, Apache license

Comparison with Similar Technologies Virtualization Management Virtual Network Management Image Management Service Contextualizat ion VMware Vsphere Eucalyptus Nimbus OpenStack OpenNebula VMware Xen, KVM Xen Xen, KVM, VMware Xen, KVM, VMware Yes No Yes Yes Yes Yes Yes Yes Yes Yes No No Yes Yes Yes Scheduling Yes No No Yes Yes Administratio n Interface Hybrid Cloud Computing Cloud Interfaces Flexibility and Extensibility Yes No No Yes Yes No No No Yes Yes vcloud EC2* WSRF, EC2* EC2*, OGF OCCI EC2*, OGF OCCI No Yes Yes Yes Yes Open Source No GPL Apache Apache Apache

INSIDE OPENNEBULA

Broad Commodity and Enterprise Platform Support - The Cloud Provider Perspective Internet Front-end X509 LDAP ssh keys ACL permissions, Groups Accounting VM Instance Networks VLAN per user (layer2) Open vswitch, 802.1q Ebtables Hosts VMware Xen KVM Service Networks SSH, Ganglia/Nagios Additional monitor agents Datastores DFS: NFS, Ceph, GlusterFS SAN: Fibre Channel, iscsi, LVM SSH

Internal OpenNebula Architecture - The Cloud Integrator Perspective CLI GUI Cloud Servers OCA (Ruby, Java) Scheduler Design Principles Modularity Lightness Openness XML-RPC API OpenNebula core Monitoring Storage Network DB Virtualization Images Auth

Sysadmin-centric Approach - The Cloud Integrator Perspective CLI GUI Cloud Servers OCA (Ruby, Java) Scheduler XML-RPC API OpenNebula core Easy to adapt Easy to create new ones Monitoring Storage Network DB Virtualization Images Auth OpenNebula drivers Small script for each action, written in any language Simple interaction done through arguments, std/err output, exit code Different drivers can co-exist in heterogeneous environments Can be executed locally or in the remote Host The Host monitorization updates the remote driver directory

How to Develop Drivers - The Cloud Integrator Perspective An example: the migrate script Each script performs a small, synchronous task Helper scripts provide commonly-used functions for log, ssh execution, error reporting, etc.

How to Interact with OpenNebula - The Cloud Integrator Perspective CLI GUI XML-RPC Monitoring Virtualization OCA (Ruby, Java) OpenNebula core Storage Images Cloud Servers XML-RPC API Network Auth Scheduler DB Simple, fast Works in any language OCA (OpenNebula Cloud API) High level bindings Complete functionality Ruby, Java, Python OpenNebula distribution Community Contributions Cloud APIs OCCI OVF CDMI

How to Interact with OpenNebula - The Cloud Integrator Perspective OCA Ruby Example: Shutdown all my Virtual Machines

Advanced Deployments Clustering the Physical Resources - Advanced Deployments Clusters Pools of hosts that share datastores and networks Used for load balancing, high availability, and high performance computing Multiple Datastores per Cluster Balance I/O operations between storage servers Define different SLA policies (e.g. backup) and performance features for different VM types or users

Storage Complex Storage behind OpenNebula How are the images transferred to the hosts? OpenNebula includes 6 different ways to distribute datastore images to the hosts: Shared, the datastore is exported in a shared filesystem to the hosts. SSH, datastore images are copied to the remote hosts using the ssh protocol iscsi, hosts access datastore targets opening and closing iscsi sessions dynamically VMFS, image copies are done using the vmkfstools (VMware filesystem tools) QCOW, a driver specialized to handle qemu-qcow format and take advantage of its snapshoting capabilities CEPH, a driver that deletes to libvirt/kvm the management of Ceph RBDs.

Storage Complex Storage behind OpenNebula System, to hold images for running VMs, depending on the storage technology used these temporal images can be complete copies of the original image, qcow deltas or simple filesystem links. File-system, to store disk images in a file form. The files are stored in a directory mounted from a SAN/NAS server. iscsi/lvm, to store disk images in a block device form. Images are presented to the hosts as iscsi targets. VMware, a datastore specialized for the VMware hypervisor that handles the vmdk format. vmfs, a datastore specialized in VMFS format to be used with VMware hypervisors. Cannot be mounted in the OpenNebula front-end since VMFS is not *nix compatible. Ceph, to store disk images using Ceph block devices. Files, This is a special datastore used to store plain files and not disk images. The plain files can be used as kernels, ramdisks or context files.

Network Networking for private clouds OpenNebula management operations use ssh connections Image traffic, may require the movement of heavy files (VM images, checkpoints). Dedicated storage links may be a good idea VM demands, consider the typical requirements of your VMs. Several NICs to support the VM traffic may be a good idea OpenNebula relies on bridge networking for the VMs.

Network Example network setup in a private cloud

VIRTUAL MACHINES

VMs Preparing VMs for OpenNebula You can use any VM image prepared for the target hypervisor Hint I: Use contextualisation. Hint II: Do not pack useless information in the images Hint III: Install once and deploy many; prepare master images Hint IV: Do not put private information (e.g. ssh keys) in the master images, use the contextualisation

VMs VM Description Option NAME CPU Memory DISK (SOURCE, TARGET, CLONE, TYPE) NIC (NETWORK) Description Name that the VM will get for description purposes. Percentage of CPU divided by 100 required for the Virtual Machine. Required amount of memory Description of a disk image to attach to the VM. Definition of a virtual network the VM will be attached to. Multiple disk an network interfaces can be specified just adding more disk/nic statements. To create swap images you can specify TYPE=swap, SIZE=<size in MB>. By default disk images are cloned, if you do not want that to happen CLONE=no can be specified and the VM will attach the original image.

VMs VM States overview HOLD MIGRATE PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE SUSPENDED STOPPED

VMs Pending state After submitting a VM description to ONE it is added to the database and its state is set to PENDING. In this state IP and MAC addresses are also chosen if they are not explicitly defined. The scheduler awakes every 30 seconds and looks for VM descriptions in PENDING state and searches for a physical node that meets its requirements. Then a deploy XML-RPC message is sent to oned to make it run in the selected node. PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE

VMs Prolog state In PROLOG state the Transfer Driver prepares the images to be used by the VM. Transfer actions: CLONE: Makes a copy of a disk image file to be used by the VM. If Clone option for that file is set to false and the Transfer Driver is configured for NFS then a symbolic link is created. MKSWAP: Creates a swap disk image on the fly to be used by the VM if it is specified in the VM description. PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE

VMs Boot state In this state a deployment file specific for the virtualization technology configured for the physical host is generated using the information provided in the VM description file. Then Virtual Machine Driver sends deploy command to the virtual host to start the VM. The VM will be in this state until deployment finishes or fails. PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE

VMs Contextualization User provided, OpenNebula provided contextualization info Requirements against the VM: Should be prepared to use the contextualization ISO image. Should mount the ISO image at boot time. After boot it should use the scripts on the ISO image to make use of the information provided.

VMs Running and Shutdown states While the VM is in RUNNING state it will be periodically polled to get its consumption and state. In SHUTDOWN state Virtual Machine Driver will send the shutdown command to the underlying virtual infrastructure. PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE

VMs Epilog state In EPILOG state the Transfer Manager Driver is called again to perform this actions: Copy back the images that have SAVE=yes option. Delete images that were cloned or generated by MKSWAP. PENDING PROLOG BOOT RUNNING SHUTDOWN EPILOG DONE

HYBRID CLOUD

Overview

Using an EC2 hybrid cloud Virtual Machines can be instantiated locally or in EC2 The VM template must provide a description for both instantiation methods. The EC2 counterpart of your VM (AMI_ID) must be available for the driver account The EC2 VM template attribute should describe not only the VM s properties but the contact details of the external cloud provider

Hybrid cloud Use Cases On-demand Scaling of Computing Clusters Elastic execution of a SGE computing cluster Dynamic growth of the number of worker nodes to meet demands using EC2 Private network with NIS and NFS EC2 worker nodes connect via VPN On-demand Scaling of Web Servers Elastic execution of the NGinx web server The capacity of the elastic web application can be dynamically increased or decreased by adding or removing NGinx instances

Questions? Thank you for the attention! https://www.lpds.sztaki.hu/cloudresearch