Creating a host environment settings file, Creating a host envir- onment settings file – HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 185

Advertising
background image

cscript name-of-the-extended-command-you-want-to-execute

In the Windows default settings,

wscript.exe

starts an extended command and a pop-up dialog

box appears. The dialog box displays the execution results of the command. Therefore, note that an
extended command cannot execute automatically.

Creating a host environment settings file

Host environment settings files are created depending on the configuration of the system using extended
commands. These files must be located on each server. The host environment settings file is created
automatically during installation. Check the contents of the file as necessary.

The host environment settings file is created in the following location:

Application-Agent-installation-directory

\DRM\script\conf\host.dat

A sample host environment settings file is provided in the following location:

Application-Agent-installation-directory

\DRM\script\conf\host.dat.model

The following table shows the entries of a host environment settings file, the values of them, and the
maximum value lengths (in bytes).

Table 55 Value and maximum value length of each entry in a host environment settings file

Omission

#

Specifiable val-
ues (default)

Explanation

Entry name

N

DB

or

BK

(

DB

)

This entry specifies a host type. Specify

DB

for the file server or the database

server, and

BK

for the backup server.

HOST_ROLE

N

1000 to 100000
(1000)

This entry specifies the maximum number
of lines that the log file for scripts can
contain. Specify an integer (specifiable
range: from 1,000 to 100,000).
One extended command outputs
approximately 20 lines. Note, however,
that when you execute

EX_DRM_FTP_PUT

or

EX_DRM_FTP_GET

, approximately 100

lines are output.

MAX_LOG_LINES

Y

NORMAL

or

DE-

TAIL

(

NORMAL

)

Specifies whether to output messages from
basic commands that are executed
internally by an extended command.
If

NORMAL

is specified, messages from

basic commands are not output. If

DETAIL

is specified, messages from basic
commands are output.
Messages from basic commands are not
output to a script log file.

MSG_OUTPUT

Legend:

Y: Can be omitted.
N: Cannot be omitted.

#

Application Agent CLI User Guide

185

Advertising