new resource provision paradigms for grid infrastructures...

22
1/23 Distributed Systems Architecture Research Group Universidad Complutense de Madrid New resource provision paradigms for Grid Infrastructures: Virtualization and Cloud Ruben Santiago Montero International Symposium on Grid Computing 2009 April 23th, Academia Sinica, Taipei, Taiwan

Upload: others

Post on 03-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

1/23

Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid

New resource provision paradigms for Grid Infrastructures: Virtualization and

Cloud

Ruben Santiago Montero

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

Page 2: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

2/22

Objectives

● Brief review of some limitations of current Grids● Use of virtual machines in Grids and its use for the

dynamic provisioning of virtual clusters● Grids & Clouds: Scale-out a Grid sites● Demo!

Page 3: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

3/22

Brief Review of Grid InfrastructuresNew provision models for Grids: Virtualization and Clouds

"Any problem in computer science can be solved with another layer of indirection… But that usually will create another problem.“

David Wheeler

“A (computational) Grid is an abstraction layer (middleware) to integrate disparate administration domains (platforms and policies)“

A Grid… a new abstraction layer

ResourceManager

ResourceManager

ResourceManager

Grid Middleware

Types of Resources: Computational, storage and network.

Common Interface for Each Type of Resources: User can access a wide set of resources.

Page 4: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

4/22

Brief Review of Grid InfrastructuresNew provision models for Grids: Virtualization and Clouds

• High degree of heterogeneity (software & hardware)

• High operational costs

• Isolate and partition resources contributed to the Grid

• Specific environment requirements for different VOs

Grids are difficult to maintain, operate and use

Some Limitations of Current Grids

Page 5: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

5/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

Benefits of Virtualization Platforms

Physical Hardware

Virtualization (“hypervisor” e.g. Xen, KVM, VMware...)

Guest OS Guest OS Guest OS

Applications Applications Applications

• A VM is an isolated runtime environment (guest OS and apps)

• Hypervisors: Full Virtualized, para-virtualization, HW Virtualization

• Natural way to deal with the heterogeneity of the infrastructure

• Allow partitioning and isolating of physical resources

• Execution of legacy applications

Virtual Machines

Page 6: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

6/22

Virtual Infrastructure Manager (VIM)

New provision models for Grids: Virtualization and Clouds

Grids & Virtual Machines

hypervisor hypervisor hypervisor hypervisor

Virtual Infrastructure Manager

● ...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

Page 7: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

7/22

The OpenNebula Virtual Infrastructure Manager

New provision models for Grids: Virtualization and Clouds

Grids & Virtual Machines

SchedulerOpenNebula Core

Virt. Plugins

XEN/KVM CLOUD

Local Infrastructure

CloudProvider

Cloud InterfaceCLI / libvirt

● Flexible & Open Design● Third-party components● Easily adapted & extended

● Management of Virtual Services● Image, Network & Context

● Integrated with cloud providers● Open Source – Apache2● Included in Ubuntu 9.04 (server)

www.OpenNebula.org

OpenNebula

Page 8: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

8/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

LRMS (Job Management)

Virtual cluster nodes

Physical Resource

VMM

OpenNebula (VIM)

• Separation of Resource Provisioning from Job Management

• Seamless integration with the existing middleware stacks.

• Completely transparent to the computing service and end users

VMM VMM VMM

A New Infrastructure Layer for Grids...

Page 9: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

9/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

Virtual Infrastructure Manager

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service LayerVirtual Workernodes (WN)

Virtual Network

Page 10: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

10/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

OpenNebula (VIM)

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service LayerUser Requests

• “used-to” LRMS interface

• Virtualization overhead

Virtual WNs

Virtual Network

Page 11: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

11/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

OpenNebula (VIM)

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

Cluster Consolidation

• Multiple clusters in a single cluster

• Dynamic provision rules

• Leverage VMM functionality

Virtual WNs

Virtual Network

Page 12: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

12/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

OpenNebula (VIM)

Virtual WNsCluster

Front-end

Physical Infr.

Cluster users

Infrastructure Layer

Service Layer

Cluster Partitioning

• Performance partitioning

• Isolate cluster workload

• Dedicated HA partitions Dedicated WN

Page 13: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

13/22

Grids & Virtual MachinesNew provision models for Grids: Virtualization and Clouds

OpenNebula (VIM)

Virtual WNsCluster

Front-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

Heterogenous Workloads

• Dynamic provision of cluster configurations

• Simultaneous support of different services

• E.g. on-demand VO workernodes in Grids

WebServer

HTTP clients

