Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

usage: sldreg [topologyFilePath] [outputFilePath]

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

It is optional to enter the sld.conf file as an argument, but if you do not enter the sld.conf file, it is assumed that the relevant file is the default, namely MZ_HOME/etc/sld.conf. If you want to use another directory and another filename, you have the option to enter one or two different directories/file names.

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/.

The sld.conf file provides the static information for the output generated.

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.



  • No labels