Show TOC

Connecting Other SAP Systems to the SLDLocate this document in the navigation structure

Use

The sldreg executable is used to transfer data to the SLD for a system that is neither AS ABAP nor AS Java based. When triggered by other SAP systems, the sldreg sends data in an XML format using a predefined document type definition (DTD). It uses an HTTP connection, as shown in the figure below.

For example, Search and Classification (TREX) and SAPOSCOL generate such an XML and trigger the transfer of data to SLD via sldreg .

The sldreg executable and the required libraries, which are linked dynamically, are installed with your AS ABAP or AS Java based system.

Prerequisites
  • The SLD server is running.

  • You have a user assigned to the DataSupplierLD role. The user must be specific for this computer and must not be used on another computer.

  • You have logged on to the operating system as a <sid>adm user.

Procedure

From the command line, change the directory to /usr/sap/< SAP SID>/SYS /global .

Configuring sldreg

  1. To check the path to the program, enter sldreg.

  2. Press Enter . The sldreg command line parameters are printed.

  3. Enter sldreg -configure slddest.cfg -usekeyfile

  4. You are prompted to enter HTTP user, password, host, and port information.

    The program creates the slddest.cfg and slddest.cfg.key files.

    Note

    Make sure that users other than <sapsid>adm do not have read and write permissions for the slddest.cfg.key file.

    Using this global directory, all generic data suppliers of the current SAP NetWeaver system can send data to the same SLD with one central configuration.

Transferring Data to SLD

Test your configuration by sending detailed data about your computer to SLD:

  1. Enter saposcol -b .

    A short XML document is printed.

  2. Enter saposcol -b | sldreg -connectfile slddest.cfg -stdin -oldtransferdtd

    Note

    The oldtransferdtdoption is required for compatibility reasons in release 7.0 of sldreg and is specific for SAPOSCOL only.

    Note

    saposcol always delivers data with the physical host name of the system. It does not consider virtual host names.

The program output is as follows:

HTTP response: Success. HTTP status code: 200

End SLD Registration

Data send status: true

You can see your computer as an SAP_ComputerSystem instance in SLD. In addition, details such as the sizes of the physical and virtual memory are reported.