Top
ETERNUS SF Express V14.1 User's Guide

C.2.2 XML format

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

    C:\>acarray detail -a DX80
    
    Disk Array Name : DX80
    BOX-ID          : 00ETERNUSDXL##ET08E21A####LN4310901078##
    IP Address      : 10.12.13.14
    Admin User      : root
    Access Path     : X:
    
Display example of table part only
  • Without -xml option

    C:\>acarray list
    
    Name  BOX-ID                                   IP Address
    ----- ---------------------------------------- -----------
    DX80  00ETERNUSDXL##ET08E21A####LN4310901078## 10.12.13.14
    DX80B 00ETERNUSDXL##ET08F22A####JP0000000001## 10.12.13.15
    
  • With -xml option

    C:\>acarray list -xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Response>
      <ReturnCode>0</ReturnCode>
      <Message></Message>
      <Table>
        <Row>
          <Data id="Name">DX80</Data>
          <Data id="BOX-ID">00ETERNUSDXL##ET08E21A####LN4310901078##</Data>
          <Data id="IP Address">10.12.13.14</Data>
        </Row>
        <Row>
          <Data id="Name">DX80B</Data>
          <Data id="BOX-ID">00ETERNUSDXL##ET08F22A####JP0000000001##</Data>
          <Data id="IP Address">10.12.13.15</Data>
        </Row>
      </Table>
    </Response>
    
Display example of list part and table part
  • Without -xml option

    C:\>acec query -g ECGroup
    
    Copy Group Name : ECGroup
    Copy Group Type : EC
    Disk Array Name : DX80 (00ETERNUSDXL##ET08E21A####LN4310901078##)
    
    Source   <=> Target   SID  EC Status               Copy Phase Copied Block
    -------- --- -------- ---- ----------------------- ---------- ------------
    DX80/0x1 N/A DX80/0x3 N/A  "EC action not startup" "Not set"           N/A
    DX80/0x2 ==> DX80/0x4 0x41 "EC Executing"          "Copying"       1048576
    
  • With -xml option

    C:\>acec query -g ECGroup -xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Response>
      <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">DX80 (00ETERNUSDXL##ET08E21A####LN4310901078##)</Data>
      </List>
      <Table>
        <Row>
          <Data id="Source">DX80/0x1</Data>
          <Data id="&lt;=&gt;">N/A</Data>
          <Data id="Target">DX80/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">DX80/0x2</Data>
          <Data id="&lt;=&gt;">==&gt;</Data>
          <Data id="Target">DX80/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>
    

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
C:\>acarray detail -a DX80
ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck
With -xml option
C:\>acarray detail -a DX80 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <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>

XML format of execution type command

The XML format of execution type command is follows:

The display example for each XML format shows the followings.

Display example of execution result message only
  • Without -xml option

    C:\>acgroup create -g group01 -type OPC -a DX80
    Successful completion.
    
  • With -xml option

    C:\>acgroup create -g group01 -type OPC -a DX80 -xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Response>
      <ReturnCode>0</ReturnCode>
      <Message>Successful completion.</Message>
    </Response>
Display example of execution result including the detail information
  • Without -xml option

    C:\>acec start -g ECGroup
    
    DX80/0x1: DX80/0x6
    # DATE : 2008/06/24 16:28:00 - << EC Started >>
    # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0
    # To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=6/Adr_high=0/Adr_low=0
    
    DX80/0x2:DX80/0x7
    ccm5004 Operation failed. function=STXCopyEC.START, message=invalid BoxID.
    
      Succeeded : 1
      Failed    : 1
    
  • With -xml option

    C:\>acec start -g ECGroup -xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Response>
      <ReturnCode>6</ReturnCode>
      <Message></Message>
      <ResultList>
        <Result>
          <Object>DX80/0x1:DX80/0x6</Object>
          <Status>Succeeded</Status>
          <Message></Message>
          <Detail>DATE : 2008/06/24 16:28:00 - &lt;&lt; EC Started &gt;&gt; &#13;
    From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0&#13;
    To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=6/Adr_high=0/Adr_low=0</Detail>
        </Result>
        <Result>
          <Object>DX80/0x2:DX80/0x7</Object>
          <Status>Failed</Status>
          <Message>ccm5004 Operation failed. function=STXCopyEC.START, message=invalid BoxID.</Message>
          <Detail></Detail>
        </Result>
      </ResultList>
    </Response>

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
C:\>acec start -g
ccm1001 Input parameter is illegal.

Usage:
        acec start -g COPY-GROUP(EC) [-p PAIR] [-r] [-xml]
        acec start -g COPY-GROUP(REC) [-p PAIR] [-r]
                [-transfer {sync [-split {auto|manual}]|through|consist|stack}]
                [-recovery {auto|manual}]
                [-skip]
                [-xml]
With -xml option
C:\>acec start -g -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ReturnCode>1</ReturnCode>
  <Message>ccm1001 Input parameter is illegal.</Message>
</Response>