HP XP P9500 Storage User Manual

Page 62

Advertising
background image

If it is not clear whether the target port or host group exists (if the target port or host group
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 host_grp -port <port> [<host group name>] -host_mode < host mode> [-host_mode_opt <host mode
option> … ]

raidcom add hba_wwn -port <port> [<host group name>] -hba_wwn <WWN strings>

raidcom delete hba_wwn -port <port> [<host group name>] -hba_wwn <WWN strings>

raidcom set hba_wwn -port <port> [<host group name>] -hba_wwn <WWN strings> -wwn_nickname <WWN
Nickname>

raidcom reset hba_wwn -port <port> [<host group name>] -hba_wwn <WWN strings>

raidcom add lun -port <port> [<host group name>] {-ldev_id <ldev#> [-lun_id<lun#>] | -grp_opt <group option>
-device_grp_name <device group name> [<device name>]}

raidcom delete lun -port <port> [<host group name>] {-lun_id <lun#> | -ldev_id <ldev#> | -grp_opt <group option>
-device_grp_name <device group name> [<device name>]}

Check with deletion operation

It is checked to ensure that the operation is not intended to be performed for the host group that
is already deleted. If the host group is already deleted, an error is detected.

If it is not clear whether the target port or host group exists or not (if the target port or host group
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 host_grp -port <port> [<host group name>]

For example, if attempting to delete a nonexistent host group, an error is detected. An example
of the script where the error is detected and the execution result of the actual context check are
shown below.

Example of script (The text in bold indicates the part of incorrect configuration definition.)

raidcom delete host_grp -port CL1-A-0

raidcom delete host_grp -port CL1-A-1

raidcom delete host_grp -port CL1-A-2

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 host_grp –port CL1-A -store hostgrpcnf_27_cl1-a.dat

PORT GID GROUP_NAME Serial# HMD HMO_BITs

CL1-A 0 1A-G00 64539 LINUX/IRIX

C:\HORCM\etc>raidcom -zt 6_no_hstgrp.bat -load hostgrpcnf_27_cl1-a.dat

-checkmode precheck

C:\HORCM\etc>raidcom delete host_grp -port CL1-A-0

C:\HORCM\etc>raidcom delete host_grp -port CL1-A-1

raidcom: PORT-HGRP(0-1) does not exist as status is [2] on UnitID# 0.

raidcom_#3: [EX_CTXCHK] Context Check error

C:\HORCM\etc>raidcom delete host_grp -port CL1-A-2

raidcom: PORT-HGRP(0-2) does not exist as status is [2] on UnitID# 0.

62

RAID Manager functions on P9500

Advertising
This manual is related to the following products: