Getting Started With Your Own Experiment

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.
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.
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 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 Running a Class in GENI GENI Project Office.
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 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.
LearningSpace 2.0. What is LearningSpace 2.0 Program designed for project-based learning and real-time collaboration in virtual workspaces. Includes safe.
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 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.
Behind the Scenes of GENI Experimentation Understanding GENI AM API and RSpec Sponsored by the National Science Foundation
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 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.
Behind the Scenes of GENI Experimentation Understanding GENI AM API and RSpec Sponsored by the National Science Foundation
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 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 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 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 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 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?
Knowledge Hub Walkthrough August
Sponsored by the National Science Foundation GEC17 Plenary Session: Architecture Marshall Brinn, GPO July 22, 2013.
Online Submission and Management Information -- Authors
Core ELN Training: Office Web Apps (OWA)
Partners – MaaS360 Portal Management
Project Management: Messages
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
Tutorial for 21Classes.com
Understanding the AM API through a simple experiment
Basic User Site Access Training & Producing Reports
GENI Terminology Sponsored by the National Science Foundation.
RR RR Problems Along With Solutions For iPhone And iPad Toll Free ( )
How to Create and Start a Test Session
GENI Exploring Networks of the Future
Presentation transcript:

Getting Started With Your Own Experiment

Intermediate Topics Solutions to Common Problems Getting Help Advanced Topics

Reproducible Experiments Two approaches: Use existing images with install scripts http://groups.geni.net/geni/wiki/HowTo/WriteInstallScript Use custom images or snapshots Image creation ExoGENI provides a sandbox for image creation Snapshot images InstaGENI provides standard images which are easy to snapshot Snapshot image: http://groups.geni.net/geni/wiki/HowTo/ManageCustomImagesInstaGENI … or combine the two approaches

Inter-aggregate Connectivity Different experiments have different needs, chose based on your experiment!

ExoGENI, InstaGENI, ProtoGENI are they different and how do I choose? Rack Differences ExoGENI, InstaGENI, ProtoGENI are they different and how do I choose? ExoGENI, InstaGENI: GENI racks developed by different teams ProtoGENI: Pre-existing testbeds that are GENI enabled, InstaGENI is based on ProtoGENI software The important thing is your experiment, so you should always start by designing your experiment and don’t worry about the aggregate. 6

Designing your experiment: Things to consider Do I need access to bare metal hosts? What are my networking needs? What tools do I want to use? What platform am I familiar with? 7

