Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI Sarah Edwards, GENI Project Office.

Slides:



Advertisements
Similar presentations
Sponsored by the National Science Foundation Running a class in GENI GENI Project Office.
Advertisements

Sponsored by the National Science Foundation Campus Policies for the GENI Clearinghouse and Portal Sarah Edwards, GPO March 20, 2013.
Sponsored by the National Science Foundation Working with Collaborators.
University of Kentucky GENI User Tools and the Control Plane Zongming Fei, Jim Griffioen University of Kentucky.
Sponsored by the National Science Foundation Lab Zero: A First Experiment.
Sponsored by the National Science Foundation Practical Advice for Using GENI in the Classroom Sarah Edwards, Niky Riga GENI Project Office.
Sponsored by the National Science Foundation 1 Lab Zero – November 6, 2014 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you.
1 Use ProtoGENI CS606, Xiaoyan Hong University of Alabama.
Sponsored by the National Science Foundation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen FGRE, July 7 th, 2015.
Sponsored by the National Science Foundation A Virtual Computer Networking Lab Mike Zink, Max Ott, Jeannie Albrecht GEC 23, June 16 th 2015.
Customized cloud platform for computing on your terms !
Sponsored by the National Science Foundation GIMI/LabWiki Tutorial Mike Zink, Divyashri Bhat, Cong Wang, Thierry Rakotoarivelo GEC20 March 22 nd 2014,
Sponsored by the National Science Foundation Omni: a command line GENI resource reservation tool Niky Riga, Sarah Edwards GENI Project Office 13 March,
Sarah Edwards, GENI Project Office
Sponsored by the National Science Foundation Scaling Up: Growing the Topology of an Existing Experiment in GENI Sarah Edwards GENI Project Office Xuan.
National Science Foundation Arlington, Virginia January 7-8, 2013 Tom Lehman University of Maryland Mid-Atlantic Crossroads.
Sponsored by the National Science Foundation Running a Class in GENI GENI Project Office.
Sponsored by the National Science Foundation1GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Agenda Presentation and Demo: An Introduction to.
Sponsored by the National Science Foundation Getting Started With Your Own Experiment Sarah Edwards, GENI Project Office.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen Thijs Walcarius GEC 22, March 24 th, 2015.
Sponsored by the National Science Foundation Running a class: Account Management Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Tutorial: An Introduction to OpenFlow using POX GENI Engineering Conference 20 June 2014.
Sponsored by the National Science Foundation Using GENI Wireless Resources Vic Thomas GENI Project Office.
Sponsored by the National Science Foundation Scaling Up: Growing the Topology of an Existing Experiment in GENI Sarah Edwards GENI Project Office with.
Sponsored by the National Science Foundation 1 September 15, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do the.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation GENI Exploring Networks of the Future
Sponsored by the National Science Foundation GENI Exploring Networks of the Future Sarah Edwards, GPO
Sponsored by the National Science Foundation GENI Terminology.
Sponsored by the National Science Foundation GENI Terminology: How All the Pieces Fit Together Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Running a Class in GENI Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.
Sponsored by the National Science Foundation LabWiki Tutorial (OMF/OML) Divya Bhat, Mike Zink, Pieter Becue, Brecht Vermeulen GEC20 July 8 th 2014, Ghent,
Sponsored by the National Science Foundation 1 Last updated April 1, 2013 Are you ready for the tutorial? 1.Sign In 2.Grab a Worksheet 3.Did you do the.
Sponsored by the National Science Foundation Tutorial: Introduction to Omni Niky Riga GENI Project Office GREESC13 $ omni.py createsliver aliceslice myRSpec.xml.
Sponsored by the National Science Foundation Getting Started With Your Own Experiment Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Tutorial: OpenFlow in GENI with Instrumentation and Monitoring Divya Bhat Shufeng Huang Niky Riga GENI Project.
Sponsored by the National Science Foundation Using OpenFlow and Orbit to Achieve Mobility in a Heterogeneous Wireless Network Ryan Izard
Sponsored by the National Science Foundation Systematic Experimentation in GENI.
How SSH With a Private Key Works Sponsored by the National Science Foundation Cloud Security Curriculum Workshop – July 16,
Sponsored by the National Science Foundation 1 ICDCS13: July 8, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do the.
Sponsored by the National Science Foundation GENI Exploring Networks of the Future Sarah Edwards, GPO
Sponsored by the National Science Foundation 1 GEC16: March 20, 2013 Are you ready for the tutorial? 1.Did you do the pre-work? A.Are you able to login.
Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation featuring Named Data Networking.
Sponsored by the National Science Foundation Systematic Experimentation in GENI Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Understanding the AM API through a simple Hadoop experiment.
Sponsored by the National Science Foundation 1 GEC16, March 21, 2013 Are you ready for the tutorial? 1.Did you do the pre-work? A.Are you able to login.
Sponsored by the National Science Foundation 1 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Today’s Exercise.
Sponsored by the National Science Foundation 1 Lab Zero – October 20, 2014 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you.
Sponsored by the National Science Foundation GENI Exploring Networks of the Future
Sponsored by the National Science Foundation A Virtual Computer Networking Lab Mike Zink, Max Ott, Jeannie Albrecht GEC 20, March 24 th 2015.
Sponsored by the National Science Foundation 1 Lab Zero – March 14, 2014 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation featuring Named Data Networking Sarah Edwards.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation featuring Content Centric Networking.
Sponsored by the National Science Foundation Understanding the AM API through a simple Hadoop experiment.
Sponsored by the National Science Foundation Click Software Routers Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation GENI Terminology Sarah Edwards, GENI Project Office Violet Syrotiuk, Arizona State University.
Sponsored by the National Science Foundation 1 GEC16: March 19, 2013 Are you ready for the tutorial? 1.Sign In 2.Grab a Worksheet 3.Did you do the pre-work?
Using the jFed tool to experiment from zero to hero
Lab Zero: A First Experiment using GENI
Understanding the AM API through a simple experiment
Getting Started With Your Own Experiment
GENI Terminology Sponsored by the National Science Foundation.
Presentation transcript:

Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI Sarah Edwards, GENI Project Office

