Service Location Protocol Administration Guide

Modifying DA Advertising and Discovery Timing

For certain combinations of network media and the overall network topology, you might need to modify the timing of passive DA advertisements and periodic active discovery requests. This section provides these examples:

Configuring the DA Heartbeat for Frequent Partitions

SAs are required to register with all DAs that support their scopes. A DA can appear after slpd has performed active discovery. If the DA supports slpd scopes, then slpd registers all advertisements on its host with the DA, in order for the set of service advertisements in the scopes to be consistent.

One way slpd discovers DAs is by the initial unsolicited advertisement a DA sends out when it boots. slpd uses the periodic unsolicited advertisement (the heartbeat) to determine whether a DA is still active, and removes the DAs it uses and offers to UAs if a heartbeat fails to appear.

Finally, when a DA undergoes a controlled shutdown, it transmits a special DA advertisement that informs listening SA services that it will be out of service. slpd also uses this advertisement to remove inactive DAs from the cache.

If your network is subject to frequent partitions and SAs are long-lived, slpd can remove DAs from its cache during the partitions if heartbeat advertisements are not received. By decreasing the heartbeat time, you can decrease the delay before a deactivated DA is restored to the cache after the partition is repaired.

The net.slp.DAHeartBeat property controls how often a DA multicasts an unsolicited DA advertisement. By default, the DA heartbeat period is set to 3 hours (10800 seconds). The following entry decreases the DA heartbeat value to one hour:


net.slp.DAHeartBeat=3600

Configuring DA Discovery for Dial-up Networks

If the UAs or SAs are separated from the DA by a dial-up network, you can configure DA discovery to reduce or eliminate the number of discovery requests and DA advertisements. Dial-up networks usually incur a charge when they are activated, so minimizing extraneous calls can reduce the cost of using the dial-up network.

You can disable DA discovery completely using the method described in "Limiting UAs and SAs to Statically Configured DAs". If DA discovery is completely disabled, the net.slp.DAAddresses property must be set in slp.conf on the hosts executing UAs and SAs so that they access the correct DA.

You can reduce unsolicited DA advertisements and active discovery by increasing the DA heartbeat period and the active discovery period. In the following example, both the active discovery interval and the DA heartbeat are set to about 18 hours. The first line shows the setting for the host executing the DA:


net.slp.DAHeartBeat=65535

On the hosts executing the UAs and SAs, the active discovery interval is configured as:


net.slp.DAActiveDiscoveryInterval=65535

Both property values are measured in seconds.