5 | | === Preparations === |
6 | | Before you can complete any of the tutorials, you will need to have to do the following: |
7 | | 1. [[CollapsibleStart(Make a reservation)]][[Include(Documentation/Scheduler)]][[CollapsibleEnd]] |
8 | | 1. [[CollapsibleStart(Login into reserved domain)]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] |
9 | | 1. [[CollapsibleStart(Check the status)]][[Include(Software/cOMF/eStat)]][[CollapsibleEnd]] |
10 | | |
11 | | === Managing Nodes === |
12 | | * [[CollapsibleStart(How to load (install) a disk image on a set of nodes)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] |
13 | | * [[CollapsibleStart(How to save an existing disk image from one node)]] [[Include(Documentation/Short/SaveImage)]][[CollapsibleEnd]] |
14 | | * [[CollapsibleStart(How to switch On/Off a set of nodes)]][[Include(Tutorial/HowToSwitch)]][[CollapsibleEnd]] |
| 8 | A typical experiment requires the following six steps: |
| 9 | 1. [[CollapsibleStart(Create resource reservation")]][[Include(Documentation/Short/CreateRes)]][[CollapsibleEnd]] |
| 10 | Reserve a set of nodes/resources from a domain to run the experiment on. |
| 11 | 2. [[CollapsibleStart(Login into reserved domain: "ssh username@sb1.orbit-lab.org")]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] |
| 12 | Access the corresponding domain console. |
| 13 | 3. [[CollapsibleStart(Load an image on the nodes: "omf load -i baseline.ndz -t all")]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] |
| 14 | Install an image on the hard disks of the nodes. After imaging the nodes are '''turned off automatically'''. |
| 15 | 4. [[CollapsibleStart(Turn the nodes on: "omf tell -a on -t all")]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]] |
| 16 | Turn the nodes back on to run the experiment (give them some time and check their status with '''omf stat''' before proceeding). |
| 17 | 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")]][[Include(Software/cOMF/aExec)]][[CollapsibleEnd]] |
| 18 | Run the experiment (in this case execute "Hello World" built in experiment). |
| 19 | 6. Analyze the results |
| 20 | Use various tools to analyze the results. |
| 21 | 7. (optionally) Save the image [[CollapsibleStart(Save Image with omf: "omf save -n node1-1.sb1.orbit-lab.org")]] [[Include(Documentation/Short/SaveImage)]][[CollapsibleEnd]] |
| 22 | If you did something to the image definitely '''save it before the end of your time slot'''! |