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



Similar documents
OGF25/EGEE User Forum Catania, Italy 2 March 2009

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

OpenNebula An Innovative Open Source Toolkit for Building Cloud Solutions

Virtual Machine Management with OpenNebula in the RESERVOIR project

An Introduction to Virtualization and Cloud Technologies to Support Grid Computing

Cloud Computing from an Institutional Perspective

Elastic Management of Cluster based Services in the Cloud

Design and Building of IaaS Clouds

Cloud and Virtualization to Support Grid Infrastructures

Enabling Technologies for Cloud Computing

Cloud Computing Overview

Deployment of Private, Hybrid & Public Clouds with OpenNebula

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

OpenNebula Leading Innovation in Cloud Computing Management

Scheduler in Cloud Computing using Open Source Technologies

OpenNebula Open Souce Solution for DC Virtualization

OpenNebula Open Souce Solution for DC Virtualization

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

An Open Source Solution for Virtual Infrastructure Management in Private and Hybrid Clouds

Getting Started Hacking on OpenNebula

Building Clouds with OpenNebula 2.2 and StratusLab

Open Source Cloud Computing Management with OpenNebula

OpenNebula Cloud Case Studies

The OpenNebula Cloud Platform for Data Center Virtualization

OpenNebula The Open Source Solution for Data Center Virtualization

Cloud Computing Architecture with OpenNebula HPC Cloud Use Cases

SURFnet Cloud Computing Solutions

OpenNebula Cloud Platform for Data Center Virtualization

Infrastructure as a Service (IaaS)

Building Clouds with OpenNebula 3.4

Introduction to Cloud Computing

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

Cloud Computing with Red Hat Solutions. Sivaram Shunmugam Red Hat Asia Pacific Pte Ltd.

VIRTUAL RESOURCE MANAGEMENT FOR DATA INTENSIVE APPLICATIONS IN CLOUD INFRASTRUCTURES

Challenges in Hybrid and Federated Cloud Computing

Introduction to OpenStack

CLEVER: a CLoud-Enabled Virtual EnviRonment

Sistemi Operativi e Reti. Cloud Computing

An Experimental Study of Load Balancing of OpenNebula Open-Source Cloud Computing Platform

KVM, OpenStack, and the Open Cloud

KVM, OpenStack, and the Open Cloud

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

Build & Manage Clouds with Red Hat Cloud Infrastructure Products. TONI WILLBERG Solution Architect Red Hat toni@redhat.com

How To Compare Cloud Computing To Cloud Platforms And Cloud Computing

Key Research Challenges in Cloud Computing

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

INCREASING SERVER UTILIZATION AND ACHIEVING GREEN COMPUTING IN CLOUD

SURFnet cloud computing solutions

Comparison and Evaluation of Open-source Cloud Management Software

Virtualizing Apache Hadoop. June, 2012

Deploying Business Virtual Appliances on Open Source Cloud Computing

CLOUD COMPUTING & SECURITY -A PRACTICAL APPROACH

DESIGN OF A PLATFORM OF VIRTUAL SERVICE CONTAINERS FOR SERVICE ORIENTED CLOUD COMPUTING. Carlos de Alfonso Andrés García Vicente Hernández

Building an AWS-Compatible Hybrid Cloud with OpenStack

Cloud Computing Architecture

Optimization of QoS for Cloud-Based Services through Elasticity and Network Awareness

Google

opening the clouds qualitative overview of the state-of-the-art open source cloud management platforms. ACM, middleware 2009 conference

Windows Server 2003 Migration Guide: Nutanix Webscale Converged Infrastructure Eases Migration

Comparison of Several Cloud Computing Platforms

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

ON THE MANAGEMENT OF VIRTUAL MACHINES FOR CLOUD INFRASTRUCTURES

From Grid Computing to Cloud Computing & Security Issues in Cloud Computing

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

Making a Smooth Transition to a Hybrid Cloud with Microsoft Cloud OS

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

