Re: [Openslp-users] DA deployment
Brought to you by:
jcalcote
From: Wang, R. <Ren...@nu...> - 2012-10-20 20:13:18
|
I guess my question should be if SA received DAAdvert message, is there a way to register a callback function to the DAAdvert event so that SA can know the DA is there and register the service to it? The way as you described "It is the responsibility of the SA to find DA's and keep registering with them" - is it also done by the slpd "automatically"? We have a test as following: 1) an application calls OpenSLP SLPReg when it started, the application is a service agent points to a static DA IP address 2) run slptool findsrvs service:TESTAPP, it shows the application registered with the URL 3) shut done the DA 4) restart the DA 5) run slptool findsrvs service:TESTAPP again, no service found Based on the test case, "It is the responsibility of the SA to find DA's and keep registering with them", which the application needs to know the DA is up again and re-register it again. And it is not handled by slpd automatically. Is this the correct? Regards, Ren From: nwa...@gm... [mailto:nwa...@gm...] On Behalf Of Nick Wagner Sent: Saturday, October 20, 2012 1:05 PM To: Wang, Ren Cc: ope...@li... Subject: Re: [Openslp-users] DA deployment The library and slpd service handle all of that for you. There is no need to subscribe directly. On Sat, Oct 20, 2012 at 8:20 AM, Wang, Ren <Ren...@nu...<mailto:Ren...@nu...>> wrote: Thank you so much Nick for your answers, very helpful! Is there a API to let SA to listen to the DAAdvert message? I guess SA must already do it now in OpenSLP, but I can't find a API to subscribe the DAAdvert message. Ren From: nwa...@gm...<mailto:nwa...@gm...> [mailto:nwa...@gm...<mailto:nwa...@gm...>] On Behalf Of Nick Wagner Sent: Friday, October 19, 2012 11:06 AM To: Wang, Ren Cc: ope...@li...<mailto:ope...@li...> Subject: Re: [Openslp-users] DA deployment It is the responsibility of the SA to find DA's and keep registering with them. The registrations have an explicit timeout, and if the SA doesn't re-register, the DA assumes they are gone. For more information of this general sort, RFC 2608 can give a lot of useful information. http://www.ietf.org/rfc/rfc2608.txt Of course we'd be happy to answer any subsequent questions. --Nick On Fri, Oct 19, 2012 at 9:20 AM, Wang, Ren <Ren...@nu...<mailto:Ren...@nu...>> wrote: If we have two DAs with the same scope deployed, does the SA registration will populated to both DAs? If a DA restarted, does SA need to re-register the service to it? Or it will be populated automatically with the information from other DA? Regards, Ren ------------------------------------------------------------------------------ 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 Ope...@li...<mailto:Ope...@li...> https://lists.sourceforge.net/lists/listinfo/openslp-users |