Context check, How to check – HP XP RAID Manager Software User Manual
Page 60

Table 15 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
Executed
Not executed
Not executed
Executed
raidcom <action>
Check only
Not executed
Not executed
Not executed
Executed
raidcom <action> -checkmode
precheck
Table 16 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 <script file>, specify an executable file name.
•
For <script file>, either specify a full path name or store under the c:\HORCM\etc folder.
•
For <work file>, 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
60
RAID Manager functions on P9500