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.
Pre-checking Volume Protection Status (Only If Volume Protection Is to Be Set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
Setting Volume Protection (Only If Volume Protection Is to Be Set)
Execute the acinhibit set command to set volume protection for the copy source logical volume.
[Execution example]
> acinhibit set -v ET001/0x1 Successful completion |
Checking Volume Protection Status (Only If Volume Protection Status Was Changed)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Starting EC
Execute the acec start command to start an EC.
[Execution example]
> acec start -g EcGroup ET001/0x1:ET001/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 ET001/0x2:ET001/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
Checking EC Execution Status
Check the execution status of the EC by executing the acec query 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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID EC Status Copy Phase Copied Block --------- --- --------- ---- -------------- ---------- ------------ ET001/0x1 ==> ET001/0x3 0x1 "EC Executing" "Paired" 1048576 ET001/0x2 ==> ET001/0x4 0x2 "EC Executing" "Paired" 1048576
Checking EC Copy Progress Status
The EC copy progress status of the backup can be checked by executing the acec query command with the -progress option.
[Execution example]
> acec query -g EcGroup -progress Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET001/0x3 100% 1048576 1048576 ET001/0x2 ==> ET001/0x4 100% 1048576 1048576
Suspending EC
Execute the acec suspend command to temporarily suspend ECs. The backup process is now complete.
[Execution example]
> acec suspend -g EcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> ET001/0x2:ET001/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, execute the acec suspend command with the -concur option.
[Execution example]
> acec suspend -g EcGroup -concur Successful completion.
Resuming EC
If backup data is no longer required, execute the acec resume command to restart ECs in preparation for the next backup.
[Execution example]
> acec resume -g EcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/25 07:00:00 - << EC Resumed >> ET001/0x2:ET001/0x4 # DATE : 2008/06/25 07:00:02 - << EC Resumed >> Succeeded : 2 Failed : 0
This section explains the operation methods of following processes.
Pre-checking Volume Protection Status (Only If Volume Protection Is to Be Set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Releasing Volume Protection Settings (Only If Volume Protection Is Already Set)
To restore data (copying to copy source), if the copy source logical volume has volume protection set, execute the acinhibit unset command to release the volume protection settings.
[Execution example]
> acinhibit unset -v ET001/0x1 Successful completion |
Checking Volume Protection Status (Only If Volume Protection Status Was Changed)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
Starting 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 by executing the acec reverse command.
[Execution example]
> acec reverse -g EcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/25 12:00:00 - << EC Change >> ET001/0x2:ET001/0x4 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0
Note
If the copy destination logical volume is protected, a warning message is output when the acec reverse command is executed (the command completes successfully).
[Execution example]
> acec reverse -g RecEcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/24 16:28:00 - << EC Change >> Warning:ccm7001 The target logical volume is write protected. target logical volume=ET001/0x1 Succeeded : 1 Failed : 0 |
Execute the acinhibit unset command to release the volume protection settings.
Restart the EC by executing the acec resume command with the -r option.
[Execution example]
> acec resume -g EcGroup -r ET001/0x1:ET001/0x3 # DATE : 2008/06/25 12:01:00 - << EC Resumed >> ET001/0x2:ET001/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 executing the acec start command with the -r option.
[Execution example]
> acec start -g EcGroup -r ET001/0x1:ET001/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 ET001/0x2:ET001/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
Checking EC Execution Status
Check the execution status of the EC by executing the acec query command with the -r option. 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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID EC Status Copy Phase Copied Block --------- --- --------- ---- -------------- ---------- ------------ ET001/0x1 <== ET001/0x3 0x1 "EC Executing" "Paired" 1048576 ET001/0x2 <== ET001/0x4 0x2 "EC Executing" "Paired" 1048576
Checking EC Copy Progress Status
The EC copy progress status of the restoration can be checked by executing the acec query command with the -r and -progress options.
[Execution example]
> acec query -g EcGroup -r -progress Copy Group Name : EcGroup Copy Group Type : EC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 <== ET001/0x3 100% 1048576 1048576 ET001/0x2 <== ET001/0x4 100% 1048576 1048576
Point
Protection settings can be set for a logical volume even while copy is in progress. Therefore, volume protection can be set again without waiting for completion of the restore process (physical copy completion).
Suspending EC
Temporarily suspend the EC by executing the acec suspend command with the -r option. The restoration process is now complete.
[Execution example]
> acec suspend -g EcGroup -r ET001/0x1:ET001/0x3 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> ET001/0x2:ET001/0x4 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0
Resuming EC
Reverse the EC by executing the acec reverse command with the -r option in preparation for the next backup.
[Execution example]
> acec reverse -g EcGroup -r ET001/0x1:ET001/0x3 # DATE : 2008/06/25 15:10:00 - << EC Change >> ET001/0x2:ET001/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.
Pre-checking volume protection status (only if volume protection is to be set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
Setting volume protection (only if volume protection is to be set)
Execute the acinhibit set command to set volume protection for the copy source logical volume.
[Execution example]
> acinhibit set -v ET001/0x1 Successful completion |
Checking volume protection status (only if volume protection status was changed)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Execute the acec 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 ET001/0x1:ET002/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 ET001/0x2:ET002/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 |
Execute the acec query 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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ---- ET001/0x1 ==> ET002/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto auto sync ET001/0x2 ==> ET002/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto auto sync |
The REC copy progress status of the backup can be checked by executing the acec query command with the -progress option.
[Execution example]
> acec query -g RecEcGroup -progress Copy Group Name : RecEcGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET002/0x1 0% 0 1048576 ET001/0x2 ==> ET002/0x2 100% 1048576 1048576
Temporarily suspend the REC by executing the acec suspend command.
The backup process is now complete.
[Execution example]
> acec suspend -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> ET001/0x2:ET002/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, execute the acec suspend command with the -concur option.
[Execution example]
> acec suspend -g RecEcGroup -concur Successful completion.
If backup data is no longer required, restart the REC by executing the acec resume command in preparation for the next backup.
[Execution example]
> acec resume -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 07:00:00 - << EC Resumed >> ET001/0x2:ET002/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.
Pre-checking volume protection status (only if volume protection is to be set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
Setting volume protection (only if volume protection is to be set)
Execute the acinhibit set command to set volume protection for the copy source logical volume.
[Execution example]
> acinhibit set -v ET001/0x1 Successful completion |
Checking volume protection status (only if volume protection is to be set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Execute the acec start command to start a REC from the copy source volume to the copy destination volume.
To copy in Stack mode
Specify the "-transfer stack" option.
[Execution example]
> acec start -g RecGroup -transfer stack ET001/0x1:ET002/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 ET001/0x2:ET002/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
Specify the "-transfer consist" option.
[Execution example]
> acec start -g RecGroup -transfer consist ET001/0x1:ET002/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 ET001/0x2:ET002/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 |
Execute the acec query 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 by executing the command with the -progress option.
[Execution example]
> acec query -g RECGroup -progress Copy Group Name : RECGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET002/0x1 100% 1048576 1048576 ET001/0x2 ==> ET002/0x2 100% 1048576 1048576 |
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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- ET001/0x1 ==> ET002/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- consist ET001/0x2 ==> ET002/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- consist |
The REC copy progress status of the backup can be checked by executing the acec query command with the -progress option.
[Execution example]
> acec query -g RECGroup -progress Copy Group Name : RECGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 ==> ET002/0x1 45% 471859 1048576 ET001/0x2 ==> ET002/0x2 100% 1048576 1048576
Forcibly and temporarily suspend the REC by executing the acec suspend command with the -force option.
[Execution example]
> acec suspend -g RecGroup -force ET001/0x1:ET002/0x1 # DATE : 2008/06/25 00:00:00 - << EC Suspended >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 00:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Execute the acec change command to change the REC transfer mode to "through".
[Execution example]
> acec change -g RecGroup -transfer through ET001/0x1:ET002/0x1 # DATE : 2008/06/25 00:01:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 00:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Execute the acec resume command to restart RECs.
[Execution example]
> acec resume -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 00:02:00 - << EC Resumed >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 00:02:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
Execute the acec query 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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- ET001/0x1 ==> ET002/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- through ET001/0x2 ==> ET002/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- through |
Temporarily suspend the REC by executing the acec suspend command.
The backup process is now complete.
[Execution example]
> acec suspend -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 00:10:00 - << EC Suspended >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 00:10:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
If backup data is no longer required, execute the acec 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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 07:00:00 - << EC Change >> ET001/0x2:ET002/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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 07:00:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 07:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Execute the acec resume command to restart the REC.
[Execution example]
> acec resume -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 07:01:00 - << EC Resumed >> ET001/0x2:ET002/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.
Pre-checking volume protection status (only if volume protection is to be set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Releasing volume protection settings (only if volume protection is already set)
To restore data (copying to copy source), if the copy source logical volume has volume protection set, execute the acinhibit unset command to release the volume protection settings.
[Execution example]
> acinhibit unset -v ET001/0x1 Successful completion |
Checking volume protection status (only if volume protection is already set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
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 a REC session already.
If there is a REC session between the copy source volume and the copy destination volume:
Execute the acec reverse command to reverse the REC copy direction.
[Execution example]
> acec reverse -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:00:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Note
If the copy destination logical volume is protected, a warning message is output when the acec reverse command is executed (the command completes successfully).
[Execution example]
> acec reverse -g RecEcGroup ET001/0x1:ET002/0x3 # DATE : 2008/06/24 16:28:00 - << EC Change >> Warning:ccm7001 The target logical volume is write protected. target logical volume=ET001/0x1 Succeeded : 1 Failed : 0 |
Execute the acinhibit unset command to release the volume protection settings.
Execute the acec resume command with the -r option added to restart the REC.
[Execution example]
> acec resume -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:01:00 - << EC Resumed >> ET001/0x2:ET002/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 executing the acec start command with the -r option.
[Execution example]
> acec start -g RecGroup -r -transfer sync ET001/0x1:ET002/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 ET001/0x2:ET002/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 |
Execute the acec query command to check the status of all of the RECs in the copy group.
[Execution example]
> acec query -g RecGroup -r Copy Group Name : RecGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ---- ET001/0x1 <== ET002/0x1 0x49(0x10) "EC Executing" "Copying" 1048576 auto ---- sync ET001/0x2 <== ET002/0x2 0x4A(0x11) "EC Executing" "Copying" 1048576 auto ---- sync |
Temporarily suspend the REC by executing the acec suspend command with the -r option.
The restoration process is now complete.
[Execution example]
> acec suspend -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Reverse the REC copy direction by executing the acec reverse command with the -r option in preparation for the next backup.
[Execution example]
> acec reverse -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:10:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:10:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Point
The copy destination logical volumes for a REC session cannot have volume protection set.
If the REC session is cancelled after restoration, volume protection can be set.
Restore in Stack Mode or Consistency Mode
Execute restoration via REC using the following procedures.
Pre-checking volume protection status (only if volume protection is to be set)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - Yes 0x0002 1024M Open 4 - - Yes 0x0003 1024M Open 2 - - - : |
Releasing volume protection settings (only if volume protection is already set)
To restore data (copying to copy source), if the copy source logical volume has volume protection set, execute the acinhibit unset command to release the volume protection settings.
[Execution example]
> acinhibit unset -v ET001/0x1 Successful completion |
Checking volume protection status (only if volume protection status was changed)
Execute the acinq lv command with the -l option added to check the volume protection status.
[Execution example]
> acinq lv -a ET001 -l LV No LV Name LV Size LV Type RG No Encrypt Virtual Size Copy Inhibit ------ ------- ------- ------- ----- ------- ------------ ----------- 0x0001 1024M Open 4 - - - 0x0002 1024M Open 4 - - - 0x0003 1024M Open 2 - - - : |
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 a REC session already.
If there is a REC session between the copy source volume and the copy destination volume:
Check the transfer mode of the REC by executing the acec query command.
If necessary, execute the acec 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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:01:00 - << EC Change >> ET001/0x2:ET002/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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:01:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 12:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Reverse the REC direction by executing the acec reverse command.
[Execution example]
> acec reverse -g RecGroup ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:00:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 12:00:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Note
If the copy destination logical volume is protected, a warning message is output when the acec reverse command is executed (the command completes successfully).
[Execution example]
> acec reverse -g RecEcGroup ET001/0x1:ET002/0x3 # DATE : 2008/06/24 16:28:00 - << EC Change >> Warning:ccm7001 The target logical volume is write protected. target logical volume=ET001/0x1 Succeeded : 1 Failed : 0 |
Execute the acinhibit unset command to release the volume protection settings.
Restart the REC by executing the acec resume command with the -r option.
[Execution example]
> acec resume -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 12:02:00 - << EC Resumed >> ET001/0x2:ET002/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 executing the acec start command with the -r option.
In the case of Stack mode
[Execution example]
> acec start -g RecGroup -r -transfer stack ET001/0x1:ET002/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 ET001/0x2:ET002/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 ET001/0x1:ET002/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 ET001/0x2:ET002/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 executing the acec query command with the -r option.
In the case of Stack mode
Check that the copied block count and the entire block count are the same by executing the command with the -progress option.
[Execution example]
> acec query -g RECGroup -r -progress Copy Group Name : RECGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 <== ET002/0x1 100% 1048576 1048576 ET001/0x2 <== ET002/0x2 100% 1048576 1048576 |
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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- ET001/0x1 <== ET002/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- consist ET001/0x2 <== ET002/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- consist |
Forcibly and temporarily suspend the REC by executing the acec suspend command with the -force option.
[Execution example]
> acec suspend -g RecGroup -r -force ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:00:00 - << EC Suspended >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:00:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Execute the acec change command to change the REC transfer mode to "through".
[Execution example]
> acec change -g RecGroup -r -transfer through ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:01:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:01:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Execute the acec resume command with the -r option to restart the REC.
[Execution example]
> acec resume -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:02:00 - << EC Resumed >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:02:02 - << EC Resumed >> Succeeded : 2 Failed : 0 |
Execute the acec query command with the -r option to check that all of the REC pairs 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 : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- -------------- ---------- ------------ ---- ----- ------- ET001/0x1 <== ET002/0x1 0x49(0x10) "EC Executing" "Paired" 1048576 auto ---- through ET001/0x2 <== ET002/0x2 0x4A(0x11) "EC Executing" "Paired" 1048576 auto ---- through |
Temporarily suspend the REC by executing the acec suspend command with the -r option.
The restoration process is now complete.
[Execution example]
> acec suspend -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:10:00 - << EC Suspended >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:10:02 - << EC Suspended >> Succeeded : 2 Failed : 0 |
Execute the acec change command with the -r option 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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:20:00 - << EC Change >> ET001/0x2:ET002/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 ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:20:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:20:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Execute the acec reverse command with the -r option to reverse the REC copy direction.
[Execution example]
> acec reverse -g RecGroup -r ET001/0x1:ET002/0x1 # DATE : 2008/06/25 15:21:00 - << EC Change >> ET001/0x2:ET002/0x2 # DATE : 2008/06/25 15:21:02 - << EC Change >> Succeeded : 2 Failed : 0 |
Point
The copy destination logical volumes for a REC session cannot have volume protection set.
If the REC session is cancelled after restoration, volume protection can be set.
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 system, 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 acec start command with the -skip option. In this case, the data of copy source volume is not copied to copy destination volume.
[Execution example]
> acec start -g RecEcGroup -skip ET001/0x1:ET002/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 ET001/0x2:ET002/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
Execute the acec query command to check the status of all of the RECs in the copy group.
[Execution example]
> acec query -g RecEcGroup Copy Group Name : RecEcGroup Copy Group Type : REC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Remote Disk Array Name : ET002 (00ETERNUSDXH##ET87S20A####NC4110699004##) Source <=> Target SID(RSID) EC Status Copy Phase Copied Block Rcv Split Xfer --------- --- --------- ---------- ------------ ---------- ------------ ---- ----- ------- ET001/0x1 ==> ET002/0x1 0x4B(0x12) "EC Suspend" "Paired" 1048576 auto auto through ET001/0x2 ==> ET002/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 acec resume command with the -remain option.
[Execution example]
> acec resume -g RecEcGroup -remain ET001/0x1:ET002/0x1 # DATE : 2008/06/24 16:28:00 - << EC Resumed >> ET001/0x2:ET002/0x2 # DATE : 2008/06/24 16:28:00 - << EC Resumed >> Succeeded : 2 Failed : 0
Refer to "3.2.2.4 Restore on REC Backup Environment", for the restoration procedure on REC backup environment using initial copy skip function.
The concurrent suspend function simultaneously suspends multiple EC/REC sessions for ETERNUS Disk storage system. By using this function, a copy with consistency can be easily taken.
To use the concurrent suspend function, execute the acec suspend command with the -concur option. Refer to "3.2.2.1 Backup via EC" or "3.2.2.3 Backup via REC" for the operating methods.
Note
The concurrent suspend function of REC can be used only when the transfer mode is not Stack mode.
The concurrent suspend function of REC is feasible under the following conditions:
If an ETERNUS Disk storage system is any of the following systems, both storage systems that execute REC are registered in "Registering devices operated by Copy command via SAN" or "Registering devices operated by Copy command via LAN" and the ETERNUS name specified by the -a option of the acgroup create command points to the copy source of the copy pair.
ETERNUS DX80/DX80 S2/DX90/DX90 S2 (for firmware version numbers before V10L30)
ETERNUS DX400/DX400 S2 series (for firmware version numbers before V10L30)
ETERNUS DX8000/DX8000 S2 series (for firmware version numbers before V10L30)
The concurrent suspend function of REC is feasible under the following conditions:
If an ETERNUS Disk storage system is any of the following systems, even when one of the ETERNUS Disk storage system using REC that has been registered as the remote ETERNUS Disk storage system.
ETERNUS DX80 S2/DX90 S2 (for firmware version numbers V10L30 or later)
ETERNUS DX100 S3 (for firmware version numbers V10L20 or later)
ETERNUS DX200 S3
ETERNUS DX400 S2 series (for firmware version numbers V10L30 or later)
ETERNUS DX500 S3/DX600 S3
ETERNUS DX8000 S2 series (for firmware version numbers V10L30 or later)
If the REC transfer mode is Consistency mode and the REC Disk buffer is used, check that no transferred data exists in the REC Disk buffer before executing the concurrent suspend.
You can check the data size by executing the acrecbuff stat command with the -disk option in DiskRate column.
The maximum number of copy pairs which execute the concurrent suspend function simultaneously is 845.
When there is more data to be transferred than can be transferred during the timeout interval, a timeout error will occur. When a timeout occurs, the following message is output.
[Execution example]
> 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 suspend function.
See
Refer to "3.6.7 Changing Timeout Value for Concurrent Suspend Function" for the method of changing the timeout value.
The Destination Access Permission function suppresses access (reference and updates) to the copy destination logical volume during the time from the start to the suspension of the synchronous high-speed copy.
When using this function, it is possible to suppress the erroneous reference to copy destination logical volumes which are in an invalid status when part way through copying.
Figure 3.6 Example for If acec suspend Command Was Used
To set the Destination Access Permission function, execute the acec start command with the -da option.
The access suppression is continued until the suspension of the synchronous process with the acec suspend command or until the synchronous process is stopped with the acec cancel command.
If changing the settings, stop the synchronous process which is running by executing the acec cancel command and then execute the acec start command again.
Also, it is possible to check the access suppression status by executing the acec query command with the -da option.