wiki:IMInteroperability/SliceWithGIMIAndGEMINI

Version 18 (modified by koneil@bbn.com, 11 years ago) (diff)

--

GIMI & GEMINI on one InstaGENI slice

Creation

Start with this rspec which was created to use GIMI on InstaGENI. Create a couple slices & use that rspec in Flack with an InstaGENI aggregate. Then add GEMINI extensions through Flack. Here is an example of the final rspec at Utah InstaGENI. Below is the topology created.



GEMINI

There are two ways to initialize and instrumentize slices: through the GENI Desktop or using the gdesktop scripts. You only need to choose one of these two options.

GENI Desktop

Access the GENI Desktop at the following link: http://genidesktop.netlab.uky.edu/. Login to the GENI Desktop using a supported clearinghouse. The GENI Desktop will direct you to your login page. Once you return to the GENI Desktop you will need to give your passphrase that you set when created your SSH key pair.





From the GENI Desktop you will be able to see your slices and their status. Click on the slice it want to initialize and the process will begin.







Once your slice has been initialized, click on the instrument to instrumentize your slice.





Instrumentation will take some time. When it is complete, a blue bar will appear at the top of your screen that you must click to reload your slice.



Gdesktop Scripts

On the GEC 17 tutorial VM, the gdesktop scripts are located at the following directory: ~/GEC17Tutorials/GEMINI/UW/geminiv2/. To run these scripts switch to this directory using the following command in the VM.

cd ~/GEC17Tutorials/GEMINI/UW/geminiv2/

To check the status of your slice, use the following command. In this example “GEMINIandGIMI” is the name of the slice and “~/Download/geni-keleigh.pem” is the location of my ssh key.

./gdesktop-opstatus-new.py -n GEMINIandGIMI -f ~/Downloads/geni-keleigh.pem 

Initialize your slice using the following command, replacing my slice name and ssh key location with yours.

./gdesktop-init.py -n GEMINIandGIMI -f ~/Downloads/geni-keleigh.pem 

Instrumentize your slice by using the following command, replacing my slice name and sshkey location with yours.

./gdesktop-instrumentize.py -n GEMINIandGIMI -f ~/Downloads/geni-keleigh.pem 


When your slice finishes instrumentizing, login to the GENI Desktop and click on your slice there.

GENI Desktop features

SSH:
From the GENI Desktop you can SSH into your nodes. Click on the launch icon(which looks like a rocket ship) and select “SSH”. Then click on the node you want to SSH into and select “Open SSH”.





You may get a window saying that the site is untrusted. Continue and accept the security certificate.




Graphs:
To see graphs of the GENI Desktop, click on the launch icon(which looks like a rocket ship) and select “GEMINI Graphs”.





Select the graphs you would like to appear and the nodes for which you would like to see graphs. Then press "Add Graphs" or "Add Graphs with Title". You can click on these graphs to open them in a new window.



Global Node:
Access the global node by choosing GEMINI GN from the launch menu. From here you can choose “View Live Feed” which allows you to see all the tables and graphs stored within the global node and use tools such as Wireshark.





Click on “Open PS Config” to open a window that allows you to view active measurements & create various tests to run on your slice.




GIMI

Access LabWiki at the following link: http://labwiki.casa.umass.edu:4000/resource/login/openid.html. Login to LabWiki using your GENI Portal credentials. When prompted send your information to LabWiki.





Type “step” in the search bar below “Prepare”. It should give options. Select the script ending in “step1-ping_all.rb”. Make any necessary edit to the script so that your node names match(if you used the rspec above the node will already be named properly). Save any changes you made. Then click and drag the paper and pencil icon to the column titled “Execute”.






Type your experiment name and slice name in the respective boxes under the Execute column. Write “true” in the graphs box. Then scroll to the bottom of the Execute column and click on “Start Experiment”. Your experiment will begin and you can see progress in the log under the Execute column. When the experiment end a thin green bar will appear in that column.




If you open your slice in the GENI Desktop you can see changes on the graphs shown by the GENI Desktop while LabWiki is running experiments.



Repeat these LabWiki steps with the scripts ending with “step2-routing.rb”, “step3-ping_e2e.rb”, and “step4-otg_nmetrics.rb”. The input will very depending on the experiment script.



GIMI & GEMINI on one ExoGENI slice

Creation

Use this rspec to create ExoGENI slices in Flack that had both GIMI and GEMINI. Below is the topology created.



If you are creating your own topology here are some things to keep in mind:
For GEMINI, the nodes must be named in a specific way. All global nodes must start with the prefix “GN-” and all other nodes must start with the prefix “MP-”. You will want to use an image from a GEMINI ExoGENI rspec for your global node rather than a GIMI image. On your MP nodes include the following section of code to add a postboot script that deals with host name issues:

<services>
    <install url="http://emmy9.casa.umass.edu/InstaGENI_Images/install-script-gimi-exo.tar.gz" install_path="/tmp" />
    <execute shell="/bin/bash" command="/tmp/postboot_script_exo.sh $sliceName $self.Name()"/>
</services>


GEMINI

The stable version of the GENI Desktop does not currently handle ExoGENI slices. I used the development version of the GENI Desktop and the development version of the gdesktop scripts to initialize & instrumentize the slices. Within the GENI Desktop I could not see graphs or tables. I was able to SSH into the nodes via the GENI Desktop.

GIMI

In LabWiki run the four experiment scripts on the slices just as you did with your InstaGENI slices. Instructions are here. Be sure to edit each script so that the names of your nodes match the names in the script.

Attachments (36)