Coding rules, Script entries – HP XP Racks User Manual

Page 404

Advertising
background image

POST_PROC

: Post-procesing specified by the user (after the backup command is issued).

Table 23 Coding rules

Rules

Applicable items

The character code set must be ASCII.

Codes lower than

0x20

cannot be used, except for

CR

(

0x0d

),

LF

(

0x0a

), and

TAB

(

0x09

).

The linefeed code must be

LF

(

0x0a

) or

CR+LF

(

0x0d

and

0x0a

).

The length of a single line must not exceed 8 KB.

Do not execute a command that will display more than 2000 bytes of text. If you
need to reference a large amount of text output by a command, redirect the command
output to a file, and then view the file.

Overall user script

Each line must contain only one item.

Item and section names are not case-sensitive.

Item and section names must consist of only one-byte characters. Multi-byte characters
cannot be used.

Item names must be separated by a one-byte equal sign (=). One-byte space and tab
characters can be inserted before and after equal signs.

Item and section
names

The value of an item must be specified after the one-byte equal sign (=) that follows
the item name. Do not enter a linefeed code between an item's name and value.

The item value begins after the one-byte equal sign (=) that follows the item name
and ends at the linefeed code.

If an item name is specified alone (without a value), an error results.

Item values

A line that begins with a one-byte hash mark (#) is regarded as a comment line.

If a one-byte hash mark (#) is entered anywhere on a line other than at the beginning
of the line, the part of the line following the hash mark will not be regarded as a
comment

If a hash mark (#) on a line is preceded by no characters other than tab and space
characters, the line will be regarded as a comment line.

Comments

You can enter blank lines.

A line that consists only of tab and one-byte space characters is regarded as a blank
line.

Blank lines

Script entries

The following table describes the available script entries and how they can be used.

Managing application replicas

404

Advertising