Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Network Services
Previous Next

Configuring SLP Properties

SLP configuration properties control network interactions, SLP agent characteristics, status, and logging. In most situations, the default configuration of these properties requires no modification. However, you can use the procedures in this chapter when the network medium or topology changes and to achieve the following goals:

  • Compensate for network latencies

  • Reduce congestion on the network

  • Add agents or reassign IP addresses

  • Activate SLP logging

You can edit the SLP configuration file, /etc/inet/slp.conf, to perform operations such as those shown in the following table.

Table 9-1 SLP Configuration Operations

Operation

Description

Specify whether slpd should act as a DA server. SA server is the default.

Set the net.slpisDA property to True.

Set timing for DA multicast messages.

Set the net.slp.DAHeartBeat property to control how often a DA multicasts an unsolicited DA advertisement.

Enable DA logging to monitor network traffic.

Set the net.slp.traceDATraffic property to True.

SLP Configuration File: Basic Elements

The /etc/inet/slp.conf file defines and activates all SLP activity each time you restart the SLP daemon. The configuration file consists of the following elements:

  • Configuration properties

  • Comment lines and notations

Configuration Properties

All of the basic SLP properties, such as net.slp.isDA and net.slp.DAHeartBeat, are named in the following format.

net.slp.<keyword>

SLP behavior is defined by the value of a property or a combination of properties in the slp.conf file. Properties are structured as key-value pairs in the SLP configuration file. As shown in the following example, a key-value pair consists of a property name and an associated setting.

<property name>=<value>

The key for each property is the property name. The value sets the numeric (distance or time), true/false state, or string value parameters for the property. Property values consist of one of the following data types:

  • True/False setting (Boolean)

  • Integers

  • List of integers

  • Strings

  • List of strings

If the value defined is not allowed, the default value for that property name is used. In addition, an error message is logged using syslog.

Comment Lines and Notations

You can add comments to the slp.conf file that describe the nature and function of the line. Comment lines are optional in the file, but can be useful for administration.


Note - Settings in the configuration file are case insensitive. For more information, refer to: Guttman, Erik, James Kempf, and Charles Perkins, “Service Templates and service: scheme,” RFC 2609 from the Internet Engineering Task Force (IETF). [https://www.ietf.org/rfc/rfc2609.txt]


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). [https://www.ietf.org/rfc/rfc2614.txt]

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

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

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire