This section explains, using Windows examples, how to execute synchronous high-speed copies. Solaris and Linux are the same.
This section explains the operation methods of following processes.
Start of EC
Use "A.7.1 acec start (Synchronous high-speed copy start command)" to start an EC.
[Execution example]
> acec start -g EcGroup E4000/0x1:E4000/0x3 # DATE : 2008/06/24 07:00:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=3/Adr_high=0/Adr_low=0 E4000/0x2:E4000/0x4 # DATE : 2008/06/24 07:00:02 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=4/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0
Check the EC execution status
Check the execution status of the EC by using "A.7.2 acec query (Synchronous high-speed copy status display command)".
Check that all of the ECs in the copy group are in an equivalency maintenance state.
[Execution example]
> acec query -g EcGroup Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID EC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 ==> E4000/0x3 0x1 "EC Executing" "Paired" 1048576 E4000/0x2 ==> E4000/0x4 0x2 "EC Executing" "Paired" 1048576
Check the EC copy progress status
The EC copy progress status of the backup can be checked by specifying the -progress option for "A.7.2 acec query (Synchronous high-speed copy status display command)".
This function can be used in Windows version only.
[Execution example]
> acec query -g EcGroup -progress Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- E4000/0x1 ==> E4000/0x3 100% 1048576 1048576 E4000/0x2 ==> E4000/0x4 100% 1048576 1048576
Suspend of EC
Use "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)" to temporarily suspend ECs. The backup process is now complete.
[Execution example]
> acec suspend -g EcGroup E4000/0x1:E4000/0x3 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 00:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0
For suspend many ECs at the same time by using the concurrent suspend function, use "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)" with -concur option.
This function can be used in Windows version only.
[Execution example]
> acec suspend -g EcEcGroup -concur Successful completion.
Resume of EC
If backup data is no longer required, use "A.7.4 acec resume (Synchronous high-speed copy restart command)" to restart ECs in preparation for the next backup.
[Execution example]
> acec resume -g EcGroup E4000/0x1:E4000/0x3 # DATE : 2008/06/25 07:00:00 - << EC Resumed >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 07:00:02 - << EC Resumed >> Succeeded : 2 Failed : 0
This section explains the operation methods of following processes.
Start of EC
Starting an EC in the reverse direction (i.e., from the copy destination volume to the copy source volume).
The EC start method differs depending on whether there is an EC session already.
If there is an EC session between the copy source volume and the copy destination volume:
Reverse the EC direction using "A.7.5 acec reverse (Synchronous high-speed copy reverse command)".
[Execution example]
> acec reverse -g EcGroup E4000/0x1:E4000/0x3 # DATE : 2008/06/25 12:00:00 - << EC Change >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0
Restart the EC by specifying the -r option for "A.7.4 acec resume (Synchronous high-speed copy restart command)".
[Execution example]
> acec resume -g EcGroup -r E4000/0x1:E4000/0x3 # DATE : 2008/06/25 12:01:00 - << EC Resumed >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 12:01:02 - << EC Resumed >> Succeeded : 2 Failed : 0
If there is no EC session between the copy source volume and the copy destination volume:
Start an EC from the copy destination volume to the copy source volume by specifying the -r option for "A.7.1 acec start (Synchronous high-speed copy start command)".
[Execution example]
> acec start -g EcGroup -r E4000/0x1:E4000/0x3 # DATE : 2008/06/25 12:00:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=3/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E4000/0x4 # DATE : 2008/06/25 12:00:02 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=4/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0
Check the EC execution status
Check the execution status of the EC by using "A.7.2 acec query (Synchronous high-speed copy status display command)". Check that all of the ECs in the copy group are in an equivalency maintenance state.
[Execution example]
> acec query -g EcGroup -r Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID EC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 <== E4000/0x3 0x1 "EC Executing" "Paired" 1048576 E4000/0x2 <== E4000/0x4 0x2 "EC Executing" "Paired" 1048576
Check the EC copy progress status
The EC copy progress status of the restoration can be checked by specifying the -progress option for "A.7.2 acec query (Synchronous high-speed copy status display command)".
This function can be used in Windows version only.
[Execution example]
> acec query -g EcGroup -progress Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- E4000/0x1 <== E4000/0x3 100% 1048576 1048576 E4000/0x2 <== E4000/0x4 100% 1048576 1048576
Suspend of EC
Temporarily suspend the EC by specifying the -r option for "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)". The restoration process is now complete.
[Execution example]
> acec suspend -g EcGroup -r E4000/0x1:E4000/0x3 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0
Resume of EC
Reverse the EC by specifying the -r option for "A.7.5 acec reverse (Synchronous high-speed copy reverse command)" in preparation for the next backup.
[Execution example]
> acec reverse -g EcGroup -r E4000/0x1:E4000/0x3 # DATE : 2008/06/25 15:10:00 - << EC Change >> E4000/0x2:E4000/0x4 # DATE : 2008/06/25 15:10:02 - << EC Change >> Succeeded : 2 Failed : 0
The procedure for executing backup via REC depends on which transfer mode is being used.
If the transfer mode is synchronous mode, refer to "Backup in synchronous mode".
If the transfer mode is stack mode or consistency mode, refer to "Backup in stack mode or consistency mode".
Information
Refer to "Transfer mode " for more information about these transfer modes.
Backup in synchronous mode
Use the following procedure to take a backup via REC in synchronous mode.
Use "A.7.1 acec start (Synchronous high-speed copy start command)" to start a REC from the copy source volume to the copy destination volume.
Specify the "-transfer sync" option to transfer data in synchronous mode.
[Execution example]
> acec start -g RecGroup -transfer sync E4000/0x1:E8000/0x1 # DATE : 2008/06/24 07:00:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1//Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/24 07:00:02 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
Use "A.7.2 acec query (Synchronous high-speed copy status display command)" to check that all of the RECs in the copy group are in an equivalency maintenance state.
[Execution example]
> acec query -g RecGroup Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ---- E4000/0x1 ==> E8000/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto auto sync E4000/0x2 ==> E8000/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto auto sync |
The REC copy progress status of the backup can be checked by specifying the -progress option for "A.7.2 acec query (Synchronous high-speed copy status display command)".
This function can be used in Windows version only.
[Execution example]
> acec query -g RecEcGroup -progress Copy Group Name : RecEcGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- E4000/0x1 ==> E8000/0x1 0% 0 1048576 E4000/0x1 ==> E8000/0x2 100% 1048576 1048576
Temporarily suspend the REC by using "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
The backup process is now complete.
[Execution example]
> acec suspend -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 00:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
For suspend many RECs at the same time by using the concurrent suspend function, use "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)" with -concur option.
This function can be used in Windows version only.
[Execution example]
> acec suspend -g RecEcGroup -concur Successful completion.
If backup data is no longer required, restart the REC by using "A.7.4 acec resume (Synchronous high-speed copy restart command)" in preparation for the next backup.
[Execution example]
C:\>acec resume -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 07:00:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 07:00:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
Backup in stack mode or consistency mode
Use the following procedure to take a backup via REC in stack mode or consistency mode.
Use "A.7.1 acec start (Synchronous high-speed copy start command)" to start a REC from the copy source volume to the copy destination volume.
To copy in stack mode
Confirm that the number of blocks that has been copied is equal to the number of whole blocks.
[Execution example]
> acec start -g RecGroup -transfer stack E4000/0x1:E8000/0x1 # DATE : 2008/06/24 07:00:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/24 07:00:02 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
To copy in consistency mode
Confirm that the copy phase is equivalency maintenance state.
[Execution example]
> acec start -g RecGroup -transfer consist E4000/0x1:E8000/0x1 # DATE : 2008/06/24 07:00:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/24 07:00:02 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
Use "A.7.2 acec query (Synchronous high-speed copy status display command)" to check the status of all of the RECs in the copy group.
In the case of stack mode
Check that the copied block count and the entire block count are the same.
[Execution example]
> acec query -g RecGroup Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ----- E4000/0x1 ==> E8000/0x1 0x49(0x10) "EC Executing" "Copying" 1048576 auto ---- stack E4000/0x2 ==> E8000/0x2 0x4A(0x11) "EC Executing" "Copying" 1048576 auto ---- stack |
In the case of consistency mode
Check that the copy phases are in an equivalency maintenance state.
[Execution example]
> acec query -g RecGroup Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- E4000/0x1 ==> E8000/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- consist E4000/0x2 ==> E8000/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- consist |
The REC copy progress status of the backup can be checked by specifying the -progress option for "A.7.2 acec query (Synchronous high-speed copy status display command)".
This function can be used in Windows version only.
[Execution example]
> acec query -g RECGroup -progress Copy Group Name : RECGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- E4000/0x1 N/A E8000/0x6 N/A N/A N/A E4000/0x2 ==> E8000/0x7 45% 471859 1048576 E4000/0x3 ==> E8000/0x8 100% 1048576 1048576
Forcibly and temporarily suspend the REC by specifying the "-force" option for "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
[Execution example]
> acec suspend -g RecGroup -force E4000/0x1:E8000/0x1 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 00:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Use "A.7.6 acec change (Synchronous high-speed copy mode change command)" to change the REC transfer mode to "through".
[Execution example]
> acec change -g RecGroup -transfer through E4000/0x1:E8000/0x1 # DATE : 2008/06/25 00:01:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 00:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Use "A.7.4 acec resume (Synchronous high-speed copy restart command)" to restart RECs.
[Execution example]
> acec resume -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 00:02:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 00:02:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
Use "A.7.2 acec query (Synchronous high-speed copy status display command)" to check that all of the RECs in the copy group are in an equivalency maintenance state.
[Execution example]
> acec query -g RecGroup Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- E4000/0x1 ==> E8000/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- through E4000/0x2 ==> E8000/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- through |
Temporarily suspend the REC using "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
The backup process is now complete.
[Execution example]
> acec suspend -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 00:10:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 00:10:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
If backup data is no longer required, use "A.7.6 acec change (Synchronous high-speed copy mode change command)" to change the transfer mode back to the original mode (either stack mode or consistency mode) in preparation for the next backup.
To change to stack mode
[Execution example]
> acec change -g RecGroup -transfer stack E4000/0x1:E8000/0x1 # DATE : 2008/06/25 07:00:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 07:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
To change to consistency mode
[Execution example]
> acec change -g RecGroup -transfer consist E4000/0x1:E8000/0x1 # DATE : 2008/06/25 07:00:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 07:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Restart the REC using "A.7.4 acec resume (Synchronous high-speed copy restart command)".
> acec resume -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 07:01:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 07:01:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
The procedure for executing restorations on REC backup environment depends on which transfer mode is being used.
If the transfer mode is synchronous mode, refer to "Restore in synchronous mode".
If the transfer mode is stack mode or consistency mode, refer to "Restore in stack mode or consistency mode".
Information
Refer to "Transfer mode " for more information about these transfer modes.
Restore in synchronous mode
Execute restoration via REC using the following procedures.
Starting an REC in the reverse direction (i.e., from the copy destination volume to the copy source volume).
The EC start method differs depending on whether there is an REC session already.
If there is an REC session between the copy source volume and the copy destination volume:
Reverse the REC copy direction using "A.7.5 acec reverse (Synchronous high-speed copy reverse command)".
[Execution example]
> acec reverse -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:00:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Restart the REC by specifying the -r option for "A.7.4 acec resume (Synchronous high-speed copy restart command)".
[Execution example]
> acec resume -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:01:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
If there is no REC session between the copy source volume and the copy destination volume:
Start an REC from the copy destination volume to the copy source volume by specifying the -r option for "A.7.1 acec start (Synchronous high-speed copy start command)".
[Execution example]
> acec start -g RecGroup -r -transfer sync E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:00:00 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
Check the status of all of the RECs in the copy group using "A.7.2 acec query (Synchronous high-speed copy status display command)".
[Execution example]
> acec query -g RecGroup -r Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ---- E4000/0x1 <== E8000/0x1 0x49(0x10) "EC Executing" "Copying" 1048576 auto ---- sync E4000/0x2 <== E8000/0x2 0x4A(0x11) "EC Executing" "Copying" 1048576 auto ---- sync |
Temporarily suspend the REC by specifying the -r option for "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
The restoration process is now complete.
[Execution example]
> acec suspend -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Reverse the REC copy direction by specifying the -r option for "A.7.5 acec reverse (Synchronous high-speed copy reverse command)" in preparation for the next backup.
[Execution example]
> acec reverse -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:10:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:10:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Restore in stack mode or consistency mode
Execute restoration via REC using the following procedures.
Starting an REC in the reverse direction (i.e., from the copy destination volume to the copy source volume.
The EC start method differs depending on whether there is an REC session already.
If there is an REC session between the copy source volume and the copy destination volume:
Check the transfer mode of the REC by using "A.7.2 acec query (Synchronous high-speed copy status display command)".
If necessary, use "A.7.6 acec change (Synchronous high-speed copy mode change command)" as required to change to another transfer mode (stack mode or consistency mode).
In the case of stack mode
[Execution example]
> acec change -g RecGroup -transfer stack E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:01:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
In the case of consistency mode
[Execution example]
> acec change -g RecGroup -transfer consist E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:01:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Reverse the REC direction by using "A.7.5 acec reverse (Synchronous high-speed copy reverse command)".
[Execution example]
> acec reverse -g RecGroup E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:00:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Restart the REC by specifying the -r option for "A.7.4 acec resume (Synchronous high-speed copy restart command)".
[Execution example]
> acec resume -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:02:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:02:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
If there is no REC session between the copy source volume and the copy destination volume:
Start a REC from the copy destination volume to the copy source volume by specifying the -r option for "A.7.1 acec start (Synchronous high-speed copy start command)".
[In the case of stack mode]
[Execution example]
> acec start -g RecGroup -r -transfer stack E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:00:00 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
In the case of consistency mode
[Execution example]
> acec start -g RecGroup -r -transfer consist E4000/0x1:E8000/0x1 # DATE : 2008/06/25 12:00:00 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/25 12:00:02 - << EC Started >> # From:BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0 |
Check the status of all of the RECs in the copy group by specifying the -r option for "A.7.2 acec query (Synchronous high-speed copy status display command)".
In the case of stack mode
Check that the copied block count and the entire block count are the same.
[Execution example]
> acec query -g RecGroup -r Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ----- E4000/0x1 <== E8000/0x1 0x49(0x10) "EC Executing" "Copying" 1048576 auto ---- stack E4000/0x2 <== E8000/0x2 0x4A(0x11) "EC Executing" "Copying" 1048576 auto ---- stack |
In the case of consistency mode
Check that the copy phases are in an equivalency maintenance state.
[Execution example]
> acec query -g RecGroup -r Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- E4000/0x1 <== E8000/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- consist E4000/0x2 <== E8000/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- consist |
Forcibly and temporarily suspend the REC by specifying the "-force" option for "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
[Execution example]
> acec suspend -g RecGroup -r -force E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Use "A.7.6 acec change (Synchronous high-speed copy mode change command)" to change the REC transfer mode to "through".
[Execution example]
> acec change -g RecGroup -r -transfer through E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:01:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Restart the REC by specifying the -r option for "A.7.4 acec resume (Synchronous high-speed copy restart command)".
[Execution example]
> acec resume -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:02:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:02:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
Specify the -r option for "A.7.2 acec query (Synchronous high-speed copy status display command)" to check that all of the RECs in the copy group are in an equivalency maintenance state.
[Execution example]
> acec query -g RecGroup -r Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ---- E4000/0x1 <== E8000/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- through E4000/0x2 <== E8000/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- through |
Temporarily suspend the REC by specifying the -r option for "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)".
The restoration process is now complete.
[Execution example]
> acec suspend -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:10:00 - << EC Suspended >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:10:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Specify the -r option for "A.7.6 acec change (Synchronous high-speed copy mode change command)" to change the transfer mode back to the original mode (either stack mode or consistency mode) in preparation for the next backup.
In the case of stack mode
[Execution example]
> acec change -g RecGroup -r -transfer stack E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:20:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:20:02 - << EC Change >> Succeeded : 2 Failed : 0 |
In the case of consistency mode
[Execution example]
> acec change -g RecGroup -r -transfer consist E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:20:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:20:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Reverse the REC copy direction by specifying the -r option for "A.7.5 acec reverse (Synchronous high-speed copy reverse command)".
[Execution example]
> acec reverse -g RecGroup -r E4000/0x1:E8000/0x1 # DATE : 2008/06/25 15:21:00 - << EC Change >> E4000/0x2:E8000/0x2 # DATE : 2008/06/25 15:21:02 - << EC Change >> Succeeded : 2 Failed : 0 |
This section explains the REC operating modes.
There are three types of operating modes for copies that use the REC function, as listed below. One of the following operating modes can be specified to match the operation.
Transfer mode
Recovery mode
Split mode
This mode relates to the method that the REC uses to transfer data.
Transfer method | Transfer mode | Explanation |
---|---|---|
Synchronous transfer method | Synchronous | In this mode, responses to write requests from the server do not return as "complete" until data has been written to the copy source volume and copied to the destination volume. Synchronizing data copies with writes to the copy source guarantees the integrity of the data on both the copy source volume and the copy destination volume when the copy completes. This mode is suitable to RECs within sites with short delay times, because it has a large impact on the performance of write accesses from the server. |
Asynchronous transfer methods | Stack | This mode has only a small impact on the time taken to respond to the server because it only records the position of the block that has been updated before returning "complete" to the server. The data for this block is transferred using an independent transfer engine. Copies can be executed even when there is only limited bandwidth, but in this case the amount of data that has not been transferred may build up. |
Consistency | This mode guarantees the sequence of transfers between copy sessions for the copy destination ETERNUS disk storage systems, and is suitable for operations, such as on databases, that perform mirroring using copies that consist of multiple areas. This mode uses part of cache memory for transfer buffers. Data is transferred to the copy destination by first "storing" a block of data to be copied in a transmission transfer buffer and then using a reception transfer buffer to "expand" the data that has been transferred. | |
Through | This mode is for transferring data that has not been transferred when copies in stack mode or consistency mode are stopped or suspended. |
Recovery mode is an operating mode for performing recovery following REC communication errors. The following operating modes can be selected.
Recovery mode | Explanation |
---|---|
Automatic Recovery | In this mode, REC sessions recover automatically when the line that was disconnected due to a communications error is connected again. |
Manual Recovery | In this mode, REC sessions must be recovered manually even if the line that was disconnected due to a communications error is connected again. |
Split mode is an operating mode used when the line path is disconnected due to a line error or disaster, in situations where an REC in synchronous mode is in an equivalency maintenance state. The following operating modes can be selected.
Split mode | Explanation |
---|---|
Automatic Split | In this mode, if a communication error occurs for some reason while the REC is executing, the REC session will be automatically disconnected and update processing to the copy source will continue. |
Manual Split | In this mode, if a communication error occurs for some reason while the REC is executing, the operator will be asked to choose whether to disconnect the REC session. |
The initial copy skip function is used when an initial copy cannot be executed by reason of network bandwidth shortage.
Change the REC synchronous processing to the suspend status by executing the "A.7.1 acec start (Synchronous high-speed copy start command)" with -skip option. In this case, the data of copy source volume is not copied to copy destination volume.
> acec start -g RecEcGroup -skip E4000/0x1:E8000/0x1 # DATE : 2008/06/24 16:28:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_lw=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=1/Adr_high=0/Adr_low=0 E4000/0x2:E8000/0x2 # DATE : 2008/06/24 16:28:00 - << EC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=2/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045383030304d3923232323234538393053323041232323234b4f343037303633393030332323/Olu=2/Adr_high=0/Adr_low=0 Succeeded : 2 Failed : 0
Use "A.7.2 acec query (Synchronous high-speed copy status display command)" to check the status of all of the RECs in the copy group.
> acec query -g RecEcGroup Copy Group Name : RecEcGroup Copy Group Type : REC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Remote Disk Array Name : E8000 (00E8000M9#####E890S20A####KO4070639003##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- ----------------------- ---------- ------------ ---- ----- ------- E4000/0x1 ==> E8000/0x1 0x4B(0x12) "EC Suspend" "Paired" 1048576 auto auto through E4000/0x1 ==> E8000/0x2 0x4A(0x11) "EC Suspend" "Paired" 1048576 auto auto through
After changing the REC synchronous processing to the suspend status, back up the data from copy source volume to tape and restore its data from tape to copy destination volume.
Restart the RECs suspended by using initial copy skip function, by executing the "A.7.4 acec resume (Synchronous high-speed copy restart command)" with -remain option.
> acec resume -g RecEcGroup -remain E4000/0x1:E8000/0x1 # DATE : 2008/06/24 16:28:00 - << EC Resumed >> E4000/0x2:E8000/0x2 # DATE : 2008/06/24 16:28:00 - << EC Resumed >> Succeeded : 2 Failed : 0
Refer to "3.1.2.4 Restore on REC backup environment", for the restoration procedure on REC backup environment using initial copy skip function.
The concurrent suspension function simultaneously suspends multiple EC/REC sessions for ETERNUS disk storage systems. By using this function, a copy with consistency can be easily taken.
To use the concurrent suspension function, execute the "A.7.3 acec suspend (Synchronous high-speed copy temporary suspension command)" with -concur option. For the operating methods, refer to "3.1.2.1 Backup via EC" or "3.1.2.3 Backup via REC".
Note
The concurrent suspension function of REC can be used, when the transfer mode is not Stack mode and an ETERNUS disk storage system that set the access path is copy-source box.
When there is many data or the network is not good condition, a timeout error will occur. When a timeout occurs, the following message is output.
> acec suspend -g EcGroup -concur ccm5004 Operation failed. function=stxcec.SUSPEND.concur, message=STXC1300 ERROR Time out detected.
If this message is displayed, change the timeout value for concurrent suspension function.
See
For the method of changing the timeout value for concurrent suspension function, refer to "3.4.7 Changing timeout value for concurrent suspension function (Windows only)".