Sun Update Connection - Enterprise 1.0 User's Guide

Submit Compare Job (-scj) Command

The submit-compare-job command compares the installed software of two hosts, or the snapshots of two hosts, and then changes the inventory of the target host to duplicate the inventory of the source host. The result of this command is application provisioning to the target host.

If the hosts are Solaris machines, you can compare either Software or Patches in one compare job.

Parameter

  • -h hostname Specify the name of the source host.

  • -s snapshot-name Specify the name of the source snapshot.

  • -t hostname Specify the name of the target host.

  • -j jobname Specify the name of the job.

  • -C policy Specify the name of the policy.

Flag

  • -sm Run the job in simulation mode. This is the default mode.

  • -dp Run the job in deploy mode. If you want the job to actually make changes on the target host, you must use this flag.

Syntax

uce_cli -scj -h source-hostname [ -s source-snapshot ] -t target-hostname -j "jobname" -C "policy" [ -sm | -dp ] -u username -p password

Example

uce_cli -scj -h lnxsrvr13 -t lnxsrvr29 -j Make29Like13 -C autoSW -dp -u admin -p 123

To get a valid value for -h and -t, use the -lah command. To get a valid value for -s, use the -lss command. To get a valid value for -j, use the -ljs command. To get a valid value for -C, use the -lc command.