The dpmccm compare command compares the current snapshot of a target system with the standard snapshot of another system.
This command has the following format:
dpmccm compare [-sc sc_url] -host_name source host name -host_name2 hostname2 -snapshotID snapshotID [-include {0|1}] [-ws_user username -ws_password password][-locale iso639value] [-as_job]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the name of the source server in the operation.
Defines the target server in the operation.
Defines the standard snapshot ID for the source server that is used in the comparison.
(Optional) Indicates whether to include all differences in the comparison results (1) or only the component differences (0).
Default: 0
(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Compare Systems
This example compares the current snapshot of sourceserver, to the standard snapshot on targetserver, and lists all differences found.
dpmccm compare -sc https://localhost/dpm/sc -host_name SourceServerA -host_name2 TargetServerB -snapshotID 1005651 -include 0
Copyright © 2013 CA. All rights reserved. |
|