Re: [Openslp-users] DA deployment
Brought to you by:
jcalcote
From: HIRD M. <Mat...@uk...> - 2012-10-23 09:45:22
|
Ren How many SLP daemons are running in your system? Do you actually have an SA running? cheers Matt From: Wang, Ren [mailto:Ren...@nu...] Sent: 22 October 2012 11:53 To: HIRD Matthew; Nick Wagner Cc: ope...@li... 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:Mat...@uk...] Sent: Monday, October 22, 2012 6:46 AM To: Wang, Ren; Nick Wagner Cc: ope...@li... 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 From: Wang, Ren [mailto:Ren...@nu...]<mailto:[mailto:Ren...@nu...]> Sent: 20 October 2012 21:13 To: Nick Wagner Cc: ope...@li...<mailto:ope...@li...> Subject: Re: [Openslp-users] DA deployment 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...> [mailto:nwa...@gm...]<mailto:[mailto:nwa...@gm...]> On Behalf Of Nick Wagner Sent: Saturday, October 20, 2012 1:05 PM To: Wang, Ren Cc: ope...@li...<mailto: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 |