Changes between Version 28 and Version 29 of GiB-gettingStarted


Ignore:
Timestamp:
10/02/12 17:09:43 (12 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GiB-gettingStarted

    v28 v29  
    226226You can now ssh into the hosts allocated to you and do what you need to do to get your experiment working.  For example, you can install and run software.  If needed, you can use the {{sudo}} command to do things that require root privileges. 
    227227
    228 In the case of our experiment, the software needed (iperf) was installed by our startup script.  Our startup script put the output of iperf in a file accessible from a web browser.   Since our iperf client ran on node {{{pc102}}} (the node labeled 'right' in the request spec), we can use a browser to view the output of this client.  Start up Firefox in a terminal on the GENI-in-a-Box virtual machine and enter the url {{{http://pc102.geni-in-a-box.net/iperf-client.log}}}.  The iperf client output should appear in your browser window.
     228In the case of our experiment, the software needed (iperf) was installed by our startup script.  Our startup script put the output of iperf in a file accessible from a web browser.   Since our iperf client ran on node {{{pc101}}} (the node labeled 'left' in the request spec), we can use a browser to view the output of this client.  Start up Firefox in a terminal on the GENI-in-a-Box virtual machine and enter the url {{{http://pc101.geni-in-a-box.net/iperf-client.log}}}.  The iperf client output should appear in your browser window.
    229229
    230230You can also ssh into the node pc102 to view this file.  GENI-in-a-Box comes with a user account 'alice' with private and public keys for alice installed in it.  When experimenter nodes are created an account is created for alice on these nodes and alice's public key installed in the .ssh directory inside alice's home directory.  You can create your own user accounts; see here for instructions.
    231231
    232 You can ssh into node {{{pc102}}} as alice type {{{ssh -lalice pc102.geni-in-a-box.net}}} or just {{{ssh -lalice pc102}}}.  The terminal session below shows the ssh'ing into {{{pc102}}}, going to the directory with the iperf log file, and viewing that file.
     232You can ssh into node {{{pc101}}} as alice type {{{ssh -lalice pc101.geni-in-a-box.net}}} or just {{{ssh -lalice pc101}}}.  The terminal session below shows the ssh'ing into {{{pc101}}}, going to the directory with the iperf log file, and viewing that file.
     233{{{
     234$ ssh -lalice pc101
     235The authenticity of host 'pc101 (10.0.1.101)' can't be established.
     236RSA key fingerprint is d1:ea:fe:92:38:69:6b:85:3e:7c:65:cb:83:26:f5:0a.
     237Are you sure you want to continue connecting (yes/no)? yes
     238Warning: Permanently added 'pc101,10.0.1.101' (RSA) to the list of known hosts.
     239
     240alice@pc101's password:
     241[alice@left ~] $ cd /var/www/html
     242[alice@left html] $ ls
     243iperf-client.log
     244[alice@left html] $ cat iperf-client.log
     245------------------------------------------------------------
     246Server listening on TCP port 5001
     247TCP window size: 85.3 KByte (default)
     248------------------------------------------------------------
     249[  4] local 10.0.3.101 port 5001 connected with 10.0.3.102 port 53488
     250[ ID] Interval       Transfer     Bandwidth
     251[  4]  0.0-10.1 sec  50.1 MBytes  41.6 Mbits/sec
     252[alice@left html] $
     253}}}
    233254
    234255