Sponsored by the National Science Foundation 2 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Hands On Exercise Do a Simple Experiment in GENI Reserve two VMs connected at Layer 2 Layer 2 VM

Sponsored by the National Science Foundation 3 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Understand GENI Terminology slice project aggregate experimenter resource

Sponsored by the National Science Foundation 4 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Use the GENI Portal and Flack

Sponsored by the National Science Foundation 5 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experiment Workflow Part I: Design/Setup Part II: Execute Part III: Finish

Sponsored by the National Science Foundation 6 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 The GENI Portal is… A web-based tool for experimenters to manage experimenters, projects, and slices. Includes simple tools to reserve resources. More to come in the future.

Sponsored by the National Science Foundation 7 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Flack is … A graphical user interface (GUI) for: –designing topologies in GENI –reserving resources in GENI

Sponsored by the National Science Foundation 8 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experimenter An experimenter is a researcher who uses GENI resources Different types of experimenters have different roles and permissions: Advisor vs Grad Student Teacher vs TA vs Student Experimenter

Sponsored by the National Science Foundation 9 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Projects Projects organize research in GENI Project Lead Members Slice Projects contain both people and their experiments A project is led by a single responsible individual: the project lead Today we will use a project created for this tutorial

Sponsored by the National Science Foundation 10 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Creating Projects Only project leads can create projects. Project names are public, unique and permanent A project may contain many experimenters; an experimenter may be a member of many projects Projects have an optional expiration (e.g. for classes, tutorials) For today’s exercise we will use a project for this tutorial

Sponsored by the National Science Foundation 11 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experiment Workflow Part I: Design/Setup Part II: Execute Part III: Finish

Sponsored by the National Science Foundation 12 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Part I: Establish Management Environment 1 Pre-work: Design your experiment 2.1 Pre-work: Create a GENI account 2.2 Pre-work: Project lead (aka professor) adds you to project Project Name: TrainTheTA 2.3 Generate and Download SSH Keypair Tutorial instructions:

Sponsored by the National Science Foundation 13 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Creating a GENI account GENI Portal is at: Instructions for creating an account are:

Sponsored by the National Science Foundation 14 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Creating a GENI account GENI Portal is at: Anyone with an account at a supported identity provider (usually your school or employer) can log in, but they will have no privileges If you don’t have such an account, we will make you an account at the GPO Identity Provider You must be a member of a project to do anything interesting

Sponsored by the National Science Foundation 15 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 InCommon For many experimenters: no new passwords familiar login screens Leverage InCommon for single sign-on authentication Experimenters from 304 educational and research institutions have InCommon accounts

Sponsored by the National Science Foundation 16 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Using ssh with a public/private keypair Login to all GENI compute resources using ssh with a private key There are several ways to offer your private key to ssh. Today we will use a tool called an ssh agent. $ ssh-add ~/.ssh/id_geni_ssh_rsa $ ssh -p You should never be prompted for a password to log into a GENI compute node. If you are, something has always gone wrong. No password!

Sponsored by the National Science Foundation 17 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Using ssh with a public/private keypair Login to all GENI compute resources using ssh with a private key 1.The public key is loaded onto the node when you reserve resources. 2.You provide the private key when you log into the node. There are several ways to offer your private key to ssh. You should never be prompted for a password to log into a GENI compute node. If you are, something has always gone wrong. No password!

