Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Configuration Commands | sagcc get configuration compare
 
sagcc get configuration compare
Compares the instances of a specified configuration type on two or more run-time components.
Syntax
*Command Central syntax:
sagcc get configuration compare configurationTypeId=typeid               
runtimeComponentInfoId=id1 runtimeComponentInfoId=id2              
[runtimeComponentInfoId=id3 ... runtimeComponentInfoId=idn] [options]
             
 options:               
[{--accept | -a} content_type]               
[{--debug | -d}]               
[{--error | -r} file]               
[{--format | -f} {tsv args | xml | csv args | json}]               
[{--log | -l} file]               
[{--output | -o} file]               
[{--password | -p} password]               
[{--quiet | -q}]               
[{--server | -s} url]]               
[{--username | -u} user_name]
*Not supported by Platform Manager
Arguments and Options
Argument or Option
Description
configurationTypeId=typeid
Required. Specifies the configuration type to compare.
You can determine the IDs for configuration types using sagcc list configuration types.
runtimeComponentInfoId=id1 runtimeComponentInfoId=id2 [runtimeComponentInfoId=id3 ... runtimeComponentInfoId=idn]
Required. Specifies the information IDs of two or more run-time components that you want to compare.
The information ID is a combination of the alias name of the installation and the run-time component ID. For example, if the alias name of the installation is “sag1” and the run-time component ID is “OSGI-SPM”, the information ID is “sag1-OSGI-SPM”. You can view a list of installations and their alias names using sagcc list landscape nodes. You can determine the IDs for run-time components using sagcc list inventory components.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*The command returns the results of the comparison.
Example When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to compare the instances of the configuration type with ID “COMMON-PORTS” that are configured on the run-time component that have the information IDs “sag1-OSGI-SPM1” and “sag-OSGI-SPM2”, using the authorization of the user with user name “Administrator” and password “manage”, and have the information displayed on the console in XML format:
sagcc get configuration compare configurationTypeId=COMMON-PORTS              
runtimeComponentInfoId=sag1-OSGI-SPM1 runtimeComponentInfoId=sag1-OSGI-SPM2            
--format xml --server http://rubicon:8090/cce --username Administrator            
--password manage