Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] PerfSONAR 2.0 RRD-MA installation

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] PerfSONAR 2.0 RRD-MA installation


Chronological Thread 
  • From: Frederic LOUI <>
  • To: Loukik Kudarimoti <>
  • Cc:
  • Subject: Re: [perfsonar-user] PerfSONAR 2.0 RRD-MA installation
  • Date: Fri, 06 Apr 2007 15:09:10 +0200
  • Organization: GIP RENATER

Hi Loukik,

I just installed RRD-MA with PerfSONAR 2.0 bundle. And the installation went fine.
Basically, instead of using the native tomcat installation (from Ubuntu repository), I just ask the script to download and install tomcat.

I addition, Step 1) to Step 4) conditions are OK. Even after a reboot... ;-)

However, I got now a new issue when trying to see the link utilisation using PerfSONARUI...

Here are the details:
1- I configured MA.conf in PerfSONARUI to point to http://193.49.159.135:8080/perfSONAR-RRD-MA-2.0/services/MeasurementArchiveService
2- In perfsonar/conf folder, I configured service.properties file: service.ma.conf_file=/home/perfsonar/perfsonar-bundle-2.0-RC1/perfSONAR-RRD-MA-2.0/perfsonar/conf/rrd-database_RENATER.xml
3- But from PerfSONARUI, I just select my freshly deployed endpoint and when I click on the "Retrieve all" button, nothing happens...
(The only clue I got, is that "DATA retrieved" but nothing is exported from the RRD-MA)
4- The PerfSONARUI is able to reach the RRD-MA. (I can see an opened socket)
ex: ===> tcp6 0 0 perfsonar:8080 oujda.renater.fr:3196 TIME_WAIT
5- Each time I click on "Retrieve all" button, I can see the following message in perfsonar_debug.log

2007-04-06 14:59:03,314 DEBUG - RequestHandler: Calling on parser to parse the request
2007-04-06 14:59:03,329 DEBUG - RequestHandler: Message object constructed from request. Request is of type: MetadataKeyRequest
2007-04-06 14:59:03,329 DEBUG - MessageHandlerFactory: classname asked for is org.perfsonar.commons.messages.MetadataKeyRequest
2007-04-06 14:59:03,329 DEBUG - ExistDbFactory: Creating XML RPC Data Repository: (xmldb:exist://127.0.0.1:8080/exist/xmlrpc/db/rrdmaconfig, rrdmaservice, rrdmaservice)
2007-04-06 14:59:03,329 DEBUG - XmlDbDataRepository: created
2007-04-06 14:59:03,329 DEBUG - ExistDbFactory: Creating XML RPC Storage Manager
2007-04-06 14:59:03,329 DEBUG - ExistDbXmlrpcXmlStorageManager: initStorage with data repository
2007-04-06 14:59:03,329 DEBUG - MetadataKeyRequest: MessageHandler created
2007-04-06 14:59:03,329 DEBUG - RequestHandler: Calling on MessageHandler [class org.perfsonar.commons.messages.MetadataKeyRequest] to satisfy request
2007-04-06 14:59:03,329 DEBUG - Request: MessageHandler.execute()
2007-04-06 14:59:03,329 DEBUG - Request.execute: run Service Engine for extracted request
2007-04-06 14:59:03,329 DEBUG - RRDTypeMAServiceEngine.takeAction: Received a request of type - GET_KEY

6- Note that I dont have this issue with python RRD-MA version.
The RRD META DATA file is well interpreted and PerfSONARUI is able to retrieve link utilization.

Any idea upon that issue ?
Do I miss something ?

From my understanding, the file "service.properties" should be tailored after the installation. Does my service.properties file is OK ?
In addition, I can see that we have 2 methods so as to get RRD data: one is xmlrpc the other one is http (in service.properties).
Is there a direct relationship between the method used (xmlrpc or http) and the current issue ?

Again, thanks in adavcen for your help.
Bgrds/Frederic


Loukik Kudarimoti a écrit :
Frederic,

Deploy your service, test and then restart tomcat. As soon as you restart, go over these steps *in order* to check where it misbehaves.

1) Check tomcat --- http://193.49.159.135:8180
-- tomcat happiness page should display

