Changes between Version 15 and Version 16 of GENIEducation/SampleAssignments/UnderstandAMAPI/Procedure/Execute
- Timestamp:
- 02/13/14 17:48:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/UnderstandAMAPI/Procedure/Execute
v15 v16 44 44 </pre> 45 45 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 might46 <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 47 47 not 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 48 48 more <tt>ssh</tt> commands to choose from (which should work, although might require the key passphrase).</td></tr></table> … … 54 54 == 5 Browse server webpage and log in to client node == 55 55 56 The `install` and `execute` services requested in our RSpec have 57 already started, and the apache webserver has started on the server and measurements are now being collected. 58 56 59 {{{ 57 60 #!html … … 62 65 Enter 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. 63 66 </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 68 to log in. You should see a shell prompt 75 69 from the remote end: 76 70 <pre> … … 78 72 </pre> 79 73 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> 80 While you're welcome to inspect either 81 the client or server, but for the purpose of this experiment, the <tt>client</tt> host is the one 82 running the <tt>iperf</tt> tests and collecting all the logs. 83 </td> 84 </tr> 85 </table> 86 </li> 87 <li> 84 88 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.) 89 Inspect the <code>/local</code> directory: 90 <pre> 91 cd /local 92 ls 93 </pre> 94 95 Look for the <code>iperf</code> and <code>wget</code> processes: 96 <pre> 97 ps 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> 106 If 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 89 110 </li> 90 111 </ol> … … 100 121 </tr> 101 122 <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 129 The client machine is saving all the test results in the `/tmp/iperf-logs` 104 130 directory. Files with timestamps in the names will gradually appear 105 131 there (there are 100 tests overall, and it may take 20 minutes for all … … 110 136 Later tests gradually include more concurrent connections, so the 111 137 throughput of each individual connection will decrease, but the 112 aggregate throughput (the <tt>[SUM]</tt>line at the end of each file)138 aggregate throughput (the `[SUM]` line at the end of each file) 113 139 should remain approximately consistent. 114 </li>115 140 116 </ol> 117 </td></tr> 118 </table> 119 }}} 141 120 142 121 143 == 6. Analyze Experiment ==