perfsonar-dev - Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI
Subject: perfsonar development work
List archive
- From: Loukik Kudarimoti <>
- To: Nina Jeliazkova <>
- Cc: Vedrin Jeliazkov <>, Michael Michalis <>, Roman Lapcz <>, "" <>
- Subject: Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI
- Date: Wed, 14 Mar 2007 18:42:19 +0000
Roman, Michalis? Any comments?
Loukik.
Nina Jeliazkova wrote:
Hi Loukik,
I've tried several SetupDataRequest messages as in
http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-SQL-MA-1.0-RC5/doc/ma/sqlTypeMA/Interface_Specification.doc
but none of them are working for me (see attached). The response is the same
as previous one, reported by Vedrin.
Best regards,
Nina
"Vedrin Jeliazkov"
<>
wrote:
Hi again,http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-RRD-MA-2.0-RC9/doc/ma/rrdTypeMA/
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-SQL-MA-1.0-RC5/doc/ma/sqlTypeMA/
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">MetadataQueryGeneratorFactory.getMetadataQueryGenerator:Loukik.xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
Vedrin Jeliazkov wrote:
Hi Loukik,online
We've the service via the current JWS version of perfsonarUI, available
here:following
http://perfsonar.acad.bg/
In the Playground tab, we've entered the URL of your service and the
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"
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>error.ma.query</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwgr:datum
somethingeventType utilization is not supported</nmwgr:datum>
</nmwg:data>
</nmwg:message>
It looks like the configured eventType is not "utilization", but
mightcouldelse. Could you check its value and tell us what it is? This parameter
be configured in MA.conf if it is known in advance. Of course, there
http://mu.dante.org.uk:8092/perfSONAR-SQL-MA-1.0-RC5/services/MeasurementArchiveServicebe
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:
sameThis measurement archive provides access to utilization data in the
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.
------------------------------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<nmwg:message id="msg"
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">10.1.2.3</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:hostName>test-hostName</nmwgt:hostName>
<nmwgt:ifName>test-0</nmwgt:ifName>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:authRealm>TestRealm</nmwgt:authRealm>
<nmwgt:capacity>1000BaseT</nmwgt:capacity>
</nmwgt:interface>
</netutil:subject>
<nmwg:eventType>
http://ggf.org/ns/nmwg/characteristic/utilization/2.0
</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2">
<select:subject id="iusub2" metadataIdRef="meta1"/>
<select:parameters id="param1">
<nmwg:parameter name="startTime">1121472000</nmwg:parameter>
<nmwg:parameter name="endTime">1121904000</nmwg:parameter>
</select:parameters>
<nmwg:eventType>select</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta2"/>
</nmwg:message>
------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message id="msg_resp" messageIdRef="msg" 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>
------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message id="mdrq1_resp" messageIdRef="mdrq1"
type="MetadataKeyResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="meta1-test">
<netutil:subject id="subj1"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/">
<nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
<nmwgt:hostName>test-hostName</nmwgt:hostName>
<nmwgt:ifName>test-0</nmwgt:ifName>
<nmwgt:ifDescription>test description</nmwgt:ifDescription>
<nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:authRealm>TestRealm</nmwgt:authRealm>
<nmwgt:capacity>1000BaseT</nmwgt:capacity>
</nmwgt:interface>
</netutil:subject>
<nmwg:parameters id="localhost.10c25f7a:111517961b0:-3436">
<nmwg:parameter
name="supportedEventType">http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:parameter>
</nmwg:parameters>
</nmwg:metadata>
<nmwg:data id="data1-test" metadataIdRef="meta1-test">
<nmwg:key id="localhost.10c25f7a:111517961b0:-3433">
<nmwg:parameters id="localhost.10c25f7a:111517961b0:-3432">
<nmwg:parameter name="eventType" value="
http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
<nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml</nmwg:parameter>
<nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
</nmwg:parameters>
</nmwg:key>
</nmwg:data>
</nmwg:message>
- Accessing SQL MA via perfSONAR UI, Loukik Kudarimoti, 03/14/2007
- Re: Accessing SQL MA via perfSONAR UI, Vedrin Jeliazkov, 03/14/2007
- Re: Accessing SQL MA via perfSONAR UI, Loukik Kudarimoti, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Vedrin Jeliazkov, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Loukik Kudarimoti, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Loukik Kudarimoti, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/14/2007
- Re: [pS-dev] Re: Accessing SQL MA via perfSONAR UI, Vedrin Jeliazkov, 03/14/2007
- Re: Accessing SQL MA via perfSONAR UI, Loukik Kudarimoti, 03/14/2007
- Re: Accessing SQL MA via perfSONAR UI, Vedrin Jeliazkov, 03/14/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Szymon Trocha, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Roman Lapacz, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/15/2007
- Re: [pS-dev] Accessing SQL MA via perfSONAR UI, Nina Jeliazkova, 03/15/2007
Archive powered by MHonArc 2.6.16.