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.
> acarray detail -a E4000 Disk Array Name : E4000 BOX-ID : 00E4000M3#####E450S20A####KD4030639004## IP Address : 10.124.6.251 Admin User : root Access Path : X:
> acarray detail -a E4000 -xml <?xml version="1.0" encoding="UTF-8"?> <Response> <ReturnCode>0</ReturnCode> <Message></Message> <List> <Data id="Disk Array Name">E4000</Data> <Data id="BOX-ID">00E4000M3#####E450S20A####KD4030639004##</Data> <Data id="IP Address">10.124.6.251</Data> <Data id="Admin User">root</Data> <Data id="Access Path">X:</Data> </List> </Response>
> acarray list Name BOX-ID IP Address ----- ---------------------------------------- ------------ E4000 00E4000M3#####E450S20A####KD4030639004## 10.124.6.251 E8000 00E8000M9#####E890S20A####KO4070639003## 10.124.6.241
> acarray list -xml <?xml version="1.0" encoding="UTF-8"?> <Response> <ReturnCode>0</ReturnCode> <Message></Message> <Table> <Row> <Data id="Name">E4000</Data> <Data id="BOX-ID">00E4000M3#####E450S20A####KD4030639004##</Data> <Data id="IP Address">10.124.6.251</Data> </Row> <Row> <Data id="Name">E8000</Data> <Data id="BOX-ID">00E8000M9#####E890S20A####KO4070639003##</Data> <Data id="IP Address">10.124.6.241</Data> </Row> </Table> </Response>
> acec query -g ECGroup Copy Group Name : ECGroup Copy Group Type : EC Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID EC Status Copy Phase Copied Block --------- --- --------- ---- ----------------------- ---------- ------------ E8000/0x1 N/A E8000/0x3 N/A "EC action not startup" "Not set" N/A E8000/0x2 ==> E8000/0x4 0x41 "EC Executing" "Copying" 1048576
> 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">E8000 (00E8000M9#####E890S20A####KO4070639003##)</Data> </List> <Table> <Row> <Data id="Source">E8000/0x1</Data> <Data id="<=>">N/A</Data> <Data id="Target">E8000/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">E8000/0x2</Data> <Data id="<=>">==></Data> <Data id="Target">E8000/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.
> acarray detail -a E4000 ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck
> acarray detail -a E4000 -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>