First GENI Research and Educational Experiment Workshop Mark

  • Slides: 6
Download presentation
First GENI Research and Educational Experiment Workshop Mark Berman March 16, 2012 www. geni.

First GENI Research and Educational Experiment Workshop Mark Berman March 16, 2012 www. geni. net Sponsored by the National Science Foundation

Benefits of Automating Your Experiment • Facilitates hands-off setup – Quicker recovery from failed

Benefits of Automating Your Experiment • Facilitates hands-off setup – Quicker recovery from failed resources – Easier to scale experiment configuration – Less frightening to release resources between experiments – Other researchers can reproduce your experiment • Easier to run more trials, collect more data, get better results Designing for automation includes standard best software practice – and GENI helps with some simple tools. Sponsored by the National Science Foundation March 16, 2012 www. geni. net 2

Basic GENI Tools to Automate Experiments • GENI rspec captures much of an experiment’s

Basic GENI Tools to Automate Experiments • GENI rspec captures much of an experiment’s initial static configuration • Use “install” and “execute” services to load software onto your machines and start experiment execution – These services are available through Flack or incorporate directly into your rspec – Very simple model with lots of flexibility • More elaborate orchestration can be performed with Gush Sponsored by the National Science Foundation March 16, 2012 www. geni. net 3

Flack Services Interface Sponsored by the National Science Foundation March 16, 2012 www. geni.

Flack Services Interface Sponsored by the National Science Foundation March 16, 2012 www. geni. net 4

Rspec Services Example <rspec type="request". . . > <node client_id="PC". . . > <sliver_type

Rspec Services Example <rspec type="request". . . > <node client_id="PC". . . > <sliver_type name="raw-pc"/> <services> <install_path="/local" url="http: //example. org/code. Bundle. tgz"/> <execute command="/local/start-experiment" shell="sh"/> </services> </node> </rspec> Sponsored by the National Science Foundation March 16, 2012 www. geni. net 5

Gush Usage Model Command-line or scripted control options Sponsored by the National Science Foundation

Gush Usage Model Command-line or scripted control options Sponsored by the National Science Foundation March 16, 2012 www. geni. net 6