Changes between Initial Version and Version 1 of GEC21Agenda/ChoiceNet/run_tests_part2


Ignore:
Timestamp:
10/16/14 21:08:42 (10 years ago)
Author:
xinming@umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ChoiceNet/run_tests_part2

    v1 v1  
     1Navigation: [wiki:GEC21Agenda/ChoiceNet/start Up]
     2
     3At this point we have the Choicenet Framework setup. If you want to try the SDN implementation of ChoiceNet, you can follow these instructions.
     4
     5We now need to run some end to end services to demonstrate the usability of "choice" within a network. For this we will run an iperf test between the end host nodes H1 and H2.
     6
     7So Open up two more ssh session terminals to the GNO Node and cd ~/choicenet/source/bin on each one
     8
     9
     10'''On TERMINAL 1'''
     11
     12{{{
     13#!sh
     14cd ~/choicenet/source/bin
     15}}}
     16
     17
     18{{{
     19#!sh
     20./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1
     21}}}
     22
     23this will take you to H1 node (You can also directly ssh into H1 Node from your laptop if you prefer that way)
     24
     25on H1 Node
     26
     27{{{
     28#!sh
     29cd  choicenet/source/bin
     30
     31cp ../wrap .
     32
     33/sbin/ifconfig
     34
     35}}}
     36
     37Form the last command (ifconfig), please note down the IPV6 address of eth1. (This should begin with an fec0:: . This will be used the next terminal )
     38
     39Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the  ../config/config.txt and change HB to LB ( Low Bandwith) path or HBHL (High bandwidth High Latency) path as the last line.
     40
     41We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below
     42
     43get ready to start the iperf Server here . Type the command and keep it ready . '''DO NOT RUN IT JUST YET'''
     44
     45{{{
     46#!sh
     47sudo ./wrap /usr/bin/iperf -s -V
     48}}}
     49
     50
     51'''On TERMINAL 2'''
     52
     53{{{
     54#!sh
     55cd ~/choicenet/source/bin
     56}}}
     57
     58
     59{{{
     60#!sh
     61./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2
     62}}}
     63
     64this will take you to H2 node (You can also directly ssh into H2 Node from your laptop if you prefer that way)
     65
     66on H2 Node
     67
     68{{{
     69#!sh
     70cd  choicenet/source/bin
     71
     72cp ../wrap .
     73
     74}}}
     75
     76Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the  ../config/config.txt and change HB to LB ( Low Bandwidth) path or HBHL (High bandwidth High Latency) path as the last line.
     77We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below
     78
     79get ready to start the iperf Client here . Type the command and keep it ready . '''DO NOT RUN IT JUST YET'''
     80
     81{{{
     82#!sh
     83sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -V
     84}}}
     85
     86(IPv6 address should be eth1 on H1 and starts with fec0)
     87
     88Now GOTO TERMINAL1 and run the iperf server command. Immediately then switch to TERMINAL2 and run the client command too.