Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI


Chronological Thread 
  • From: "Vedrin Jeliazkov" <>
  • To: Loukik Kudarimoti <>
  • Cc: "Nina Jeliazkova" <>, "Roman Lapcz" <>, "" <>
  • Subject: Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI
  • Date: Wed, 14 Mar 2007 20:20:06 +0200
  • Disposition-notification-to: "Vedrin Jeliazkov" <>

Hi again,

After some further tests we noticed that replacing "utilization" with
"http://ggf.org/ns/nmwg/characteristic/utilization/2.0"; (either in MA.conf
(twice!) or in the Playground tab) helps, but doesn't solve all issues. In
this case perfsonarUI retrieves successfully hostName, ifAddress, ifName,
ifDescription and Capacity, but fails to retrieve utilization data. The
service returns the following error to the respective SetupDataRequest:

- - - - 8< - - - -

No output metadata was returned by MessageHandler. Maybe there was no data
trigger, or data trigger didn't have valid metadataIdRef?

- - - - 8< - - - -

Please see attached query and response.

Best regards,
Vedrin

Loukik Kudarimoti
<>
wrote:

> Hi Vedrin,
>
> Roman is in the cc. I hope he can comment on this.
>
> What we are aware of is that the protocol for RRD MA and SQL MA now
> accept new event types (which use namespaces) as well as old ones (to
> help you guys out in the transition phase). It looks like this is not
> the case for utilization? Roman?
>
> ps: documentation for RRD MA and SQL MA that are being closed to being
> released (still release candidates as you can see in the URLs).
>
>
http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-RRD-MA-2.0-RC9/doc/ma/rrdTypeMA/
>
http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-SQL-MA-1.0-RC5/doc/ma/sqlTypeMA/
>
>
> Loukik.
>
>
> Vedrin Jeliazkov wrote:
> > Hi Loukik,
> >
> > We've the service via the current JWS version of perfsonarUI, available
> online
> > here:
> >
> > http://perfsonar.acad.bg/
> >
> > In the Playground tab, we've entered the URL of your service and the
> following
> > query:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <nmwg:message id="1158922769968" type="MetadataKeyRequest"
> > 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/>
> > </netutil:subject>
> > <nmwg:eventType>utilization</nmwg:eventType>
> > </nmwg:metadata>
> > <nmwg:data id="data1158922770015" metadataIdRef="meta1"/>
> > </nmwg:message>
> >
> > We got the following response:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <nmwg:message id="1158922769968_resp" messageIdRef="1158922769968"
> > type="MetadataKeyResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
> > <nmwg:metadata id="resultCodeMetadata">
> > <nmwg:eventType>error.ma.query</nmwg:eventType>
> > </nmwg:metadata>
> > <nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
> > metadataIdRef="resultCodeMetadata">
> > <nmwgr:datum
> >
>
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
> > eventType utilization is not supported</nmwgr:datum>
> > </nmwg:data>
> > </nmwg:message>
> >
> > It looks like the configured eventType is not "utilization", but something
> > else. Could you check its value and tell us what it is? This parameter
could
> > be configured in MA.conf if it is known in advance. Of course, there might
> be
> > some further unresolved issue, but let's try and see ;-)
> >
> > Best regards,
> > Vedrin
> >
> > Loukik Kudarimoti
> > <>
> > wrote:
> >
> >
> >> Hi Vedrin and Nina,
> >>
> >> I have installed SQL Measurement Archive on a dante workstation. It is
> >> accessible here:
> >>
> >>
> >>
> >
>
http://mu.dante.org.uk:8092/perfSONAR-SQL-MA-1.0-RC5/services/MeasurementArchiveService
> >
> >> This measurement archive provides access to utilization data in the same
> >> way as the RRD Measurement Archive service. The only difference is that
> >> it contacts a database on the backend instead of the rrd files. Hence,
> >> the contents of the key are different as well.
> >>
> >> I tried to check if perfSONAR UI (v 0.8) can show the interfaces and
> >> data configured on the sql ma (test configuration) but it didn't. Any
> >> idea? Is it because the key is different?
> >>
> >> Loukik.
> >>
> >>
> >
> >
> >
> >
>

<nmwg:message id="message1173895557" 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="meta_0in">
<netutil:subject id="subject_1">
<nmwgt:interface>
<nmwgt:hostName>test-hostName</nmwgt:hostName>
<nmwgt:ifName>test-0</nmwgt:ifName>
<nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
</netutil:subject>

<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2_0in">
<select:subject id="subject1_2" metadataIdRef="meta_0in"/>
<nmwg:eventType>select</nmwg:eventType>
<select:parameters id="param_3">
<nmwg:parameter name="startTime">1173890157</nmwg:parameter>
<nmwg:parameter name="endTime">1173895557</nmwg:parameter>
<nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
<nmwg:parameter name="resolution">300</nmwg:parameter>
</select:parameters>
</nmwg:metadata>
<nmwg:data id="data_0in" metadataIdRef="meta2_0in"/>
<nmwg:metadata id="meta_0out">
<netutil:subject id="subject_3">
<nmwgt:interface>
<nmwgt:hostName>test-hostName</nmwgt:hostName>
<nmwgt:ifName>test-0</nmwgt:ifName>
<nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
<nmwgt:direction>out</nmwgt:direction>
</nmwgt:interface>
</netutil:subject>

<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2_0out">
<select:subject id="subject1_4" metadataIdRef="meta_0out"/>
<nmwg:eventType>select</nmwg:eventType>
<select:parameters id="param_5">
<nmwg:parameter name="startTime">1173890157</nmwg:parameter>
<nmwg:parameter name="endTime">1173895557</nmwg:parameter>
<nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
<nmwg:parameter name="resolution">300</nmwg:parameter>
</select:parameters>
</nmwg:metadata>
<nmwg:data id="data_0out" metadataIdRef="meta2_0out"/>
</nmwg:message><nmwg:message id="message1173895557_resp"
messageIdRef="message1173895557" type="SetupDataResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>warning.common.no_metadata</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef? </nmwgr:datum>
</nmwg:data>
</nmwg:message>



Archive powered by MHonArc 2.6.16.

Top of Page