Acting against known aggregates Query for existing slice, members, slivers … $ omni listslices $ omni listslicemembers SLICENAME $ omni listslivers SLICENAME Omni/Portal report sliver creation/deletion to Clearinghouse. --useSliceAggregates queries against aggregates known to have resources in your slice $ readyToLogin SLICENAME --useSliceAggregates $ omni deletesliver SLICENAME --useSliceAggregates Hands-On Query and manipulate slice memberships: `listslices` - list all of my slices `listslicemembers` - list members of my slice (and the member's public keys) `addslicemember` - add member to my slice When calling `createsliver` at a compute aggregate, create accounts loaded with the public key(s) for users in one or both of the following sets: Members of the slice Users listed in your omni_config Query and report reservations to the clearinghouse `createsliver`/`deletesliver` / `renewsliver` now report reservations and deletions to the clearinghouse `listslivers` / `--useSliceAggregates` - list/query aggregates and slivers known to contain resources in my slice (advisory information only - query the aggregates to know for sure) `--useSliceAggregates` allows users to not (or not only) specify aggregates using -a and instead query for aggregates known to have resources in this slice when using the following calls: listresources sliverstatus / status deletesliver / delete renewsliver / renew performoperationalaction (aka poa) readyToLogin script remote-execute script Add users to existing slivers Clearinghouse info is only advisory! Query aggregates for authoritative info http://trac.gpolab.bbn.com/gcf/wiki/HowTo/UseCHAPIInOmni

Add a member to existing slivers 1) Add member to slice $ omni addslicemember SLICENAME USERNAME 2) Add slice member’s accounts to existing slivers $ omni -V 3 poa SLICE geni_update_users --useSliceAggregates –-useSliceMembers Alternatively, the Linux version has a script to do the above two steps $ addMemberToSliceAndSlivers myslice username Demo Query and manipulate slice memberships: `listslices` - list all of my slices `listslicemembers` - list members of my slice (and the member's public keys) `addslicemember` - add member to my slice When calling `createsliver` at a compute aggregate, create accounts loaded with the public key(s) for users in one or both of the following sets: Members of the slice Users listed in your omni_config Query and report reservations to the clearinghouse `createsliver`/`deletesliver` / `renewsliver` now report reservations and deletions to the clearinghouse `listslivers` / `--useSliceAggregates` - list/query aggregates and slivers known to contain resources in my slice (advisory information only - query the aggregates to know for sure) `--useSliceAggregates` allows users to not (or not only) specify aggregates using -a and instead query for aggregates known to have resources in this slice when using the following calls: listresources sliverstatus / status deletesliver / delete renewsliver / renew performoperationalaction (aka poa) readyToLogin script remote-execute script Add users to existing slivers Only works on InstaGENI/ProtoGENI http://trac.gpolab.bbn.com/gcf/wiki/HowTo/UseCHAPIInOmni

Advanced Topics Solutions to Common Problems Getting Help

Common Problems Problem: Slice did not come up (“not green”) Possible causes: Did not wait long enough Problem with RSpec Debug strategy: Check slice/sliver status Use rspeclint on your rspecs http://www.protogeni.net/wiki/RSpecDebugging

Three ways to get SliverStatus Flack “green” is good Use “Get Status” button to refresh status Omni Use readyToLogin Portal On slice page, use “Get Status” or “Get All” buttons Demo Demo

Common Problems Problem: Resources disappeared Possible causes: Slice expired Resources (aka slivers) expired Debug strategy: Check slice/sliver status Reserve resources again if expired  Don’t rely on nodes for storage Edit scripts locally and scp to your nodes Copy data off machines

Expiration and renewal project slice resource resource resource (optional) project expiration time resource expiration time slice expiration time now slice expiration time ≤ project expiration time each resource expiration time ≤ slice expiration time each resource expiration time ≤ aggregate’s max expiration GENI resources are provided by free on a first-come-first-serve basis. GENI uses a variety of expiration times to ensure resources are returned to the pool of available resources in a timely manner. To start with, projects have an optional expiration time. A slice created within that project has a slice expiration time that can not be any later than the project expiration time. Resources reserved within that slice have an expiration time that can not be later than the slice’s expiration time. Moreover, different resources within the same slice may have distinct expiration times. In general, to extend the lifetime of your resource reservation, you must renew both the slice and all resources within that slice. In general, to extend the lifetime of your resource reservation, you must renew the slice and all resources

Slice and Sliver Expiration Hands-On Extend slice/resource expirations $ omni renewslice 01-31-14 # renew each sliver individually $ omni renewsliver –a gpo-ig myslice 01-31-14 $ omni renewsliver –a renci-eg myslice 01-31-14 $ omni renewsliver –a missouri-ig myslice 01-31-14 # OR renew all known slivers for “as long as possible” $ omni -V 3 renew myslice 01-31-14 -–useSliceAggregates --alap Next we will renew the slice to extend the initial expiration time for the resources.

Common Problems 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: Check the status of the sliver Try having a collaborator login Look for loaded keys sudo cat ~other_user_path/.ssh/authorized_keys Ask them to use ‘-v’ option ssh –v foo@bar.example.net ssh -v

Clean up now! project resource experimenter aggregate slice Try this now: $ omni deletesliver SLICENAME --useSliceAggregates Be sure to delete your resources.

Advanced Topics Solutions to Common Problems Getting Help

Answer is help@geni.net Have a question? Answer is help@geni.net which is an email list which only goes to members of the GPO including… Sarah Edwards Niky Riga Vic Thomas Have a question? The answer is always help@geni.net. help@geni.net goes to a number of friendly faces including Niky, Sarah & Vic. We’ll answer your question or redirect it the appropriate place. Always email help@geni.net instead of emailing us directly, as it ensures a more timely response. (However, the archive of the list is public)

Ways to Get Help Sign Up for : Use #geni IRC chatroom geni-users@googlegroups.com Use #geni IRC chatroom Go over HowTo pages http://groups.geni.net/geni/wiki/GENIExperimenter/GetHelp

General debug advice Gather as much information as you can Be specific about what is not working Step-by-step run through usually helps Include what you see (screenshots, omni output errors) Always include: type of account you are using (eg portal) the tool you are using (eg Flack, omni, portal) your slice name or URN aggregates you are using a detailed description of what's wrong including any error messages Contact geni-users@googlegroups.com for help Register for resource mailing lists

Finding other resources GENI wiki Pages for Instructors and Experimenters http://groups.geni.net/geni/wiki

“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

Ways to Learn More Sign up for announce@geni.net to be notified about: Train-the-TA at the start of each semester (online-only) GENI Summer Camp Sign up at: http://lists.geni.net/mailman/listinfo/geni-announce 27

Please fill out the survey Thank you for attending! Update!!! Please fill out the survey http://tinyurl.com/GEC19-Feedback

Instrumentation and Measurement Are you going to Instrumentation and Measurement with GEMINI on Tuesday at 11am ? Pick up a slip. Create a slice called: gems<YOUR INITIALS> Go to Portal to reserve the specified RSpec at the Specified aggregate

Working With Collaborators

Projects organize research in GENI Slice Lead Members Projects contain both people and their experiments A project is led by a single responsible individual: the project lead Experimenters can perform experiments in the context of a project. Projects contain both people and their experiments. (Experiments are represented by slices, a term we will define in a few minutes.) A project must have a single individual who is willing to take responsibility for what happens within the project. This person is called the project lead. For our purposes today, we will use a project created for this class and the professor will be the project lead. 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

Project Membership example Projects have 1 Lead and any number of Admins, Members, and Auditors Expiration Calendar clipart: http://all-free-download.com/free-vector/vector-clip-art/table_calendar_clip_art_12117.html Projects have an optional expiration (e.g. for classes, tutorials) For classes it is recommended to have the project expire at the end of the class. Typical Research Project Typical Class http://groups.geni.net/geni/wiki/GENIConcepts#Project

Populating a Project Member-initiated Admin-initiated Each experimenter asks to join a project, approval needed Typical for Research projects Admin-initiated Project Lead/Admin bulk-adds experimenters Typical for Classrooms or Tutorials

Working with multiple members in a slice Members of all slices in a project: Project Leads (Professor) Project Admins (TAs, Graders) Other can be added manually Research Asst Slice Lead Post-Doc Slice Member Professor Slice Admin http://groups.geni.net/geni/wiki/GENIConcepts#Slice

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!

Slice Access: Logging in to resources Slice membership does not guarantee ability to login to resources! To ensure access in collaborator’s resources: Option 1: Make resource reservation from Portal fix the membership of the slice Use the add resource button in the portal Option 2: Make resource reservation using omni Call createsliver Option 3: Ensure common public key is loaded distribute common public key to collaborators ask collaborators to upload it in their profile use corresponding private key to login Add options