Page 14: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

14/22

A Complete Grid Middleware Stack New provision models for Grids: Virtualization and CloudsNew provision models for Grids: Virtualization and Clouds

Cluster Frontend (SGE...)

OpenNebula (VIM)

gLite, UNICORE, Globus…

Meta-schedulers(GridWay, Condor/G…)

Infrastructure Layer

Computing Service Layer

Grid Middleware Layer

Applications

• WNs register to different queues

• Multiple VO-specific clusters

• Virtual resources are exposed by GM

• Dynamic scheduling

• Fault detection & recovery

•Unmodified Applications (Grid or local)

•Interfaces preserved (qsub, DRMAA..)

• Infrastructure consolidation

• Infrastructure partitioning

• Infrastructure adaptation

Page 15: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

15/22

A Complete Grid Middleware Stack New provision models for Grids: Virtualization and CloudsNew provision models for Grids: Virtualization and Clouds

Cluster Frontend (SGE...)

Distributed VM Manager

gLite, UNICORE, Globus…

Meta-schedulers(GridWay, Condor/G…)

Infrastructure Layer

Computing Service Layer

Grid Middleware Layer

Applications

• WNs register to different queues

• Multiple VO-specific clusters

• Virtual resources are exposed by GT

• Dynamic scheduling

• Fault detection & recovery

•Unmodified Applications (Grid or local)

•Interfaces preserved (qsub, DRMAA..)

• Infrastructure consolidation

• Infrastructure partitioning

• Infrastructure adaptation

Page 16: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

16/22

Cloud Computing, An Infrastructure ViewNew provision models for Grids: Virtualization and Clouds

• Cloud systems provide virtualized resources as a service

• Provide remote on-demand access to infrastructure (through VMs)

• Commercial Cloud Providers: Amazon EC2, GoGrid, Elastic Hosts…

• Open Source Cloud: Nimbus, Eucalyptus

Infrastructure Cloud Services

A Service to Provide Hardware on Demand (IaaS)

● Simple Web interface (REST) ● Virtualization● Pay-as-you-go● Elastic& “infinite” capacity

Page 17: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

17/22

Cloud Computing, An Infrastructure ViewNew provision models for Grids: Virtualization and Clouds

OpenNebula (Virtual Infrastructure Manager)

Virtual Workernodes

ClusterFront-end

Local Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

CloudProvider

Virtual Network

Page 18: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

18/22

Cloud Computing, An Infrastructure ViewNew provision models for Grids: Virtualization and Clouds

Amazon EC2

Internet Connection

Bridge

WorkerNode

Bridge

OpenVPN Tunnels

Physical Host

Local private network

WorkerNode

WorkerNode

SGE Front-End

Bridge

WorkerNode

WorkerNode

Bridge

WorkerNode

Bridge

WorkerNode

WorkerNode

Physical Host Physical Host

Physical HostOpenVPN Server

Page 19: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

19/22

YOURSITE

GRID

PRIVATECLOUD

CLOUD

Physical Virtual

Local

Remote

Summary & Conclusions

The Infrastructure Quadrant

How are the resources provisioned?

Wh

ere

are

th

e r

eso

urc

es

pro

visi

on

ed

fro

m?

Page 20: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

20/22

ConclusionsNew provision models for Grids: Virtualization and Clouds

• Virtualization, cloud, and grid are complementary technologies and will coexist and cooperate at different levels of abstraction

• Virtualization can solve many obstacles for Grid adoption

• Virtualization and cloud do NOT require any modification within service layers from both the administrator and the end-user perspectives

• Separation between service and infrastructure layers will allow the application of the utility model to Grid/cluster/HPC computing

About the Coexistence of Grid and Clouds

Page 21: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

21/22

Thanks and More Info

More info, downloads, mailing lists atwww.OpenNebula.org

The OpenNebula Team

• Ignacio M. Llorente ([email protected])

• Ruben S. Montero ([email protected])

• Rafel Moreno ([email protected])

• Tino Vazquez ([email protected])

• Javier Fontan ([email protected])

OpenNebula is partially funded by the “RESERVOIR– Resources and Services Virtualization without Barriers” project

EU grant agreement 215605

www.reservoir-fp7.eu/

Page 22: New resource provision paradigms for Grid Infrastructures ...dsa-research.org/lib/exe/fetch.php?media=people:ruben:...Infrastructures: Virtualization and Cloud Ruben Santiago Montero

22/22

New provision models for Grids: Virtualization and Clouds

QUESTIONS?

THANK YOU FOR YOUR ATTENTION