Version 5 (modified by Hussamuddin Nasir, 8 years ago) (diff)


Navigation: Up

For this tutorial we will need to use a Linux workstation as your desktop. For a smooth flow of the tutorial we will use a Fedora15 Openvz Node labelled "GN0" in your slice as your workstation.


Please login to the portal and join the GEC21-ChoiceNet Project. In the mean time while your account is getting approved, If you have not already received a Resource Card from the tutorial presenters, please ask for one now. On each of these cards, there should be two parts labelled as

  1. "For Attendee" : This will tell you your assigned slicename, the Instageni Rack your resources are located on and the hostname of the GN0 node you need to ssh into.
  1. "For Presenter" : On this part of the card, please print your Name as shown in the GENI Portal and your geni username . Then tear this section along the fold and hand it over to one of the presenters walking by to get access to your assigned slice.

NOTE : Inorder to ssh into the GN0 node, you have to have your ssh keys setup properly as mentioned in this page


  1. SSH using your preferred ssh client into the GN0 Node. Make sure you use your Geni username
  1. Download your manifest using wget on the GDGN0 node from the URL<slicename>_manifest.xml [Replace <slicename> with the slicename assigned to you.]
ex. Slicename : mygec21

  1. In order for the choicenet tool called GT Tool to run and setup your ChoiceNet Framework, the GT Tool needs to ssh into all of routers and endhost machines in your slice and setup the necessary software. Inorder to facilitate this, we need to use an SSH-Key pair that has been setup for you just for this tutorial . To make this work run the command below on the GN0 node.
sudo cp /var/nobody/.ssh/id_rsa .ssh/;sudo chown <GENI USERNAME> .ssh/id_rsa

NOTE: If you plan to use ChoiceNET at a later date from a linux workstation, using the GDGN0 node is not a requirement. The same can be done from your linux workstation. Your GENI SSH Keypair can be used in place of the keypair above.


tar xzf choicenet.tar.gz

cd choicenet/source/bin/

sudo ln -s /usr/lib64/ /usr/lib64/

sudo ln -s /usr/lib64/ /usr/lib64/

echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config

echo "StrictHostKeyChecking no" >> ~/.ssh/config

sudo apt-get update;sudo apt-get install iperf

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa configure

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa install

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn


Open up two more ssh sessions to the GNO node and cd ~/choicenet/source/bin on each one



./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1

this will take you to H1 node


cd choicenet/source/bin

cp ../wrap .

Edit this vim ../config/config.txt

and add HB or LB as the last line



./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2

Edit this vim ../config/config.txt

and add HB or HL as the last line

sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -M 1000 -V

Attachments (2)

Download all attachments as: .zip