230 likes | 247 Views
Discover the advantages and key design principles of PlanetLab, a widespread Linux PC testbed for developing and testing global-scale services. Experiment at scale, under real-world conditions, and with low entry cost.
E N D
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
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 set of Linux PCs widely-distributed • A common software architecture • A shared network testbed • A 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
Vserver Vserver Vserver Service 1 Service 2 Service n PlanetLab Virtual Machines Vserver Vserver Service 3 Service 4 Combined Isolation and Application Interface Linux + Resource Isolation + Safe Raw Sockets + Instrumentation Hardware
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 Broker Resource Monitor Service Manager
Slice Creation Agent Broker Resource Monitor Service Manager
Slice Creation Agent ticket Broker Resource Monitor Service Manager
Slice Creation Agent ticket Broker Service Manager Resource Monitor Resource Monitor
Slice Creation Agent ticket Broker ticket ticket Service Manager Resource Monitor Resource Monitor
Slice Creation Agent ticket Broker ticket ticket Service Manager
Slice Creation Agent ticket Broker ticket ticket Service Manager
Slice Creation Agent ticket Broker ticket ticket Service Manager
Slice Creation Agent ticket Broker Service Manager ticket ticket
Slice Creation Agent ticket Broker Service Manager Node Manager ticket Node Manager ticket
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