Sponsored by the National Science Foundation 18 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Expiration and renewal slice expiration time ≤ project expiration time each resource expiration time ≤ slice expiration time each resource expiration time ≤ aggregate’s max expiration project slice resource (optional) project expiration time slice expiration time resource expiration time now In general, to extend the lifetime of your resource reservation, you must renew the slice and all resources resource

You are here Projects Slices Log Messages HelpProfile Tools Map

2 Login Join Project Generate SSH Keys

On your local machine… > mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/. > chmod 600 ~/.ssh/id_geni_ssh_rsa > ssh-add ~/.ssh/id_geni_ssh_rsa 2

Sponsored by the National Science Foundation 22 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Resource A resource is a piece of infrastructure A resource can be real or virtual. Resource specifications (aka. RSpecs) are used to describe and request resources. Examples: Compute: computer vs virtual machine (VM) Wireline Network: VLAN or OpenFlow Wireless: WiMAX

Sponsored by the National Science Foundation 23 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Aggregate An aggregate manages a set of reservable resources Aggregates include: GENI racks OpenFlow WiMAX InstaGENI RackExoGENI Rack

Sponsored by the National Science Foundation 24 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Slice A slice is a container of resources used in an experiment. A slice can contain resources from one or more aggregates A slice is in a single project A slice has an expiration Slice names are public, reusable and unique (within a project)

Sponsored by the National Science Foundation 25 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experimenter (aka Student) Putting it all together slice aggregate project Member: Lead: Experimenter (aka Professor) Layer 2 resource

Sponsored by the National Science Foundation 26 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 slice Part I continued: Obtain Resources 3.1 Create a slice 3.2 (optional) Renew your slice 3.3 Reserve two VMs at on aggregate 3.4 Check Whether VMs are Ready to be Used Layer 2 VM

3.1 Create Slice

Extend slice expiration 3.2

Launch Flack 3.3

Launch Flack usernameslice name all available aggregates 3.3

Draw two VMs connected by a link 3.3

Change names of VMs 3.3

Set IP and mask of interfaces

Reserve resources 3.3

Resources are READY!!! 3.4

Sponsored by the National Science Foundation 36 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experiment Workflow Part I: Design/Setup Part II: Execute Part III: Finish

Sponsored by the National Science Foundation 37 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 client eth___ ___.___.___.___ server eth___ ___.___.___.___ Data i/f Control i/f Data i/f Control i/f Internet Control plane switch Data plane switch GENI Rack

Sponsored by the National Science Foundation 38 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Part II: Execute Experiment 4.1 Login to nodes (two nodes: client & server) 5 Execute experiment 5.1 Send IP traffic 5.2 Install and use iperf 5.3 Bring down the server’s data interface 5.4 Bring down the server’s control interface 6.1 Logout of nodes Internet Data Interfaces Control Interfaces ssh Layer 2 Experimenter serverclient

Login 4.1

$ sudo ifconfig $ ping –c 5 # server data i/f $ ping –c 5 # server ctrl i/f $ sudo ifconfig server client 5.1

Worksheet Project Name:TrainTheTA Slice Name: lab0 5.1 client eth___ ___.___.___.___ server eth___ ___.___.___.___ Data i/f Control i/f Data i/f Control i/f Internet Control plane switch Data plane switch GENI Rack

# do one of: $ sudo yum install iperf #IG $ sudo apt-get install iperf #EG $ rehash # server data i/f $ iperf –c … # server ctrl i/f $ iperf –c … # do one of: $ sudo yum install iperf $ sudo apt-get install iperf #EG $ rehash # start an iperf server $ iperf -s server client 5.2

What is the bandwidth of the data link? Why? What is the bandwidth of the control link? Why?

# ping server data i/f $ ping … # ping server ctrl i/f $ ping … $ exit # bring down data i/f # For ExoGENI only do: $ sudo service neuca stop $ sudo ifconfig eth12541 down # bring down ctrl i/f $ sudo ifconfig eth999 down server client

When you bring down the data interface, the destination should become unreachable. Why? After you bring down the control interface, your ssh session should immediately hang. Why? After you bring down the control interface, the destination should become unreachable. Why?

Sponsored by the National Science Foundation 46 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Experiment Workflow Part I: Design/Setup Part II: Execute Part III: Finish

Delete Resources 7

Sponsored by the National Science Foundation 48 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Part III: Finish Experiment When your experiment is done, you should always release your resources. –Normally this is when you would archive your data –Delete your resources at each aggregate slice project aggregate experimenter resource

Sponsored by the National Science Foundation 49 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Congratulations! You have… –Run your first GENI Experiment! –Exercised your knowledge of GENI terminology –Used the GENI Portal and Flack

Sponsored by the National Science Foundation 50 Lab Zero – Train the TA Spring ’14 Jan 17, 2014 Welcome to GENI!