HP XP P9000 Command View Advanced Edition Suite Software 7.6.0-00 CLI Reference Guide
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 para-
meter, and use the serialNumber value to specify the serialnum parameter.
port
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. Execute this command by specifying only the model and serialnum parameters,
and Port for the subtarget 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.
portname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
domain
Obtain this value from the execution result of the GetStorageArray (subtarget=HostStor-
ageDomain) command. Execute this command by specifying only the model and serialnum
parameters, and HostStorageDomain for the subtarget parameter. In the execution result
of this command, the domainID value appears under An instance of HostStorageDomain.
Use this domainID value to specify the domain parameter.
nickname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. Execute the GetStorageArray command with the model and serialnum para-
meters specified and subtarget=Port and portsubinfo=HostStorageDomain specified,
and then specify the value of nickname that is displayed in the execution result as An instance
of HostStorageDomain.
wwnnickname
Obtain this value from the execution result of the GetStorageArray (subtarget=HostStor-
ageDomain, hsdsubinfo=WWN) command. Execute this command by specifying only the model
and serialnum parameters, and HostStorageDomain for the subtarget parameter and
WWN for the hsdsubinfo parameter. In the execution result of this command, the nickname
value appears under An instance of WWN. Use this value to specify the wwnnickname
parameter. The WWNs for this host storage domain 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 wwnnickname parameter.
Command execution example
In this example, the ModifyPort command modifies the settings for a port (port number: 16) of a
storage system (serial number: 10001, model: XP1024) as follows. The command:
• changes the value for the hostmode parameter to Standard, for the port's host storage domain
(domain ID: 0)
• changes the topology to Fabric(off), FC-AL
• sets the Fibre Channel address to 73
• disables LUN security by specifying false
• sets the transmission speed of the Fibre Channel to 1.
hdvmcli ModifyPort -o "D:\logs\ModifyPort.log"
serialnum=10001 model=XP1024 port=16 domain=0 hostmode=Standard
CLI Reference Guide 227