perfsonar-user - Re: [perfsonar-user] Help for perfsonar1.0 installation
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Vedrin Jeliazkov" <>
- To: Jerome Durand <>, , "Szymon Trocha" <>
- Subject: Re: [perfsonar-user] Help for perfsonar1.0 installation
- Date: Tue, 08 Aug 2006 16:37:11 +0300
Hi Jerome,
After changing the rrd database config file you should restart the service
(the tomcat instance in which it runs). Also make sure that the service is
able to find the correct config file (name, permissions...). The file name is
configured in perfSONAR-1.0/conf/service.properties.ma Look for the following
line:
service.ma.conf_file=/usr/local/etc/rrd-database_ISTF.xml
You certainly don't have to reinstall the service by using install.pl
You could avoid using eXist if you're not going to install LS. However, it's
higly recommended to use eXist for RRD MA as well, because it should provide
better overal performance of the service.
I haven't been able to correctly configure eXist through the install.pl
script. Instead, I've used the manual steps, described here:
http://monstera.man.poznan.pl/jra1-wiki/index.php/Installation_MA#XML_database_.28eXist.29_as_a_storage_for_rrd_configuration_file
and here:
http://wiki.perfsonar.net/jra1-wiki/index.php/Installation_LS_snapshot_2006-07-20#eXist_startup
In particular, if you'd like to use a text installer for eXist, you should
follow this procedure:
1) java -jar eXist-<version>.jar -p $EXIST_HOME
2)
http://wiki.perfsonar.net/jra1-wiki/index.php/Installation_LS_snapshot_2006-07-20#Step_5_-_Changing_default_port
3) ... and steps 6, 7, 8 (with modifications for the case of RRD MA, as
explained at the first URL above)
Kind regards,
Vedrin
Jerome Durand
<>
wrote:
> 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
> >
> >
> >
> >
>
>
>
- Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Szymon Trocha, 08/08/2006
- Message not available
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Roman Lapacz, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jason Zurawski, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Szymon Trocha, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Vedrin Jeliazkov, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jason Zurawski, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jason Zurawski, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Szymon Trocha, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Roman Lapacz, 08/08/2006
- Re: [perfsonar-user] Help for perfsonar1.0 installation, Jerome Durand, 08/08/2006
Archive powered by MHonArc 2.6.16.