- Getting Started! Part 2: Hello GENI -


Hello GENI Experiment - Reserving Resources


  1. In this lab, you will be running your first GENI experiment.
  2. At the GENI portal home page, click the New slice button.

  3. Here, you need to name the slice. Something like [yourLastName]HelloWorld will be fine.
  4. Next, click the Add Resources button near the top of the page.
  5. In the Choose Rspec filed at the bottom of the page, select the existing Hello GENI option. The follwing topology should appear on the screen.
    Screenshot

  6. Then, click on the Site node and choose any aggregate with InstaGeni or ExoGENI in its name.

  7. Finally, click the Reserve Resource button at the bottom of the page.

Hello GENI Experiment - SSH to the Server Node/PuTTY Usage Guide


  1. After you send the request to reserve the resources (which you did in the previous section), hover your mouse over the "Home" button at the top of the page, and select "Slices". On this page, click on the slice that you created.
  2. If the two boxes look gray, it means that they are not ready yet. If they are green, it means that they have been reserved successfully and that you may now use them.

  3. Now, in order to connect to a node, you will need both its Host name and its port. To obtain this information for the "Server" node, for example, all you need to do is click on it; a window should show up on the left side of the screen with the conection details of everyone in your project.

  4. The text that is after the "@" sign and before the colon (":") is the Host name, and the number right after the colon is the port number. In my case I have castillo@pcvm1-15.geni.it.cornell.edu:22. The red part is the Host Name, and the blue part is the port number.
  5. Now, open PuTTY, and enter the details that you just found, just like so:

  6. In addition, you must tell PuTTY to use the SSH key you downloaded earlier on in the "Getting SSH Keys" section of "Getting Started! Part 1 - Setting Up Your Account". To do this, select Connection -> SSH -> Auth on the PuTTY Configuration Categories on the left side of the PuTTY window. Hit the "Browse" button, and select your key from where you saved it.

  7. You may now log in to the node by clicking the "Open" button. If the following pop-up shows up, just click on the "Yes" button.

  8. Now, on the terminal that opened up, you will be prompted to enter your user (your GENI username) and then your passphrase (the passphrase you used to create your SSH key, NOT your GENI password).
  9. Please note that as you enter your password, for security reasons, it will NOT be displayed!
  10. If you did everything correctly, your SSH terminal should look like this:

Hello GENI Experiment - Continued


  1. On your Server terminal, type in the following command: ifconfig
  2. Now, you should be able to see information corresponding to your Server node. Specifically, you should see information about "eth0", "eth1", and "lo".

  3. To the right of "eth0", you can notice that it says "inet addr" - the numbers right next to that make up the IP address of your node. Try copying and pasting this into your browser of preference, and click on "Web Server Statistics" to see the statistics corresponding to the web server on your node.

  4. Refreshing the page multiple times will yield different statistical information on the page. Refresh the page multiple times, and take note of these changes. These changes occur because you are requesting information every time you click the refresh button.
  5. Next, hit the back button on your web browser. This time, click on the second link, which reads "Logs from the iperf Server". This shows statistical information from the iperf server.

Hello GENI Experiment - Generating Traffic Between Nodes


  1. To generate traffic, you will have to open a connection to the Client node. You can do so by following the same instructions you used to connect to the Server node; the only difference is that you will have to click the Client node on GENI, as opposed to the Server node, when trying to find out the host name and port.
  2. After you connect successfully, your terminal for the Client should look similar to this:

  3. To start generating traffic between the Client and Server, execute the following command on the terminal of the Client: iperf -c server -P 2
  4. Try using the same command again, switching out the number 2 for another positive number (Don't make it too big!). You should notice different results on the output.

Hello GENI Experiment - Finishing Up


  1. On your Server terminal, type "exit", and hit enter in order to exit out of the Server node.
  2. Do the same on the Client: type "exit" and hit enter to exit the Client node.
  3. Lastly, looking at the webpage for your slice in the GENI Portal, click the "Delete" button, and click "Yes" on the pop-up. This will make the resources you reserved available again for other users.

Related Readings and Videos


  1. SSH Private Keys: Link.
  2. Network Switch: Link.
  3. WinSCP Installation and Usage Guide: Link.
  4. Wireshark Installation and Usage Guide: Link.