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 Ruben Santiago Montero CISCO NerdLunch Series November 7, 2008 San Jose, CA

New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

1/23

Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid

New resource provision paradigms for Grid Infrastructures: Virtualization and

Cloud

Ruben Santiago MonteroRuben Santiago Montero

CISCO NerdLunch SeriesNovember 7, 2008 San Jose, CA

Page 2: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

2/22

Objectives

● Brief review of Grids and 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● Conclusions

Page 3: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

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 administratation 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 ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

4/22

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

“A Grid is system that …

1. coordinates resources that are not subject to centralized control

2. using standard, open, general-purpose protocols and interfaces

3. … to deliver nontrivial qualities of service.”

Ian Foster

What is the Grid? A Three Point Checklist (2002)

...Grid technologies and infrastructures as supporting the sharing and coordinated use of diverse resources in dynamic, distributed “virtual organizations” (Vos)...We view a Grid as an extensible set of Grid services that may be aggregated in various ways to meet the needs of VOs...

Ian Foster, Carl Kesselman, Jeffrey M. Nick y Steven Tuecke

“The Physiology of the Grid: An Open Grid Services Architecture for Distributed Systems Integration” (2002)

A Grid...

Page 5: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

5/22

New provision models for Grids: Virtualization and Clouds

• Services in the Grid Middleware layer

- Security

- Information & Monitoring

- Data Management

- Execution

- Meta-scheduling

• Open Source Software Distributions

• Open Source Software Communities

glite.web.cern.ch

www.unicore.org

www.omii.ac.uk

www.gria.org

vdt.cs.wisc.edu

The Globus Alliance (dev.globus.org)

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

Grid Middleware (A computational view)

Page 6: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

6/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 mantain, operate and use

Some Limitations of Current Grids

Page 7: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

7/22

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

Benefits of Virtualization Platforms

Physical Hardware

Virtualization Platform (Xen, KVM, VMware…)

Guest OS Guest OS Guest OS

Applications Applications Applications

VM VM VM

• 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 8: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

8/22

● Provides a uniform view of the resource pool● Resources organized in a cluster architecture● Life-cycle management and monitoring of VM

• The VM Management System integrates Image, Network and

Virtualization technologies

Distributed Virtual Machine Management System

Ne

two

rkin

g

Imag

e M

anag

emen

t

Vir

tual

izat

ion

Distributed VM Management System

The three pillars of a Distributed VM Manager

New provision models for Grids: Virtualization and Clouds

Grids & Virtual Machines

Page 9: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

9/22

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

LRMS (Job Management)

Virtual cluster nodes

Physical Resource

VMM

Distributed Virtualization Layer

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

Page 10: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

10/22

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

Distributed Virtualizer

Virtual workernodes

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

Page 11: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

11/22

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

OpenNebula (Distributed VM Manager)

Virtual workernodes

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service LayerUser Requests

• Typical LRMS interface

• Virtualization overhead

Page 12: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

12/22

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

OpenNebula (Distributed VM Manager)

Virtual workernodes

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

Cluster Consolidation

• Multiple worker nodes in a single resource

• Dynamic provision rules (inf. adaptation)

• VMM functionality (e.g. live migration)

Page 13: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

13/22

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

OpenNebula (Distributed VM Manager)

Virtual workernodes

ClusterFront-end

Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

Cluster Partitioning

• Performance partitioning (dedicated nodes)

• Isolate cluster workload

• Dedicated HA partitions

Page 14: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

14/22

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

OpenNebula (Distributed VM Manager)

Virtual rnodesCluster

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 15: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

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 ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

16/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 17: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

17/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)

• Main components of a Cloud architecture:

• Front-end: Remote interface

• Back-end: Local VM, image & network management

A Service to Provide Hardware on Demand (IaaS)

• Commercial Cloud: Amazon EC2, GoGrid…

• Scientific Cloud: Nimbus (University of Chicago)

Infrastructure Cloud Services

Simple Interfaces

• VM Management

• Image Management

Distr. VM Manager

Page 18: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

18/22

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

OpenNebula (Distributed VM Manager)

Virtual Workernodes

ClusterFront-end

Local Physical Infrastructure

Cluster users

Infrastructure Layer

Service Layer

CloudProvider

Virtual Network

Page 19: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

19/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 20: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

20/22

ConclusionsNew provision models for Grids: Virtualization and Clouds

Benefits of Virtualization for Existing Grid Infrastructures

Solve many obstacles for Grid adoption

• Easy support for VO-specific worker nodes

• Reduce gridification cycles

• Dynamic balance of resources between VO’s

• Fault tolerance of key infrastructure components

• Easier deployment and testing of new middleware distributions

• Cheaper development nodes

• Simplified training machines deployment

• Performance partitioning between local and grid services

Page 21: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

21/22

ConclusionsNew provision models for Grids: Virtualization and Clouds

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

• 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 22: New resource provision paradigms for Grid Infrastructures ... TI/nerdlunch08_rsm.pdf · 4/22 Brief Review of Grid Infrastructures New provision models for Grids: Virtualization and

22/22

New provision models for Grids: Virtualization and Clouds

THANK YOU FOR YOUR ATTENTION!!!More info, downloads, mailing lists at

www.OpenNebula.org

Acknowledgements

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

EU grant agreement 215605

• Tino Vazquez

• Rafael Moreno

www.reservoir-fp7.eu/

• Javier Fontan

• Ignacio M. Llorente