Changes between Initial Version and Version 1 of Old/Tutorials/HowToImage


Ignore:
Timestamp:
Jul 2, 2007, 1:24:13 AM (17 years ago)
Author:
thierry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Tutorials/HowToImage

    v1 v1  
     1
     2Go back --> [wiki:Tutorial Tutorials]
     3
     4== How to install a disk image on the nodes of a Testbed  (using ''imageNodes4'') ==
     5
     6If you have not done so yet:
     7
     8 * [http://www.orbit-lab.org/wiki/Registration Register] for an account
     9 * [https://www.orbit-lab.org/schedule/ Make a reservation] on the Schedular for a given tesbed
     10
     11Lets assume that you registered as user 'bob' and made a reservation for the 'grid' testbed. You then access the 'grid' console using the command:
     12
     13 {{{
     14  ssh bob@console.grid.orbit-lab.org
     15 }}}
     16
     17Then, to image some nodes on the 'grid' testbed, use the command:
     18
     19 {{{
     20  imageNodes4 [1..20,1..20] baseline.ndz
     21  # will write the 'baseline.ndz' disk image on the entire set of 20x20 nodes on the 'grid'
     22 
     23  imageNodes4 [[3,1],[5,6]] baseline.ndz
     24  # same as above, but only on nodes [3,1] and [5,6]
     25 }}}
     26
     27The output of the "imaging" process will look like the following:
     28
     29 {{{
     30 Imaging nodes: '[1..20,1..20]' with image 'baseline.ndz' on default domain (retrieved from hostname)
     31 INFO init: NodeHandler Version 4.2.0 (1272)
     32 INFO init: Experiment ID: grid_2007_07_01_21_01_56
     33 ...
     34 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/320/220 - (still down: n_1_2,n_1_1)
     35 }}}
     36
     37At the end of the "imaging" process, you will have 3 ''topology'' files within your user directory:
     38
     39 * [wiki:Tutorial/HowToImageSampleTopo_grid_active topo_grid_active.rb] - a ''topology'' with all the nodes that have successfully been imaged
     40 * [wiki:Tutorial/HowToImageSampleTopo_grid_failed 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) 
     41 * [wiki:Tutorial/HowToImageSampleTopo_grid_timedout 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.
     42
     43You can either use the information in the ''topo_grid_active.rb'' file to select nodes for your experiments, OR directly use the topology defined in this file within your experiment scripts.