Setting Up SLP on NetWare

This section explains how to set up SLP on a NetWare Server.


Installing the NetWare SLP Directory Agent

The software to implement SLP on NetWare is installed on the server during the server installation.

To set up SLP:

  1. At the server console, type LOAD SLPDA.

    The program searches eDirectory for a SLP Directory Agent. If an agent does not exist, the program reports that a SLP Directory Agent has not been configured.

  2. Press Enter to setup a default configuration.

    The schema is extended and a Directory Agent object with the name server_name_SLPDA and a Scope Unit named SLP_SCOPE are created and linked. This is recommended unless you want to create the SLP objects in eDirectory yourself.

    Use ConsoleOne to adjust settings for the Directory Agent object.


Setting Up the NetWare Directory Agent Manually

To configure SLP using ConsoleOne:

  1. Start ConsoleOne.

  2. Select the container where you want the SLPDA to reside.

  3. Click Object > Create > SLP Directory Agent > OK.

  4. Type the Directory Agent object name > click Define Additional Properties > click Create.

  5. Select a host server.

  6. Select the container where you want the Scope Units stored.

  7. Click Object > Create > SLP Scope Unit > OK.

  8. Type the name for the SLP Scope Unit.

  9. Double-click the SLP Directory Agent object.

  10. Click the SLP Scope Units page > Add.

  11. Select the scope units serviced by this Directory Agent.


NetWare SLP Directory Agent Console Commands

Table 134 lists the SLP commands:


Table 134. SLP Commands

SLP OPEN filename.log

The SLP trace file is created in the root of the volume SYS:.

SLP CLOSE

This command closes the SLP trace file.

DISPLAY SLP SERVICES

Common Novell SLP service types include the following:

MGW.NOVELL (Compatibility mode gateway/migration agents)

CMD.NOVELL (Compatibility mode server/relay agents)

NDAP.NOVELL (NDS)

BINDERY.NOVELL (NetWare servers)

SAPSRV.NOVELL (NetWare 5 or later servers with IPX CMD loaded)

RMS.NOVELL (Resource Management Service of NDPS)

RCONSOLE.NOVELL (Java* RCONSOLE)

SRS.NOVELL (NDPS broker)

DIRECTORY-AGENT (sends an SLP multicast packet to rediscover the DA on the network)

 

SLP restrictions are as follows:

slp_attribute==value

Other operators available are <=, >=

 

Examples of using the Display SLP Services command include the following:

DISPLAY SLP SERVICES (Displays all known SLP services)


DISPLAY SLP SERVICES BINDERY.NOVELL (Displays all bindery.novell services)


DISPLAY SLP SERVICES BINDERY.NOVELL//(SVCNAME-WS==ABC*)/ (Displays bindery.novell services with names that begin with abc)


DISPLAY SLP SERVICES BINDERY.NOVELL/PROVO/(SVCNAME-WS==ABC*)/ (Displays bindery.novell services with names that begin with abc in scope provo)


DISPLAY SLP SERVICES MBW.NOVELL//(CMD NETWORK==ABC12345)/
(Displays all the Migration Agents servicing the CMD network number ABC12345)

DISPLAY SLP ATTRIBUTES (SLP_URL)

The following is an example of using the Display SLP attributes command:

DISPLAY SLP ATTRIBUTES SERVICE:BINDERY.NOVELL:///SERVER1 (Displays all SLP attributes and values for the SERVER1 bindery.novell object)

DISPLAY SLP DA

Displays the list of SLP Directory Agents and their current status


NetWare SLP Directory Agent SET Commands


Table 135. SLP Directory Agent SET Commands

SET SLP DA Discovery Options = value

where value = 0 to 8 (Default = 3)


0x01 = Use multicast DA advertisements


0x02 = Use DHCP discovery


0x04 = Use static file SYS:ETC\SLP.CFG


0x08 = Scopes Required

SET SLP TCP = value

where value = ON/OFF (Default = OFF)
This sets SLP to use TCP packets instead of UDP packets when possible.

SET SLP DEBUG = value

where value = 0 to 4294967255 (Default = 0)


0x01 = COMM


0x02 = TRAN


0x04 = API


0x08 = DA


0x010 = ERR


0x020 = SA


These bits can be combined with AND or OR statements for multiple values. An example of COMM and API would be 0x05.

SET SLP Multicast Radius = value

where value = 0 to 32 (Default = 32)

This parameter specifies an integer describing the multicast radius.

SET SLP Broadcast = value

where value = ON/OFF (Default = OFF)

This parameter sets the use of broadcast packets instead of multicast packets.

SET SLP MTU size= value

where value = 0 to 4294967255 (Default = 1472)

This parameter specifies an integer describing the maximum transfer unit size.

SET SLP Rediscover Inactive Directory Agents = value

where value = 0 to 4294967255 (Default = 60)

This parameter specifies the minimum time period in seconds that SLP will wait to issue service requests to rediscover inactive directory agents.

SET SLP Retry Count = value

where value = 0 to 128 (Default = 3)

This parameter specifies an integer value describing the maximum number of retries.

SET SLP Scope List = value

where the maximum length of value is 1023 (Default = 1023)

This parameter specifies a comma-delimited scope policy list.

SET SLP SA Default Lifetime = value

where value = 0 to 4294967255 (Default = 900)

This parameter specifies an integer value describing the default lifetime in seconds of service registers.

SET SLP Event Timeout = value

where value = 0 to 4294967255 (Default = 53)

This parameter specifies an integer value describing the number of seconds to wait before timing out multicast packet requests.

SET SLP DA Heart Beat Time = value

where value = 0 to 4294967255 (Default = 10800)

This parameter specifies an integer value describing the number of seconds before sending the next Directory Agent heartbeat packet.

SET SLP Close Idle TCP Connections Time = value

where value = 0 to 4294967255 (Default = 300)

This parameter specifies an integer value describing the number of seconds before idle TCP connections are terminated.

SET SLP DA Event Timeout = value

where value = 0 to 429 (Default = 5)

This parameter specifies an integer value describing the number of seconds to wait before timing out Directory Agent packet requests.

SET SLP Maximum WTD = value

where value = 1 to 64 (Default = 10)

This parameter specifies the maximum number of work-to-do threads that SLP can allocate.

SET SLP Reset = value

where value = ON/OFF

(Resets to OFF each time it is set to ON)
This parameter forces the SA to send new service registers and forces the SA to send DA Advertise packets.

SET SLP Debug = value

where value = 0 to 65535 (Default = 88)

0x01 = COMM

0x02 = TRAN

0x04 = API

0x08 = SA_DA

0x010 = ERR

0x020 = SA

0x040 = UA_DA

These bits can be combined with AND or OR statements for multiple values. An example of COMM and API would be 0x05.



Previous | Next