Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: perfsonar deployment in clara

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: perfsonar deployment in clara


Chronological Thread 
  • From: Kitzia Lumbreras Fuentes <>
  • To: Loukik Kudarimoti <>
  • Cc: Vedrin Jeliazkov <>, "" <>,
  • Subject: Re: [pS-dev] Re: perfsonar deployment in clara
  • Date: Tue, 14 Nov 2006 13:35:08 -0600

Hello Loukik,
Here is the info you requested:
The MAQueryResponse.xml and also the rest of the output from the test

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; id="localhost.localdomain.-53b5cb3c:10ee7c0e935:-7fdf">
<nmwg:metadata id="meta1">
<netutil:subject xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"; id="subj1">
<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 descripyion</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:eventType>utilization</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="localhost.localdomain.-53b5cb3c:10ee7c0e935:-7fe0" metadataIdRef="meta1">
<nmwg:datum timeValue="1121558400" value="364.18786013323563" />
<nmwg:datum timeValue="1121644800" value="189.25857952114652" />
<nmwg:datum timeValue="1121731200" value="157.6300922870065" />
<nmwg:datum timeValue="1121817600" value="341.2686134412051" />
<nmwg:datum timeValue="1121904000" value="376.50555043698813" />
</nmwg:data>
</nmwg:message>

Query Test
End point: http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAQueryRequest.xml
Response file: ../xml/MAQueryResponse.xml
[#document: null]
time taken :1.138 secs
Client exiting
Query Test (Key)
End point: http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAQueryKeyRequest.xml
Response file: ../xml/MAQueryKeyResponse.xml
[#document: null]
time taken :0.194 secs
Client exiting
Store Test
End point: http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAStoreRequest.xml
Response file: ../xml/MAStoreResponse.xml
[#document: null]
time taken :0.136 secs
Client exiting
Store Test (Key)
End point: http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAStoreKeyRequest.xml
Response file: ../xml/MAStoreKeyResponse.xml
[#document: null]
time taken :0.129 secs
Client exiting

Best regards,
Kitzia

Loukik Kudarimoti wrote:
Hi Kitzia,

Can you please mail us the output present in the MAQueryResponse.xml?
(it looks like everything is ok..we only want to be sure)

If we confirm that everything is ok, your next steps would be:

1) make sure your rrd files are located on the same machine

2) check out the xml file in /conf/rrddatabase-test.xml (or something similar). Let us know if you don't understand the contents or the structure of this file. We can explain it to you.

3) Build your own xml config. file by following the above example.

4) Replace the xml config. file in point 2 above with your new file and let us know...if we can read your data, we will be done!

regards,
Loukik.


Kitzia Lumbreras Fuentes wrote:
Hi Vedrin,

The problem was indeed in /etc/ld.so.conf The output after fixing :
End point: http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAQueryRequest.xml
Response file: ../xml/MAQueryResponse.xml
[#document: null]
time taken :1.138 secs
Client exiting

The rest of the test it's similar as above.

What would be the next step?

Regards,
Kitzia


Vedrin Jeliazkov wrote:
Hi Kitzia,

It looks like either you haven't compiled rrdjtool or its directory is not
known to the linker (ld). You could fix this by making sure that:

1) the following files exist in $PERFSONAR/contrib/rrdjtool/build:

-rwxr-xr-x 1 root root 10895 2006-09-25 23:43 libjrrd.so*
-rw-r--r-- 1 root root 13501 2006-09-25 23:43 rrdjtool.jar

2) the path to libjrrd.so is known to ld (either through the environmental
variable LD_LIBRARY_PATH or via appropriate setting in /etc/ld.so.conf)

Best regards,
Vedrin

Kitzia Lumbreras Fuentes
<>
wrote:

Hello,
-->About the script, I ran the test-ma.sh and this is the output
Query Test
End point:
http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAQueryRequest.xml
Response file: ../xml/MAQueryResponse.xml
SOAPClient.makeRequest: General exception encountered by client
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.perfsonar.service.commons.exceptions.SystemException: [unknown]: RRDStorageManager.rrdFetch: Cannot connect

