16.7 Setting Up SLP on NetWare

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

16.7.1 Installing the NetWare SLP Directory Agent

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

  1. At the server console, entre 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 set up 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.

16.7.2 Setting Up the NetWare Directory Agent Manually

To configure SLP using ConsoleOne:

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

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

  3. Enter the Directory Agent object name, click Define Additional Properties, then click Create.

  4. Select a host server, then select the container where you want the Scope Units stored.

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

  6. Type the name for the SLP Scope Unit.

  7. Double-click the SLP Directory Agent object.

  8. Click the SLP Scope Units page, then click Add.

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

16.7.3 NetWare SLP Directory Agent Console Commands

Table 16-21 SLP Commands

Command

Description

SLP OPEN filename.log

Creates the SLP trace file in the root of volume sys:.

SLP CLOSE

Closes the SLP trace file.

DISPLAY SLP SERVICES

Common Novell SLP service types include the following:

  • DISPLAY SLP SERVICES Common Novell SLP service types include the following:

  • BINDERY.NOVELL (NetWare servers)

  • CMD.NOVELL (Compatibility mode server/relay agents)

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

  • MGW.NOVELL (Compatibility mode gateway/migration agents)

  • NDAP.NOVELL (NDS)

  • RCONSOLE.NOVELL (Java RCONSOLE)

  • RMS.NOVELL (Resource Management Service of NDPS)

  • SRS.NOVELL (NDPS broker)

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

 

SLP restrictions are as follows:

slp_attribute==value

Other operators available are <=, and >=.

 

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 MBW.NOVELL//(CMD NETWORK==ABC12345)/ (Displays all the Migration Agents servicing the CMD network number ABC12345)

  • 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 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.

Command SET SLP DA Discovery Options = value

  • Description 0x01 = Use multicast DA advertisements
  • 0x02 = Use DHCP discovery
  • 0x03
  • 0x04 = Use static file sys:etc\slp.cfg
  • 0x05
  • 0x06
  • 0x07
  • 0x08 = Scopes Required
  • Value = 0 to 8
  • Default = 3

SET SLP TCP = value

This sets SLP to use TCP packets instead of UDP packets when possible.

  • Value = ON|OFF
  • Default = OFF

SET SLP DEBUG = value

  • 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.

  • Value = 0 to 4294967255
  • Default = 0

SET SLP Multicast Radius = value

Specifies an integer describing the multicast radius.

  • Value = 0 to 32
  • Default = 32

SET SLP Broadcast = value

Sets the use of broadcast packets instead of multicast packets.

  • Value = ON/OFF
  • Default = OFF

SET SLP MTU size= value

Specifies an integer describing the maximum transfer unit size.

  • Value = 0 to 4294967255
  • Default = 1472

SET SLP Rediscover Inactive Directory Agents = value

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

  • Value = 0 to 4294967255
  • Default = 60

SET SLP Retry Count = value

Specifies an integer value describing the maximum number of retries.

  • Value = 0 to 128
  • Default = 3

SET SLP Scope List = value

Specifies a comma-delimited scope policy list.

  • Value = 1023 maximum
  • Default = 1023

SET SLP SA Default Lifetime = value

Specifies an integer value describing the default lifetime in seconds of service registers.

  • Value = 0 to 4294967255
  • Default = 900

SET SLP Event Timeout = value

Specifies an integer value describing how long (in seconds) to wait before timing out multicast packet requests.

  • Value = 0 to 4294967255
  • Default = 53

SET SLP DA Heart Beat Time = value

Specifies an integer value describing how long (in seconds) to wait before sending the next Directory Agent heartbeat packet.

  • Value = 0 to 4294967255
  • Default = 10800

SET SLP Close Idle TCP Connections Time = value

Specifies an integer value describing how long (in seconds) to wait before terminating idle TCP connections.

  • Value = 0 to 4294967255
  • Default = 300

SET SLP DA Event Timeout = value

Specifies an integer value describing how long (in seconds) to wait before timing out Directory Agent packet requests.

  • Value = 0 to 429
  • Default = 5

SET SLP Maximum WTD = value

Specifies the maximum number of work-to-do threads that SLP can allocate.

  • Value = 1 to 64
  • Default = 10

SET SLP Reset = value

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

Value = ON|OFF

SET SLP Debug = value

  • 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.

  • Value = 0 to 65535
  • Default = 88