Precheck function, Command execution by the out-of-band method – HP XP RAID Manager Software User Manual
Page 10

The transaction mode can execute the following checking.
•
Context check: This check is executed when a script file is specified by the -zt option. It checks
the context of preceding commands and determines whether a subsequent command can be
executed.
Specifying example:
> raidcom -zt <script_file>
•
Configuration check: This check verifies that the actual storage system confirmation is valid
(implemented) for the resources specified in the commands (LDEVs, ports, pools, etc.).
Syntax example:
> raidcom get ldev -ldev_id -cnt 65280 -store<work_file>
> raidcom -zt <script_file> -load<work_file>
Precheck function
RAID Manager provides a precheck function that checks a configuration command before executing
the command for the configuration setting commands (raidcom commands):
In RAID Manager before supporting P9500, an error was returned when the syntax of a command
to be executed was not correct. With this precheck function, the command syntax can be checked
before the command is issued. This function can be specified using either the -checkmode
precheck
option or the -zt option.
The following table shows the summary of checking function combinations between precheck
function and the transaction mode.
Table 1 Summary of the checking functions
Execution
Config check
Context check
Syntax check
Command syntax
Executed
Not executed
Not executed
Executed
raidcom <command>
Not executed
Not executed
Not executed
Executed
raidcom <command> -checkmode precheck
Executed
Not executed
Executed
Executed
raidcom -zt <script file>
Executed
Executed
Executed
Executed
raidcom get ldev -ldev -cnt 65280 -store<work_file>
raidcom -zt <script_file> -load <work_file>
Not executed
Not executed
Executed
Executed
raidcom -zt <script file> -checkmode precheck
Not executed
Executed
Executed
Executed
raidcom get ldev -ldev -cnt 65280 -store<work_file>
raidcom -zt <script_file> -load <work_file> -checkmode
precheck
Command execution by the out-of-band method
In the RAID Manager before supporting P9500, a command can be executed only from the host
connected by the fibre channel directly. This is known as in-band operations. In the RAID Manager
supporting P9500, a command can be executed from any client PC connected to the storage
system via LAN, not just from connected hosts. This is known as out-of-band operations.
•
For in-band RAID Manager operations, the command device is used, which is a user-selected
and dedicated logical volume on the storage system that functions as the interface to the
storage system on the UNIX/PC host. The command device accepts read and write commands
that are executed by the storage system.
•
For out-of-band RAID Manager operations, a virtual command device is used. The virtual
command device is defined in the configuration definition file by an IP address on the SVP.
RAID Manager commands are issued from the client or the host server and transferred via
10
Overview