Introduction to PlanetLab

Download Report

Transcript Introduction to PlanetLab

PlanetLab:
A globally distributed testbed
for New and Disruptive Services
CS441
Mar 15th, 2005
Seungjun Lee
[email protected]
1
Overview
•
•
•
•
•
•
Background
PlanetLab is…
Advantages
Key Design Principle
PlanetLab Virtual Machine
Slice Creation
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
PlanetLab is …
•
•
•
•
A
A
A
A
set of Linux PCs widely-distributed
common software architecture
shared network testbed
deployment platform
Advantages
•
•
•
•
Experiment at scale
Experiment under real-world conditions
Potential for real workloads and users
Low entry cost
Key Design Principle
• Distributed virtualization
• Slice : distributed set of virtual machine resources
• Isolation
• Isolate services from each other
• Protect the Internet from PlanetLab
PlanetLab Virtual Machines
Service
1
Service
2
Service
3
Service
4
Service
n
Vserver
Vserver
Vserver
Vserver
Vserver
Linux
Hardware
+ Resource Isolation
+ Safe Raw Sockets
+ Instrumentation
Combined
Isolation and
Application
Interface
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
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
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
Slice Creation
Agent
Broker
Service
Manager
Slice Creation
Agent
Resource
Monitor
Broker
Service
Manager
Slice Creation
Agent
Resource
Monitor
Broker
Service
Manager
Slice Creation
Agent
ticket
Resource
Monitor
Broker
Service
Manager
Slice Creation
Agent
ticket
Broker
Resource
Monitor
Resource
Monitor
Service
Manager
Slice Creation
Agent
ticket
ticket
Broker
ticket
Resource
Monitor
Resource
Monitor
Service
Manager
Slice Creation
Agent
ticket
ticket
Broker
ticket
Service
Manager
Slice Creation
Agent
ticket
ticket
Broker
ticket
Service
Manager
Slice Creation
Agent
ticket
ticket
Broker
ticket
Service
Manager
Slice Creation
Agent
ticket
Broker
Service
Manager
ticket
ticket
Slice Creation
Agent
ticket
Broker
Node
Manager
ticket
Node
Manager
ticket
Service
Manager
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
Q&A
• http://www.planet-lab.org
• Mailing list : arch, announce, user