Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office.

Slides:



Advertisements
Similar presentations
1 Computational Asset Description for Cyber Experiment Support using OWL Telcordia Contact: Marian Nodine Telcordia Technologies Applied Research
Advertisements

Agile Software Distribution
1 Planetary Network Testbed Larry Peterson Princeton University.
Sponsored by the National Science Foundation Lab Zero: A First Experiment.
Sponsored by the National Science Foundation Systematic Experimentation Case Study: Virtual Router Failure Restoration Xuan Liu UMKC/GENI Project Office.
Sponsored by the National Science Foundation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
CODING Research Data Management. Research Data Management Coding When writing software or analytical code it is important that others and your future.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen FGRE, July 7 th, 2015.
Sponsored by the National Science Foundation Configuration Management For Experimenters Sarah Edwards, GPO Max Ott, NICTA.
Lecture 1: Introduction Lecture series based on the text: Essential MATLAB for Engineers and Scientists By Hahn & Valentine
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.
Sponsored by the National Science Foundation Configuration Management For Experimenters: Ansible Hands-On Sarah Edwards, GPO.
Building a Real Workflow Thursday morning, 9:00 am Lauren Michael Research Computing Facilitator University of Wisconsin - Madison.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen Thijs Walcarius GEC 22, March 24 th, 2015.
Towards Establishing a Local ORCA Instance Shade EL-Hadik Deniz Gurkan University of Houston 7th GENI Engineering Conference 03/16/2010 GEC7 – ORCA-D.
CMAQ Runtime Performance as Affected by Number of Processors and NFS Writes Patricia A. Bresnahan, a * Ahmed Ibrahim b, Jesse Bash a and David Miller a.
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 Terminology.
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 LabWiki Tutorial (OMF/OML) Divya Bhat, Mike Zink, Pieter Becue, Brecht Vermeulen GEC20 July 8 th 2014, Ghent,
Sponsored by the National Science Foundation Tutorial: Introduction to Omni Niky Riga GENI Project Office GREESC13 $ omni.py createsliver aliceslice myRSpec.xml.
Systematic Experimentation: Automating Experiments and ExoGENI Image Snapshots Paul Ruth, RENCI / UNC Chapel Hill.
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.
Building a Real Workflow Thursday morning, 9:00 am Lauren Michael Research Computing Facilitator University of Wisconsin - Madison.
Sponsored by the National Science Foundation Building Custom Tools with geni-lib Sarah Edwards GENI Project Office (Materials provided by Nick Bastin,
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 Lab Zero: A First Experiment using GENI.
Behind the Scenes of GENI Experimentation Understanding GENI AM API and RSpec Sponsored by the National Science Foundation
Oracle Data Integrator Agents. 8-2 Understanding Agents.
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.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
Behind the Scenes of GENI Experimentation Understanding GENI AM API and RSpec Sponsored by the National Science Foundation
MySQL and GRID status Gabriele Carcassi 9 September 2002.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards, GENI Project Office.
AMH001 (acmse03.ppt - 03/7/03) REMOTE++: A Script for Automatic Remote Distribution of Programs on Windows Computers Ashley Hopkins Department of Computer.
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.
Linux Operations and Administration
Sponsored by the National Science Foundation March 23, 2015 Sponsored by the National Science Foundation LabWiki The Complete Experiment LifeCycle in a.
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 Behind the Scenes of GENI Experimentation featuring Named Data Networking Sarah Edwards.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Sponsored by the National Science Foundation Systematic Experimentation, Automation, and Scaling 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.
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
Sponsored by the National Science Foundation Click Software Routers Sarah Edwards GENI Project Office.
Introduction to Ansible
1 Policy Based Systems Management with Puppet Sean Dague
Configuration Management using Ansible
Using the jFed tool to experiment from zero to hero
IT Atoumation / Conf. Mgmt...
Drupal VM and Docker4Drupal For Drupal Development Platform
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
Lecture 1: Introduction
Scaling Experiments.
Introduction to Ansible
Presented By - Avinash Pawar
GBIF CESP Workshop, Madrid 2018 Dave Martin
Cloud Computing.
Client/Server and Peer to Peer
Presentation transcript:

Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office

Sponsored by the National Science Foundation 2 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Agenda General concepts Resource reservation Installing software

Sponsored by the National Science Foundation 3 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 How do I build repeatable experiments of non-trivial size?

Sponsored by the National Science Foundation 4 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Systematic Experimentation on a Testbed Combine best practices and methodology from: Science Scientific Method Experiment Design Repeatability Software Engineering Programming Version Control Debugging System Administration Using Node Types to Scale Up Configuration Management Today, focus on concepts from system administration that will help us be better scientists

Sponsored by the National Science Foundation 5 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Why experiment systematically? Scalability and Repeatability A well designed experiment will be repeatable and systematically scalable Valid Develop a solid understanding of and validate your experimental setup Rigorous Perform a scientifically rigorous (and publishable) study Debugging Easier to debug experiments. Easier to get help debugging. Especially for complex experiments.

Sponsored by the National Science Foundation 6 Systematic Experimentation – Regional Workshop at NEIU – September 18, 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 7 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 #1 Formulate a clear plan What vs How Figure out what you are doing then figure out how Draw a picture Statistics and procedure Try out tools and techniques

Sponsored by the National Science Foundation 8 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 #2 Automate Using Best Practices Examples: Software/image Configuration Number of nodes/links Geographic distribution of nodes/links Log all artifacts –RSpec –image –install script –custom software –Measurements –etc Use version control to store your artifacts More on this later… Always know the last working configuration Only change one thing at a time + save what you do

Sponsored by the National Science Foundation 9 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 #3: Start Small. Then Scale Up. Start by building smallest possible topology by hand. Automate as needed. Test and measure as you go. clientserver host OVS switch host router worker master worker node More next…

Sponsored by the National Science Foundation Resource Reservation

Sponsored by the National Science Foundation 11 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Tools to generate a scaled RSpec (from painful to easy) Copy paste existing RSpec in a text editor CON Tedious AND very error prone Manually create each node using an Rspec Editor (Jacks, jFed) CON Tedious AND somewhat error prone Write a shell script to generate the RSpec –Brecht and Thierry’s 150 node topology PRO Large topologies CON Single purpose Duplicate and Auto-IP buttons in Jacks PRO General purpose CON Medium topologies We’ll use today!!! scaleup tool PRO Large topologies AND General purpose

Sponsored by the National Science Foundation 12 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015

Sponsored by the National Science Foundation Configuration Management with Ansible

Sponsored by the National Science Foundation 14 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 What do experimenters need? Ensure experiment is in a known configuration Easily repeat existing experiment setups (for multiple runs, changing parameters, etc) Reproduce configuration across space and time Easy to build many nodes that look the same Useful for scaling up the size of topologies (space) Useful for rebuilding a topology repeatedly (time)

Sponsored by the National Science Foundation 15 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 CM Systems are Idempotent CM systems are usually idempotent Repeated runs generates the same state Contrast to a shell script which encodes how to transition between two known states The state is usually easy to describe. iperf should be (or not be) installed File foo.html should exist (or not) Describing all possible transitions from every possible previous state is hard. If iperf is not already installed, then install it, else do nothing Known State A Known State B Shell script A -> B Unknown State A Known State B ? CM Idempotent

Sponsored by the National Science Foundation 16 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Ansible Setup Experimenter ssh  Public key is stored on each remote machine  Private key is stored on local machine  Ansible client installed GENI Slice  Inventory file describes substrate

Sponsored by the National Science Foundation 17 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Using Ansible Ad Hoc mode Execute individual commands on one or more nodes Playbooks Enforce configurations written in YAML

Sponsored by the National Science Foundation 18 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 Example YAML files # server.yml hosts: server* sudo: True roles: - webserver - nmap # roles/apache/tasks/main.yml name: install apache2 apt: name=apache2 update_cache=yes

Sponsored by the National Science Foundation 19 Systematic Experimentation – Regional Workshop at NEIU – September 18, 2015 In Conclusion … Hyperbole & A Half &