-
You will be adding three install scripts. First, select "Add" under the Install Scripts sections as shown. In the box in the URL field enter (cut-and-paste):
http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-0.6.2.tar.gz
and enter
/
in the box under it (labeled 'Install Path:').
Now, select "Add" under the Install Scripts again. This time add:
http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-atmos.tar.gz
and enter
/
in the box under it (labeled 'Install Path:').
Similarly, add a third install service:
http://www.gpolab.bbn.com/experiment-support/LabOne/ccnx/ccnx-setup.tar.gz
and enter
/tmp
in the box under it (labeled 'Install Path:'). Note the different install directory this time.
- In a similar manner, use the "Add" button under the Execute Scripts section to add three execute services on this node:
cd /tmp/ccnx-setup && ./node-setup
cd /tmp/ccnx-setup && ./add-precip-routes rsrchr
cd /tmp/ccnx-setup && ./ccnx-setup router 4
| Be very careful when entering this information -- these commands will not
be executed yet, so it will be some time before you will see any relevant
error messages if there is a mistake here. |
- You DO NOT have to specify install and execute scripts for the other nodes as they have already been done for you. You can check this by clicking on the icons for these nodes.
|
}}}
=== 3.4. Export the modified request RSpec ===
Now we will pull back some of the covers and inspect exactly what Jacks has been doing for us when preparing the RSpecs for the experiments we design. Each node and link has a corresponding element in the RSpec, and the details of the component configuration (such as the install and execute services we requested above) are specified with attributes, or sometimes child elements, within those portions of the document.
{{{
#!html
- From the Add Resources window (see figure), select the View
Rspec button on the top right hand side. This will bring up a pane showing the
current RSpec -- please take a moment to inspect it. The `<node>` and `<link>` elements
contain the specification for the components we will request, and if you
look closely, you will be able to see the install and execute service
elements you added earlier. Click on the "View RSpec" button again to return to the main screen.
|
Figure 3-4 View and save the final request RSpec
|
- Use the Download button (in the lower left part of the screen next to Save RSpec) to
make a local copy of your RSpec with the name rspec.xml. We'll use this in the next step to
demonstrate how other client tools also use RSpec files to communicate
requests to aggregate managers.
|
}}}
=== 3.5. Instantiate the new experiment using Omni ===
For this step, we'll change the approach a bit and switch to a new client tool, the command line Omni client.
From a terminal, please enter the command:
{{{
$ omni -a AM_NICKNAME createsliver SLICENAME RSPEC_FILE
}}}
where {{{AM_NICKNAME}}} is the nickname for your assigned aggregate manager and {{{SLICENAME}}} is the name of the slice you created earlier (both of these are given on your worksheet). {{{RSPEC_FILE}}} should be replaced with the filename of the RSpec you saved in step 3.4.
If all is well, Omni should give you a number of informational messages, such as:
{{{
INFO:omni:Loading config file /home/geni/.gcf/omni_config
}}}
It should quickly proceed to the point where it makes the request to the remote manager:
{{{
INFO:omni:Creating sliver(s) from rspec file /home/geni/Downloads/experiments.rspec for slice ...
}}}
This step can sometimes be time-consuming, so please be patient. If it succeeds, within a couple of minutes Omni should report:
{{{
INFO:omni: Completed createsliver:
}}}
and your resource reservation is complete!
----
= [wiki:GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ccn/Procedure/Setup Introduction] =
= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ccn/Procedure/Execute Next: Execute] = |