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


Ignore:
Timestamp:
10/15/14 15:42:23 (10 years ago)
Author:
Hussamuddin Nasir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ChoiceNet/run_tests

    v1 v1  
     1Navigation: [wiki:GEC21Agenda/ChoiceNet/start Up]
     2
     3
     4
     5
     6wget http://choicenet.netlab.uky.edu/choicenet.tar.gz
     7
     8tar xzf choicenet.tar.gz
     9
     10cd choicenet/source/bin/
     11
     12sudo ln -s /usr/lib64/libpcap.so.1.1.1 /usr/lib64/libpcap.so.0.8
     13
     14sudo ln -s /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so.1.0.0
     15
     16echo "{{{UserKnownHostsFile}}}=/dev/null" >>~/.ssh/config
     17
     18echo "{{{StrictHostKeyChecking}}} no" >>~/.ssh/config
     19
     20
     21./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa configure
     22
     23./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa install
     24
     25./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon
     26
     27./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn
     28
     29./sendAdvertisements.sh
     30
     31Open up two more ssh sessions to the GNO node and cd ~/choicenet/source/bin on each one
     32
     33On TERMINAL 1 do
     34
     35================
     36
     37
     38
     39./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1
     40
     41sudo apt-get update;sudo apt-get install iperf
     42
     43
     44this will take you to H1 node
     45
     46here
     47
     48cd  choicenet/source/bin
     49
     50cp ../wrap .
     51
     52
     53Edit this
     54vim ../config/config.txt
     55
     56and add HB or LB as the last line
     57
     58sudo ./wrap /usr/bin/iperf -s -V
     59
     60
     61On TERMINAL 2 do
     62
     63================
     64
     65
     66
     67
     68./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2
     69
     70
     71sudo apt-get update;sudo apt-get install iperf
     72
     73
     74this will take you to H2 node
     75
     76here
     77
     78cd  choicenet/source/bin
     79
     80cp ../wrap .
     81
     82
     83Edit this
     84vim ../config/config.txt
     85
     86and add HB or LB as the last line
     87
     88sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 >  -M 1000 -V
     89
     90(IPv6 address should be eth1 on H1 and starts with fec0)