I noticed a quirk last night which I reproduced today more fully while
working on adding a service lifetime option to the slptool command.
Specifically if I register something with slptool on a machine that is
a DA then that registration will stick with a lifetime of 65535
forever as it should (per the RFC).  What is interesting is what
happens on a remote DA specified with the DAAddresses command.  My
slp.conf has one isDA=true (for this local machine) but only has
DAAddresses pointing to the remote box.  Both machines, correctly or
incorrectly (another, unrelated I believe, issue), get the service
registration but the remote DA starts counting down as if 65535 were
not some special value.  The local DA does not count down but keeps
the registration forever.  If I change the systems so that the remote
box is now the local box and point them in an opposite way the same
thing happens in reverse: the remote DA (remote from the SA) counts
down though the local DA does not.

Register:
slptool register service:ab16serv.z://dns.is.here '(attr0=val0)'

Check machines:
slptool unicastfindsrvs ipAddrGoesHere service:ab16serv.z

Changing the IP address in the check above between the local and
remote systems will show the difference.  I believe this is a bug and
will enter it if somebody can confirm it for me.  I am using the
OpenSLP 1.2.x version that ships with Novell Open Enterprise Server
(OES) 2 SP2 (latest patches as of today).

I'm also interested to see what others think about isDA being set to
true even though it is not in the list of DAAddresses and then both
the local DA and the DA in the DAAddresses setting getting
registrations.  Since the DA and SA both seem to be within the slpd
process I'm not too surprised by this functionality but the following
link seems to imply (if not state outright) that only the configured
DAAddresses values should be used if that is set, which rules out the
local DA:

http://www.openslp.org/doc/html/UsersGuide/SlpConf.html

Thanks,
Aaron

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel

Reply via email to