Skip to content

223323/deterlab-experimentation-script

Repository files navigation

deterlab experimentation script

What is it?

Script to be run on your own PC, which first uploads whole folder to deterlab in experiments folder by using rsync tool, then it logs in to deterlab with ssh and executes given command on remote users.isi.deterlab.net PC.

Usage:

List of commands:
./run upload - uploads whole folder to /users/<username>/experiments/<exp_name>/
./run make_exp - creates containerized experiment (dozen of virtual machines per single physical)
./run make_normal_exp - creates non containerized experiment (real machines, no virtualization)
./run terminate - terminates experiment
./run swapin - swaps in experiment
./run swapout - swaps out experiment
./run reboot - reboot nodes (doesn't really work well, doesn't reconnect network)
./run ping - ping all nodes listed in experiment.sh
./run orchestrate - runs gen-aal.sh script which generates aal file which is then ran with orchestrator
./run experiment - same as ./run orchestrate ; ./run download @monitor (downloads data from monitor nodes)
./run download [<node-name>|<@group>] - can download results from single node or group of nodes
./run ssh [<node-name>|<@group>] [<command>] [shell] - depending on given parameters it logs in to node,
	@group argument can only be used in other mode which requires given <command>, which is then executed
	on all nodes in given group.
./run ssh - logs in to users.isi.deterlab.net
Steps to create and run experiment:
  1. edit experiment.sh (set user name, project name, experiment name, node list)
  2. edit topology.tcl (edit network layout)
  3. edit gen-aal.sh (edit experiment orchestration script)
  4. put shared files in data folder
  5. ./run make_exp
  6. ./run swapin
  7. wait at least 10 minutes (until network is ready for use)
  8. ./run experiment
  9. look in archives folder for results

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •