Go to main content

Managing Service Location Protocol Services in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017
 
 

How to Change Your SLP Configuration

Use this procedure to change the property settings in your SLP configuration file. SLP–enabled client or service software also can alter the SLP configuration by using the SLP API. This API is documented in “An API for Service Location,” RFC 2614, from the Internet Engineering Task Force (IETF).

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Stop slpd and all SLP activity on the host.
    # svcadm disable network/slp
  3. Back up the default /etc/inet/slp.conf file before you change the configuration settings.
  4. Edit the property settings in the /etc/inet/slp.conf file as necessary.

    Refer to Configuration Properties for general information about the SLP property settings. See the sections that follow this procedure for examples of different scenarios in which you might change the slp.conf properties. See slp.conf(4).

  5. Save your changes and close the file.
  6. Restart slpd to activate your changes.
    # svcadm enable network/slp

    Note - The SLP daemon obtains information from the configuration file when you stop or start slpd.
Example 1  Setting up slpd to Operate as a DA Server

You can change the SA server default to enable slpd to operate as a DA server by setting the net.slp.isDA property to True in the slpd.conf file.

net.slp.isDA=True

In each area, various properties control different aspects of the configuration. The following sections describe different scenarios in which you might change the default property settings that are used in SLP configuration.