HP XP RAID Manager Software User Manual
Page 63
for /l %%i in (1,1,3) do (
raidcom add ldev -parity_grp_id 01-01 -ldev_id %%i -capacity 100M
)
•
Execution result (the text in bold indicates the contents of the error accompanying the invalid
configuration definition in the script.)
C:\HORCM\etc>raidcom get ldev -ldev_id 1 -cnt 65280 -store ldevconf_65 > ldevconf_65.txt
C:\HORCM\etc>raidcom -zt 3_defined_ldev.bat -load ldevconf_65.dat -checkmode precheck
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M
raidcom: LDEV(1) is already existing as status is [1] on UnitID# 0.
raidcom_#5 : [EX_CTXCHK] Context Check error
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M
raidcom: LDEV(2) is already existing as status is [1] on UnitID# 0.
raidcom_#6 : [EX_CTXCHK] Context Check error
C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M
raidcom: LDEV(3) is already existing as status is [1] on UnitID# 0.
raidcom_#7 : [EX_CTXCHK] Context Check error
The number in raidcom # of raidcom_#7: [EX_CTXCHK] Context Check error is the number of
times of performing the raidcom command by using
each time the raidcom command is execited.
Port check
The check is performed from the following perspective. Note that checking for object information
related to the port, such as external volume group or RCU, or an attribute of port, is not executed.
Checking for attribute setting
It is checked whether the operation is performed for the existing port. If the port does not exist, an
error is detected.
If it is not clear whether the port as the target of the operation exists in the configuration definition
file or not (if the target port information does not exist in the configuration definition file), the error
is not detected.
The command as the target of the check is shown below.
•
raidcom modify port -port
•
raidcom add external_grp -path_grp
-external_wwn
•
raidcom add path -path_grp
•
raidcom delete path -path_grp
•
raidcom check_ext_storage path -path_grp
Command execution modes
63