Displays the version of the util_cmd command.

-help

Displays the usage synopsis for the util_cmd command.

-getconf[ig]integration instance

Lists the Application Recovery Manager configuration files parameters for the specified integration and instance to the standard output, unless the -localoption is specified.

-getopt[ion][integration instance] option_name

Retrieves the parameter (specified by the option_name) and its value from one of Application Recovery Manager configuration files and writes it to the standard output, unless the -localoption is specified.

-putopt[ion][integration instance] option_name [option_value]

Sets the specified parameter (specified by the option_name) and (optionally) its value to the Application Recovery Manager configuration files, unless the -localoption is used.

-sublistSublistName

Specifies the sublist in the configuration file in which a parameter is written to or taken from.

-localFileName

If the -localoption is used with the -getconfoption, the command output is written to the file with the filename specified by the -localoption. If the -localoption is used with the -getoptoption, the parameter and its value is taken from the file with the filename specified by the -localoption. If the -localoption is used with the -putoptoption, the parameter and its value is written to the file with the filename specified by the -localoption.

EXAMPLES

The following examples illustrate how the util_cmd command works.

1.To set the “OB2OPTS” and “ORA_NLS_CHARSET” parameters for the Oracle instance “ICE”, run:

util_cmd -putopt Oracle8 ICE OB2OPTS “-debug 1-200 INSTANCE.txt” -sublist Environment

util_cmd -putopt Oracle8 ICE ORA_NLS_CHARSET AMERICAN_AMERICA.US7ASCII -sublist Environment

Command line interface reference

145

Page 145
Image 145
HP Application Recovery Manager Cell Manager Windows Media Kit manual Getconfigintegration instance, SublistSublistName