The XML format of execution type command is follows:
Execution result message only
Execution result including the detail information
The display example for each XML format shows the followings.
Display Example of Execution Result Message Only
Without the -xml option
> acgroup create -g group01 -type OPC -a ET001 Successful completion.
With the -xml option
> acgroup create -g group01 -type OPC -a ET001 -xml <?xml version="1.0" encoding="UTF-8"?> <Response version="1.0"> <ReturnCode>0</ReturnCode> <Message>Successful completion.</Message> </Response>
Display Example of Execution Result Including Detail Information
Without the -xml option
>acec start -g ECGroup ET001/0x1:ET001/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 ET001/0x2:ET001/0x7 ccm5004 Operation failed. function=STXCopyEC.START, message=invalid BoxID. Succeeded : 1 Failed : 1
With the -xml option
>acec start -g ECGroup -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
<ReturnCode>6</ReturnCode>
<Message></Message>
<ResultList>
<Result>
<Object>ET001/0x1:ET001/0x6</Object>
<Status>Succeeded</Status>
<Message></Message>
<Detail>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</Detail>
</Result>
<Result>
<Object>ET001/0x2:ET001/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 the -xml option
> acec start -g
ccm1001 An invalid argument was specified.
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 the -xml option
> acec start -g -xml <?xml version="1.0" encoding="UTF-8"?> <Response version="1.0"> <ReturnCode>1</ReturnCode> <Message>ccm1001 An invalid argument was specified.</Message> </Response>
The warning message by executing the command is output as follows.
Without the -xml option
> acec reverse -g group01 ET001/0x1:ET001/0x6 # DATE : 2008/06/24 16:28:00 - << EC Change >> Warning:ccm7001 The target logical volume is write protected. target logical volume=ET001/0x1 ET001/0x2:ET001/0x7 # DATE : 2008/06/24 16:28:00 - << EC Change >> Succeeded : 2 Failed : 0
With the -xml option
> acec reverse -g group01 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response version="1.0">
<ReturnCode>0</ReturnCode>
<Message>Successful completion.</Message>
<ResultList>
<Result>
<Object>ET001/0x1:ET001/0x6</Object>
<Status>Succeeded</Status>
<Message>Warning:ccm7001 The target logical volume is write protected. target logical volume=ET001/0x1</Message>
<Detail>DATE : 2008/06/24 16:28:00 - << EC Change >></Detail>
</Result>
<Result>
<Object>ET001/0x2:ET001/0x7</Object>
<Status>Succeeded</Status>
<Message></Message>
<Detail>DATE : 2008/06/24 16:28:00 - << EC Change >></Detail>
</Result>
</ResultList>
</Response>