20 | | 1. Install gmetad, ganglia-monitor (from package manager)[[BR]] |
21 | | 2. Create folder /var/www/ganglia[[BR]] |
22 | | 3. Copy folder "ganglia-webfrontend" from /usr/share to /var/www/ganglia[[BR]] |
23 | | 4. Modify/add the following lines as necessary, in the configuration file /etc/gmetad.conf: [[BR]] |
24 | | i. data_source "ganglia_server" localhost |
25 | | ii. data_source "ganglia_client_1" ganglia_client_1_ip |
26 | | iii. data_source "ganglia_client_2 " ganglia_client_2_ip |
27 | | iv. gridname "GPO Lab" |
28 | | v. setuid_username "ganglia" |
| 19 | 1. Install gmetad, ganglia-monitor (from package manager)[[BR]] |
| 20 | 2. Create folder /var/www/ganglia[[BR]] |
| 21 | 3. Copy folder "ganglia-webfrontend" from /usr/share to /var/www/ganglia[[BR]] |
| 22 | 4. Modify/add the following lines as necessary, in the configuration file /etc/gmetad.conf: [[BR]] |
| 23 | 1. data_source "ganglia_server" localhost |
| 24 | 1. data_source "ganglia_client_1" ganglia_client_1_ip |
| 25 | 1. data_source "ganglia_client_2 " ganglia_client_2_ip |
| 26 | 1. gridname "GPO Lab" |
| 27 | 1. setuid_username "ganglia" |
62 | | 1. Install ganglia-monitor (from package manager)[[BR]] |
63 | | 2. Modify /etc/ganglia/gmond.conf on all client systems:[[BR]] |
| 60 | 1. Install ganglia-monitor (from package manager) |
| 61 | 2. Modify /etc/ganglia/gmond.conf on all client systems: |
| 62 | {{{ |
| 63 | cluster { |
| 64 | name ="OpenFlow Integration" |
| 65 | owner ="ganglia_client_x" |
| 66 | latlong = "unspecified" |
| 67 | url = "unspecified" |
| 68 | } |
| 69 | }}} |
| 70 | |
| 71 | = Network Performance and Functional Tools = |
| 72 | |
| 73 | == traceroute == |
| 74 | |
| 75 | == tcpdump == |
| 76 | |
| 77 | == arping == |
| 78 | |
| 79 | == iperf == |
| 80 | |
| 81 | == jperf == |
| 82 | |
| 83 | Jperf can be obtained from the following link: http://www.softpedia.com/progDownload/JPerf-Download-154326.html |
| 84 | |
| 85 | PS. Jperf is simply iperf with a GUI. |
79 | | |
80 | | 2. '''Jperf''': requires installation of Jperf, which can be obtained from the following link: |
81 | | |
82 | | http://www.softpedia.com/progDownload/JPerf-Download-154326.html |
83 | | |
84 | | PS. Jperf is simply iperf with a GUI |
85 | | |
86 | | |
87 | | |
88 | | 3. '''packETH''' |
89 | | * packETH is a packet generator and will be used to generate LLDP packets |
90 | | (though you can generate your choice of packets). On debian distributions (like Ubuntu), packETH can be installed from the package manager. This test simply |
91 | | verifies LLDP connectivity between OpenFlow switches |
92 | | * The source computer installs packETH and generates these packets |
93 | | to the destination host. packETH has a self explanatory interface |
94 | | At the receiving end, the host simply runs tcpdump to collect |
95 | | the statistics |
96 | | |
97 | | |
98 | | |
99 | | 4. '''VLC Method 1''' (For all tests, we assume a client/server paradigm, and that VLC is installed) |
100 | | |
101 | | '''VIDEO STREAMING USING VLC'''[[BR]] |
102 | | |
103 | | For this test, the video server streams UDP packets to the client who stores the stream |
104 | | in a file (Perhaps for later viewing). This test primarily analyzes performance statistics |
105 | | (using tcpdump) rather than viewing the stream on the client side. |
106 | | |
107 | | '''FROM STREAMING SERVER (CLI)'''[[BR]] |
108 | | |
109 | | a. The command below assumes that the server terminal is currently pointing to a directory with file "CMU.mov." This file will be streamed to the given destination IP address and port address with the specified time-to-live of 7. |
| 109 | The client receives contents of the stream (from port abcd) and stores it in a file named GpENI.mov |
138 | | |
139 | | 5. '''VLC: Method 2''' [[BR]] |
140 | | |
141 | | This test is strictly for decorative purposes. For this reason, the received stream will be |
142 | | displayed at the host's terminal. Please note that, due to latency constraints on the streamed frames, |
143 | | DO NOT be disappointed if the resulting video is not HD quality. |
144 | | |
145 | | '''HOW TO STREAM VIDEO WITH VLC''' (From the VLC GUI)[[BR]] |
146 | | |
147 | | |
148 | | a. ''' FROM STREAMING SERVER'''[[BR]] |
| 130 | ''' FROM STREAMING SERVER (GUI)''':: |
160 | | NB. Ensure your firewall does not block access to UDP traffic on port abcd |
| 142 | * NB. Ensure your firewall does not block access to UDP traffic on port abcd |
| 143 | |
| 144 | === VIDEO STREAMING USING VLC CLI (method three) === |
| 145 | |
| 146 | This test is strictly for decorative purposes. For this reason, the received stream will be displayed at the host's terminal. Please note that, due to latency constraints on the streamed frames, ''DO NOT'' be disappointed if the resulting video is not HD quality. |
| 147 | |
| 148 | '''FROM STREAMING SERVER''':: |
| 149 | {{{ |
| 150 | vlc -vvv CMU.mov --sout '#std{access=udp{ttl=7},mux=ts,dst=a.b.c.d,port=abcd}' |
| 151 | }}} |
| 152 | |
| 153 | The line above assumes the file "CMU.mov" is to be streamed from the server to the host with an IP address of a.b.c.d, via port abcd |
| 154 | |
| 155 | '''FROM CLIENT''':: |
| 156 | |
| 157 | {{{ |
| 158 | vlc -vvv udp://@:abcd |
| 159 | }}} |
| 160 | NB. If Xserver fails, try |
| 161 | |
| 162 | {{{ |
| 163 | vlc --no-x11-shm --no-xvideo-shm --no-glx-shm vlc -vvv udp://@:abcd |
| 164 | }}} |
| 165 | |
| 166 | '''OR ''' |
| 167 | |
| 168 | {{{ |
| 169 | vlc --no-x11-shm -vvv udp://@:abcd |
| 170 | }}} |
163 | | '''HOW TO STREAM VIDEO FROM VLC (From the CLI)''' [[BR]] |
164 | | |
165 | | |
166 | | a. '''FROM STREAMING SERVER''' |
167 | | |
168 | | {{{ |
169 | | vlc -vvv CMU.mov --sout '#std{access=udp{ttl=7},mux=ts,dst=a.b.c.d,port=abcd}' |
170 | | }}} |
171 | | |
172 | | The line above assumes the file "CMU.mov" is to be streamed from the server to the host with |
173 | | an IP address of a.b.c.d, via port abcd |
174 | | |
175 | | b. '''FROM CLIENT'''[[BR]] |
176 | | |
177 | | {{{ |
178 | | vlc -vvv udp://@:abcd |
179 | | }}} |
180 | | |
181 | | NB. If Xserver fails, try |
182 | | |
183 | | {{{ |
184 | | vlc --no-x11-shm --no-xvideo-shm --no-glx-shm vlc -vvv udp://@:abcd |
185 | | }}} |
186 | | |
187 | | '''OR SIMPLY''' |
188 | | |
189 | | {{{ |
190 | | vlc --no-x11-shm -vvv udp://@:abcd |
191 | | }}} |
192 | | |
193 | | 6. '''VLC TELECONFERENCING (WEBCAM''')[[BR]] |
| 173 | === VLC TELECONFERENCING (WEBCAM) (method 3) === |
198 | | * Install ffmpeg |
| 178 | * Install ffmpeg |
| 179 | * Ensure webcam is disconnected and check to see the audio and video drivers in use (if any) |
| 180 | {{{ |
| 181 | ls -s /dev/audio* |
| 182 | ls -s /dev/video* |
| 183 | }}} |
| 184 | * Plug the webcam and run the two commands above to see the new video and audio drivers in use |
| 185 | * In vlc, you will need to know the card and device number |
| 186 | * In vlc, go to media > streaming and select "capture device" |
| 187 | * video name = /dev/video0 (this is the value obtained from running the ls -s /dev/video* cmd) |
| 188 | * audio name = hw:1,0 (where hw:x, y st x is the card number and y is the device number) |
| 189 | * You can do UDP streaming only with TS type codec |
| 190 | * Below "Transcoding options" Video - H.264 + AAC (TS) gives best resolution but you have to install "mpeg aac audio" for the audio to work |
| 191 | * I used mpeg-2 + mpga (TS), but the video quality is not close to HD quality |
208 | | * Plug the webcam and run the two commands above to see the new video and audio drivers in use |
209 | | * In vlc, you will need to know the card and device number |
210 | | |
211 | | * In vlc, go to media > streaming and select "capture device" |
212 | | * video name = /dev/video0 (this is the value obtained from running the ls -s /dev/video* cmd) |
213 | | |
214 | | * audio name = hw:1,0 (where hw:x, y st x is the card number and y is the device number) |
215 | | * You can do UDP streaming only with TS type codec |
216 | | |
217 | | * Below "Transcoding options" Video - H.264 + AAC (TS) gives best resolution but you have to install "mpeg aac audio" for the audio to work |
218 | | * I used mpeg-2 + mpga (TS), but the video quality is not close to HD quality |
219 | | |
220 | | b. '''FROM CLIENT'''[[BR]] |
221 | | {{{ |
222 | | vlc -vvv udp://@:abcd |
223 | | }}} |
224 | | |
225 | | NB. TO RUN SMOOTHLY specify RTP protocol > activate transcoding > video H.264 + AAC (TS) |
226 | | |
227 | | |
228 | | |
229 | | |
230 | | |
231 | | |
232 | | |
233 | | |
234 | | |
235 | | |
236 | | |
237 | | |
238 | | |
239 | | |
240 | | |
241 | | |
242 | | |
| 198 | NB. TO RUN SMOOTHLY specify RTP protocol > activate transcoding > video H.264 + AAC (TS) |