Eucalyptus: An Open-source Infrastructure for Cloud Computing. Rich Wolski Eucalyptus Systems Inc.

Private Cloud Database Consolidation with Exadata. Nitin Vengurlekar Technical Director/Cloud Evangelist

Auto-Scaling Model for Cloud Computing System

Learn How to Leverage System z in Your Cloud

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Cloud Models and Platforms

Solution for private cloud computing

HPC ON WALL ST OPENSTACK AND BIG DATA. Brent Holden Chief Field Architect, Eastern US April 2014

THE EUCALYPTUS OPEN-SOURCE PRIVATE CLOUD

An Introduction to Private Cloud

Cloud Optimize Your IT

T Mobile Cloud Computing Private Cloud & Assignment

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

Today: Data Centers & Cloud Computing" Data Centers"

Transcription:

OGF-EU: Using IT to reduce Carbon Emissions and Delivering the Potential of Energy Efficient Computing OGF25, Catania, Italy 5 March 2009 VM Management for Green Data Centres with the OpenNebula Virtual Infrastructure Engine Distributed Systems Architecture Research Group Universidad Complutense de Madrid 1/20

Objectives Workshop: Development of a reference model for the management of energy efficiency in virtualized distributed environments Presentation: Introduce the OpenNebula Virtual Infrastructure Engine Propose a model for the dynamic management of VMs in distributed infrastructures Describe a first prototype of scheduler for distribution of VM workloads based on energy requirements 2/20

What is OpenNebula? Extending the Benefits of Virtualization to Clusters Dynamic deployment and re-placement of virtual machines on a pool of physical resources Transform a rigid distributed physical infrastructure into a flexible and agile virtual infrastructure Internal users XEN / KVM Plugins ONE Core Cloud Plugins OpenNebula External users Public Cloud Interface Scheduler Private Cloud: Virtualization of cluster or data-center for internal users Backend of Public Cloud: Internal management of the infrastructure Cloud Interoperation: On-demand access to public clouds Local Infrastructure Public Cloud 3/20

Virtual Machine Management Model Service as Management Entity Service structure Service components run in VMs Inter-connection relationship Placement constraints The VM Manager is service agnostic Provide infrastructure context Distributed VM Management Model Distributed VM Management System Networking Image Management Virtualization The three pillars of a Distributed VM Manager 4/20

Benefits System 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 Support for heterogeneous workload Dynamic scaling of private infrastructure to meet fluctuating demands Service Manager On-demand provision of virtual machines System Integrators Open and flexible architecture and interfaces, open source software Integration with any component in the virtualization/cloud ecosystem, such as cloud providers, hypervisors, cloud-like interfaces, virtual image managers, service managers, schedulers 5/20

Features Feature User Interface Scheduler Virtualization Management Image Management Network Management Fault Tolerance Scalability Installation Function Unix-like CLI to manage VM life-cycle and physical boxes XML-RPC API and libvirt interface Requirement/rank matchmaker Generic framework to build any scheduler Xen, KVM and libvirt connectors Amazon EC2 General mechanisms to transfer and clone VM images Definition of virtual networks to interconnect VMs Persistent database backend to store host and VM information Tested in the management of hundreds of VMs Installation on a UNIX cluster front-end without requiring new services in the remote resources Distributed in Ubuntu 9.04 (Jaunty Jackalope), due to be released in April 2009 6/20

Open and Flexible Architecture Scheduler CLI libvirt OpenNebula API XML-RPC OpenNebula core Host, Net & VM Pools Information Manager Image Manager Network Manager VM Manager sqlite Persistent Database Access Drivers XEN KVM EC2 libvirt 7/20

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 8/20

Ecosystem Schedulers Haizea: Open-source VMbased lease management architecture (allows AR of capacity). Interfaces Libvirt: Provides an abstraction of a whole cluster of resources as one host, hiding specific hypervisor details. Nimbus: Can be used as a WSRF or EC2 front-end. Plug-Ins ElasticHosts: Enables the dynamically increase capacity of your virtualized infrastructure to meet fluctuating peak demands using a cloud provider. 9/20

