This section explains, using Windows examples, how to execute snapshot-type high-speed copies. The procedures for Solaris and Linux are the same.
Backing up
Use A.5.1 acopc start (Snapshot type high-speed copy start command) to execute backups via OPC.
[Execution example]
C:\>acopc. start -g OpcGroup E4000/0x1:E4000/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 E4000/0x2:E4000/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 |
The execution status of the backup can be checked using A.5.2 acopc query (Status display command for snapshot type high-speed copying).
[Execution example]
C:\>acopc query -g OpcGroup Copy Group Name : OpcGroup Copy Group Type: OPC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 ==> E4000/0x3 0x21 "OPC Executing" "Copying" 6912 E4000/0x2 ==> E4000/0x4 0x22 "OPC Executing" "Copying" 5760 |
Restoring
Restore the backup data via OPC.
Execute an OPC in the reverse direction (from the copy destination volume to the copy source volume) by specifying the -r option for A.5.1 acopc start (Snapshot type high-speed copy start command).
[Execution example]
C:\>acopc start -g OpcGroup -r E4000/0x1:E4000/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 E4000/0x2:E4000/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 |
The execution status of the restoration can be checked by specifying the -r option for A.5.2 acopc query (Status display command for snapshot type high-speed copying).
[Execution example]
C:\>acopc query -g OpcGroup -r Copy Group Name : OpcGroup Copy Group Type: OPC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 <== E4000/0x3 0x42 "OPC Executing" "Copying" 9408 E4000/0x2 <== E4000/0x4 0x43 "OPC Executing" "Copying" 3728 |
Backing up
Use A.5.1 acopc start (Snapshot type high-speed copy start command) to execute backups via QuickOPC.
For the first QuickOPC, execute A.5.1 acopc start (Snapshot type high-speed copy start command) without specifying the -diff option.
[Execution example]
C:\>acopc start -g QuickOpcGroup E4000/0x1:E4000/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 E4000/0x2:E4000/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.1 What happens when the "acopc start" command is executed (for the first time)
The execution status of the backup can be checked using A.5.2 acopc query (Status display command for snapshot type high-speed copying) in the same way as for backups via OPC.
[Execution example]
C:\>acec query -g QuickOpcGroup Copy Group Name : QuickOpcGroup Copy Group Type: QuickOPC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ------------------ ------------ E4000/0x1 ==> E4000/0x3 0x21 "OPC Executing" "Copying/Tracking" 6912 E4000/0x2 ==> E4000/0x4 0x22 "OPC Executing" "Copying/Tracking" 5760 |
When the OPC finishes, only the tracking process will still be running.
Figure 3.2 What happens when the snapshot processing finishes
The tracking status can be checked using A.5.2 acopc query (Status display command for snapshot type high-speed copying).
[Execution example]
C:\>acec query -g QuickOpcGroup Copy Group Name : QuickOpcGroup Copy Group Type: QuickOPC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 ==> E4000/0x3 0x21 "OPC Executing" "Tracking" 1048576 E4000/0x2 ==> E4000/0x4 0x22 "OPC Executing" "Tracking" 1048576 |
If A.5.1 acopc start (Snapshot type high-speed copy start command) is executed with the -diff option specified 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]
C:\>acopc start -g QuickOpcGroup -diff E4000/0x1:E4000/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 E4000/0x2:E4000/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.3 What happens when the "acopc start" command is executed (for the second or subsequent time)
Restoring
Restore the backup data via QuickOPC.
Execute a QuickOPC in the reverse direction (from the copy destination volume to the copy source volume) by specifying the -r option for A.5.1 acopc start (Snapshot type high-speed copy start command).
[Execution example]
C:\>acopc start -g QuickOpcGroup -r E4000/0x1:E4000/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 E4000/0x2:E4000/0x4 # DATE : 2008/06/26 12:0002 - << 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 |
The execution status of the restoration can be checked by specifying the -r option for A.5.2 acopc query (Status display command for snapshot type high-speed copying).
[Execution example]
C:\>acopc query -g QuickOpcGroup -r Copy Group Name : QuickOpcGroup Copy Group Type: QuickOPC Disk Array Name : E4000 (00E4000M3#####E450S20A####KD4030639004##) Source <=> Target SID OPC Status Copy Phase Copied Block --------- --- --------- ---- --------------- ---------- ------------ E4000/0x1 <== E4000/0x3 0x42 "OPC Executing" "Copying" 974848 E4000/0x2 <== E4000/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.