Using the Compare Registries Utility from a Command Line

Command Line Options

Command:

Description:

Example:

 

 

 

cmdhelp, chelp

Displays a list of commands specific to this

>cmdhelp

 

utility.

 

 

Note: Using Help or ? also displays this list, but

 

 

includes several additional ICM commands (e.g.,

 

 

echo, error_stop) not used by this utility.

 

 

 

 

/?

Displays syntax for a specified command.

><command> /?

 

 

 

appserver

Specifies the system on which the utility should

><app_servername>

 

run. If not specified, the utility is run on the local

/<options>

 

system.

 

 

 

 

system

Specifies the target system the utility should run

> /system <host_name>

 

against. If not specified, the utility is run against

/<options>

 

the local system.

 

 

 

 

localhost

Sets the network address of name of the target

>localhost

 

node agent to the local host.

 

 

Note: By default, unless a different system is

 

 

specified (using the system command) the local

 

 

host is assumed to be the target system.

 

 

 

 

compare, comp

Compares the contents of two registries and

>compare /systems <2nd

./systems

displays the result.

system>

 

 

./files

You can compare:

OR

 

 

./system2file

y The current system to a different system

>compare /file <reg_file_1>

<reg_file_2>

 

 

 

y Two registry files in the Repository

OR

 

y The current system to a registry file in the

>compare /system2file

 

Repository

<reg_file>

 

Optionally, you can include an argument to dump

 

 

this output to a local file. Output is stored as

 

 

XML-formatted text.

 

 

When viewing results:

 

 

y Values whose data are identical in both

 

 

systems are prefaced by Common Value =

 

 

y Values whose data are unique to the current

 

 

system are prefaced by SRC =

 

 

y Values whose data are unique to the current

 

 

system are prefaced by SRC =

 

 

 

 

instance

Used in conjunction with the compare command,

>compare /systems <2nd

 

specifies the customer instance whose registry

system> /instance

 

values will be compared.

<instance_name>

 

If not specified, the List command automatically

 

 

returns registry values for the first customer

 

 

instance it finds on each compared system.

 

 

 

 

Cisco Support Tools 1.0 User Guide

How to Use the Compare Registries Utility from a Command Line 139

Page 139
Image 139
Cisco Systems 1.0 (1) manual Using the Compare Registries Utility from a Command Line, Command Line Options