Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Help for perfsonar1.0 installation

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Help for perfsonar1.0 installation


Chronological Thread 
  • From: Jerome Durand <>
  • To: Vedrin Jeliazkov <>, , Szymon Trocha <>
  • Subject: Re: [perfsonar-user] Help for perfsonar1.0 installation
  • Date: Tue, 08 Aug 2006 15:18:26 +0200

Thanks!

Steps 11, 12 and 13 are fine for me.
My config file can be found at the end of this email, looks ok.

I added to MA.conf of perfSONARUI:
RENATER,http://supervision-ipv6.renater.fr:8080/axis/services/MeasurementArchiveService,NMWG2v2_netutil,"",utilization,utilization
I added at the end of this email the debug results of perfSONARUI.

Now some stupid questions... I'm not sure to understand what is the relationship between the perfSONAR package and tomcat/axis.

- What should I do when I change the config file? Should I reinstall perfSONAR1.0 using install.pl ?
- What happens if I want to restart tomcat? Should I reincstall perfSONAR1.0?

Also could you guys confirm I don't need eXist if I don't use LS at all? BTW is that possible to configure eXist using only text? The pS doc only mention we can do it using graphical interface...

Thanks again!

Jerome



DEBUG PERFSONARUI:
----------------------------------------------------

xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"; xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";><nmwg:metadata id="meta1"><netutil:subject id="iusub1"><nmwgt:interface><nmwgt:ifAddress type="ipv4">193.51.181.193</nmwgt:ifAddress></nmwgt:interface></netutil:subject><nmwg:eventType>utilization</nmwg:eventType></nmwg:metadata><nmwg:data id="data1" metadataIdRef="meta1"/></nmwg:message>
2006-08-08 15:15:55,671 [Thread-2] DEBUG org.perfsonar.client.ma.MARequest2 - Sending request to RENATER,http://supervision-ipv6.renater.fr:8080/axis/services/MeasurementArchiveService,NMWG2v2_netutil
2006-08-08 15:15:55,671 [Thread-2] DEBUG org.perfsonar.client.ma.MARequest2 - <nmwg:message id="1" type="SetupDataRequest" xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"; xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"; xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
<nmwg:metadata id="meta1">
<netutil:subject id="iusub1">
<nmwgt:interface>
<nmwgt:ifAddress type="ipv4">193.51.181.193</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
</netutil:subject>
<nmwg:eventType>utilization</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2">
<select:subject id="iusub2" metadataIdRef="meta1"/>
<nmwg:eventType>select</nmwg:eventType>
<select:parameters id="param1">
<nmwg:parameter name="startTime">1155036895</nmwg:parameter>
<nmwg:parameter name="endTime">1155042295</nmwg:parameter>
<nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
<nmwg:parameter name="resolution">5400</nmwg:parameter>
</select:parameters>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta2"/>
</nmwg:message>
2006-08-08 15:15:56,421 [Thread-2] ERROR org.perfsonar.client.ui.actions.PerfsonarRequestAction - java.lang.Exception: Problem contacting MA service at RENATER http://supervision-ipv6.renater.fr:8080/axis/services/MeasurementArchiveService
2006-08-08 15:15:56,421 [Thread-2] DEBUG org.perfsonar.client.ma.MARequest2 - Sending request to RENATER,http://supervision-ipv6.renater.fr:8080/axis/services/MeasurementArchiveService,NMWG2v2_netutil
2006-08-08 15:15:56,437 [Thread-2] DEBUG org.perfsonar.client.ma.MARequest2 - <nmwg:message id="1" type="SetupDataRequest" xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"; xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"; xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
<nmwg:metadata id="meta1">
<netutil:subject id="iusub1">
<nmwgt:interface>
<nmwgt:ifAddress type="ipv4">193.51.181.193</nmwgt:ifAddress>
<nmwgt:direction>out</nmwgt:direction>
</nmwgt:interface>
</netutil:subject>
<nmwg:eventType>utilization</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2">
<select:subject id="iusub2" metadataIdRef="meta1"/>
<nmwg:eventType>select</nmwg:eventType>
<select:parameters id="param1">
<nmwg:parameter name="startTime">1155036895</nmwg:parameter>
<nmwg:parameter name="endTime">1155042295</nmwg:parameter>
<nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
<nmwg:parameter name="resolution">5400</nmwg:parameter>
</select:parameters>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta2"/>
</nmwg:message>
2006-08-08 15:15:57,062 [Thread-2] ERROR org.perfsonar.client.ui.actions.PerfsonarRequestAction - java.lang.Exception: Problem contacting MA service at RENATER http://supervision-ipv6.renater.fr:8080/axis/services/MeasurementArchiveService




CONFIG FILE:
----------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>


<!-- ===================================================================
<description>
MA RRD configuration file

$Id: rrd-database_RENATER-TEST.xml,v 1.10 2006/03/03 11:28:00 Durand Exp $
project: perfSONAR

Notes:
This is the configuration file which contains the information
about RRD files from RENATER-TESTBED

</description>
==================================================================== -->

<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";

xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns="http://ggf.org/ns/nmwg/base/2.0/";>


<!-- metadata section -->


<nmwg:metadata id="meta1_ipv4">
<netutil:subject id="subj1">
<nmwgt:interface>
<nmwgt:hostName>unknown</nmwgt:hostName>
<nmwgt:ifAddress type="ipv4">193.51.181.193</nmwgt:ifAddress>
<nmwgt:ifName>unknown</nmwgt:ifName>
<nmwgt:ifDescription>-R-- Lien vers NRI-B ----</nmwgt:ifDescription>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:capacity>1000000000</nmwgt:capacity>
</nmwgt:interface>
</netutil:subject>
<nmwg:parameters>
<nmwg:parameter name="supportedEventType">utilization</nmwg:parameter>
</nmwg:parameters>
</nmwg:metadata>



<!-- data section -->


<nmwg:data id="data1_ipv4" metadataIdRef="meta1_ipv4">
<nmwg:key>
<nmwg:parameters id="param1">
<nmwg:parameter name="file">/var/www/public/mrtg/rrd/gsr-1.projets.renater.fr_nria.rrd</nmwg:parameter>
<nmwg:parameter name="dataSource">ds0</nmwg:parameter>
</nmwg:parameters>
</nmwg:key>
</nmwg:data>


</nmwg:store>












Vedrin Jeliazkov a écrit :
Hi Jerome,

Jerome Durand
<>
wrote:

<snip>

Now I just want to know how to progress and really test my service.

You could eventually execute steps 11, 12 and 13, described here:

http://monstera.man.poznan.pl/jra1-wiki/index.php/Installation_MA#Post-installation_checks

Is there a configuration file, and request file that I could use?

For a real deployment, you should produce a config file for your specific
case, following the example here:

http://monstera.man.poznan.pl/jra1-wiki/index.php/RRD_description_file

There are some example queries mentioned at the following URL, but I'm not
sure if they apply to perfSONAR-1.0 or only to snapshots:

http://monstera.man.poznan.pl/jra1-wiki/index.php/Installation_MA#Testing

Also how to test the thing with perfSONARUI? What is the protocol name to configure? Is that netutil or just NMWGv2?

You should add a line in MA.conf, similar to that one:

GRNET,http://gridmachine.admin.grnet.gr:8080/axis/services/MeasurementArchiveService,NMWG2v2_netutil,"",utilization,utilization

(of course - you should use the correct address/port of the service).

Kind regards,
Vedrin









Archive powered by MHonArc 2.6.16.

Top of Page