== ORBIT Basics: Six Step Experiment Life Cycle == [[TOC(Tutorials/a0Basic*)]] A typical experiment requires the following six steps: 1. [[CollapsibleStart(Create resource reservation")]][[Include(Documentation/Short/CreateRes)]][[CollapsibleEnd]] Reserve a set of nodes/resources from a domain to run the experiment on. 2. [[CollapsibleStart(Login into reserved domain: "ssh username@sb1.orbit-lab.org")]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] Access the corresponding domain console. 3. [[CollapsibleStart(Load an image on the nodes: "omf load -i baseline.ndz -t all")]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] Install an image on the hard disks of the nodes. After imaging the nodes are '''turned off automatically'''. 4. [[CollapsibleStart(Turn the nodes on: "omf tell -a on -t all")]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]] Turn the nodes back on to run the experiment (give them some time and check their status with '''omf stat''' before proceeding). 5. [[CollapsibleStart(Execute the experiment: "omf exec test:exp:tutorial:hello-world-wireless -- --res1 node1-1.sb1.orbit-lab.org --res2 node1-2.sb1.orbit-lab.org")]] {{{omf exec test:exp:tutorial:hello-world-wireless -- --res1 node1-1 --res2 node1-2}}} [[Include(Software/cOMF/aExec)]][[CollapsibleEnd]] Run the experiment (in this case execute "Hello World" built in experiment) and [wiki:/Tutorials/a0Basic/Tutorial3 analyze the results]. 6. (optionally) Save the image [[CollapsibleStart(Save Image with omf: "omf save -n node1-1.sb1.orbit-lab.org")]] [[Include(Documentation/Short/SaveImage)]][[CollapsibleEnd]] If you did something to the image definitely '''save it before the end of your time slot'''! To learn more about OMF (ORBIT Management Framework), see https://omf.mytestbed.net/projects/omf/wiki/OMF_Main_Page or https://github.com/mytestbed/omf