13 example of device manager cli commands, Figure 4-1 merging wwn information, Tion – HP XP Command View Advanced Edition Software User Manual
Page 288
![background image](/manuals/397820/288/background.png)
Command line interface commands
288
4-13 Example of Device Manager CLI commands
This section gives an example of applying Device Manager CLI commands.
4-13-1 Merging existing WWN information and registering It
for a new host
This section gives an example of how to merge the WWN information of multiple existing hosts and
register the information in the Device Manager server for a new host, as illustrated in
.
Figure 4-1
Merging WWN information
NOTE:
When the web client is also used, do not refresh the information of the target host on the
web client before the operating procedure finishes. If you do this, an unexpected error might occur
due to a conflict among processing requests.
In this example, the WWNs that have been assigned to the following two hosts are assigned to a
new host, and then registered in the Device Manager server. The procedure for this example is
described below.
Information for the hosts to be merged:
•
Host name: HOST_A, WWN: 11.11.11.11.11.11.11.11
•
Host name: HOST_B, WWN: 22.22.22.22.22.22.22.22
Information for the new host:
•
Host name: HOST_C, WWN: 11.11.11.11.11.11.11.11,22.22.22.22.22.22.22.22
NOTE:
The following command format and command execution example assume that you
specified the necessary URL and options for executing Device Manager CLI commands in the
Device Manager CLI property file (hdvmcli.properties).
To perform this example:
1.
Obtain the object IDs for the hosts to be merged.
Executing the GetHost command displays the host information. From these execution results,
obtain the object IDs (objectID) based on the host names (name).