Sponsored by the National Science Foundation Running a Class in GENI Sarah Edwards GENI Project Office.

Slides:



Advertisements
Similar presentations
MFA for Business Banking – Security Code Multifactor Authentication: Quick Tip Sheets Note to Financial Institutions: We are providing these QT sheets.
Advertisements

Sponsored by the National Science Foundation GENI Exploring Networks of the Future
Sponsored by the National Science Foundation Running a class in GENI GENI Project Office.
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.
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.
Getting Started. Edline Web Site Requirements Provide Students and Parents With: 1.A Brief Course Description 2.Your Address 3.Course Syllabus 4.Major.
Center Accreditation Online System
Sponsored by the National Science Foundation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
©2006, CSA Using COS Funding Alert Automatic Notification of Relevant New Opportunities from the World’s Largest Funding Database ™ Easily Accessible Via.
Chapter Accreditation Online System Usage Tutorial Department of Member Relations & Grants National Children’s Alliance.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen FGRE, July 7 th, 2015.
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
Andy Bavier, PlanetWorks Scott Baker, SB-Software July 27, 2011.
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.
Online Reporting Guide
Sponsored by the National Science Foundation Using GENI Wireless Resources Vic Thomas GENI Project Office.
Sponsored by the National Science Foundation GEC16 Plenary Session: GENI Solicitation 4 Tool Context Marshall Brinn, GPO March 20, 2013.
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 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 Systematic Experimentation, Automation, and Scaling Up 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 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 Systematic Experimentation in GENI.
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 Lab Zero: A First Experiment using GENI.
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 Introduction to GENI Architecture: Federated Trust Perspective Marshall Brinn, GPO GEC20: June 24, 2014.
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 GEC19 Outbrief: GENI in the Classroom, Experimenter-Developer Roundtable, Tutorials Vic Thomas, Niky Riga.
Sponsored by the National Science Foundation 1 Train the TA – Sept 13, 2012 Getting Help after Today GENI wiki –Pages for Instructors and Experimenters.
Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI Sarah Edwards GENI Project Office.
Sponsored by the National Science Foundation Getting Started With Your Own Experiment.
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 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 Systematic Experimentation, Automation, and Scaling Up Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Wrap Up Sarah Edwards GENI Project Office.
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 Understanding the AM API through a simple Hadoop experiment.
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
Run a Complete Experiment
Lab Zero: A First Experiment using GENI
GENI Exploring Networks of the Future
Understanding the AM API through a simple experiment
Getting Started With Your Own Experiment
GENI Terminology Sponsored by the National Science Foundation.
GENI Exploring Networks of the Future
Presentation transcript:

Sponsored by the National Science Foundation Running a Class in GENI Sarah Edwards GENI Project Office

Sponsored by the National Science Foundation GENI Accounts and Projects Resources for Instructors Tips Wrap Up GENI Accounts and Projects

Sponsored by the National Science Foundation 3 Train the TA – Feb 6, 2015 Access to GENI 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 GENI Project Office runs a federated IdP to provide accounts for non-federated organizations.

Sponsored by the National Science Foundation 4 Train the TA – Feb 6, 2015 Authenticating as a user Asymmetric encryption Asymmetric cryptography, a.k.a. public-key cryptography is based on using different keys for encryption and decryption Public keyPrivate key Only the private key can decrypt challenges created with the public key. Private key is usually protected with a passphrase.

Sponsored by the National Science Foundation 5 Train the TA – Feb 6, 2015 Authenticating as a user SSL Certs Researcher Aggregate Manager Aggregate Resources users slices clearinghouse projects User certificate (includes public key) signed by CH AM uses Public key to authenticate user

Sponsored by the National Science Foundation 6 Train the TA – Feb 6, 2015 Projects Projects organize research in GENI Projects contain both people and their experiments A project is led by a single responsible individual: the project lead Project Lead Members Slice

Sponsored by the National Science Foundation 7 Train the TA – Feb 6, 2015 Project Membership example Projects have 1 Lead and any number of Admins, Members, and Auditors Typical Class Expiration

Sponsored by the National Science Foundation 8 Train the TA – Feb 6, 2015 Populating a Project 1.Member-initiated Each experimenter asks to join a project, approval needed Typical for Research projects 1.Admin-initiated Project Lead/Admin bulk-adds experimenters Typical for Classrooms or Tutorials Live Demo

Sponsored by the National Science Foundation 9 Train the TA – Feb 6, 2015 Slice Membership example Slices have: 1 Lead (person who created the slice) any number of Admins, Members, and Auditors Project Lead/Admins added as slice Admins Research Asst Slice Lead Research Asst Slice Lead Post-Doc Slice Member Professor Slice Admin Professor Slice Admin

