2.2.24 sldreg

usage: sldreg [topologyFilePath] [outputFilePath]

This command allows you to generate the SLD (System Landscape Directory) configuration data for registration in the SAP Solution Manager.

Example - sldreg

Using No Arguments

$ mzsh sldreg

The file cluster-sld.conf will be generated in the directory $MZ_HOME/sap-sldreg/.

Using Directory Arguments

$ mzsh sldreg mydirectory/1.conf mydirectory/2.conf

The files 1.conf and 2.conf will be generated in the directory $MZ_HOME/mydirectory/.

You must run this command from the machine where the Platform is running.

Return Codes

The different return codes for the sldreg command are listed below:

CodeDescription
0Will be returned if the command is successful.
1

Will be returned if platform is not running

2

Will be returned if writing the temporary topology file fails.

Will be returned if converting to the sld topology file fails.

7

Will be returned if the command is not executed on the machine where the platform is running or if the topologyFilePath is given and does not exist.