NAME
acopc query - Display the copy status of OPC or QuickOPC
SYNOPSIS
acopc query -g copyGroup [-p copyPair] [-r] [-progress] [-date] [-xml] acopc query -g copyGroup [-p copyPair] [-r] -all [-xml]
DESCRIPTION
This command displays the copy status of the OPC or QuickOPC for the specified copy group or copy pair.
OPTIONS
This option specifies the copy group name.
This option specifies a copy pair.
This option displays the status of a copy in the reverse direction to the direction that has been specified.
This option displays the progress of copy processes.
This option displays the last execution date of OPC or QuickOPC for the copy pair.
This option specifies the displaying by the extended format.
Refer to the table of EXAMPLES for the displayed items.
This option specifies when displaying by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
For OPC
When the -progress and -date options are not specified:
> acopc query -g Group01 Copy Group Name : Group01 Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Copying" 0 ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying" 1048576
When the -progress option is specified:
> acopc query -g Group01 -progress Copy Group Name : Group01 Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET001/0x3 0% 0 1048576 ET001/0x2 ==> ET001/0x4 45% 1048576 2330168
When the -date option is specified:
> acopc query -g Group01 -date Copy Group Name : Group01 Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block Operation Date --------- --- --------- ---- --------------- ---------- ------------ --------------------- ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Copying" 0 "2010/10/20 09:00:00" ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying" 1048576 "2010/10/20 09:00:00"
When the -progress and -date options are specified, or the -all option is specified:
> acopc query -g Group01 -progress -date Copy Group Name : Group01 Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Progress Copied Block Total Block Operation Date --------- --- --------- ---- --------------- ---------- -------- ------------ ----------- --------------------- ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Copying" 0% 0 1048576 "2010/10/20 09:00:00" ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying" 45% 1048576 2330168 "2010/10/20 09:00:00"
For QuickOPC
When the -progress and -date options are not specified:
> acopc query -g Group01 Copy Group Name : Group01 Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Tracking" 1048576 ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Tracking" 1048576
When the -progress option is specified:
> acopc query -g Group01 -progress Copy Group Name : Group01 Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET001/0x3 0% 0 1048576 ET001/0x2 ==> ET001/0x4 45% 471859 1048576
When the -date option is specified:
> acopc query -g Group01 -date Copy Group Name : Group01 Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block Operation Date --------- --- --------- ---- --------------- ------------------ ------------ --------------------- ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Copying/Tracking" 0 "2010/10/20 09:00:00" ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying/Tracking" 1048576 "2010/10/20 09:00:00"
When the -progress and -date options are specified, or the -all option is specified:
> acopc query -g Group01 -progress -date Copy Group Name : Group01 Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Progress Copied Block Total Block Operation Date --------- --- --------- ---- --------------- ------------------ -------- ------------ ----------- --------------------- ET001/0x1 ==> ET001/0x3 0x21 "OPC Executing" "Copying/Tracking" 0% 0 1048576 "2010/10/20 09:00:00" ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying/Tracking" 45% 1048576 2330168 "2010/10/20 09:00:00"
The following table shows the meanings of the information displayed.
Title | Explanation |
---|---|
Copy Group Name | Displays the copy group name. |
Copy Group Type | Displays the type of copy that has been set up for the copy group. |
Disk Array Name | Displays the Box ID and the ETERNUS name that was specified with the -a option for the acgroup create command. |
Source | Displays the logical volume for the copy source. |
<=> | Displays the copy direction.
|
Target | Displays the logical volume for the copy destination. |
SID | Displays the session ID for the copy source. |
OPC Status | Displays the execution status of the OPC.
|
Copy Phase | Displays the current phase.
|
Copied Block | Displays the number of blocks that have been copied. |
Title | Explanation |
---|---|
Copy Group Name | Displays the copy group name. |
Copy Group Type | Displays the type of copy that has been set up for the copy group. |
Disk Array Name | Displays the Box ID and the ETERNUS name that was specified with the -a option for the acgroup create command. |
Source | Displays the logical volume for the copy source. |
<=> | Displays the copy direction.
|
Target | Displays the logical volume for the copy destination. |
Progress | Displays the progress of copy processes as a percentage. |
Copied Block | Displays the number of blocks that have been copied. |
Total Block | Displays the number of total blocks. |
Title | Explanation |
---|---|
Copy Group Name | Displays the copy group name. |
Copy Group Type | Displays the type of copy that has been set up for the copy group. |
Disk Array Name | Displays the Box ID and the ETERNUS name that was specified with the -a option for the acgroup create command. |
Source | Displays the logical volume for the copy source. |
<=> | Displays the copy direction.
|
Target | Displays the logical volume for the copy destination. |
SID | Displays the session ID for the copy source. |
OPC Status | Displays the execution status of the OPC.
|
Copy Phase | Displays the current phase.
|
Copied Block | Displays the number of blocks that have been copied. |
Operation Date | If an OPC session exists, it displays the date for when the OPC session state transitions indicated below last occurred (last execution date) in a "yyyy/mm/dd hh:mm:ss" format.
If any of the following conditions apply, the date will be displayed as "----/--/-- --:--:--."
|
Title | Explanation |
---|---|
Copy Group Name | Displays the copy group name. |
Copy Group Type | Displays the type of copy that has been set up for the copy group. |
Disk Array Name | Displays the Box ID and the ETERNUS name that was specified with the -a option for the acgroup create command. |
Source | Displays the logical volume for the copy source. |
<=> | Displays the copy direction.
|
Target | Displays the logical volume for the copy destination. |
SID | Displays the session ID for the copy source. |
OPC Status | Displays the execution status of the OPC.
|
Copy Phase | Displays the current phase.
|
Progress | Displays the progress of copy processes as a percentage. |
Copied Block | Displays the number of blocks that have been copied. |
Total Block | Displays the number of total blocks. |
Operation Date | If an OPC session exists, it displays the date for when the OPC session state transitions indicated below last occurred (last execution date) in a "yyyy/mm/dd hh:mm:ss" format.
If any of the following conditions apply, the date will be displayed as "----/--/-- --:--:--."
|
NOTES
When the copy type of copy group is EC, REC or SnapOPCP, this command cannot be executed.
Information such as Copy direction data and SID data may display as "???". Refer to "5.3 Resolving for Displaying "???" in Advanced Copy Status" and take action.
The copying progress for OPC and QuickOPC may not reach 100% due to such things as data updates to the copy source.
If Copy Phase column is either of the following, the copying is complete.
Not Set (when the copy type is OPC)
Tracking (when the copy type is QuickOPC)