HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

NOTE:
This command does not support virtualization servers. To refresh the information of a virtualization
server, use the RefreshVirtualizationServer command.
If the copy pair management host is unable to recognize a copy pair that was created on a host
that is not the copy pair management host, the copy status of that copy pair cannot be refreshed
even if the AddHostRefresh command is executed. In such a case, use the AddStorageArray
command to refresh the storage system containing the copy pair whose status you want to update.
Format
When refreshing the information for a host:
hdvmcli [URL] AddHostRefresh [options]
{objectid=object-ID-of-target-host|hostname=name-of-target-host}
Parameters
Table 85 AddHostRefresh command parameters
DescriptionStatusParameter name
Object ID of the target host
You must specify either objectid or hostname. Do not specify
both parameters at the same time. If they are specified at the
same time, an error will occur.
Optional
objectid
Name of the target host
You must specify either objectid or hostname. Do not specify
both parameters at the same time. If they are specified at the
same time, an error will occur.
Optional
hostname
Parameter values to obtain in advance
objectid
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the objectID value appears under An instance of Host. Use this objectID
value to specify the objectid parameter.
hostname
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the name value appears under An instance of Host. Use this name value
to specify the hostname parameter.
Command execution example
In this example, the AddHostRefresh command obtains the latest information about the host where
the object ID is HOST.5.
Command reference244