2) Check service files --- http://193.49.159.135:8180/perfSONAR-RRD-MA-2.0
-- Apache axis home page should display

3) Check list of services deployed --- http://193.49.159.135:8180/perfSONAR-RRD-MA-2.0/servlet/AxisServlet
you should be able to see the Measurement Archive Service (along with Admin Service and version)

4) Check deployment --- http://193.49.159.135:8180/perfSONAR-RRD-MA-2.0/services/MeasurementArchiveService
you should be able to see some text saying..hi there this is an axis service

Please let us know at which step it fails...

Loukik.




Frederic LOUI wrote:
Loukik Kudarimoti a écrit :
Frederic,

You only have to deploy once. No matter how many times you restart tomcat, your deployment will still be in place.

It is just what I thought ! But the only way top overcome this issue is to deploy ...
Anyway, I'll restart tomcat right now.
Could you try to restart tomcat once more and see if you can still access the URL? The URL that you have provided below is local (internal address range). Is there a public URL which I can access?
Public URL should be http://193.49.159.135:8180/perfSONAR-RRD-MA-2.0/services/MeasurementArchiveService
I'm not sure whether you can reach this URL from this outside.

Please let me know
Bgrds/Fred
Loukik.







--
Frederic LOUI / GIP RENATER

Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS

Tel: +33 1 53 94 20 40 / Fax: +33 1 53 94 20 31
http://www.renater.fr
#This file was created by the Ant configuration script.
#Fri Apr 06 11:12:13 CEST 2007
service.r.ma.characteristic=utitlization
service.r.service_type=RRD MA
component.ma.xmldb.db_uri=xmldb\:exist\://127.0.0.1\:8080/exist/xmlrpc/db/rrdmaconfig
service.ma.rrd.rrd_storage_manager_rrd_step_default=300
component.ma.xmldb.db_password=rrdmaservice
service.r.service_description=Java RRD MA, perfSONAR project
component.ma.xmldb.db_status=on
component.ma.xmldb.db_uri.xmlrpc=xmldb\:exist\://127.0.0.1\:8080/exist/xmlrpc/db/rrdmaconfig
service.ma.rrd.rrd_storage_manager_rrd_DS_type_default=COUNTER\:1800\:0\:10000000000000
component.ma.xmldb.db_adminpassword=rrdmaservice
service.log.log4j.config=/home/perfsonar/perfsonar-bundle-2.0-RC1/webapps/perfSONAR-RRD-MA-2.0/WEB-INF/classes/perfsonar/conf/log4j.properties
service.r.ma.format=rrd
service.r.ls_url=
service.r.type=ma
component.registrator.scheduler_component=ma_scheduler
service.r.ma.measurement_tool=cricket,mrtg,cacti
service.ma.xmldb.db_store=off
component.registrator.interval=30000
service.ma.class_name=org.perfsonar.service.measurementArchive.rrdType.RRDTypeMAServiceEngine
service.ma.message_types=MetadataKeyRequest,SetupDataRequest,MeasurementArchiveStoreRequest,EchoRequest
service.ma.rrd.rrd_storage_manager_rrd_RRA_default=MAX\:0.5\:1\:600,MAX\:0.5\:6\:600,MAX\:0.5\:24\:600,AVERAGE\:0.5\:288\:600,AVERAGE\:0.5\:1\:600,AVERAGE\:0.5\:24\:600,MAX\:0.5\:288\:600,AVERAGE\:0.5\:6\:600
service.sax_parser.config=/home/perfsonar/perfsonar-bundle-2.0-RC1/webapps/perfSONAR-RRD-MA-2.0/WEB-INF/classes/perfsonar/conf/objects.config
component.ma.xmldb.db_username=rrdmaservice
service.ma.rrd.xmldb.db_store.data_dir=/home/perfsonar/perfsonar-bundle-2.0-RC1/webapps/perfSONAR-RRD-MA-2.0/WEB-INF/logs/
component.ma.xmldb.db_access=xmlrpc
service.r.service_name=Java RRD MA
service.ma.conf_file=/home/perfsonar/perfsonar-bundle-2.0-RC1/perfSONAR-RRD-MA-2.0/perfsonar/conf/rrd-database_RENATER.xml
component.ma.xmldb.type=webapp



Archive powered by MHonArc 2.6.16.

Top of Page