| 18 | |
| 19 | This will configure the following files: |
| 20 | * TODO list files |
| 21 | |
| 22 | The default image location directory is ''/var/lib/omf-images-5.4'', we're going to re-point this directory to ''/export/omf-images-5.4'' so that we don't run into space constraint issues (This is why we made it a separate partition). |
| 23 | |
| 24 | 1. Create target |
| 25 | {{{ |
| 26 | mkdir /export/omf-images-5.4 |
| 27 | }}} |
| 28 | 2. Remove the old source |
| 29 | {{{ |
| 30 | rmdir /var/lib/omf-images-5.4 |
| 31 | }}} |
| 32 | 3. create a symbolic link |
| 33 | {{{ |
| 34 | ln -s /export/omf-images-5.4 /var/lib/omf-images-5.4 |
| 35 | }}} |
| 36 | |
| 37 | Now we can download a copy of the baseline image into our image repository. In the '''/export/omf-images-5.4''' directory and make it world readable. |
| 38 | {{{ |
| 39 | wget http://packages.orbit-lab.org/downloads/baseline.ndz |
| 40 | chmod 666 baseline.ndz |
| 41 | }}} |
| 42 | |
| 43 | Once these pieces are in place, we should be able to check the node status with: |
| 44 | {{{ |
| 45 | omf-5.4 stat -t all |
| 46 | }}} |
| 47 | Which should produce output similar to |
| 48 | {{{ |
| 49 | INFO NodeHandler: OMF Experiment Controller 5.4 (git 070b00f) |
| 50 | ... |
| 51 | INFO Topology: Loaded topology 'system:topo:all'. |
| 52 | |
| 53 | Talking to the CMC service, please wait |
| 54 | ----------------------------------------------- |
| 55 | Node: node1.geni.rutgers.edu State: POWEROFF |
| 56 | Node: node2.geni.rutgers.edu State: POWEROFF |
| 57 | Node: node3.geni.rutgers.edu State: POWEROFF |
| 58 | ----------------------------------------------- |
| 59 | |
| 60 | INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks. |
| 61 | ... |
| 62 | finished after 0:5 |
| 63 | }}} |
| 64 | |
| 65 | Finally we can load an image onto a node with the following |
| 66 | {{{ |
| 67 | omf-5.4 load -t node1.geni.rutgers.edu -i baseline.ndz |
| 68 | }}} |
| 69 | If all goes well we will see results similar to the following: |
| 70 | {{{ |
| 71 | INFO NodeHandler: OMF Experiment Controller 5.4 (git 070b00f) |
| 72 | ... |
| 73 | INFO Topology: Loaded topology 'system:topo:registered'. |
| 74 | INFO property.resetDelay: resetDelay = 100 (Fixnum) |
| 75 | INFO Experiment: Resetting resources |
| 76 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: node1.geni.rutgers.edu) [0 sec.] |
| 77 | ... |
| 78 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: node1.geni.rutgers.edu) [50 sec.] |
| 79 | INFO exp: Progress(0/0/1): 0/0/0 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 790 sec. |
| 80 | INFO ALL_UP: Event triggered. Starting the associated tasks. |
| 81 | INFO exp: Progress(0/0/1): 0/0/0 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 780 sec. |
| 82 | ... |
| 83 | INFO exp: Progress(0/0/1): 90/90/90 min(node1.geni.rutgers.edu)/avg/max (57) - Timeout: 470 sec. |
| 84 | INFO exp: Progress(1/0/1): 100/100/100 min()/avg/max (57) - Timeout: 460 sec. |
| 85 | INFO exp: ----------------------------- |
| 86 | INFO exp: Imaging Process Done |
| 87 | INFO exp: 1 node successfully imaged - Topology saved in '/tmp/pxe_slice-2014-10-25t17.00.49.189-04.00-topo-success.rb' |
| 88 | INFO exp: ----------------------------- |
| 89 | INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks. |
| 90 | INFO NodeHandler: |
| 91 | INFO NodeHandler: Shutting down experiment, please wait... |
| 92 | INFO NodeHandler: |
| 93 | INFO NodeHandler: Shutdown flag is set - Turning Off the resources |
| 94 | INFO run: Experiment pxe_slice-2014-10-25t17.00.49.189-04.00 finished after 6:40 |
| 95 | }}} |
| 96 | |
| 97 | The duration of the installation will depend on the speed of the switches you have installed. |
| 98 | |