Top
ETERNUS SF Express V15.2/ AdvancedCopy Manager V15.2 Operation Guide for Copy Control Module
ETERNUS

C.2.1 XML format of display type command

The XML format of display type command is follows:

The display example for each XML format shows the followings.

Display example of list part only
Without -xml option
> acarray detail -a ET001

Disk Array Name : ET001
BOX-ID          : 00ETERNUSDXM##ET44S20A####HK000104######
IP Address      : 10.124.6.251
Admin User      : root
Access Volume   : X:
 
With -xml option
> acarray detail -a ET001 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
  <ReturnCode>0</ReturnCode>
  <Message></Message>
  <List>
    <Data id="Disk Array Name">ET001</Data>
    <Data id="BOX-ID">00ETERNUSDXM##ET44S20A####HK000104######</Data>
    <Data id="IP Address">10.124.6.251</Data>
    <Data id="Admin User">root</Data>
    <Data id="Access Volume">X:</Data>
  </List>
</Response>
Display example of table part only
Without -xml option
> acarray list

Name  BOX-ID                                   IP Address
----- ---------------------------------------- ------------
ET001 00ETERNUSDXM##ET44S20A####HK000104###### 10.124.6.251
ET002 00ETERNUSDXH##ET87S20A####NC4110699004## 10.124.6.241
 
With -xml option
> acarray list -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
  <ReturnCode>0</ReturnCode>
  <Message></Message>
  <Table>
    <Row>
      <Data id="Name">ET001</Data>
      <Data id="BOX-ID">00ETERNUSDXM##ET44S20A####HK000104######</Data>
      <Data id="IP Address">10.124.6.251</Data>
    </Row>
    <Row>
      <Data id="Name">ET002</Data>
      <Data id="BOX-ID">00ETERNUSDXH##ET87S20A####NC4110699004##</Data>
      <Data id="IP Address">10.124.6.241</Data>
    </Row>
  </Table>
</Response>

NOTE: If there is no data in the table part, the Table tag is not displayed.

Display example of list part and table part
Without -xml option
> acec query -g ECGroup

Copy Group Name : ECGroup
Copy Group Type : EC
Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##)

Source    <=> Target    SID  EC Status               Copy Phase Copied Block
--------- --- --------- ---- ----------------------- ---------- ------------
ET002/0x1 N/A ET002/0x3 N/A  "EC action not startup" "Not set"           N/A
ET002/0x2 ==> ET002/0x4 0x41 "EC Executing"          "Copying"       1048576
With -xml option
> acec query -g ECGroup -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
  <ReturnCode>0</ReturnCode>
  <Message></Message>
  <List>
    <Data id="Copy Group Name">ECGroup</Data>
    <Data id="Copy Group Type">EC</Data>
    <Data id="Disk Array Name">ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##)</Data>
  </List>
  <Table>
    <Row>
      <Data id="Source">ET002/0x1</Data>
      <Data id="&lt;=&gt;">N/A</Data>
      <Data id="Target">ET002/0x3</Data>
      <Data id="SID">N/A</Data>
      <Data id="EC Status">"EC action not startup"</Data>
      <Data id="Copy Phase">"Not set"</Data>
      <Data id="Copied Block">N/A</Data>
    </Row>
    <Row>
      <Data id="Source">ET002/0x2</Data>
      <Data id="&lt;=&gt;">==&gt;</Data>
      <Data id="Target">ET002/0x4</Data>
      <Data id="SID">0x41</Data>
      <Data id="EC Status">"EC Executing"</Data>
      <Data id="Copy Phase">"Copying"</Data>
      <Data id="Copied Block">1048576</Data>
    </Row>
  </Table>
</Response>

NOTE: If there is no data in the table part, the Table tag is not displayed.

Information

If the error occurs when the command is executed (e.g. parameter error), the command outputs the error information like as follows.

Without -xml option
> acarray detail -a ET001
ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck
With -xml option
> acarray detail -a ET001 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
  <ReturnCode>8</ReturnCode>
  <Message>ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck</Message>
</Response>