Top
ETERNUS SF AdvancedCopy Manager V16.1 Operation Guide for Copy Control Module
FUJITSU Storage

C.2.2 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
> acgroup create -g group01 -type OPC -a ET001
Successful completion.
With -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 -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 -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 - &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>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 -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 -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>

If the warning message by executing the command is output as follows.

Without -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 -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 - &lt;&lt; EC Change &gt;&gt;</Detail>
        </Result>
        <Result>
            <Object>ET001/0x2:ET001/0x7</Object>
            <Status>Succeeded</Status>
            <Message></Message>
            <Detail>DATE : 2008/06/24 16:28:00 - &lt;&lt; EC Change &gt;&gt;</Detail>
        </Result>
    </ResultList>
</Response>