System Administration Guide: Resource Management and Network Services

How to Enable SLP Proxy Registration

  1. Create a proxy registration file on the host file system or in any network directory that is accessible by HTTP.

  2. Determine if a service type template exists for the service.

    The template is a description of the service URL and attributes of a service type. A template is used to define the components of an advertisement for a particular service type:

    • If a service type template exists, use the template to construct the proxy registration. See RFC 2609 for more information on service-type templates.

    • If a service type template is not available for the service, select a collection of attributes that precisely describe the service. Use a naming authority other than the default for the advertisement. The default naming authority is allowed only for service types that have been standardized. See RFC 2609 for more information on naming authorities.

      For example, suppose a company that is called BizApp has a local database that is used to track software defects. To advertise the database, the company might use a URL with the service type service:bugdb.bizapp. The naming authority would then be bizapp.

  3. Follow the next steps to configure the net.slp.serializedRegURL property in the /etc/inet/slp.conf file with the location of the registration file that was created in the previous steps.

  4. Become superuser.

  5. Stop slpd and all SLP activity on the host.


    # /etc/init.d/slpd stop
    
  6. Back up the default /etc/inet/slp.conf file before you change the configuration settings.

  7. Specify the location of the proxy registration file in the net.slp.serializedRegURL property of the /etc/inet/slp.conf file.


    net.slp.net.slp.serializedRegURL=proxy registration file URL
    

    For example, if the serialized registration file is /net/inet/slp.reg, you configure the property as shown in the following:


    net.slp.serializedRegURL=file:/etc/inet/slp.reg

  8. Save your changes and close the file.

  9. Restart slpd to activate your changes.


    # /etc/init.d/slpd start