Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_ssh/ExecuteExperiment

06/23/13 00:32:11 (8 years ago)



  • GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_ssh/ExecuteExperiment

    v1 v1  
     3<h1> <font color="Orange">Ssh Exercise:</font> Ssh into nodes, run iperf, and view traffic </h1>
     6Navigation: [wiki:GENIExperimenter/Tutorials/GENI_Desktop_and_GEMINI_ssh Up]
     8== Instructions ==
     10The goal of this exercise is to give you practice using the GENI Desktop to login into your nodes (ssh), start up iperf (to generate traffic), and then view the traffic.  There are no step by step instructions.  Instead, we being by describing general concepts and procedures needed to use the GENI Desktop, and then provide you with a set of tasks that you must complete.  In the process of completing these tasks, you will gain an understanding of how to interact with and control the GENI Desktop and GEMINI.
     13== Ssh'ing into nodes from the GENI Desktop ==
     15To open an ssh session, you must first launch the ssh tool. You can launch the ssh tool by clicking the launch icon in the upper lefthand corner of the GENI Desktop and then selecting ssh. This will create an ssh button near the task bar on the bottom. To ssh into nodes, select the node in the topology by left-clicking on the node. Once selected, press the ssh button to ssh into your network. You may need to accept the security certificate if prompted by your browser. You can iconify the ssh button or deiconify the ssh button by clicking ssh in the task bar.
     17== Viewing traffic from the GENI Desktop  ==
     19To view traffic, click on the launcher icon and select gemini graphs. This will create a graph selection window on your screen. By default, the CPU, ICMP, and IP graphs are selected. Adjust the selection to the graphs you want to see. Select the node or nodes in the topology for which you would like to see graphs. Then click the "add graphs" button. If you have selected multiple nodes, you may prefer to click on "add graphs with titles," as this will clearly identify the node from which the graph is taken. Like the ssh box, you can iconify or deiconify the graph selection box by clicking on the task bar.
     21== Generating traffic with iperf ==
     23The iperf program can be used to generate traffic. Iperf needs to be run on both the source and destination node. Iperf should first be started at the destination using the command "iperf -s." To run iperf on the source, type "iperf -t 60 -b 100M -c -destination." This will tell iperf to generate traffic for sixty seconds, setting it at a rate of one hundred megabits per second. The names of the hosts in your topology can be found in the /etc/hosts.
     26== __Exercise Tasks__ ==
     28 a. '''Task 1:''' Ssh into VM-0 and VM-1.
     29 a. '''Task 2:''' Use iperf to generate traffic between VM-0 and VM-1.
     30 a. '''Task 3:''' View the traffic between VM-0 and VM-1.