Changes between Version 12 and Version 13 of GENIExperimenter/Tutorials/RunHelloOmni


Ignore:
Timestamp:
02/15/19 12:21:18 (5 years ago)
Author:
Hussamuddin Nasir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/RunHelloOmni

    v12 v13  
    1010<h3 align="left"> <u>Overview: </u> </h3>
    1111Welcome to GENI. This page will guide you through your first GENI experiment. <br>This is a very simple tutorial with one server and one client that are connected with a Layer 2 link. <br>
    12 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/HelloGENIOverviewDiag.png?format=raw" alt="Hello GENI topology"  align="center" height="65" title="Hello GENI topology" />
     12<img border="0" src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/HelloGENIOverviewDiag.png?format=raw" alt="Hello GENI topology"  align="center" height="65" title="Hello GENI topology" />
    1313     </td>
    1414 <td> <pre>   </pre> </td>
    1515    <td width="350" valign="top">
    1616<h3 align="left"> <u>Prerequisites: </u></h3>
    17  For this tutorial you need an active GENI account. If you don't have an account yet <a href="http://groups.geni.net/geni/wiki/SignMeUp"> sign up! </a>
     17 For this tutorial you need an active GENI account. If you don't have an account yet <a href="https://groups.geni.net/geni/wiki/SignMeUp"> sign up! </a>
    1818
    1919    </td>
     
    4545  <tr>
    4646     <td valign="top" align="left">
    47         <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="150" alt="Design/Setup"></a>
     47  <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="150" alt="Design/Setup"></a>
    4848      </td>
    4949      <td>
     
    157157<br>
    158158 
    159 In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank">  SPECification document(RSpec) </a>, and in particular an advertisement RSpec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br>
     159In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="https://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank">  SPECification document(RSpec) </a>, and in particular an advertisement RSpec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br>
    160160  <code>
    161161  omni listresources -a nysernet-ig --available -o
    162162  </code></li>
    163   <li><b>Reserve resources</b> To be able to reserve resources you will need to craft a <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank">  request rspec</a>. For this example we have created the rspec and posted it on the web for you to use. If you want you can  view this Rspec <a href="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec" target="_blank"> here </a>. Type:<br>
     163  <li><b>Reserve resources</b> To be able to reserve resources you will need to craft a <a href="https://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank">  request rspec</a>. For this example we have created the rspec and posted it on the web for you to use. If you want you can  view this Rspec <a href="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec" target="_blank"> here </a>. Type:<br>
    164164  <code>
    165165    omni createsliver -a nysernet-ig &lt slicename &gt https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec
     
    194194  <tr>
    195195     <td valign="top" align="left">
    196         <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" height="150" alt="Execute"></a>
     196  <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" height="150" alt="Execute"></a>
    197197      </td>
    198198      <td>
     
    204204                <td >
    205205                 <ol type="a">
    206             <li> Follow <a href="http://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the server node.  Get the control interface IP address by typing <b> ifconfig</b>. This IP address should be accessible from the internet. In a web browser, type the IP address found from <b>ifconfig</b>.</li>
     206            <li> Follow <a href="https://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the server node.  Get the control interface IP address by typing <b> ifconfig</b>. This IP address should be accessible from the internet. In a web browser, type the IP address found from <b>ifconfig</b>.</li>
    207207            <li> Click the <b>Web Server Statistics</b> link to look at statistics. Refresh the page a couple of times to see how the statistics change as the client requests documents.</li>
    208208            <li> Click the <b>Logs from the iperf Server</b> link to see the statistics from the iperf transfers.</li>
     
    215215             While conducting experiments in GENI, you will often want to run commands directly on the nodes. In this optional step, you will log in to a node and issue commands directly to it.
    216216              <ol type="a">
    217                  <li>  Follow <a href="http://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the client node </li>
     217                 <li>  Follow <a href="https://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the client node </li>
    218218                 <li> When you have successfully logged in, run this command:<br>
    219219<code>
     
    235235  <tr>
    236236     <td valign="top" align="left">
    237         <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw"  width="150" alt="Execute"></a>
     237  <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw"  width="150" alt="Execute"></a>
    238238      </td>
    239239       <td>
     
    242242the resources. In order to cleanup your slice, type :<br>
    243243<code>omni deletesliver -a  nysernet-ig &lt slicename &gt </code><br>
    244 Wait and after a few moments all the resources will have been released. Notice that your slice is still there. There is no way to delete a slice, it will be removed automatically after its expiration date, but remember that a slice is just an empty container so it doesn't take up any resources.
     244Wait and after a few moments, all the resources will have been released. Notice that your slice is still there. There is no way to delete a slice, it will be removed automatically after its expiration date, but remember that a slice is just an empty container so it doesn't take up any resources.
    245245
    246246                     
     
    253253Congratulations! You have finished your first GENI Experiment. Now that you are more familiar with GENI concepts you can:
    254254  * continue with more [wiki:GENIExperimenter/Tutorials advanced tutorials]
    255   * learn more about how to use Jacks by following the [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jacks/GettingStarted_PartI/Procedure A First Experiment Using GENI and Jacks Tool]
    256   * start with your own experiment. This tutorial showed you the basic steps for running an experiment. Use Jacks to create your own topology, take a look at the [wiki:HowTo/WriteInstallScript instructions about how to write your own install scripts] to automate your expriment.
     255  * learn more about how to use Jacks by following the [https://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jacks/GettingStarted_PartI/Procedure A First Experiment Using GENI and Jacks Tool]
     256  * start with your own experiment. This tutorial showed you the basic steps for running an experiment. Use Jacks to create your own topology, take a look at the [wiki:HowTo/WriteInstallScript instructions about how to write your own install scripts] to automate your experiment.