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 sldregThe file cluster-sld.conf will be generated in the directory $MZ_HOME/sap-sldreg/.
Using Directory Arguments
$ mzsh sldreg mydirectory/1.conf mydirectory/2.confThe 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:
Code | Description |
|---|---|
0 | Will be returned if the command is successful. |
1 | Will be returned if writing the temporary topology file fails. |
2 | Will be returned if converting to the sld topology file fails. |
7 | Will be returned if the the command is not executed on the machine where the Platform is running. |