HP XP RAID Manager Software User Manual
Page 62
•
raidcom check_ext_storage external_grp {-external_grp_id
-grp_opt
•
raidcom add device_grp -device_grp_name
•
raidcom delete device_grp -device_grp_name
•
raidcom modify ldev -ldev_id
| -mp_blade_id
•
raidcom initialize ldev {-ldev_id
Check with the deletion operation
It is checked to ensure that the operation is not intended to be performed for the LDEV that is already
deleted. If it is, an error is detected.
If it is not clear whether the LDEV as the target of the operation exists in the configuration definition
file or not (if the target LDEV 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 delete ldev {-ldev_id
-device_grp_name
The example of the script where the same LDEV is attempted to be added to the already created
LDEV and the execution result of the Context check is shown below.
•
Example of script
raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M
•
Execution result
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
•
Example of script (the text in bold indicates the part of incorrect configuration definition.)
raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M
raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M
for /l %%i in (1,1,3) do (
raidcom add ldev -parity_grp_id 01-01 -ldev_id %%i -capacity 100M
)
62
RAID Manager functions on P9500