HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
num parameters, and then HostStorageDomain for the subtarget parameters. In the execution
results of this command, the domainID and portID values appear under An instance of
HostStorageDomain. Use these domainID and portID values to specify the domain and
port parameters.
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.
Command execution example
In this example, the AddPHSDToPRPU command registers a host storage domain (port number: 1,
domain ID: 100) that belongs to a physical resource group in a storage system (model: XP7, serial
number: 10139) to the specified physical resource group (resource group ID: 43).
hdvmcli AddPHSDToPRPU -o "D:\logs\AddPHSDToPRPU.log"
"model=XP7" "serialnum=10139" "port=1" "domain=100" "rpuid=43"
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 PResourcePartitionUnit elements:
An instance of PResourcePartitionUnit
objectID=*****
name=RG43
resourcePartitionUnitID=43
numberOfPArrayGroups=1
numberOfPPorts=0
numberOfPHostStorageDomains=6
numberOfPLDEVs=0
List of 1 PHostStorageDomain elements:
An instance of PHostStorageDomain
objectID=*****
portID=1
domainID=100
hasSubstance=0
*****: The value is encoded by the CLI.
AddPLDEVToPRPU
The AddPLDEVToPRPU command registers an LDEV that belongs to a physical resource group to a
specific physical resource group. The LDEV is registered from a physical resource group (meta_resource)
whose resource group ID is 0.
Command reference96