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

2. Check the output message trace file.
The following shows an output example.
>>> Request Submitted at: 18:52:31 CEST to: http://*****:2001/service/StorageManager
---- HTTP Header ----
.
. (HTTP header information is omitted.)
.
-----------------------
<?xml version="1.0" encoding="UTF-8"?>
<HiCommandServerMessage>
<APIInfo version="version-number" />
<Request>
<StorageManager>
<Add target="LUN">
<StorageArray objectID="ARRAY.XP1024/XP128.15045">
<Path portID="0" domainID="0" scsiID="15" lun="100" devNum="1" />
</StorageArray>
</Add>
</StorageManager>
</Request>
</HiCommandServerMessage>
<<< Response Received at: 18:52:31 CEST
---- HTTP Header ----
.
. (Omitted)
.
3. Copy the XML information (excluding the HTTP header information) in the message trace file to
another file.
4. Use a text editor to edit the XML-API request in the file you created in step 3.
This example shows how an XML-API request that creates a single LUN is edited to make an
XML-API request that configures paths for device numbers 102 and 104.
<?xml version="1.0" encoding="UTF-8"?>
<HiCommandServerMessage>
<APIInfo version="version-number" />
<Request>
<StorageManager>
<Add target="LUN">
<StorageArray objectID="ARRAY.XP1024/XP128.15045">
<Path portID="0" domainID="0" scsiID="15" lun="102" devNum="102" />
<Path portID="0" domainID="0" scsiID="15" lun="104" devNum="104" />
</StorageArray>
</Add>
</StorageManager>
</Request>
</HiCommandServerMessage>
5. Save the edited file.
If you specify the saved XML-API request file with the -i (or --input) option, the XML-API
requests specified in the file are performed.
Related topics
Command syntax, page 27
XML-API request file506