• No results found

Using the DETER Testbed

N/A
N/A
Protected

Academic year: 2021

Share "Using the DETER Testbed"

Copied!
49
0
0

Loading.... (view fulltext now)

Full text

(1)

Using the DETER Testbed

Ted Faber

[email protected]

(2)

Outline

• What is DETER?

• Accessing DETER infrastructure

– Accounts & Projects

• Experimenting on DETER (Hands-On)

– Controlling Experiments With GUI Tools – Using Low Level Experiment Interfaces

• Graduating to Advanced Features

(3)

DETER Testbed

• Facility for repeatable, controlled experiments

– Clean room

– Controlled outside interaction/observation

• Resources allocated on demand

– Encourages early experimentation

– Scheduled experiments can be supported

• Education resource

(4)

DETER Testbed Workflow

DETER

Testbed

Network Description Network

(5)

Experiment Environment

users.isi.deterlab.net

Tools

File systems

Clean room access “Home base”

Clean Room

(6)

Terminology

• User

– You all: researchers using DETER

• Project

– Group of related researchers

– One user can be in multiple projects – (Analog to Unix group)

• Experiment

– Set of resources

– Controlled by a user, shared by project – (Analog to Unix process)

(7)

Interacting with DETER

http://www.isi.deterlab.net

– Account management – Experiment management – Documentation – Tools portal

(8)

Interacting With DETER:

GUI

• SEER experiment control system

– Real-time measurement

– Event driven experiment manipulation – Extensible interfaces

(9)

Interacting with DETER:

Low Level

• users.isi.deterlab.net

– System accounts

– Shared experiment info – Tools

– Unix environment (FreeBSD)

• SSH access to experiment network

(10)

Hands-On

• Manipulating DETER by example

– Demonstrations

– Follow along (multiple users are fine):

• Accounts detertab – detertbn (password is acct name) • Cleared after tutorial

– Slides with screenshots – DETER Documentation

(11)

Web Site Hands-On

(Logging in)

(12)

My DeterLab

Your experiments Testbed News Available Resources Context Menus Info Tabs

(13)

Creating an Experiment

• Experiment description

– Derived from ns2

– Inherited from Emulab

• Creating Experiment Description

– Graphical Editor – Hand coding

(14)
(15)

Graphical Experiment

Editor

Drag and Drop Elements

Configure Elements

(16)
(17)

Experiment States

• Swapped

– Internal representation exists – No resources allocated

• Active

– Resources allocated, configured, in use

• Changing State

(18)
(19)

Experiment Settings

• Auto swap

– Remove experiment after idle time

• Duration

– Remove experiment after time

• Batch

– Experiment swaps opportunistically

• We prefer you leave idle swap on

– Debugging

(20)

Automating Experiments

• Loading software

– tb-set-node os $node OSID

– tb-set-node-tarfiles $node /dir /tarfile

• Starting commands automatically

– tb-set-node-startcmd $node “command”

• Batch

(21)

Experiment Page

Operations Topology Visualization Resource Mapping General Data

(22)
(23)
(24)

Using SEER to Experiment

• Graphical Interface to DETER experiment

– Experiment description must request SEER – Off by default to be conservative

• Realtime Data Gathering

• Actuate Experiment Events

(25)

Starting SEER

Webstart link

Starts SEER

(26)

Attaching to an Experiment

(27)
(28)

SEER: pinging nodes

1

2

3. Configure

(29)

SEER: Observing the

Change (Qualitative)

from to Network usage

(30)

SEER: Qualitative

Observations

Right Click

(31)

Low Level Experiment

Access

• Experiment Layout Details

• Experiment Access Mechanisms

– Node Access – Node Control

(32)

Experiment Structure

USERS Control Network Experiment Network •Control Network •User Access •System Access •Experimental Network •Things to study

(33)

Users: Access to

Experiments

• Experiment nodes are firewalled

– All access through users.isi.deterlab.net – Secure Shell access and forwarding

• File systems are imported to experiments

(34)

Finding a Node from Users

• Experiment

page

• Local DNS

names

• node.experiment.project • node0.faber­expr.deter Resource Mapping

(35)

Finding a Node Inside the

Experiment

• Node reaches experimental node

– Entries in /etc/hosts

– Entries for multihoming

• Node.experiment.project reaches

control interface(!)

– This can interfere with other operations – Not the experiment you intended

(36)

Names in the Structure

USERS Control Network Experiment Network node0.experiment.project node0 node1.experiment.project node2.experiment.project node1 node2

(37)

Experiment Services

• users.isi.deterlab.net:a staging area

– Log into users then to nodes

• On the nodes

– Access for the associated project users

• Different for classes

– Shared files for project

• User home directories • /proj/PROJECT directories

(38)

The Project Filesystems

• Under /proj/project

– Custom disk images

– Software (rpms, tar files) – Per-experiment data

• Under /proj/project/exp/experiment

– Log files (loghole)

(39)

Forwarding Services

• Example: remote desktop access

– Ssh process on users to forward connection

• ssh -N -L 24242:localhost:3389 pc110

– Process on users contacts the node

• rdesktop localhost:24242

(40)

Node Control

• Console access

– console pcXXX

– Attaches to serial line: access w/o network

• Reboot or reload a node

– node_reboot pcXXX – os_load pcXXX

(41)

On The Nodes

• Complete control – sudo/admin privs

– Servers are protected

– Wedged nodes can be restored

• node_reboot/os_load will power cycle

• Control network/server access

– Can impact other's performance

(42)

Getting Outside

• Talking to the Internet

– Risky Experiment Services

• Controlled permeability of the DETER isolation • Requires Administrative coordination

• Talking to other testbeds

– DETER federation system

• Incorporate other testbed nodes

– From ProtoGENI, Emulab, …

(43)
(44)

When Things Go Wrong...

• We want to hear about problems

– How do I … ?

– Something's broken...

• Support: Business Hours (+ by appt)

• Reporting Trouble:

https://trac.deterlab.net/

– IRC: we poll roughly hourly

[email protected]

– Open a trac ticket:

https://trac.deterlab.net/newticket

(45)

Real Accounts

• DETER Project: DEFT-COLLAB

(46)

Join Project

Join

DEFT-COLLAB

(47)

Things To Try

• Download and install software

– tb-set-tarfiles

• Network Topologies

– LAN vs link

– Delay and loss

• Emulab Tutorial

(48)

Unsolicited Advice

• Probably better to start small and grow

– Better fits the lightweight experiment model – Easy to catch problems small

• Ask when you get stuck

(49)

More Information

http://www.deterlab.net

• These slides

References

Related documents

High Tomorrow’s high‐value  and high‐risk workloads  need: Mission‐critical  assur ance ƒ Quality of protection  adapted to risk ƒ Direct visibility and  control

The primary unsecured credit facility matures on October 31, 2018 (with an option to extend for an additional year at our discretion). The loans mature on October 31, 2018 and

Co-combustion Experiments Involving Sewage Sludge as Co-fuel: Mechanistic Considerations refe rence me chanistic remarks (no/little experimental basis) mechanisti c insight s (on

questioned youngsters who, according to common report, were apprenticed to obeah- men as disciples to acquire the art, but they had already learned their lesson of secrecy and I

Ever see how much skin will change if it’s inside a cast or under a bandage for a long time.. The change is like that but

The current study extends theory developed by Malatesta and Thompson (1985) to the area of corporate downsizing, and finds that the magnitude of the stock price

After Policy Creation is complete and enforcement actions have been decided upon, it is critical to individually test the policies to ensure complete understanding of estimated