HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
Command execution example
In this example, the AddPArrayGroupToPRPU command registers a parity group (chassis number:
1, parity group number: 96) 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 AddPArrayGroupToPRPU -o "D:\logs\AddPArrayGroupToPRPU.log"
"model=XP7" "serialnum=10139" "chassis=1" "groupnum=96" "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
numberOfPHostStorageDomains=0
numberOfPLDEVs=0
numberOfPPorts=0
List of 1 PArrayGroup elements:
An instance of PArrayGroup
objectID=*****
chassis=1
number=96
*****: The value is encoded by the CLI.
AddPHSDToPRPU
The AddPHSDToPRPU command registers a host storage domain that belongs to a physical resource
group to a specific physical resource group. The host storage domain is registered from a physical
resource group (meta_resource) whose resource group ID is 0.
NOTE:
• You can use this command only when you are using HP XP7.
• If a host storage domain has not been set in the storage system (does not exist), you can use this
command to reserve a host storage domain ID for a specific physical resource group.
• A host storage domain can belong to a physical resource group only when the port attribute of
the host storage domain is Target or RCU Target.
• To register the location to which multiple host storage domains belong, use the batch function.
For details about the batch function, see Chapter 6 on page 503.
Command reference94