Data protection with multiple site replication
10402105 ยท 2019-09-03
Assignee
Inventors
- Dennis Desimone (Escondido, CA, US)
- Michael H. Reider (Escondido, CA, US)
- Kenneth Geist (San Diego, CA, US)
- Victoria Gonzalez (Escondido, CA, US)
Cpc classification
G06F3/0664
PHYSICS
G06F3/0665
PHYSICS
G06F3/0646
PHYSICS
G06F3/0607
PHYSICS
G06F3/0619
PHYSICS
International classification
Abstract
Systems and methods for replicating data from a first site to a second site remote from said first site are described. An embodiment includes storing compressed data on a hard disk appliance, reading said data without decompressing said data, sending said data over a wide-area-network (WAN) in a compressed state, and storing said data on a second hard disk appliance remote from said first hard disk appliance in its compressed state without performing an additional compression operation.
Claims
1. A method of managing data storage, comprising: backing up data on a first hard disk storage device that is configured to emulate a tape based storage appliance according to a first user defined periodic schedule; determining whether to compress the data based on a write Command Descriptor Block (CDB) operation code, wherein a data portion of the operation code comprises a buffer; and replicating the data on a second hard disk storage device remote from the first hard disk storage device according to a second user defined periodic schedule, wherein the second user defined periodic schedule is based on a parameter of the first hard disk storage device, wherein the parameter is stored in the buffer of the data portion of the operation code.
2. The method of claim 1 further comprising: storing compressed data on a hard disk appliance; reading said data without decompressing said data; sending said data over a wide-area-network (WAN) in a compressed state; storing said data on the second hard disk storage device remote from said first hard disk storage device in its compressed state without performing an additional compression operation.
3. The method of claim 1, wherein the replicating of said data on the second hard disk storage device remote from said first hard disk storage device is in response to an unload command sent to said first hard disk storage device.
4. The method of claim 1, wherein the replicating of said data on the second hard disk storage device remote from said first hard disk storage device is in response to completion of a scheduled backup operation.
5. The method of claim 1, wherein the replicating of said data on said second hard disk storage device remote from said first hard disk storage device is performed during the process of backing up said data on said first hard disk storage device.
6. The method of claim 1, further comprising: receiving a replication configuration for said first hard disk storage device, said replication configuration including an unload replication parameter; and replicating said emulated tape on said second hard disk in response to an unload command sent to said first hard disk storage device; wherein said replicating is further based on said unload replication parameter for said first hard disk storage device.
7. The method of claim 1, wherein the data backed up on the first hard disk storage device according to the first user defined periodic schedule is replicated on the second hard disk storage device according to the second user defined periodic schedule.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
(4) Preferred embodiments of the present invention will now be described with reference to the accompanying Figures, wherein like numerals refer to like elements throughout. The terminology used in the description presented herein is intended to be interpreted in its broadest reasonable manner, even though it is being utilized in conjunction with a detailed description of certain specific preferred embodiments of the present invention. This is further emphasized below with respect to some particular terms used herein. Any terminology intended to be interpreted by the reader in any restricted manner will be overtly and specifically defined as such in this specification.
(5)
(6) Backups from application servers 12 are received by appliance 18 (via the backup server 16) and are written to disk based (preferably RAID) storage of appliance 18. The disk appliance 18 may include an internal disk drive array, and may alternatively or additionally connect to an external disk drive array through a storage adapter which may, for example, be configured as a Fibre Channel or SCSI interface.
(7) Appliance 18 and/or backup server 16 may then automate the process of transferring the data stored on disk media to physical tape media in tape system 20 for archival purposes. The transfer of the disk stored data to physical tape media may be done without user intervention on a periodic basis.
(8) It will be appreciated that the hardware components, functionality, and software present in the backup server 16, disk appliance 18, and tape drive/library can be combined and/or separated in various ways. For example, the disks of appliance 18 can be located in a separate device. As another example, the tape drive/library 20 hardware and functions can be integral with the disk appliance 18 rather than provided as a separate unit. As described above, the appliance 18 can be configured to interact with the backup server 16 in exactly the same manner and format of communication as the tape drive/library 20. In this way, software on the backup server 16 that is configured to communicate and store data using tape commands and tape data formats can utilize the disk based appliance 18 without modification. Speed is still improved in many cases such as restore operations, however, because tape commands such as moving to a desired block can be accomplished on disk with the virtual tape much faster than a physical tape cartridge in a physical tape drive.
(9) Typically, for enterprises utilizing data backup hardware and procedures as described in
(10) In the embodiment of
(11) Referring now to
(12) The data mover performs block reads from the source target 40 and block writes to the destination target 42 during a replication process. In some advantageous embodiments, the source tape and drive and the destination tape and drive are virtual tape system devices implemented in the disk based appliances 18B and 18A.
(13) There are four primary ways in which a user may replicate a tape. Scheduled replication allows the user to specify a time in which regular copies are made of a Source Target. In this process the user identifies a Source Target for replication and a Destination Target. If the Destination Target is a Media Changer device, the user will identify which volume to use as the backup medium. The user will set the schedule parameters. This may include time, day-of-week and/or daily. Immediate replication is performed similarly, but a replication request command is sent to the replication server immediately instead at a future scheduled time.
(14) Post-Backup Replication is provided by using a small utility that will send an in-band request to the backed-up tape device. The request may consist of a vendor-specific write Command Descriptor Block (CDB). The data portion of this write may contain a buffer with the replication parameters in key/value form. Upon identifying an in-band replication request, the Target Driver will parse the message and send a Replication Request Message to the Replication Server.
(15) Auto-Replication on Unload is another example of Post-Backup replication. In this case, during initial replication setup, a choice under the schedule parameters may include a Replication on Unload option. When the target driver detects an Unload, a replication request message is sent via the normal In-Band mechanism. The replication server will determine if the unloaded source target is scheduled for a Replicate on Unload. If it is, then normal replication processing is started.
(16) Because data transfer over the WAN is typically slow compared to local network transfers, sending and receiving compressed data will greatly reduce the amount of data transferred over a potentially slow link. To implement this, if the data on the source tape is already compressed, a special Read CDB operation code can be used to read the data without decompressing it. If the data on the source tape is uncompressed, it can be compressed after a regular Read operation and before transmitting to the destination tape.
(17) Furthermore, a special Write CDB operation code can be used for writes to the destination tape. The special write basically instructs the driver to write the data as compressed without first compressing it.
(18) This approach can thus be implemented with two vendor-specific CDBs, one for Reads and one for Writes. An alternative approach could use a vendor-specific Mode Page.
(19) An example Read Compressed CDB can be constructed to follow the standard SSC Read:
(20) TABLE-US-00001 Byte/Bit 7 6 5 4 3 2 1 0 0 Operation Code (0xC1) 1 Logical Unit Number Reserved SILI Fixed 2 (MSB) 3 Transfer Length 4 (LSB) 5 Control SILI: 0 = report incorrect block length when it occurs 1 = do not report incorrect block length Fixed: 0 = return one variable length block with length in bytes specified by the Transfer Length 1 = return the number of fixed length blocks specified by by the Transfer Length; Block length is specified in the the Mode Select command.
(21) If the data is uncompressed, a check condition is returned with a special code in the sense data. When the data is returned uncompressed, it is compressed before transmission to the Destination Target. An alternative approach is to have the READ COMPRESSED call always return compressed data. If it is uncompressed, the driver will compress it before returning it.
(22) An example Write Compressed CDB can be constructed to follow the standard SSC Write:
(23) TABLE-US-00002 Byte/Bit 7 6 5 4 3 2 1 0 0 Operation Code (0xC2) 1 Logical Unit Number Reserved Fixed 2 (MSB) 3 Transfer Length 4 (LSB) 5 Control Fixed: 0 = return one variable length block with length in bytes specified by the Transfer Length 1 = return the number of fixed length blocks specified by the Transfer Length; Block length is specified in the the Mode Select command.
(24) The above systems and methods can thus improve existing backup system efficiency and ease of use. While the above detailed description has shown, described, and pointed out novel features of the invention as applied to various embodiments, it will be understood that various omissions, substitutions, and changes in the form and details of the device or process illustrated may be made by those skilled in the art without departing from the spirit of the invention. As will be recognized, the present invention may be embodied within a form that does not provide all of the features and benefits set forth herein, as some features may be used or practiced separately from others.