HP XP RAID Manager Software User Manual
Page 64
•
raidcom disconnect path -path_grp
•
raidcom add rcu {-rcu
For example, if a path is attempted to be added to a port that does not exist, 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 add path -path_grp 1 -port CL1-C -external_wwn 50060e80,06fc4180
raidcom add path -path_grp 1 -port CL1-D -external_wwn 50060e80,06fc4190
raidcom add path -path_grp 1 -port CL1-E -external_wwn 50060e80,06fc41a0
•
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 port -store portcnf_27.dat
PORT TYPE ATTR SPD LPID FAB CONN SSW SL Serial# WWN
CL1-A FIBRE TAR AUT EF N FCAL N 0 64539 06fc1b000000fc1b
CL1-B FIBRE TAR AUT EF N FCAL N 0 64539 50060e8006fc1b01
CL2-A FIBRE TAR AUT EF N FCAL N 0 64539 50060e8006fc1b10
CL2-B FIBRE TAR AUT EF N FCAL N 0 64539 50060e8006fc1b11
CL3-A FIBRE TAR AUT E8 N FCAL N 0 64539 50060e8006fc1b20
CL3-B FIBRE TAR AUT E0 N FCAL N 0 64539 50060e8006fc1b21
CL4-A FIBRE TAR AUT D6 N FCAL N 0 64539 50060e8006fc1b30
CL4-B FIBRE TAR AUT D2 N FCAL N 0 64539 50060e8006fc1b31
CL5-A FIBRE TAR AUT E4 N FCAL N 0 64539 50060e8006fc1b40
CL5-B FIBRE TAR AUT DC N FCAL N 0 64539 50060e8006fc1b41
CL6-A FIBRE TAR AUT D5 N FCAL N 0 64539 50060e8006fc1b50
CL6-B FIBRE TAR AUT D1 N FCAL N 0 64539 50060e8006fc1b51
CL7-A FIBRE ELUN AUT E2 N FCAL N 0 64539 50060e8006fc1b60
CL7-B FIBRE ELUN AUT DA N FCAL N 0 64539 50060e8006fc1b61
CL8-A FIBRE TAR AUT D4 N FCAL N 0 64539 50060e8006fc1b70
CL8-B FIBRE TAR AUT CE N FCAL N 0 64539 50060e8006fc1b71
C:\HORCM\etc>raidcom -zt 4_no_port.bat -load portcnf_27.dat -checkmode precheck
C:\HORCM\etc>raidcom add path -path_grp 1 -port CL1-C -external_wwn 50060e80,06fc4180
raidcom: PORT(2) does not exist as status is [2] on UnitID# 0.
raidcom_#2 : [EX_CTXCHK] Context Check error
C:\HORCM\etc>raidcom add path -path_grp 1 -port CL1-D -external_wwn 50060e80,06fc4190
raidcom: PORT(3) does not exist as status is [2] on UnitID# 0.
raidcom_#3 : [EX_CTXCHK] Context Check error
C:\HORCM\etc>raidcom add path -path_grp 1 -port CL1-E -external_wwn 50060e80,06fc41a0
raidcom: PORT(4) does not exist as status is [2] on UnitID# 0.
raidcom_#4 : [EX_CTXCHK] Context Check error
Host group check
The check is performed from the following perspective. Note that checking for an attribute of host
group, or for a name of host group is not executed.
Check with the attribute setting
64
RAID Manager functions on P9500