HI Nick, Thank you so much for your answer.
Based on the OpenSLP online documentation, slpd is not needed if a machine will
only be requesting services. Is there any benefit for not installing a location
daemon if the application only needs to call SLPFindSrvs API or it is better to
always have a local daemon?
Ren
From: nwagner...@gmail.com [mailto:nwagner...@gmail.com] On Behalf Of Nick
Wagner
Sent: Monday, October 29, 2012 3:09 PM
To: Wang, Ren
Cc: HIRD Matthew; openslp-users@lists.sourceforge.net
Subject: Re: [Openslp-users] DA deployment
The application sends the request to the local daemon, which forwards the
request when appropriate. The SLPReg will be replicated on the network, but
the SLPFindSrvs will be answered by the local daemon.
--Nick
On Mon, Oct 29, 2012 at 10:57 AM, Wang, Ren
<ren.w...@nuance.com<mailto:ren.w...@nuance.com>> wrote:
Hi Matt,
When an application makes OpenSLP API calls, e.g. a SLPReg and/or SLPFindSrvs
calls, does it always communicate with the local slpd daemon and the local
daemon forwards the application requests to the network, or the application
directly sends unicast/broadcast/multicast message out?
Ren
From: Wang, Ren
Sent: Wednesday, October 24, 2012 7:19 PM
To: 'HIRD Matthew'; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
Matt,
Thank you so much for your help. Yes, it makes sense.
Ren
From: HIRD Matthew
[mailto:matthew.h...@uk.thalesgroup.com]<mailto:[mailto:matthew.h...@uk.thalesgroup.com]>
Sent: Wednesday, October 24, 2012 11:36 AM
To: Wang, Ren; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
sent again but trimmed to fit within the mailing list size limits. Ren, reply
or it will be held for approval on the mailing list.
Ren
when you search, are you using slptool? if so, after step 3 run slptool but
with the (I think) -u option to do a unicast search against a particular
daemon. I think you might find that your app is using the same slp.conf as the
daemon and so registers directly with the DA. ie. the SA is never involved and
so has nothing to sync to the DA when it comes back up. Make sense?
cheers
Matt
From: Wang, Ren
[mailto:ren.w...@nuance.com]<mailto:[mailto:ren.w...@nuance.com]>
Sent: 23 October 2012 14:36
To: HIRD Matthew; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
Hi Matt,
In my test case, there are two slpd daemons, one is a DA (net.slp.isDA=true),
and one is SA which statically configured to communicate with DA (set the
net.slp.DAAddresses to the DA IP address).
I conducted more tests today with net.slp.DASyncReg = true. Here is the test
result:
1) Start slpd on the DA machine
2) Start slpad on the SA machine
3) Run the SA application with SLPReg call
4) Run slptool findsrvs command, the registered service is found no problem
5) Shutdown slpd on the DA machine
6) Run slptool findsrvs command again, the registered service can't found.
I think this is OK since there is no DA and my SA is pointing to an invalid DA.
7) Start slpd on the DA machine again
8) Run slptool findsrvs command again, the registered service still can't
found - I think this is a problem.
Regards,
Ren
From: HIRD Matthew
[mailto:matthew.h...@uk.thalesgroup.com]<mailto:[mailto:matthew.h...@uk.thalesgroup.com]>
Sent: Tuesday, October 23, 2012 5:45 AM
To: Wang, Ren; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
Ren
How many SLP daemons are running in your system? Do you actually have an SA
running?
cheers
Matt
From: Wang, Ren
[mailto:ren.w...@nuance.com]<mailto:[mailto:ren.w...@nuance.com]>
Sent: 22 October 2012 11:53
To: HIRD Matthew; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
Hi Matt,
Please see my answers bellow:
when your app runs, does it register and then exit or does it stay running?
It stays running.
do you have the watchPID functionality switched on?
No, it is off
Is the app registering with an SA or with a DA directly?
I have a DA IP address specified, e.g: net.slp.DAAddresses = 10.16.19.20
But, net.slp.DASyncReg is set to false, not sure if it is the issue
Are the SA and the DA using the same scope? Are they just using DEFAULT?
I didn't provide any scope in the conf file, I believe they using the default
scope.
Regards,
Ren
From: HIRD Matthew
[mailto:matthew.h...@uk.thalesgroup.com]<mailto:[mailto:matthew.h...@uk.thalesgroup.com]>
Sent: Monday, October 22, 2012 6:46 AM
To: Wang, Ren; Nick Wagner
Cc:
openslp-users@lists.sourceforge.net<mailto:openslp-users@lists.sourceforge.net>
Subject: RE: [Openslp-users] DA deployment
Ren
when your app runs, does it register and then exit or does it stay running? do
you have the watchPID functionality switched on?
Is the app registering with an SA or with a DA directly?
Are the SA and the DA using the same scope? Are they just using DEFAULT?
cheers
Matt
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users