Sponsored by the National Science Foundation 10 Train the TA – Feb 6, 2015 Project and Slice Roles Create project Modify project & manage membership Create sliceView project Project Lead ✔✔✔✔ Admin ✔✔✔ Member ✔✔ Auditor ✔ Manage slice membership Act on sliceView sliceAccount/ keys loaded on slice Slice Lead ✔✔✔✔ Admin ✔✔✔✔ Member ✔✔✔ Auditor ✔✔

Sponsored by the National Science Foundation 11 Train the TA – Feb 6, 2015 Slice Access Being a member of a slice means you can act on a slice: –Add resources –Check status –Delete resources –Renew resources With any tool!

Sponsored by the National Science Foundation 12 Train the TA – Feb 6, 2015 Slice Access: Logging in to resources Slice membership does not guarantee ability to login to resources! To ensure access in student’s resources: Option 1: Reserve resources from Portal/Jacks/Omni [recommended] fix the membership of the slice before reserving resources Not supported in Flack Option 2: Ensure common public key is loaded distribute common public key to students ask students to upload it in their profile use corresponding private key to login Ability to login can help in debugging!

Sponsored by the National Science Foundation GENI Accounts and Projects Exercises on GENI Tips Wrap Up Resources for Instructors

Sponsored by the National Science Foundation First Exercise in GENI □Bulk-add students to project Prework: □GENI account □Computer setup* □Other? 1 week before Class Prep: □GENI Access □Project for the Class □Test Exercises □Notify GMOC □Figure Student setup □ 2 weeks before (or sooner) * Include steps for testing the setup Instructor Checklist Full checklist at: TIP: Start early!

Sponsored by the National Science Foundation 15 Train the TA – Feb 6, 2015 Our Advice for Novice Experimenters Creating Repeatable Computer Science and Networking Experiments on Shared, Public Testbeds by S. Edwards, X. Liu, N. Riga In Operating Systems Review, Jan ‘15 Concise advice for novices on designing experiments to run on a testbed: 1.Formulate a clear plan 2.Automate the execution/analysis of your experiment using best practices 3.Build scalable experiments a.k.a. Start small. Then scale up Plus a case study created by a PhD student. Link to ACM Library For students designing their own experiments

Sponsored by the National Science Foundation 16 Train the TA – Feb 6, 2015 Available Exercises List of sample assignments and tutorials: –Use as they are –Modify to meet your needs Annotated: –Type –Purpose –Resources needed –Difficulty/Duration

Sponsored by the National Science Foundation 17 Train the TA – Feb 6, 2015 Available Exercises Each sample exercise has: –Handouts / Instructions for students –Further information about the instructors –For solutions Instruction format: –3 Steps based on standard experiment lifecycle

Sponsored by the National Science Foundation 18 Train the TA – Feb 6, 2015 Popular Samples Tutorials: Lab Zero Basic GENI understanding, ensures students setup their environment Intro To OpenFlow Basic OpenFlow introductory tutorial, students learn how to setup OVS and write simple controllers Assignments: IPv4 Routing Students understand IPv4 forwarding and how to configure static routes TCP Network Awareness Students explore different TCP flavors and TCP parameters Tutorials: Assignments:

Sponsored by the National Science Foundation 19 Train the TA – Feb 6, 2015 Migrate an Assignment to GENI 1.Figure out GENI Resources/Tools –Wireless/Wired –Flack, Omni, Portal, I&M? 2.Test your exercise 3.Adjust writeup for GENI –Remember to include Clean Up!

Sponsored by the National Science Foundation 20 Train the TA – Feb 6, 2015 Test the Assignment in GENI Run through the exercise Automate: –Install scripts (HowTo/WriteInstallScripts) –Custom Image Create RSpec that instantiate the topology –install scripts, images are included

Sponsored by the National Science Foundation 21 Train the TA – Feb 6, 2015 Resource Reservation 1.Students make the reservation: –RSpec (URL, File, Upload it in Portal) Or the topology if they are just drawing it in Flack (e.g. Lab 0) –AMs, Tool 2.*Admin (Prof., TA) makes all the reservations: –Create a Slice per student/group –Make the student(s) member of the slice –Ensure they have keys ( us if needed) –Reserve resources from the Portal or omni –Omni scripts automate this process * Lab Exercises: Resource reservation might take time Assignments: Resource reservation is complicated/unique or out of scope

