Previous Topic: dpmccm addremediationjob Command--Add a CA Configuration Automation Remediation Job

Next Topic: dpmccm createsnapshot Command--Create a Snapshot


dpmccm compare Command--Compare Systems

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]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-host_name source host name

Defines the name of the source server in the operation.

-host_name2 targethostname

Defines the target server in the operation.

-snapshotID snapshotID

Defines the standard snapshot ID for the source server that is used in the comparison.

-include {0|1}

(Optional) Indicates whether to include all differences in the comparison results (1) or only the component differences (0).

Default: 0

-ws_user username -ws_password password

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

-locale iso639value

(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