HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

Then, for the portname parameter, specify the displayName value of the port whose portRole
value is External. At this time, record the worldWidePortName value.
externalwwn
For external storage systems other than SMI-S Enabled storage systems, obtain this value from
the execution results of the GetStorageArray (subtarget=Port, portsubinfo=WWN)
command. Then, select the port whose wwn value displayed below An instance of WWN
matches the worldWidePortName value of the portname parameter. Then, for the external-
wwn parameter, specify the worldWidePortName value of that port. At this time, record the
portID value.
For SMI-S Enabled storage systems, use the storage system management tool to obtain the WWN
value for the port, and then specify that value for the externalwwn parameter.
externallun
For external storage systems other than SMI-S Enabled storage systems, obtain this value from
the execution results of the GetStorageArray (subtarget=Path, pathsubinfo=WWN)
command. Then, for the externallun parameter, specify the LUN value of a path that satisfies
the following conditions:
The wwn value displayed below An instance of WWN matches the worldWidePortName
value of the portname parameter.
The portID value displayed below An instance of Path matches the portID value of
the externalwwn parameter.
For SMI-S Enabled storage systems, use the storage system management tool to obtain the LUN
value for the path, and then specify that value for the externallun parameter.
Command execution example
Figure 1 Example of executing the AddExternalArrayGroup command
The following shows an example of executing the AddExternalArrayGroup command to set up
the configuration shown in Figure 1:
hdvmcli AddExternalArrayGroup -o "D:\logs\AddExternalArrayGroup.log"
model=XP20000 serialnum=25011 portname=CL3-F,CL7-F
externalwwn=50.06.0E.80.10.22.8B.50,50.06.0E.80.10.22.8B.52
externallun=1,0 externalgrpnum=27
Command reference46