The XML format of display type command is follows:
List part only
Table part only
List part and table part
The display example for each XML format shows the followings.
Display Example of List Part Only
Without the -xml option
> acarray detail -a ET001 Disk Array Name : ET001 BOX-ID : 00ETERNUSDXM##ET44S20A####HK000104###### IP Address : 192.0.2.10 Admin User : root Access Volume : X:
With the -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">192.0.2.10</Data> <Data id="Admin User">root</Data> <Data id="Access Volume">X:</Data> </List> </Response>
Display Example of Table Part Only
Without the -xml option
> acarray list Name BOX-ID IP Address ----- ---------------------------------------- ------------ ET001 00ETERNUSDXM##ET44S20A####HK000104###### 192.0.2.10 ET002 00ETERNUSDXH##ET87S20A####NC4110699004## 192.0.2.11
With the -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">192.0.2.10</Data> </Row> <Row> <Data id="Name">ET002</Data> <Data id="BOX-ID">00ETERNUSDXH##ET87S20A####NC4110699004##</Data> <Data id="IP Address">192.0.2.11</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 (When Not Using Storage Cluster Continuous Copy Function)
Without the -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 the -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="<=>">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="<=>">==></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.
Display Example of List Part and Table Part (When Using Storage Cluster Continuous Copy Function)
Without the -xml option
> acec query -g ECGroup Copy Group Name : ECGroup Copy Group Type : EC Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) TFO Disk Array Name : ET003 (00ETERNUSDXH##ET44S20A####HK000104######) Source <=> Target SID EC Status Copy Phase Copied Block Standby-Source Standby-Target Standby-Session --------- --- --------- ---- ----------------------- ---------- ------------ -------------- -------------- --------------- ET002/0x1 N/A ET002/0x3 N/A "EC action not startup" "Not set" N/A ET003/0x1 ET003/0x11 "----" ET002/0x2 ==> ET002/0x4 0x41 "EC Executing" "Copying" 1048576 ET003/0x2 ET003/0x12 "Exist"
With the -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> <Data id="TFO Disk Array Name">ET003 (00ETERNUSDXH##ET44S20A####HK000104######)</Data> </List> <Table> <Row> <Data id="Source">ET002/0x1</Data> <Data id="<=>">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> <Data id="Standby-Source">ET003/0x1</Data> <Data id="Standby-Target">ET003/0x11</Data> <Data id="Standby-Session">"----"</Data> </Row> <Row> <Data id="Source">ET002/0x2</Data> <Data id="<=>">==></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> <Data id="Standby-Source">ET003/0x2</Data> <Data id="Standby-Target">ET003/0x12</Data> <Data id="Standby-Session">"Exist"</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 the -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 the -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>