Changes between Version 16 and Version 17 of GeniDesktop/Summer_Camp_2015
- Timestamp:
- 05/22/15 09:50:02 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeniDesktop/Summer_Camp_2015
v16 v17 10 10 * Basic GENI Desktop Operations 11 11 * Brief Introduction to OpenFlow 12 * Flow Installation and Monitoring in GENI Desktop12 * Flow Installation and Monitoring in the GENI Desktop 13 13 14 14 === Important URLs === 15 15 16 16 || To use the GENI Desktop, go to || [https://genidesktop.netlab.uky.edu https://genidesktop.netlab.uky.edu] || 17 || or || [https://genidesktop.netlab.uky.edu/wild https://genidesktop.netlab.uky.edu/wild] || 17 18 || A general tutorial for the GENI Desktop || [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GENIDesktop http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GENIDesktop] || 18 19 || This page is located at || [http://groups.geni.net/geni/wiki/GeniDesktop/Summer_Camp_2015 http://groups.geni.net/geni/wiki/GeniDesktop/Summer_Camp_2015] || … … 23 24 24 25 === Part I: Setup === 25 * Follow the instructions of the general GENI Desktop tutorialto create a topology with three Xen nodes as shown below.26 * Follow the instructions of the general tutorial for the GENI Desktop to create a topology with three Xen nodes as shown below. 26 27 27 28 [[Image(basic_topo3.png, 500px)]] 28 29 29 === Part II: Ex cute ===30 === Part II: Execute === 30 31 31 * Step 1: Copy a file to theselected nodes.32 * Step 1: Copy a file to selected nodes. 32 33 * Download these two files (attachment:runs, attachment:runc) to a local directory. 33 * Click "File Upload"34 * Click on "Browse" on the upright part of the window ,Select both files you downloaded (runs, runc)34 * Click on "File Upload" module 35 * Click on "Browse" on the upright part of the window. Select both files you downloaded (runs, runc) 35 36 * Click on "Upload Files to GENI Cloud" 36 37 * Highlight two nodes (A and B) in the topology window (click, then shift-click) … … 40 41 41 42 * Step 2: Run a command on the selected nodes. 42 * Click on "Command" 43 * Click on "Command" module 43 44 * Highlight all three nodes (A, B, and C) 44 45 * Click on "Set Selection" 45 46 * Type "sudo apt-get install iperf" in the text box. 46 * Click on "Run Command" (The process is finished when green check mark appears)47 * Click on "Run Command" (The process is finished when green check marks appear) 47 48 * Close the window for run command 48 49 49 50 * Step 3: Monitor the traffic of the selected interface. 50 * Click on "Passive Graphs" 51 * Click on "Passive Graphs" module 51 52 * From the drop-down menu for "Nodes", pick "B" 52 53 * From the drop-down menu for "Graphs", pick "IP Traffic" and "TCP Graph" … … 58 59 * Step 4: Login by ssh to the selected nodes. 59 60 * Highlight node B 60 * Click on "SSH" 61 * Click on "SSH" module 61 62 * Click on "Open Browser SSH" 62 63 * Make sure file "runs" is there. Then type "sh runs". … … 65 66 * Mouse over the link connecting nodes A and B, and write down the IP address of B. 66 67 * Highlight node A 67 * Click on "SSH" 68 * Click on "SSH" module 68 69 * Click on "Open Browser SSH" 69 * edit file "runc" and replace "IPaddr" with the IP address of B.70 * Type "sh runc" 70 * Edit file "runc" and replace "IPaddr" with the IP address of B. 71 * Type "sh runc" to run the script 71 72 * Go back to GENI Desktop Tab/Window. Observe the traffic window. 72 * You can go to the tab/window for A and type "sh runc" mul itple times. See what happens in the traffic window.73 * You can go to the tab/window for A and type "sh runc" multiple times. See what happens in the traffic window. 73 74 74 75 === Part III: Finish === 75 * Tear down experiment76 * Tear down experiment 76 77 77 78 … … 79 80 == 3. Introduction to OpenFlow == 80 81 81 A brief introduction to OpenFlow can be found at [ ]82 A brief introduction to OpenFlow can be found here. 82 83 83 84 … … 86 87 87 88 To use these functions, go to the new URL at 88 [http://genidesktop.netlab.u y.edu/wild http://genidesktop.netlab.uky.edu/wild]89 [http://genidesktop.netlab.uky.edu/wild http://genidesktop.netlab.uky.edu/wild] 89 90 90 91 === Part I: Setup === … … 107 108 108 109 === Part II: Execute === 109 * Step 1: Figure out the public IP address of the controller after the controller slice is created. You can do "nslookup full_name_of_the_node" on a linux terminal. Or you can follow these steps.110 * Step 1: Figure out the public IP address of the controller after the controller slice is created. You can do "nslookup full_name_of_the_node" on a Linux terminal. Or you can follow these steps. 110 111 * Highlight the controller node. 111 112 * Click on "Command" module. … … 113 114 * Type "ifconfig eth0" in the text box and click on "Run Command" 114 115 * Write down the IP address of the controller. 115 * You may test the controller's web GUI by going to http://IP_address:8080/ .116 * You may test the controller's web GUI by going to http://IP_address:8080/ (use admin and admin) 116 117 117 118 * Step 2: Run an initialization script on all OVS nodes in the experiment. … … 120 121 * Highlight all OVS nodes and click on the "Set Selection" button. 121 122 * Type the following command in the text box "sudo python /local/ovscmd.py -i IP_address", where IP_address is the controller's IP address you found in Step 1. 122 * Log into the controller's web GUI by going to http://IP_address:8080/ and check all OVS nodes were added.123 * Login to the controller's web GUI by going to http://IP_address:8080/ and check all OVS nodes were added. 123 124 124 125 * Step 3: Install, list, and delete flows on the experiment … … 134 135 * Check "All Nodes" and click on "Query Statistics". 135 136 * Choose a flow to monitor at a selected node by going to a node and finding the flow you want to monitor. Then click on "Packets" or "Bytes". A graph of live measurement will show. 136 * Send traffic (ping, iperf, etc) from end host A to end host B in the experiment.137 * Send traffic (ping, iperf, nc, etc) from end host A to end host B in the experiment. 137 138 138 139 === Part III: Finish === 139 * Tear down experiment140 * Tear down experiment 140 141