with rrdjtool native library: no jrrd in java.library.path
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:server2-saopaulo

org.perfsonar.service.commons.exceptions.SystemException: [unknown]: RRDStorageManager.rrdFetch: Cannot connect with rrdjtool

native library: no jrrd in java.library.path
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at org.perfsonar.client.testHarness.SOAPClient.makeRequest(Unknown Source)
at org.perfsonar.client.testHarness.SOAPClient.main(Unknown Source)
Client exiting
Query Test (Key)
End point:
http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAQueryKeyRequest.xml
Response file: ../xml/MAQueryKeyResponse.xml
[#document: null]
time taken :0.179 secs
Client exiting
Store Test
End point:
http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAStoreRequest.xml
Response file: ../xml/MAStoreResponse.xml
[#document: null]
time taken :0.123 secs
Client exiting
Store Test (Key)
End point:
http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Request file: ../xml/MAStoreKeyRequest.xml
Response file: ../xml/MAStoreKeyResponse.xml
[#document: null]
time taken :0.124 secs
Client exiting

-->And about the URL, it was wrong, my bad.
The URL is
http://server2-saopaulo.lan.redclara.net:8085/axis/services/MeasurementArchiveService
Kind regards,
Kitzia

Loukik Kudarimoti wrote:
Hello Kitzia,

I am sorry about the delay in answering your email..

I am not sure if you are using the right testing script. You need to test using the testing script for ma. The scripts are all located in the same directory but the one that you should is test-ma.sh. Please try it out and let me know the results?

Also, while installing, did you notice any error messages?

Also, the url that you sent to me cannot be resolved. Maybe there is a typing error? Can you re-send it?

Loukik.



Kitzia Lumbreras Fuentes wrote:
Hello Loukik,
Sorry by interrupting your holidays, but thanks for your help.
About your questions:
1) RRD MA ---Yes, it's installed

2) About the scipts
---I used them, and I got something like this
Request file: ../xml/LSDeregisterRequest.xml
Response file: ../xml/LSDeregisterResponse.xml
SOAPClient.makeRequest: General exception encountered by client
java.io.FileNotFoundException: /home/noc/../xml/LSDeregisterRequest.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at org.perfsonar.client.testHarness.SOAPClient.makeRequest(Unknown Source)
at org.perfsonar.client.testHarness.SOAPClient.main(Unknown Source)
Client exiting

3) The URL
http://server2-saopaulo:8080/axis/services/MeasurementArchiveService


Best regards,
Kitzia


Loukik Kudarimoti wrote:

Hello Kitzia,

Great News! I have a list of questions to determine if your installation has gone ok. Can you please answer them?

1) Did you install RRD MA during perfsonar 1.0 installation?

2) There are scripts present in the installation package which will help you in testing your installation. Have you used them? If yes, were they successful?

3) What is the URL where your service is accessible? (for example, the URL for GEANT is http://mu.dante.org.uk:8090/axis/services/MeasurementArchiveService). Your service URL will only have a different host name and port number. Can you please provide me this URL?

I am currently on holidays and plan to be back in office next monday. I will try to answer your emails but maybe not very promptly ;)

Thanks,
Loukik


Kitzia Lumbreras Fuentes wrote:
Hi Loukik,
I'm Kitzia and I'm helping Hans on the NOC. I've already install perfSONAR and happyaxis validation page shows no errors. Now, my question is what's the next step in order to start with the peering??

Regards
Kitzia
--

______________________________________________________________________


Loukik Kudarimoti

Network Engineer


DANTE - www.dante.net


Tel: +44 (0)1223 371 300

Fax: +44 (0)1223 371 371

Email:



City House, 126-130 Hills Road

Cambridge CB2 1PQ

UK

_____________________________________________________________________













Archive powered by MHonArc 2.6.16.

Top of Page