Model for VM Management in Distributed Infrastructures Energy Policy Enactment Energy Policy Defini;on VM VM VM VM Virtual Infrastructure Manager Monitoring & Accounting Scheduler VM Manager VM Manager VM Manager VM Manager Controlling (CLI/API) Physical Box Physical Box Physical Box Physical Box Centralized management of VMs and resources VM life-cycle management VM image management Virtual network management Fault tolerance Automation of VM placement: Balance of workload Server consolidation Placement constraints and affinity Advance reservation of capacity SLA commitment 10/20

Monitoring and Accounting VM Life-cycle and Monitoring Attribute ID NAME STAT CPU MEM HOSTNAME TIME Description VM identifier Name of the VM Status CPU percentage used by the VM Memory used by the VM Host where the VM is running Time since submission 11/20

Monitoring and Accounting Resource Monitoring Attribute HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT Description Host ID Host name Number of running VMs Total CPU (percentage) Free CPU (percentage) Available CPU (not allocated by VMs) Total memory Free memory Host status Flexible Architecture Easy addition of new VM and resource metrics (energy efficiency metrics) Experimenting with Advanced Configuration and Power Interface (ACPI) for power monitoring Accounting Statistics of host usage, VM image transfer times. 12/20

Controlling VM Controlling Action create deploy shutdown livemigrate migrate stop Release/hold Description Submits a new virtual machine, adding it to the VM pool Starts a previously submitted VM on a specific host Shutdown an already deployed VM Migrates a running VM to another host without downtime Saves a running VM and starts it again in the specified host Stops a running VM Releases/hold a VM from/to hold state Suspend/resume Saves/resume a VM Resource Controlling Action Create/delete Enable/disable Description Adds/removes a machine to/from the pool Enables/disables host 13/20

Resource Schedulers Requirement/rank Matchmaker (default) First placement of pending VMs to resources meeting the requirements and sorted using a rank expression Haizea Lease Manager (University of Chicago) Advance reservation of capacity and queuing of best effort requests RESERVOIR Policy Engine (IBM Haifa/Elsa Datamat) Policy-driven probabilistic admission control and dynamic placement optimization to satisfy site level management policies VM Consolidation Scheduler Periodic re-placement of VMs for server consolidation and suspension/resume of physical resources Experimental for supporting research on distribution of VM workload based on energy requirements and policies 14/20

VM Consolidation Scheduler Control Flow Complements the work done by the requirement/rank matchmaker for first deployment of VMs in pending state Enable host yes VM pending? Disable free hosts Packing algorithm Consolidation? yes Migration Period: 20 minutes Physical Resource Management Virtual Machine Management 15/20

VM Consolidation Scheduler A Simple Example Initial situation Exec. 1: Packing algorithm in the VM Consolidation Scheduler requests a migration Exec. 2: VM Consolidation Scheduler disables a physical resource Exec. 3: VM consolidation scheduler enables a physical resource because there are pending VMs The requirement/rank matchmaker schedules the pending VMs 16/20

VM Consolidation Scheduler A Simple Example 17/20

VM Consolidation Scheduler Future Work: Energy Policy-driven Scheduler Monitoring Power and heat metrics (ACPI specification) Past history (trends) of resources and workload Enactment of policies Management of power-state of the resources (ACPI specification) Policies Support for generic energy policies Selection of the VMs to migrate and the target host for migration 18/20

Conclusions Workshop: Development of a reference model for the management of energy efficiency in virtualized distributed environments Presentation: Introduce the OpenNebula Virtual Infrastructure Engine Propose a model for the dynamic management of VMs in distributed infrastructures Describe a first prototype of scheduler for distribution of VM workloads based on energy requirements 19/20

THANK YOU FOR YOUR ATTENTION!!! More info, downloads, mailing lists at www.opennebula.org Real demo at booth number 4 Acknowledgements Rubén S. Montero Javier Fontan Raúl Sampedro Tino Vazquez Rafael Moreno 20/20