This section explains, using Windows examples, how to execute snapshot-type high-speed copies. The procedures for 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 acinq lv (Logical volume information display command) with -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 acinhibit set (Volume protection settings 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 acinq lv (Logical volume information display command) with -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 acopc start (OPC/QuickOPC copy 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 |
Check the backup execution status
The execution status of the backup can be checked by using acopc query (OPC/QuickOPC copy status display 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 acopc query (OPC/QuickOPC copy status display 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 acinq lv (Logical volume information display command) with -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 acinhibit unset (Volume protection settings release 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 acinq lv (Logical volume information display command) with -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 using acopc start (OPC/QuickOPC copy start command) with -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 |
Check the restore execution status
The execution status of the restoration can be checked by using acopc query (OPC/QuickOPC copy status display command) with -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 |
Check the OPC copy progress status
The OPC copy progress status of the restoration can be checked by using acopc query (OPC/QuickOPC copy status display command) with -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 acinq lv (Logical volume information display command) with -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 - - - : |
Set volume protection (only if volume protection is to be set)
Execute acinhibit set (Volume protection settings command) to set volume protection for the copy source logical volume.
[Execution example]
> acinhibit set -v ET001/0x1 Successful completion |
Check volume protection status (only if volume protection is to be set)
Execute acinq lv (Logical volume information display command) with -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 acopc start (OPC/QuickOPC copy start command) to execute backups via QuickOPC.
For the first QuickOPC, execute acopc start (OPC/QuickOPC copy start command) without -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 the acopc start command is executed (for the first time)
Check the backup execution status
The execution status of the backup can be checked by using acopc query (OPC/QuickOPC copy status display 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 will still be running.
Figure 3.4 What happens when the snapshot processing finishes
Check the tracking status
The tracking status can be checked by using acopc query (OPC/QuickOPC copy status display 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 the second or subsequent time
If acopc start (OPC/QuickOPC copy start command) is executed with -diff option while the tracking processing is running, only the differential data updated since the last OPC will be 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 the acopc start command is executed (for the 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 acinq lv (Logical volume information display command) with -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 - - - : |
Release 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 acinhibit unset (Volume protection settings release command) to release the volume protection settings.
[Execution example]
> acinhibit unset -v ET001/0x1 Successful completion |
Check volume protection status (only if volume protection status was changed)
Execute acinq lv (Logical volume information display command) with -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 using acopc start (OPC/QuickOPC copy start command) with -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 |
Check the restore execution status
The execution status of the restoration can be checked by using acopc query (OPC/QuickOPC copy status display command) with -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
With backup and restoration operations that use QuickOPC, not all data on the logical volume, but only differential data that has been updated since the last OPC completed is copied. This means that both backups and restorations take less time to complete.
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).
Check the QuickOPC copy progress status
The QuickOPC copy progress status of the restoration can be checked by using acopc query (OPC/QuickOPC copy status display command) with -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)
Execute acinq lv (Logical volume information display command) with -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 acinhibit set (Volume protection settings 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 acinq lv (Logical volume information display command) with -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 acsnap start (SnapOPC+ copy 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
Check the backup execution status
The execution status of the backup can be checked by using acsnap query (SnapOPC+ copy status display 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
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 following ETERNUS Disk storage systems.
ETERNUS DX80 S2/DX90 S2
ETERNUS DX400 series
ETERNUS DX400 S2 series
ETERNUS DX8000 series
ETERNUS DX8000 S2 series
ETERNUS4000 models 400 and 600
ETERNUS8000 models 800, 1200 and 2200
Pre-checking volume protection status (only if volume protection is to be set)
Execute acinq lv (Logical volume information display command) with -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 acinhibit unset (Volume protection settings release 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 acinq lv (Logical volume information display command) with -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 using acsnap start (SnapOPC+ copy start command) with -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
Check the restore execution status
The execution status of the restoration can be checked by using acsnap query (SnapOPC+ copy status display command) with -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 acopc start (OPC/QuickOPC copy start command) or acsnap start (SnapOPC+ copy start command) with -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 acopc cancel (OPC/QuickOPC copy stop command) or acsnap cancel (SnapOPC+ copy stop command).
The maximum number of copy pairs which execute the Concurrent OPC function simultaneously is 1024.