Changes between Version 3 and Version 4 of GIR3.2_MeasurementManager
- Timestamp:
- 06/17/11 16:06:21 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIR3.2_MeasurementManager
v3 v4 9 9 == Measurement Manager How-to == 10 10 11 Download software from meas_manager and unpack . Package contains 2 READMEs and one INSTALL instruction files. The meas_manager/nox/meas_monitor/INSTALL file states:11 Download software from meas_manager and unpacked. Package contains 2 READMEs and one INSTALL instruction files. The meas_manager/nox/meas_monitor/INSTALL file states: 12 12 13 13 {{{ … … 46 46 Was able to execute the INSTALL instructions without any problem. 47 47 48 Next the two READMEs includes: 49 50 '''meas_manager/model_builder/README''' 48 51 {{{ 49 $ tar xvf meas_manager.tar 50 $ meas_manager/nox/meas_monitor 52 #-------------------------------------------------------------------- 53 # README 54 #-------------------------------------------------------------------- 51 55 52 Install nox: 56 ABOUT 57 These Perl modules build Flowvisor datastructures that contain 58 references to slice and device objects. These are then used, to 59 generate a Nagios configuration file. The driver script (go.pl) can be 60 edited to enable you to import this Flowvisor information for other 61 applications, and the Fvctl moldule can be extended for other XMLRPC 62 calls to Flowvisor. 53 63 54 $ git clone git://noxrepo.org/nox 55 git checkout -b destiny remotes/origin/destiny 64 Note: The latest version of Flowvisor contains the utility ( fvcli ) 65 that allows users to remotely query the Flowvisor and can be extended 66 to achieve similar functionality. 56 67 57 $ cd meas_manager/nox 58 $ sudo apt-get install libfrontier-rpc-perl 68 INSTRUCTIONS 69 1) You may need to install the Frontier::Client Perl module 70 For Debian/Ubuntu: 71 apt-get install libfrontier-rpc-perl 72 73 2) Specify the URL(s) of the Flowvisor(s) that you have access to in go.pl 74 Ex. "https://[username]:[password]\@[hostname]:8080/xmlrpc" 75 Note: We placed the credentials in Auth.pm 76 77 3) To run the script to generate Nagios configuration files, run: 78 perl go.pl 79 80 Which will generate: 81 auto-openflow.cfg 82 83 4) This script can then be imported into Nagios ( http://www.nagios.org/ ) 84 85 This script needs to be placed in: 86 /usr/local/nagios/etc/ 87 88 The file /usr/local/nagios/etc/nagios.cfg will need to be edited to 89 contain the following line: 90 cfg_file=/usr/local/nagios/etc/auto-openflow.cfg 91 92 To check the sanity of the new configuration file, run: 93 sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 94 95 If the config is sane, you can reload Nagios with your new configurations 96 sudo /etc/init.d/nagios restart 97 98 COMMON ERRORS 99 1) "No method: Flowvisor::set_username at go.pl line 54" 100 Be sure to specify the proper credentials in Auth.pm or go.pl 101 102 }}} 103 104 '''./meas_manager/nox/gen_topo/README''' 105 {{{ 106 ABOUT 107 This package uses the Flowvisor API to generate a GMOC exchange format file. 108 109 This should contain all nodes, interfaces and links between OF switches 110 connected to that Flowvisor 111 112 --Chris Small 113 114 INSTRUCTIONS 115 To run: 116 perl gen_top.pl 117 118 59 119 }}} 60 120