Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Service list on hLS

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Service list on hLS


Chronological Thread 
  • From: Takatoshi Ikeda <>
  • To:
  • Cc:
  • Subject: Re: [perfsonar-user] Service list on hLS
  • Date: Fri, 03 Jul 2009 12:56:51 +0900

Dear Jason,

Thank you for prompt reply.

1) how long has the hLS been up?
I launched 7/2 and it's been up for a half day.
Also, I restarted the hLS several times.

2) did you set the following value in the configuration file (and if so what
did you set it to):
I can see maintenance_interval in daemon.conf as below.

maintenance_interval 120

By the way, I found the cause of the problem.
As your suggestion, I watched the log file carefully.
The following error messages were appeared once 120 minutes.

2009/07/03 08:44:36 (26941) ERROR> daemon.pl:631 main::maintenance - Problem
running service maintenance: Can't locate Clone.pm in @INC (@INC contains:
/opt/perfsonar_ps/lookup_service/bin/../lib ./lib ../lib
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8 . ./lib ../lib) at
/usr/lib/perl5/vendor_perl/5.8.8/Hash/Merge.pm line 231.

To solve above message, I installed perl-Clone.x86_64 manually by yum.
Then, I can see my hLS summarized information and new SNMP MA Service Tree
Web page.
Thank you for your advice !!!


Also, I forgot to inform you important thing.
The OS of new machines is RHEL 5. Old one is CentOS 5.3 .
So, perl-Clone was not installed automatically when I installed lookup
service by yum.
In addition, following perl modules were not installed into the directory of
default @INC.
I made some symbolic link for that.
Default @INC of my machines (RHEL 5) is as following. Just FYI.

# /usr/bin/perl -e 'print "@INC"'
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8


On Thu, 02 Jul 2009 10:01:51 -0400
Jason Zurawski
<>
wrote:

> Takatoshi;
>
> Here is a database dump of your LS:
>
> http://dc211.internet2.edu/cgi-bin/perfAdmin/view.cgi?hls=http://202.180.38.70:9995/perfSONAR_PS/services/hLS
>
> The first section indicates the SNMP has registered, but I am interested
> in the last 3 sections of this web page (scroll to the bottom) - it does
> not appear your hLS has summarized the information set yet. Some questions:
>
> 1) how long has the hLS been up?
> 2) did you set the following value in the configration file (and if so
> what did you set it to):
>
> maintenance_interval 90
>
> 3) Are there any errors in the log indicating that summarization failed?
>
> A quick fix would be to just restart the hLS and see if the data
> summarizes (this would happen almost immediately) but I would like to
> know why it hasn't done so yet.
>
> Thanks;
>
> -jason
>
> > Hi, this is Takatoshi Ikeda, APAN-JP.
> >
> > I've installed newest Lookup Service and SNMPMA by yum repository
> > but SNMPMA service seems not to be registered correctly.
> > Following is detail information.
> > Is there any information?
> >
> >
> > 1.Symptom
> > I installed newest Lookup Service and SNMPMA.
> > When I launch new Lookup Service, I can see it on the Service Tree Web
> > page.
> > https://dc211.internet2.edu/cgi-bin/perfAdmin/tree.cgi
> > Then, new SNMPMA is launched and it seems to be registered to new Lookup
> > Service.
> > However, I can not see it on the Service Tree Web page.
> > As a experiment, I modified the configuration file of SNMPMA to register
> > old
> > existed Lookup Service. I can see SNMPMA service on the web.
> > In order to check whether SNMPMA is registered or not, I make a request
> > by using
> > client.pl as Section3. I got a response with SNMPMA service information.
> > However, I got any service information when I try to get all service list.
> > The results of client.pl are in Section 3.
> >
> >
> > 2. Software Version
> > (New LookupService and SNMPMA)
> > perl-perfSONAR_PS-LookupService-3.1-2.pSPS
> > perl-perfSONAR_PS-SNMPMA-3.1-3.pSPS
> >
> > (old existed Lookup Service)
> > perl-perfSONAR_PS-SNMPMA-3.1-2.pSPS
> >
> > 3. service point
> > hLS - http://202.180.38.70:9995/perfSONAR_PS/services/hLS
> > SNMPMA - http://202.180.38.69:9990/perfSONAR_PS/services/SNMPMA
> >
> > 3. The result of LSQueryRequest
> > 4-1 SNMP service
> > 4-1-1 xquery
> > <xquery:subject id="sub1">
> > declare namespace
> > perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";;
> > declare namespace nmwg="http://ggf.org/ns/nmwg/base/2.0/";;
> > declare namespace
> > psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";;
> >
> > /nmwg:store[@type="LSStore"]/nmwg:metadata[./perfsonar:subject/psservice:service/psservice:serviceType[text()="MA"
> > or text()="ma"]]
> > </xquery:subject>
> > 4-1-2 result ( only data )
> > <nmwg:data metadataIdRef="metadata.14868730" id="data.14342086">
> > <psservice:datum
> > xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";>
> > <nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
> > id="78751203f761f07991151637867ba317">
> > <perfsonar:subject
> > xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";
> > id="subject.2218681">
> > <psservice:service
> > xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";>
> > <psservice:serviceName>JGN2Plus SNMP</psservice:serviceName>
> >
> > <psservice:accessPoint>http://202.180.38.69:9990/perfSONAR_PS/services/SNMPMA</psservice:accessPoint>
> > <psservice:serviceType>MA</psservice:serviceType>
> > <psservice:serviceDescription>JGN2Plus SNMP MA 1 (Tokyo,
> > Japan)</psservice:serviceDescription>
> > </psservice:service>
> > </perfsonar:subject>
> > </nmwg:metadata>
> > </psservice:datum>
> > </nmwg:data><
> >
> > 2-2 Service list
> > 2-2-1 xquery
> > <xquery:subject id="sub1">
> > declare namespace
> > perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/";;
> > declare namespace nmwg="http://ggf.org/ns/nmwg/base/2.0/";;
> > declare namespace
> > psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";;
> >
> > /nmwg:store[@type="LSStore"]
> > </xquery:subject>
> > 2-2-2 result ( only data )
> > <nmwg:data metadataIdRef="metadata.6182517" id="data.12307850">
> > <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Nothing
> > returned for search.
> > </nmwgr:datum>
> > </nmwg:data>

--
Takatoshi Ikeda
<>




Archive powered by MHonArc 2.6.16.

Top of Page