Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/GENIDesktop/05032016/GENI_Desktop_ssh


Ignore:
Timestamp:
05/03/16 23:05:12 (6 years ago)
Author:
jp_reed@yahoo.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIDesktop/05032016/GENI_Desktop_ssh

    v1 v1  
     1[[PageOutline]]
     2
     3Navigation: [wiki:GENIExperimenter/Tutorials/GENIDesktop/05032016#ExercisesTasks Back]
     4
     5{{{
     6#!html
     7<h1> <font color="Blue">Exercise:</font> Viewing Traffic </h1>
     8}}}
     9
     10== Instructions ==
     11
     12The 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 begin 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.
     13
     14
     15== Ssh'ing into nodes from the GENI Desktop ==
     16
     17To open an ssh session, you must first launch the ssh tool. You can launch the ssh tool by clicking the '''SSH''' Button from the list of modules in the upper left corner of the GENI Desktop. 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 "Open Browser 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 de-iconify the ssh button by clicking ssh in the task bar.
     18
     19  [[Image(1.png)]][[Image(2.png)]]
     20
     21
     22== Viewing traffic from the GENI Desktop  ==
     23
     24We have two modules to view traffic You can use either one.
     25
     26 === Passive Graphs Lite ===
     27    This provides you a basic view of the graphs that is set in a  view only mode and provides no control over pausing the live view or zoom in/zoom out . To view traffic with this view, click on the '''Passive Graphs Lite''' Button from modules list in the top lefthand corner of the page. This will create a graph selection window (see below) 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.
     28
     29[[Image(wiki:GEMINI/Tutorial/Images:graphselect.png,5%)]]
     30
     31 === Passive Graphs ===
     32  This provides you an enhanced view of the graphs with control over pausing the live view, zoom in/zoom out, viewing data points and setting alerts when a user specified min/max values is observed. To view traffic with this view, Select the node or nodes in the topology for which you would like to see graphs. Then click on the '''Passive Graphs''' Button from modules list in the top lefthand corner of the page. Like the ssh box, you can iconify or deiconify the graph selection box by clicking on the task bar.
     33
     34== Generating traffic with iperf ==
     35
     36 The 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 in server mode using the command '''iperf -s''' . To run iperf on the source, type '''iperf -t 30 -b 1000M -c destination''' where destination is the IP address (or name) of the node where the iperf server is running.  This will tell iperf to generate traffic for thirty seconds, sending at a rate of one thousand megabits per second. The names of the hosts in your topology can be found in the /etc/hosts.
     37 
     38
     39---- [[br]]
     40----[[br]]
     41
     42
     43== __Exercise Tasks__ ==
     44
     45 a. '''Task 1:''' Use the run command (from the previous section) to install iperf on each node (Hint : use command "apt-get -y update; apt-get -y install iperf" to install iperf)
     46 a. '''Task 2:''' Ssh into Node-0 and Node-1.
     47 a. '''Task 3:''' Use iperf to generate traffic between Node-0 and Node-1.
     48 a. '''Task 4:''' View the traffic between Node-0 and Node-1.
     49
     50
     51---- [[br]]
     52----[[br]]
     53
     54[wiki:GENIExperimenter/Tutorials/GENIDesktop/05032016#ExercisesTasks Back to GEC23 Tutorial]