HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

serialNumber=10037
status=SUCCEEDED
RefreshResourceLabels
The RefreshResourceLabels command obtains multiple labels that are set to the storage system,
and then applies them to the database on the Device Manager server (to refresh the labels).
NOTE:
This command can be used for P9500 only.
This command overwrites all of the label information of Device Manager with the label information
of the specified storage system.
Parameters
Table 98 RefreshResourceLabels command parameter
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Resource from which to obtain label information
One of the following values can be specified. The values are not
case-sensitive.
PoolName: Labels of THP/Smart pools
VolumeLabel: Labels of LDEVs
All: Labels of THP/Smart pools and LDEVs
If this parameter is omitted, ALL is assumed to be specified.
Optional
target
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 para-
meter, and use the serialNumber value to specify the serialnum parameter.
Command execution example 1
This example obtains label information about THP/Smart pools and LDEVs from the storage system,
and then applies the information to Device Manager.
hdvmcli RefreshResourceLabels -o "D:\logs\ RefreshResourceLabels.log"
model=P9500 serialnum=54440 target=All
CLI Reference Guide 305