Context check, How to check – HP XP P9500 Storage User Manual

Page 57

Advertising
background image

Table 12 Execution modes and options of the configuration setting command (line-by-line mode)

Remarks

Command
execution with no
error

Configuration
check

Context check

Syntax check

Command syntax

Default

Yes

No

No

Yes

raidcom <action>

Check only

No

No

No

Yes

raidcom <action> -checkmode
precheck

Table 13 Execution modes and options of the configuration setting command (transaction mode)

Remarks

Command execution
with no error

Configuration
check

Context check

Syntax check

Command syntax

Default

Executed

Not executed

Executed

Executed

raidcom -zt <script file>

With configuration
Check

Executed

Executed

Executed

Executed

raidcom -zt < script file> -load
<work file>

Check only

Not executed

Not executed

Executed

Executed

raidcom -zt < script file>
-checkmode precheck

With configuration
Check

Not executed

Executed

Executed

Executed

raidcom -zt < script file> -load <
work file> -checkmode precheck

Check only

Detailed descriptions are provided in the following:

CAUTION:

For raidcom -zt <script file>, specify an executable file name.

Forraidcom -zt < script file> -load <work file>, either specify a full path name or store under
the c:\HORCM\etc folder.

For raidcom -zt < script file> -checkmode precheck, either specify a full path name or store in
the current directory.

Context check

This check can be performed to ensure consistent content of the created script file. For example,
it can check if the script refers to an ldev_id that is already deleted in the preceding lines.

The script is executed only when no error is detected by the checking of whole script contents.

The following resources can be the target of the check:

LDEV

Port

Host group

Checking the contents before executing the script helps reduce debugging after running the script.

How to check

The script is performed by specifying it as follows.

raidcom -zt <created script file name>

raidcom -zt <created script file name> -load <configuration file>

raidcom -zt <created script file name> -checkmode precheck

Command execution modes

57

Advertising
This manual is related to the following products: