HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

Command execution example
hdvmcli DeleteLun -o "D:\logs\DeleteLun.log" "serialnum=10001" "model=XP1024"
"port=1" "domain=1" "devnum=1" "deletionoption=lusekeep"
Command execution result
RESPONSE:
(Command completed; no data returned)
DeleteWWN
DeleteWWN removes a WWN from a port.
Parameters
Table 76 DeleteWWN command parameters
DescriptionStatusParameter name
Serial number of the port's storage systemRequired
serialnum
Model of the port's storage systemRequired
model
Port number
Specify either port or portname. Do not specify both
parameters at the same time. If they are specified at the same
time, an error will occur.
Optional
port
Port name
Specify either port or portname. Do not specify both
parameters at the same time. If they are specified at the same
time, an error will occur.
Optional
portname
WWN to delete from the portRequired
wwn
Parameter values to obtain in advance
serialnum and model: Obtain these values from the execution result of the GetStorageArray
command. In the execution result, use the arrayType value or the displayArrayType value to
specify the model parameter, and use the serialNumber value to specify the serialnum parameter.
port and wwn: Obtain these values from the execution result of the GetStorageArray
(subtarget=Port, portsubinfo=WWN) command. Execute this command by specifying only the
model and serialnum parameters, Port for the subtarget parameter, and WWN for the
portsubinfo parameter. In the execution result of this command, the portID value appears under
An instance of Port. Use this portID value to specify the port parameter. The WWNs for
this port are displayed in the List of (nn) WWN elements, where nn indicates the number of
WWNs. Select the target WWN from this list, and use it to specify the wwn parameter.
Device Manager CLI command reference210