23
1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee [email protected]

1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee [email protected]

Embed Size (px)

Citation preview

Page 1: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

1

PlanetLab:A globally distributed testbed

for New and Disruptive Services

CS441Mar 15th, 2005

Seungjun [email protected]

Page 2: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Overview

• Background• PlanetLab is…• Advantages• Key Design Principle • PlanetLab Virtual Machine• Slice Creation

Page 3: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Background

• Internet is increasingly being ossified• Still only best-effort packet delivery service• Not much changed to IP protocol since the first design

• New global-scale services emerge • How to develop and test such services• The need of global-scale testing infrastructure

Page 4: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

PlanetLab is …

• A set of Linux PCs widely-distributed• A common software architecture• A shared network testbed • A deployment platform

Page 5: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Advantages

• Experiment at scale • Experiment under real-world conditions• Potential for real workloads and users• Low entry cost

Page 6: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Key Design Principle

• Distributed virtualization• Slice : distributed set of virtual machine resources• Isolation

• Isolate services from each other • Protect the Internet from PlanetLab

Page 7: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

PlanetLab Virtual Machines

Hardware

Linux

Vserver

Service 1

Vserver

Service 2

Vserver

Service 3

Vserver

Service 4

Vserver

Service n

CombinedIsolation andApplicationInterface

+ Resource Isolation+ Safe Raw Sockets+ Instrumentation

Page 8: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

PlanetLab Network Architecture

• Node manger (one per node)• Create slices for service managers

• When service managers provide valid tickets

• Allocate resources for vservers

• Resource Monitor (one per node)• Track node’s available resources• Tell agents about available resources

Page 9: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

PlanetLab Network Architecture

• Agents (centralized)• Track nodes’ free resources• Advertise resources to resource brokers• Issue tickets to resource brokers

• Tickets may be redeemed with node managers to obtain the resource

Page 10: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

PlanetLab Network Architecture

• Resource Broker (per service)• Obtain tickets from agents on behalf of service managers

• Service Managers (per service)• Obtain tickets from broker• Redeem tickets with node managers to acquire resources• If resources can be acquired, start service

Page 11: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Agent

Service Manager

Broker

Page 12: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

BrokerResource Monitor

Agent

Page 13: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

BrokerResource Monitor

Agent

Page 14: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

BrokerResource Monitor

ticket

Agent

Page 15: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Broker

Resource Monitor

Resource Monitor

ticket

Agent

Page 16: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Broker

Resource Monitor

Resource Monitor

ticket

ticket

ticket

Agent

Page 17: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Brokerticket

ticket

ticket

Agent

Page 18: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Brokerticket

ticket

ticket

Agent

Page 19: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Brokerticket

ticket

ticket

Agent

Page 20: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Broker

ticket

ticket

ticket

Agent

Page 21: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Slice Creation

Service Manager

Broker

ticket

ticketNode Manager

Node Manager

ticket

Agent

Page 22: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Joining PlanetLab AS Users

• http://www.planet-lab.org/php/join_user.php

• new users must register for a new account and then contact their local PI for their account to be activated.

• SSH private/public key pair

Page 23: 1 PlanetLab: A globally distributed testbed for New and Disruptive Services CS441 Mar 15th, 2005 Seungjun Lee seungjun@kaist.ac.kr

Q & A

• http://www.planet-lab.org• Mailing list : arch, announce, user