Changes between Version 15 and Version 16 of GENIEducation/SampleAssignments/UnderstandAMAPI/Procedure/Execute


Ignore:
Timestamp:
02/13/14 17:48:33 (10 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/UnderstandAMAPI/Procedure/Execute

    v15 v16  
    4444</pre>
    4545
    46 <table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" /></td><td>If you didn't previously complete the Flack tutorial (or are not running an <tt>ssh</tt> agent), then your <tt>ssh</tt> client might
     46<table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width='50' height='50' /></td><td>If you didn't previously complete the Flack tutorial (or are not running an <tt>ssh</tt> agent), then your <tt>ssh</tt> client might
    4747not be set up to log in with above commands.  Try re-running <tt>readyToLogin</tt> without the <tt>--no-keys</tt> option, and it will give you one or
    4848more <tt>ssh</tt> commands to choose from (which should work, although might require the key passphrase).</td></tr></table>
     
    5454== 5 Browse server webpage and log in to client node ==
    5555
     56The `install` and `execute` services requested in our RSpec have
     57already started, and the apache webserver has started on the server and measurements are now being collected.
     58
    5659{{{
    5760#!html
     
    6265Enter the hostname of the server node in your browser.  It should bring up a webpage of statistics from your experiment similar to that shown in the figure.
    6366</li>
    64   <li>Copy and paste the <tt>ssh</tt> command lines directly into your terminal
    65 to log in to either of your hosts.  While you're welcome to inspect either
    66 one, for the purpose of this experiment, the <tt>client</tt> host is the one
    67 running the <tt>iperf</tt> tests and collecting all the logs, so please use
    68 the <i>client</i> <tt>ssh</tt> command now.
    69 <br/>
    70 <br/>
    71 You may get a warning from <tt>ssh</tt> complaining that the authenticity of the
    72 host cannot be established.  This is just because your <tt>ssh</tt> client has
    73 never accessed this VM before, and so does not yet recognize its key.  Say
    74 "yes", you do want to continue connecting, and you should see a shell prompt
     67  <li>Copy and paste the <tt>ssh</tt> command lines for your client directly into your terminal
     68to log in.  You should see a shell prompt
    7569from the remote end:
    7670<pre>
     
    7872</pre>
    7973
    80 The <tt>install</tt> and <tt>execute</tt> services requested in our RSpec have
    81 already started, and measurements are now being collected. 
    82 <br/>
    83 <br/>
     74<table id="Table_01" border="0" cellpadding="5" cellspacing="0">
     75        <tr>
     76                <td>
     77                        <img src="http://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Graphics/4NotesIcon_512x512.png" width="50" height="50" alt="Note">
     78               </td>
     79<td>
     80While you're welcome to inspect either
     81the client or server, but for the purpose of this experiment, the <tt>client</tt> host is the one
     82running the <tt>iperf</tt> tests and collecting all the logs.
     83</td>
     84        </tr>
     85</table>
     86</li>
     87<li>
    8488
    85 (In addition, you can inspect the <code>/local</code> directory
    86 on each host, and look for the appropriate processes with a command like
    87 <code>ps ax</code>.  If you do not see the proper files and processes, please
    88 double-check the <code>rspec</code> you used in the previous step.)
     89Inspect the <code>/local</code> directory:
     90<pre>
     91cd /local
     92ls
     93</pre>
     94
     95Look for the <code>iperf</code> and <code>wget</code> processes:
     96<pre>
     97ps ax
     98</pre>
     99
     100<table id="Table_03" border="0" cellpadding="5" cellspacing="0">
     101        <tr>
     102                <td>
     103                        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Symbols-Tips-icon.png?format=raw" width="50" height="50" alt="Tip">
     104               </td>
     105               <td>
     106If you do not see the proper files and processes, please double-check the <code>RSpec</code> you used in the previous step.
     107        </tr>
     108</table>
     109
    89110</li>
    90111</ol>
     
    100121      </tr>
    101122<tr><td>
    102 <ol type='a' start='2'><li>
    103 The client machine is saving all the test results in the <tt>/tmp/iperf-logs</tt>
     123</td></tr>
     124</table>
     125}}}
     126
     127
     128
     129The client machine is saving all the test results in the `/tmp/iperf-logs`
    104130directory.  Files with timestamps in the names will gradually appear
    105131there (there are 100 tests overall, and it may take 20 minutes for all
     
    110136Later tests gradually include more concurrent connections, so the
    111137throughput of each individual connection will decrease, but the
    112 aggregate throughput (the <tt>[SUM]</tt> line at the end of each file)
     138aggregate throughput (the `[SUM]` line at the end of each file)
    113139should remain approximately consistent.
    114 </li>
    115140
    116 </ol>
    117 </td></tr>
    118 </table>
    119 }}}
     141
    120142
    121143== 6.  Analyze Experiment ==