Skip to Content.
Sympa Menu

perfsonar-dev - Re: [Fwd: Re: [pS-dev] Registering with LS]

Subject: perfsonar development work

List archive

Re: [Fwd: Re: [pS-dev] Registering with LS]


Chronological Thread 
  • From: Guilherme Fernandes <>
  • To: Stijn Verstichel <>
  • Cc:
  • Subject: Re: [Fwd: Re: [pS-dev] Registering with LS]
  • Date: Tue, 21 Nov 2006 16:04:07 -0200

Hi,

I just commited the changes to make LS registration without a xml file viable. In this case, the following should be configured:

In component.properties:

scheduler=org.perfsonar.commons.auxiliary.components.simplescheduler.Scheduler
registrator=org.perfsonar.service.commons.registration.LSRegistrationComponent

In service.properties:

component.registrator.interval=<Registration interval (this shouldn't be set too low, I use 300000>
component.registrator.scheduler_component=scheduler
service.r.ls_url=<LS URL> (e.g. http://200.128.80.172:8080/axis/services/LookupService)
service.r.access_point=<Service URL> (e.g. http\://200.237.192.9\:8080/axis/services/CLMPService )
service.r.service_name=<Service Name> (e.g. CLMP)
service.r.service_description=<Service Description> (e.g. CLMP Test)
service.r.service_type=<Service Type> (e.g. CLMP)
service.ls.registration_file=

The last parameter is necessary, even if blank. If it has no value then it will only use the service.r parameters above, if it has the path to a registration file (the xml file you were saying) then it will use that file for registration.

I think that's all that is needed, any problems ask.

Guilherme

Stijn Verstichel wrote:

Hi Guilherme ,

Maciej forwarded my to you with regard to the question below. Could you provide me with an answer to this question?

Regards,

Stijn
-------- Original Message --------
Subject: Re: [pS-dev] Registering with LS
Date: Tue, 21 Nov 2006 11:00:14 +0100
From: Maciej Glowiak
<>
Organization: Poznan Supercomputing and Networking Center
To: Stijn Verstichel
<>
CC:
,


References:
<>



Stijn Verstichel wrote:

Hi All,

I have a question for the Lookup Service developers, but could be of interest to all of you. As things stand in the SSH/Telnet MP, the complete configuration of the service sits in the service.properties file. Currently, while tying to register the service with the LS, I used the code from the Wiki, we are having some problems.

try {
ServiceLSRegistrator registrator = new GenericServiceLSRegistrator
(new PropertiesServiceDescription(),
new InformationXMLFileServiceContent("?????"));
registrator.initRegistrator();
Message responseMessage = registrator.register("http://selena.acad.bg:8070/axis/services/LookupService";);
} catch (PerfSONARException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

The problem is that we don't have an XML file, and actually I don't quite get what is supposed to be described in that file.

Could someone shed some light on this?

Cheers,

Stijn



Hi Stijn,

Recently we had discussion with Guilherme () who made some changes to the LS registration that it could accept registration without configuration file.

I am not sure if he commited his changes (I think he did not), but you could contact Guilherme directly and ask him if he is going to commit the changes.

Maciej





  • Re: [Fwd: Re: [pS-dev] Registering with LS], Guilherme Fernandes, 11/21/2006

Archive powered by MHonArc 2.6.16.

Top of Page