wiki:GIR3.2_IMF

Version 15 (modified by lnevers@bbn.com, 13 years ago) (diff)

--

Integrated Management Framework Evaluation

This evaluation reviews the documentation and code used for the GEC10 Demo of the Integrated Measurement Framework demonstration for the milestone:

IMF: S3.d Documentation and Code Release (Completed late 05/13/11)

According to the IMF Post-GEC11 status, the IMF code is available as attachments the status page. The following perfSONAR components are available:

In addition to the software, a login account is required to access http://ben.renci.org. To use the features in the PubSub_for_PerfSONAR package.

Evaluation Timeline: October 7, 2011

Integrated Management Framework Findings

Found various issues captured were captured in as bugs in the IMF track system. The list of issues found includes:

  • Ticket 4 MH undocumented prerequisites and version error for makefile creation
  • Ticket 5 Real Time package installation inconsistencies and error
  • Ticket 6Real Time Readme issues
  • Ticket 7 Pub Sub package issues
  • Ticket 8 MH README Feedback
  • Ticket 9 prepare_environment.sh fails with missing components plus other errors

Integrated Management Framework How-to

Downloaded each of the 5 software packages available as attachments in the Code Snapshot section of the IMF GEC11 QSR.

Measurement Handler How-to

Unpacked and built the Measurement Handler package:

  $ tar xvzf mh.tar.gz
  $ cd mh
  $ perl Makefile.PL 

The perl command fails due to missing pre-requisite perl Modules: Date::Manip, Net::Telnet, and Thread::Queue::Any. Once installed was able to generate the makefile and proceed to the next step:

$ make
make: *** No targets specified and no makefile found.  Stop.
lnevers@sendaria:~/IMF/mh$ perl Makefile.PL 
Argument "6.55_02" isn't numeric in numeric ge (>=) at Makefile.PL line 5.
Checking if your kit is complete...
Looks good
Writing Makefile for mh

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing tl1 1.3.1, Perl 5.010001, /usr/bin/perl
t/00-load.t ....... ok   
t/boilerplate.t ... ok   
t/manifest.t ...... skipped: Author tests not required for installation
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t ........... skipped: Test::Pod 1.22 required for testing POD
All tests successful.

Test Summary Report
-------------------
t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0)
  TODO passed:   1, 3
Files=5, Tests=4,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.23 cusr  0.04 csys =  0.31 CPU)
Result: PASS

$ sudo make install
Installing /usr/local/share/perl/5.10.1/tl1.pm
Installing /usr/local/share/perl/5.10.1/mh/pol_tl1.pm
Installing /usr/local/share/perl/5.10.1/mh/infinera_tl1.pm
Installing /usr/local/man/man3/tl1.3pm
Installing /usr/local/man/man3/mh::pol_tl1.3pm
Installing /usr/local/man/man3/mh::infinera_tl1.3pm
Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod

Realtime Service How-to

Unpacked and built the Realtime Service package:

  $ tar xvzf perfsonar_imf_realtime.tar.gz 
  $ cd perfSONAR_PS-IMF-RealTime
  $ sudo make install
  sed -i "s|/opt/perfsonar_ps/imfrealtime|/opt/perfsonar_ps/imfrealtime|g" ./etc/daemon.conf
  sed -i "s|/opt/perfsonar_ps/imfrealtime|/opt/perfsonar_ps/imfrealtime|g" ./etc/daemon_logger.conf
  for i in `ls ./scripts`; do sed -i "s|/opt/perfsonar_ps/imfrealtime|/opt/perfsonar_ps/imfrealtime|g" ./scripts/${i}; done
  mkdir -p /opt/perfsonar_ps/imfrealtime
  tar ch --exclude=etc/* --exclude=*spec --exclude=MANIFEST --exclude=Makefile -T MANIFEST | tar x -C /opt/perfsonar_ps/imfrealtime
  tar: doc/README: Cannot stat: No such file or directory
  tar: Exiting with failure status due to previous errors
  for i in `cat MANIFEST | grep ^etc`; do  mkdir -p `dirname /opt/perfsonar_ps/imfrealtime/${i}`; if [ -e /opt/perfsonar_ps/imfrealtime/${i} ]; then   install -m 640 -c ${i} /opt/perfsonar_ps/imfrealtime/${i}.new; else install -m 640 -c ${i} /opt/perfsonar_ps/imfrealtime/${i}; fi; done

PubSub How-to

Unpacked and built the PubSub package:

  $ tar xvzf PubSub_for_PerfSONAR.tar.gz
  $ $ cd PubSub_for_PerfSONAR/IMF/

Met pre-requisites for Pub Sub system:

  1. Get account on https://ben.renci.org/.
  2. Got account on geni-imf-dev.renci-dcr.ben system. Access to this system requires OpenVPN access.
  3. Got Encrypted OpeenVPN Credentials to access the OpenVPN site.
  4. Installed OpenVPN as described at the BEN Wiki page named Using BEN VPN
  5. Install the network manager to configure OpenVPN.

The following packages had to be installed for OpenVPN and Network Manager:

 $ sudo apt-get install openvpn network-manager-openvpn openvpn-blacklist network-manager
 $ sudo apt-get install resolvconf 

Run the network Manager to configure the OpenVPN

 $ sudo NetworkManager
 $ sudo nm-connection-editor

The encruypted OpenVPN Credential has to be unpacked usind a passphrase provided out of band:

 $ gpg -d gpo-bbn.zip.gpg > gpo-bbn.zip
 $ unzip gpo-bbn.zip 
    Archive:  gpo-bbn.zip
   creating: gpo-bbn/
  inflating: gpo-bbn/gpo-bbn.conf    
  inflating: gpo-bbn/gpo-bbn.ovpn    
  inflating: gpo-bbn/dh1024.pem      
  inflating: gpo-bbn/ca.crt          
  inflating: gpo-bbn/gpo-bbn.key     
  inflating: gpo-bbn/gpo-bbn.crt     

The file gpo-bbn/gpo-bbn.conf is inported into the Network Manager VPN settings to connect.



Email us with any questions and feedback on this page!