Справочник Пользователя для HP OpenView Storage Data Protector B6960-96008

Скачать
Страница из 396
Integrating SAP DB/MaxDB and Data Protector
Data Protector SAP DB/MaxDB Configuration File
Chapter 3
261
In a cluster environment, the environment variable 
OB2BARHOSTNAME
 
must be defined as the virtual hostname before running the 
util_cmd
 
command from the command line (on the client). The 
OB2BARHOSTNAME
 
variable is set as follows:
UNIX
export OB2BARHOSTNAME=<virtual_hostname>
Windows
set OB2BARHOSTNAME=<virtual_hostname>
The 
util_cmd
 
Synopsis
The syntax of the 
util_cmd
 command is as follows:
util_cmd -getconf[ig] SAPDB <SAPDB_instance> [-local \ 
<filename>]
util_cmd -getopt[ion] [SAPDB <SAPDB_instance>] \ 
<option_name> [-sub[list] <sublist_name>] [-local \ 
<filename>]
util_cmd -putopt[ion] [SAPDB <SAPDB_instance>] \ 
<option_name> [<option_value>] [-sub[list] <sublist_name>] \ 
[-local <filename>]
where:
<option_name>
 is the name of the parameter
<option_value>
 is the value for the parameter
[-sub[list] <sublist_name>]
 specifies the sublist in the 
configuration file which a parameter is written to or taken from.
[-local <filename>]
 specifies one of the following:
• When used with the 
-getconf[ig]
 option, it specifies a filename that 
the command output is written to. If the 
-local
 option is not 
specified, the output is written to the standard output.
• When used with the 
-getopt[ion]
, it specifies a filename of the file 
from which the parameter and its value are to be retrieved from and 
then written to the standard output. If the 
-local
 option is not 
specified, the parameter and its value are retrieved from the Data 
Protector SAP DB/MaxDB configuration file and then written to the 
standard output.
• When used with the 
-putopt[ion]
 option, it specifies a filename for 
the output of the command to be written to. If the 
-local
 option is 
not specified, the output is written to the Data Protector 
SAP DB/MaxDB configuration file.