beautypg.com

HP XP RAID Manager Software User Manual

Page 63

background image

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 . The number of times is incremented
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 {[-port_speed ] [-loop_id ][-topology
] [-security_switch < y|n >] | -port_attribute }

raidcom add external_grp -path_grp -external_grp_id -port
-external_wwn -lun_id [-emulation ] [-clpr ]

raidcom add path -path_grp -port -external_wwn

raidcom delete path -path_grp -port -external_wwn

raidcom check_ext_storage path -path_grp -port -external_wwn strings>

Command execution modes

63

This manual is related to the following products: