Version 5 (modified by 17 years ago) ( diff ) | ,
---|
Go back —> Tutorials
How to install a disk image on the nodes of a Testbed (using imageNodes4)
If you have not done so yet:
- Register for an account
- Make a reservation on the Schedular for a given tesbed
Lets assume that you registered as user 'bob' and made a reservation for the 'grid' testbed. You then access the 'grid' console using the command:
ssh bob@console.grid.orbit-lab.org
Then, to image some nodes on the 'grid' testbed, use the command:
imageNodes4 [1..20,1..20] baseline.ndz # will write the 'baseline.ndz' disk image on the entire set of 20x20 nodes on the 'grid' imageNodes4 [[3,1],[5,6]] baseline.ndz # same as above, but only on nodes [3,1] and [5,6]
The output of the "imaging" process will look like the following:
Imaging nodes: '[1..20,1..20]' with image 'baseline.ndz' on default domain (retrieved from hostname) INFO init: NodeHandler Version 4.2.0 (1272) INFO init: Experiment ID: grid_2007_07_01_23_22_34 ... WARN -:topo:image: Ignoring missing node '5@14' ... INFO stdlib: Waiting for nodes (Up/Down/Total): 0/326/326 - (still down: n_19_17,n_16_7,n_7_13) INFO stdlib: Waiting for nodes (Up/Down/Total): 95/231/326 - (still down: n_19_17,n_7_13,n_10_15) ... INFO whenAll: *: 'status[@value='UP']' fires INFO exp: Progress(0/0/144): 0/0/0 min(n_16_7)/avg/max (177) - Timeout: 581 sec. ... INFO exp: Progress(138/11/144): 0/89/100 min(n_18_3)/avg/max (177) - Timeout: -2 sec. ... INFO Experiment: DONE!
At the end of the "imaging" process, you will have 3 topology files within your user directory:
- topo_grid_active.rb - a topology with all the nodes that have successfully been imaged
- topo_grid_failed.rb - a topology with all the nodes that have failed during the "imaging" process (possibly due to some disk read/write errors)
- topo_grid_timeoud.rb - a topology with all the nodes that have timed out the "imaging" process. These nodes correctly started writing the image on their disk, but they did not finish before the default timeout of 800 sec.
You can then:
- use the information in the topo_grid_active.rb file to check/select which node to use in your experiments
- or directly use the topology defined in this file within your experiment scripts
Attachments (6)
- topo_grid_active.rb (1.5 KB ) - added by 17 years ago.
- topo_grid_failed.rb (424 bytes ) - added by 17 years ago.
- topo_grid_timedout.rb (355 bytes ) - added by 17 years ago.
- system_topo_active_grid.rb (2.1 KB ) - added by 17 years ago.
- system_topo_failed_grid.rb (536 bytes ) - added by 17 years ago.
- system_topo_timedout_grid.rb (421 bytes ) - added by 17 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.