Version 34 (modified by, 13 years ago) (diff)


GUSH Evaluation

GENI User Shell (GUSH) provides an execution management system that allows users to describe an experiment that the GUSH tool uses to locate, and prepare resources. The GUSH software can be checked out from the GUSH SVN Repository using username guest and password is provided out of band. This GUSH evaluation started with the existing check out of the tools and updated to software revision 159, 160, 161, 162, 163 and 164.

Evaluation Time Frame: September 21, 2011 through the end of October 18, 2011.

Gush Findings

Attempts to get sliver details for rspec 0.2 version failed, this was addressed by making changes to the gush parsing, waiting on feature check into repository.

Attempts to start the Nebula client failed with a java exception, which turned out to be missing files that were added (svn version 160). Nebula is part of the GUSH repository but is built separately. Additional fixes were required to get Nebula to connect to PlanetLab (svn version 164).

Nebula documentation is still under construction. Use the Plush version of the Nebula documentation to execute the captures in the page.

Gush How-to

Using and existing GUSH install at revision 142 updated to the latest revision 161, if first time install follow the instructions at the Using Gush wiki page.

 $ cd gush/trunk; svn update
 $ make clean
 (cd api && make clean)
 make[1]: Entering directory `/home/lnevers/gush/trunk/api'
 rm -f *.o libgushapi.a api-test
 make[1]: Leaving directory `/home/lnevers/gush/trunk/api'
 rm -f gush client gush-source.tar gush-bin.tar *.o \
        terminal_parser.c terminal_parser.h terminal_lexer.c terminal_lexer.log
 $ make all
 <<< lots of output deleted>>

Gush configuration

The configuration for each aggregate is manual and there is some naming inconsistencies which can cause problems. Following is a table which maps the directory.xml setting to the omni settings for each supported aggregate:

User can now start the GUSH application by selecting Gush=>Start Gush

Aggregate Name (directory.xml) resource_manager type (omni_config) aggregate type ( framework (-f)( AGGREGATE_URL (-a)
PlanetLab "geni-plc" sfa plc
Emulab "geni-pg" pg pg
Orca "geni-orca" pg pg

Coordinating these across configurations and commands, because it is crucial in order to get gush working. Configuration examples for PlanetLab and ProtoGENI, are capture in the subsequent sections.

Gush How-to with PlanetLab

First par of the evaluation focused on GUSH and PlanetLab resources. Using the following configuration files:


<?xml version="1.0" encoding="UTF-8"?>
    <resource_manager type="geni-plc">
      <port_map slice="bbn_gusheval" port="61414"/>


users = lnevers


urn =

Started the gush tool:

 $ ./gush -P 15555
 gush> Gush has learned about the slice bbn_gusheval.
 Updated information on the slice bbn_gusheval is available.
 connect slice bbn_gusheval
 Found 4 hosts
 Initiated connections to 4 of 4 hosts. has joined the mesh. has joined the mesh. has joined the mesh. has joined the mesh.
 gush> info mesh
 Mesh: connected; (fds=6,6 last_heard=1318877196) connected; (fds=7,7 last_heard=1318877201) connected; (fds=9,9 last_heard=1318877197) connected; (fds=12,12 last_heard=1318877222)
 Summary: 4 mesh members; 0 nodes connecting.

Gush How-to with ProtoGENI

Second part of the evaluation focused on GUSH and ProtoGENI resources. Using the following omni_config:

<?xml version="1.0" encoding="UTF-8"?>
  <resource_manager type="geni-pg">
     <port_map slice="lnevers02" port="61600"/>

and the following directory.xml:

users = lnevers

urn =

ch =
sa =
cert = ~/.ssl/protogeni/encrypted-cleartext.pem
key = ~/.ssl/protogeni/encrypted-cleartext.pem

Was able to connect to each of the hosts in the slice named lnevers02. Note lnevers02 used respec v0.2 resources. Gush also supports V0.1 and V2.0 rspec formats.

$ ./gush -P 15555
gush> Gush has learned about the slice lnevers02.
Updated information on the slice lnevers02 is available.
gush> connect
Connecting to host
gush> connect
Connecting to host
gush> info mesh
Mesh: bootstrapping; (fds=-1,-1 last_heard=0) bootstrapping; (fds=-1,-1 last_heard=0)
Summary: 0 mesh members; 2 nodes connecting. How-to

The helper-scripts/ command can be useful in debugging Gush parsing issues and in determining how to connect to a host withing Gush. For example in the above PG Gush example, one can connect to each of the hosts in the slice lnevers02. The connect command argument was based on the results for the following:

$ helper-scripts/ -f pg -a sliverstatus lnevers02
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Sliver at
<?xml version="1.0"?>
        <slice name="lnevers02">
                <expires>2011-10-17 18:24:37</expires>
                <node name=""/>
                <node name=""/>

The quoted value of "node name" is used to connect to a host when running GUSH.

Nebula How-to with PlanetLab

The GUSH tools includes a GUI named Nebula with is part of the gush repository, but must be compiled separately at this time. The following are currently manual, but are to be automated soon:

1) Configure gush to use PlanetLab and verify configuration by starting Gush and making sure "info nodes" returns some nodes. Quit Gush.

2) Nebula needs to have a file called allsites.xml in the gush directory. This is for plotting the its map, download allsites.xml and put in gush/trunk.

  wget -O - -q > allsites.xml

3) The Nebula client is invoked as follows:

$ cd trunk/nebula
$ sh run
Loading plugin "classes/nebula/plugins/mission/Mission.class"
Connecting to XML-RPC server on
Got all PlanetLab sites from Gush
Got PlanetLab sites from Gush
here with sliceName = bbn_gusheval

The Nebula client looks as shown below. Note that the dots are all PlanetLab sites.

4) Configure Nebula settings in Edit->Preferences. Specify gush location, slice name, port, SSH private key, and passphrase. Dialogs are shown here:

5)Once settings are in place you may start Gush by selecting Gush->Start Gush

Note: At this point executed the Beginner tutorial in the Nebula tutorials.

5) Switch to the "Application View" tab to create an application to run:

6) Create a component clock named "com12", define slice detail and click ok:

7) Select component block "com12" then click on process button to a a process. To modify process double clink on the newly created "process1" and define actions. In this example "touch HelloWorld.txt" is the process to run as an application:

  1. You can now run the application.

Additionally used can use the Host View panels to show the hosts in the slice and connect to them:

Email us with any questions and feedback on this page!

Attachments (9)

Download all attachments as: .zip