Sponsored by the National Science Foundation GENI Accounts and Projects Resources for Instructors Random Tips Wrap Up Tips

Sponsored by the National Science Foundation 23 Train the TA – Feb 6, 2015 Tip #1: Load Balance the students Split students/groups between equivalent resources (e.g. racks) to avoid resource contention If using scarce resources consider a rolling deadline

Sponsored by the National Science Foundation 24 Train the TA – Feb 6, 2015 Tip #2: Notify GMOC GMOC: GENI Meta-operation Center Keeps track of outages Notification system for resource reservation GMOC Google Calendar keeps track of reservations/outages

Sponsored by the National Science Foundation 25 Train the TA – Feb 6, 2015 Tip #3: Setup for the Students Use their personal laptop –LabZero is a good way to get setup –There are Mac/Windows Binaries for Omni Use Lab computers –Go through the exercises in lab computers –stress-test the resources or split students Use a VM with all the software loaded – Make sure they test it early in the class!

Sponsored by the National Science Foundation 26 Train the TA – Feb 6, 2015 Tip #4: Accessing GENI Resources: SSH Login to all GENI compute resources using ssh keys – no password If you are ever prompted for a password during login to GENI nodes something is wrong Using key-pair to SSH: –Public key: is public to everyone, loaded to nodes Private key: kept private in your computer, provided to SSH to verify it matches the loaded public key

Sponsored by the National Science Foundation 27 Train the TA – Feb 6, 2015 Tip #4: SSH Challenges Students might not be familiar with CLI Students might not be familiar with public key cryptography –Hard to distinguish between private and public –Hard to distinguish between password and passphrase Consider a brief SSH tutorial/intro

Sponsored by the National Science Foundation 28 Train the TA – Feb 6, 2015 Tip #4: SSH from Windows SSH with keys from Windows is non-trivial –No built-in ssh client Possible Solutions Need to address this early! –BitVise –FireSSH – javascript plugin for Firefox –SecureCRT (not free) –cygwin –Linux VM – make use of a slim OS –PuTTy (private key format different)

Sponsored by the National Science Foundation 29 Train the TA – Feb 6, 2015 Tip #5: Effective debugging Ask students to be specific about what is not working –Step-by-step run through usually helps Ask for what they see: –screenshots –omni output errors Gather as much information as you can –get slice name –tool they used –rspec Remember you have access to their slices, check for yourself! Register for resource mailing lists –Better that you contact resource owners and not the students

Sponsored by the National Science Foundation 30 Train the TA – Feb 6, 2015 Tip #5: Debugging Example Problem: Can’t login to a node Possible causes: –Slice/sliver expired –Wrong username –Public key isn’t loaded, Private key is wrong or non-existing –Private key has wrong permissions (it should have 0600) –Technical issue with node Debug strategy: 1.Check the status of the sliver 2.Try logging in to the node yourself Look for loaded keys sudo cat /.ssh/authorized_keys 3.Ask them to use ‘-v’ option ssh –v

Sponsored by the National Science Foundation 31 Train the TA – Feb 6, 2015 Hands On Renew slices/slivers Use of different tools –Portal, Omni

Sponsored by the National Science Foundation GENI Accounts and Projects Exercises on GENI Tips Wrap Up Wrap up

Sponsored by the National Science Foundation 33 Train the TA – Feb 6, 2015 Answer is Have a question? Sarah Edwards Niky Riga Vic Thomas which is an list which only goes to members of the GPO including… (However, the archive of the list is public)

Sponsored by the National Science Foundation 34 Train the TA – Feb 6, 2015 Ways to Get Help Sign Up for : Use #geni IRC chatroom Go over HowTo pages

Sponsored by the National Science Foundation 35 Train the TA – Feb 6, 2015 Finding other resources GENI wiki –Pages for Instructors and Experimenters

Sponsored by the National Science Foundation 36 Train the TA – Feb 6, 2015 “How To” pages Listed under the “Experimenters” section Each “How To” is a short descriptions of how to do various tasks New entries being added all the time

Sponsored by the National Science Foundation 37 Train the TA – Feb 6, 2015 Ways to Learn More Sign up for GENI Engineering Conference 22nd meeting, open to all: March 23-26, 2016 George Washington University, Washington, D.C. –Planning & discussion for experimenters, software, infrastructure –Tutorials and workshops –Travel grants to US academics for participant diversity (DUE TODAY GENI Summer Camp Late May (tentative)

Sponsored by the National Science Foundation 38 Train the TA – Feb 6, 2015 Thank you for attending! Please fill out the survey