Changes between Version 3 and Version 4 of GIR3.2_MeasurementManager


Ignore:
Timestamp:
06/17/11 16:06:21 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIR3.2_MeasurementManager

    v3 v4  
    99== Measurement Manager How-to ==
    1010
    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:
     11Download software from meas_manager and unpacked. Package contains 2 READMEs and one INSTALL instruction files.  The meas_manager/nox/meas_monitor/INSTALL file states:
    1212
    1313{{{
     
    4646Was able to execute the INSTALL instructions without any problem.
    4747
     48Next the two READMEs includes:
     49
     50'''meas_manager/model_builder/README'''
    4851{{{
    49 $ tar xvf meas_manager.tar
    50 $ meas_manager/nox/meas_monitor
     52#--------------------------------------------------------------------
     53# README
     54#--------------------------------------------------------------------
    5155
    52  Install nox:
     56ABOUT
     57These Perl modules build Flowvisor datastructures that contain
     58references to slice and device objects. These are then used, to
     59generate a Nagios configuration file. The driver script (go.pl) can be
     60edited to enable you to import this Flowvisor information for other
     61applications, and the Fvctl moldule can be extended for other XMLRPC
     62calls to Flowvisor.
    5363
    54 $ git clone git://noxrepo.org/nox
    55 git checkout -b destiny remotes/origin/destiny
     64Note: The latest version of Flowvisor contains the utility ( fvcli )
     65that allows users to remotely query the Flowvisor and can be extended
     66to achieve similar functionality.
    5667
    57 $ cd meas_manager/nox
    58 $ sudo apt-get install libfrontier-rpc-perl
     68INSTRUCTIONS
     691) You may need to install the Frontier::Client Perl module
     70        For Debian/Ubuntu:
     71                apt-get install libfrontier-rpc-perl
     72
     732) 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
     773) To run the script to generate Nagios configuration files, run:
     78        perl go.pl
     79
     80   Which will generate:
     81        auto-openflow.cfg
     82
     834) 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
     98COMMON ERRORS
     991) "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{{{
     106ABOUT
     107This package uses the Flowvisor API to generate a GMOC exchange format file.
     108
     109This should contain all nodes, interfaces and links between OF switches
     110connected to that Flowvisor
     111
     112--Chris Small
     113
     114INSTRUCTIONS
     115To run:
     116   perl gen_top.pl
     117
     118
    59119}}}
    60120