This section explains, using examples for Windows environments, how to execute snapshot-type high-speed copies. The procedures for Solaris and Linux environments 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 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 - - - :
Execution of Backup
Execute the acopc start command to execute backups via OPC.
[Execution example]
> acopc start -g OpcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/25 00:00:00 - << OPC 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/25 00:00:02 - << OPC 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 Backup Execution Status
The execution status of the backup can be checked by executing the acopc query command.
[Execution example]
> acopc query -g OpcGroup Copy Group Name : OpcGroup 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" 471859
Check the OPC copy progress status
The OPC copy progress status of the backup can be checked by using the acopc query command with -progress option.
[Execution example]
> acopc query -g OpcGroup -progress Copy Group Name : OpcGroup 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% 471859 1048576
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 - - - :
Execution of Restore
Execute an OPC in the reverse direction (from the copy destination volume to the copy source volume) by executing the acopc start command with the -r option.
[Execution example]
> acopc start -g OpcGroup -r ET001/0x1:ET001/0x3 # DATE : 2008/06/25 12:00:00 - << OPC 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 - << OPC 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 Restore Execution Status
The execution status of the restoration can be checked by executing the acopc query command with the -r option.
[Execution example]
> acopc query -g OpcGroup -r Copy Group Name : OpcGroup Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ ET001/0x1 <== ET001/0x3 0x42 "OPC Executing" "Copying" 9408 ET001/0x2 <== ET001/0x4 0x43 "OPC Executing" "Copying" 3728
Checking OPC Copy Progress Status
The OPC copy progress status of the restoration can be checked by executing the acopc query command with the -r and -progress options.
[Execution example]
> acopc query -g OpcGroup -r -progress Copy Group Name : OpcGroup Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 <== ET001/0x3 1% 9408 1048576 ET001/0x2 <== ET001/0x4 1% 3728 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).
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 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 - - - :
Execution of First Backup
Execute the acopc start command to execute backups via QuickOPC. For the first QuickOPC, execute the acopc start command without the -diff option.
[Execution example]
> acopc start -g QuickOpcGroup ET001/0x1:ET001/0x3 # DATE : 2008/06/25 00:00:00 - << Differential OPC 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/25 00:00:02 - << Differential OPC 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
Executing the first QuickOPC starts a tracking process as well as an OPC from the copy source volume to the copy destination volume.
Figure 3.3 What Happens When acopc start Command Is Executed (for First Time)
Checking Backup Execution Status
The execution status of the backup can be checked by executing the acopc query command in the same way as for backups via OPC.
[Execution example]
> acec query -g QuickOpcGroup Copy Group Name : QuickOpcGroup 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" "Copying/Tracking" 6912 ET001/0x2 ==> ET001/0x4 0x22 "OPC Executing" "Copying/Tracking" 5760
When the physical copy of QuickOPC finishes, only the tracking process is still running.
Figure 3.4 What Happens When Snapshot Processing Finishes
Checking Tracking Status
The tracking status can be checked by executing the acopc query command. Confirm that the physical copying process has finished by checking that the Copy Phase is in "Tracking" mode.
[Execution example]
> acopc query -g QuickOpcGroup Copy Group Name : QuickOpcGroup 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
Execution of Backup for Second or Subsequent Time
If the acopc start command is executed with the -diff option while the tracking processing is running, only the differential data updated since the last OPC is copied, which means that copies take less time to complete.
[Execution example]
> acopc start -g QuickOpcGroup -diff ET001/0x1:ET001/0x3 # DATE : 2008/06/26 00:00:00 - << Differential OPC 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/26 00:00:02 - << Differential OPC 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
Figure 3.5 What Happens When acopc start Command Is Executed (for Second or Subsequent Time)
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 - - - :
Execution of Restore
Execute a QuickOPC in the reverse direction (from the copy destination volume to the copy source volume) by executing the acopc start command with the -r option.
[Execution example]
> acopc start -g QuickOpcGroup -r ET001/0x1:ET001/0x3 # DATE : 2008/06/26 12:00:00 - << OPC 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/26 12:00:02 - << OPC 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 Restore Execution Status
The execution status of the restoration can be checked by executing the acopc query command with the -r option.
[Execution example]
> acopc query -g QuickOpcGroup -r Copy Group Name : QuickOpcGroup Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ ET001/0x1 <== ET001/0x3 0x42 "OPC Executing" "Copying" 974848 ET001/0x2 <== ET001/0x4 0x43 "OPC Executing" "Copying" 786432
Point
If a QuickOPC session exists, not all data on the logical volume, but only differential data that has been updated since the last OPC completed is copied. Because of that, not only backup copies, but restore copies are also completed in a short period of time for backup and restore operations that use QuickOPC.
If a QuickOPC session does not exist, all the data in the logical volume is copied.
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).
Checking QuickOPC Copy Progress Status
The QuickOPC copy progress status of the restoration can be checked by executing the acopc query command with the -r and -progress options.
[Execution example]
> acopc query -g QuickOpcGroup -r -progress Copy Group Name : QuickOpcGroup Copy Group Type : QuickOPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target Progress Copied Block Total Block --------- --- --------- -------- ------------ ----------- ET001/0x1 <== ET001/0x3 93% 974848 1048576 ET001/0x2 <== ET001/0x4 75% 786432 1048576
This section explains the operation methods of following processes:
Pre-checking Volume Protection Status (Only If Volume Protection Is to Be Set)
Setting Volume Protection (Only If Volume Protection Is to Be Set)
Checking Volume Protection Status (Only If Volume Protection Is to Be Set)
Point
The types of logical volumes that can be used as the SnapOPC+ copy destination are Thin Provisioning Volumes (TPV), Flexible Tier Volumes (FTV), and Snap Data Volumes (SDV).
However, if the storage device is an ETERNUS DX S2 series, SDV is the only logical volume type that can be used.
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 - - - :
Execution of Backup
Execute the acsnap start command to execute backups via SnapOPC+.
[Execution example]
> acsnap start -g SnapOPCPGroup ET001/0x1:ET001/0x4 # DATE : 2008/06/24 16:28:00 - << SnapOPCP Started >> ET001/0x2:ET001/0x5 # DATE : 2008/06/24 16:28:00 - << SnapOPCP Started >> Succeeded : 2 Failed : 0
Checking Backup Execution Status
The execution status of the backup can be checked by executing the acsnap query command.
[Execution example]
> acsnap query -g SnapOPCPGroup Copy Group Name : SnapOPCPGroup Copy Group Type : SnapOPCP Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID Snap Status Gen Date Copied Block --------- --- --------- ---- ------------------------- ---- -------- ------------ ET001/0x1 ==> ET001/0x4 0x22 "Copy On Write(Active)" 2 10minute 1048576 ET001/0x1 ==> ET001/0x3 0x21 "Copy On Write(Inactive)" 1 1day 1048576 ET001/0x2 ==> ET001/0x5 0x23 "Copy On Write(Active)" 1 10minute 1048576 ET001/0x2 N/A ET001/0x6 N/A "Snap action not startup" N/A N/A 0
With SnapOPC+, only specific snap generations can be deleted from multiple snap generations. The following table shows the snap generations that can be deleted (refer to the storage device manual for details).
Storage Device | Copy Destination Volume | Oldest Snap Generation | Snap Generations Other than the Oldest |
---|---|---|---|
Earlier than V11L10-2000 | TPV | Can be deleted. | Cannot be deleted. |
V11L10-2000 or later | TPV | Can be deleted. | Can be deleted. (*1) |
SDV | Can be deleted. | Can be deleted only when all of the copy pairs for the snap generation are created in LU to LU format. (*1) |
*1: Cannot be deleted if the copy ratio of the snap generation to be deleted is different from the copy ratio of the snap generation prior to it.
Snap generations are deleted as follows:
Oldest snap generation
The SnapOPC+ session is stopped synchronously with the snap generation deletion operation using AdvancedCopy Manager CCM. Therefore, the SnapOPC+ session is stopped when the command is completed.
Snap generations other than the oldest
Figure 3.6 Process Image When Deleting Snap Generations Other than the Oldest
When a snap generation that is not the oldest is deleted, the data stored in the deleted snap generation is migrated to the generation prior to it. Until this migration process is completed, the deleted snap generation remains as a SnapOPC+ session in the deleting state (when the acsnap query command is executed, the Snap Status field shows "Snap Deleting").
This process is performed asynchronously with the snap generation deletion operation using AdvancedCopy Manager CCM in the storage device. Therefore, when a snap generation other than the oldest is deleted with a command, the SnapOPC+ session that is being stopped may remain for a while even after the command has responded.
This section explains the operation methods of following processes.
Pre-checking Volume Protection Status (Only If Volume Protection Is to Be Set)
Releasing Volume Protection Settings (Only If Volume Protection Is Already Set)
Checking Volume Protection Status (Only If Volume Protection Status Was Changed)
Point
The restoration by using SnapOPC+ can be execution for the ETERNUS DX series (excluding the ETERNUS DX60 S2) and the ETERNUS AF All-Flash Arrays.
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 - - - :
Execution of Restore
Execute a SnapOPC+ in the reverse direction (from the copy destination volume to the copy source volume) by executing the acsnap start command with the -r option.
[Execution example]
> acsnap start -g SnapOPCPGroup -r ET001/0x1:ET001/0x4 # DATE : 2008/06/24 16:28:00 - << SnapOPCP Started >> ET001/0x2:ET001/0x5 # DATE : 2008/06/24 16:28:00 - << SnapOPCP Started >> Succeeded : 2 Failed : 0
Checking Restore Execution Status
The execution status of the restoration can be checked by executing the acsnap query command with the -r option.
[Execution example]
> acsnap query -g SnapOPCPGroup -r Copy Group Name : SnapOPCPGroup Copy Group Type : SnapOPCP Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- ------------------------ ---------- ------------ ET001/0x1 <== ET001/0x4 0x22 "Copy On Write(Active)" "Copying" 1048576 ET001/0x1 N/A ET001/0x3 N/A "OPC action not startup" "Not set" 0 ET001/0x2 N/A ET001/0x5 N/A "OPC action not startup" "Not set" 0 ET001/0x2 N/A ET001/0x6 N/A "OPC action not startup" "Not set" 0
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).
The Concurrent OPC function simultaneously creates the snapshots of multiple logical volumes for ETERNUS Disk storage system. By using this function, a copy with consistency can be easily taken. In OPC/QuickOPC/SnapOPC+ can be used this function.
To use this function, execute the acopc start or acsnap start command with the -concur option.
Refer to the followings depends on your backup process for the operating methods.
Note
The session may remain defined OPC when this command is forced to terminate by the task manager, by executing Ctrl-C, etc. In such a case, stop the session by re-execute this command, or by executing the acopc cancel or acsnap cancel command.
The upper limit of the number of pairs that can simultaneously implement Concurrent OPC depends on the specifications of the ETERNUS Disk storage system.