Context check, How to check, Details of check contents – HP XP P9500 Storage User Manual
Page 64: How to check details of check contents

Detailed description are provided in the following.
CAUTION:
Observe the following cautions:
•
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
raidcom -zt <created script file name> -load <configuration file> -checkmode precheck
Details of check contents
Details of Context check is described below. checking contents before issuing a script can reduce
load for the debug operation in a way of executing script.
LDEV check
The check is performed from the following perspective. Note that checking for the object information
that is related to the LDEV such as pool or device group, or an attribute of LDEV is not executed.
Check with the additional operation
It is checked to ensure no same LDEV as the already existing LDEV is added. If the same LDEV is
attempted to be added, an error is detected.
If it is not clear whether the LDEV to be added exists or not (if the target LDEV information does
not exist in the configuration definition file), the error is not detected. Therefore, the script is executed
and the LDEV is added.
The command as the target of the check is shown below.
raidcom add ldev {-parity_grp_id <gno-sgno>| -external_grp_id
<gno-sgno> | -pool {<pool ID#> | <pool naming> | snap}}
{-ldev_id <ldev#> | -tse_ldev_id <ldev#>} {-capacity <size>
| -offset_capacity <size> | -cylinder <size>} [-emulation
64
RAID Manager functions on the P9500