This should be to do with MultiCasting.
1. SLP by default does multicasting
2. Firstly your network router should be enabled to route multicast packets
and secondly your host where the SLP service daemon is running should be
configured for multicasting.
3. To check if your system is configured for multicasting execute the
command 'netstat -nr'. This should show multicast address 224.0.0.0. If not
execute the below command to add multicast routes -
'route add -net 224.0.0.0 netmask 240.0.0.0 dev <interface>'
The interface would be the name of the network interface, for e.g. eth0. You
can get by executing the command 'ifconfig'
4. Now try the same command after restarting the SLP daemon
The command "slptool -s 'EXAMPLE-SLP' unicastfindsrvtypes 10.2.9.3" worked
because you are unicasting; directly contacting the server asking for the
info.
Regards
-KPRajesh
On Tue, May 10, 2011 at 6:51 PM, Benjamin Blewett <bblew...@kvcc.edu> wrote:
> hi-
>
> i'm doing a bit of testing with a newly installed server, which is intended
> to become part of an edirectory environment, and am seeing some behavior
> that i don't understand when testing with slptool. i've configured this
> server as a directory agent, and it appears to successfully collect various
> data from other servers about available services, but slptool does not
> return services unless i explicitly point it to a particular server.
>
> version information:
> >cat /etc/SuSE-release
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 1
>
> >rpm -qa | grep -i slp
> openslp-1.2.0-172.18.1
> openslp-server-1.2.0-172.18.1
>
> config info:
> >egrep -v '(^[[:space:]]*#|^[[:space:]]*;|^[[:space:]]*$)' /etc/slp.conf
> net.slp.useScopes = EXAMPLE-SLP
> net.slp.DAAddresses = 10.2.1.2, 10.2.9.3, 10.2.5.2, 10.46.40.1
> net.slp.isDA = true
> net.slp.DASyncReg = true
> net.slp.traceDATraffic = true
> net.slp.traceReg = true
> net.slp.traceDrop = true
> net.slp.traceMsg = true
>
> when starting openslp, i see [in the log file] what appears to be
> communication with other hosts [directory agents and others]:
>
> some log snippits:
>
> Tue May 10 12:49:31 2011
> DATABASE - Registration:
> SA address = pulled from peer DA (10.2.9.3)
> service-url = service:nwserver.novell:///SERVER
> scope = EXAMPLE-SLP
> attributes =
> (SCOPE=example-slp),(nw_name=SERVER),(slp_version=v2.13.0),(bindery=TRUE),(ip_addr=10.2.9.3),(da=10.2.5.2),(nds_context=.SERVER.LOC.EXAMPLE.GORP.)
>
> Tue May 10 12:49:31 2011
> DATABASE - Registration:
> SA address = pulled from peer DA (10.2.9.3)
> service-url = service:ndap.novell:///GORP.
> scope = EXAMPLE-SLP
> attributes =
> (SCOPE=example-slp),(svcname-ws=GORP.),(svcaddr-ws=2-1-6-0A2E2801020C0000000000000000,2-2-17-0A2E2801020C0000000000000000,2-1-6-0A020102020C0000000000000000,2-2-17-0A020102020C0000000000000000,2-1-6-0A020903020C0000000000000000,2-2-17-0A020903020C0000000000000000),(svcid-ws=1E34FD4D-47D2-4B1D-8991-B49C6D3380A8),(version-ws=1055373-0),(nds
> version=1055373),(enabled-ws=TRUE)
>
> Tue May 10 12:49:31 2011
> MESSAGE - Trace message (IN)
> Peer:
> IP address: 10.2.5.2
> Header:
> version = 2
> functionid = 8
> length = 73
> flags = 0
> extoffset = 0
> xid = 3638
> langtag = en
> Message DAADVERT:
> scope = EXAMPLE-SLP
> url = service:directory-agent://10.2.5.2
> attributes =
>
> Tue May 10 12:49:31 2011
> KNOWNDA - Addition:
> DA address = 10.2.5.2
> directory-agent-url = service:directory-agent://10.2.5.2
> bootstamp = 4d00344f
> scope = EXAMPLE-SLP
> attributes =
>
> running slptool on the new server doesn't return what i was expecting:
>
> >slptool -s 'EXAMPLE-SLP' findsrvs service:ndap.novell
> >
>
> but when pointing directory to a particular host, it does return data:
>
> >slptool -s 'EXAMPLE-SLP' unicastfindsrvtypes 10.2.5.2
> nlsmeter.novell
> nwserver.novell
> portal.novell
> rconsole.novell
> securerconsole.novell
> smdr.novell
> ndap.novell
> bindery.novell
> >
>
> >slptool -s 'EXAMPLE-SLP' unicastfindsrvtypes 10.2.9.3
> bindery.novell
> ndap.novell
> portal.novell
> smdr.novell
> securerconsole.novell
> rconsole.novell
> nwserver.novell
> nlsmeter.novell
> >
>
> what am i doing wrong? are my expectations off?
>
> thanks
> -ben
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Openslp-users mailing list
> Openslp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-users
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users