HP XP P9000 Command View Advanced Edition Suite Software 7.5.0-00 CLI Reference Guide (TB581-96348, July 2013)
Obtain this value from the execution result of the GetStorageArray (subtarget=PortCon-
troller) command. Execute this command by specifying only the model and serialnum
parameters, and PortController for the subtarget parameter. In the execution result of
this command, the controllerID value appears under An instance of PortController.
Use this controllerID value to specify the ctrlid parameter.
controllername
Obtain this value from the execution results of the GetStorageArray (subtarget=PortCon-
troller) command. In the execution results, displayName is displayed below An instance
of PortController. Specify this value as controllername.
Command execution example
hdvmcli ModifyPortController -o "D:\logs\ModifyPortController.log"
"serialnum=10001" "model=XP1024" "ctrlid=1" "adaptermode=1"
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 PortController elements:
An instance of PortController
objectID=*****
cluster=1
card=1
controllerID=1
displayName=CHA-1P
mode=1
type=12
*****: The value is encoded by the CLI.
ModifyStorageArray
ModifyStorageArray modifies the name of a storage system (including an SMI-S Enabled storage
system) registered on the Device Manager server.
Format
For storage systems other than SMI-S Enabled storage systems:
hdvmcli [URL] ModifyStorageArray [options]
serialnum=serial-number model=model
name=new-storage-system-name
For SMI-S Enabled storage systems:
CLI Reference Guide 225