WO2017096977A1 - Data backup method, apparatus and system - Google Patents
Data backup method, apparatus and system Download PDFInfo
- Publication number
- WO2017096977A1 WO2017096977A1 PCT/CN2016/097951 CN2016097951W WO2017096977A1 WO 2017096977 A1 WO2017096977 A1 WO 2017096977A1 CN 2016097951 W CN2016097951 W CN 2016097951W WO 2017096977 A1 WO2017096977 A1 WO 2017096977A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- storage
- storage node
- address
- node
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/214—Database migration support
Definitions
- the embodiments of the present invention relate to the field of computers, and in particular, to a data backup method, apparatus, and system.
- Data disaster recovery refers to the establishment of an off-site data system, which is an available copy of local critical application data. In the event of a disaster in local data and the entire application system, the system maintains at least one copy of the critical business data available in the field.
- the main technology used is data backup and data replication technology.
- the processing of data disaster recovery is actually the processing of data replication in different places.
- the off-site data can be full real-time replication (synchronous replication) with locally produced data, or it can be slightly behind (asynchronous replication) than local data.
- the Oracle database is configured to ensure high availability and high reliability.
- the primary storage library and the standby storage library are respectively deployed in the two computer rooms in the same city, wherein the backup storage library is a backup of the primary storage database.
- Data protection technology is used to synchronize data between the primary storage and the standby storage.
- the basic process of data synchronization is to transfer data to the standby storage library in the synchronous storage mode or the asynchronous replication mode through the previously configured transmission mode to implement data replication between the primary storage library and the secondary storage library.
- the primary repository For synchronous replication, when the data of the primary repository changes, the primary repository does not perform subsequent data processing until it ensures that the standby repository completely receives the changed data. For asynchronous replication, when the data of the main repository changes, the primary repository will not wait for the remote standby repository to receive the changed data correctly and completely after the local data is updated, and will continue to complete the subsequent data. Update request.
- the present invention discloses a data backup method, apparatus and system to reduce network resources consumed during data backup.
- the application provides a data backup system, where the system includes a primary storage library and a standby storage library, wherein the first storage controller is used to manage the primary storage library, and the second storage controller is used to manage the backup storage library, the primary storage
- the library includes a first storage node and a second storage node
- the standby storage library includes a third storage node and a fourth storage node
- the third storage node stores backup data of the first storage node
- the fourth storage node stores the second storage node.
- the first storage controller is configured to receive the first migration instruction, where the first migration instruction carries the indication information of the first address of the first data at the first storage node and the first data to be migrated to the second storage node.
- the indication information of the second address is used to instruct the second storage controller to migrate the first data from the third storage node to the fourth storage node, and the second migration instruction And the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node;
- the second storage controller is configured to receive the first storage controller The second migration instruction, and according to the second migration instruction, the first data stored on the third address in the third storage node is migrated to the fourth address of the fourth storage node.
- the backup storage may be performed according to the data migration instruction.
- the updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
- the method is further configured to: determine a fifth address used by the second storage node to save data on the second address of the first data, and send a data update instruction to the second storage controller, where the data update instruction includes the indication information of the sixth address And the second data stored on the fifth address, the data update instruction is used to instruct the second storage controller to write the second data to the sixth address of the fourth storage node; the second storage controller is further configured to: according to the data update instruction, The second data is written to the sixth address of the fourth storage node.
- the client may enter the first data in the second storage node.
- the change operation when the second storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, and tracking A change of the first data of the data in the second storage node, and updating the change to the fourth storage node, so that the data in the fourth storage node and the second storage node are consistent.
- the first storage controller is configured to determine, by the second storage node, the second data for saving the first data.
- the fifth address of the data change on the address includes: the first storage controller is configured to identify the second address by using the first mark, and the data is changed by using the second mark when the data on the address identified by the first mark changes An address; the first storage controller is configured to determine the fifth address according to the second flag.
- the second storage controller the first data stored in the third address of the third storage node After being migrated to the fourth address of the fourth storage node, the method is further configured to send a feedback message to the first storage controller, where the feedback message is used to indicate that the migration operation of the first data from the third storage node to the fourth storage node is completed.
- the present application provides a data backup method, where a data storage system includes a primary storage library and a standby storage library, wherein a first storage controller is used to manage a primary storage library, and a second storage controller is used to manage a secondary storage library.
- the primary storage library includes a first storage node and a second storage node
- the secondary storage node includes a third storage node and a fourth storage node
- the third storage node stores backup data of the first storage node
- the fourth storage node stores the first storage node.
- the storage data of the storage node is as follows: the first storage controller receives the first migration instruction, where the first migration instruction carries the indication information of the first address of the first storage node and the first data to be migrated to And indicating information of the second address of the second storage node; the first storage controller migrates the first data stored in the first address of the first storage node to the second address of the second storage node according to the first migration instruction; a storage controller sends a second migration instruction to the second storage controller, where the second migration instruction is used to instruct the second storage controller to The storage node is migrated to the fourth storage node, where the second migration instruction carries the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node.
- the backup storage may be performed according to the data migration instruction.
- the updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
- the method further includes: the first storage controller determines a fifth address used by the second storage node to save the data at the second address of the first data; the first storage controller sends a data update instruction to the second storage controller, and the data is updated.
- the instruction includes the indication information of the sixth address and the second data stored on the fifth address, the data update instruction is used to instruct the second storage controller to write the second data to the sixth address of the fourth storage node.
- the client may perform the change operation on the first data in the second storage node, and secondly
- the storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, by tracking the first data in the second storage node.
- the change of the first data is updated, and the change is updated to the fourth storage node, so that the data in the fourth storage node and the second storage node are consistent.
- the first storage controller determines that the second storage node is configured to save the second address of the first data
- the fifth address of the data change includes: the first storage controller identifies the second address by using the first mark, and uses the second mark to identify the address where the data changes when the data on the address identified by the first mark changes.
- the first memory controller determines the fifth address based on the second flag.
- the second possible implementation manner is The first storage controller receives a feedback message from the second storage controller, the feedback message being used to indicate completion of the migration operation of the first data from the third storage node to the fourth storage node.
- the application provides a computer readable medium, including computer executed instructions, When the processor of the computer executes the computer to execute the instructions, the computer performs the method of any of the possible implementations of the second aspect or the second aspect.
- the present application provides a computing device, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store an execution instruction, the processor is connected to the memory through the bus, when the computing device is running The processor executes the execution instructions stored by the memory to cause the computing device to perform the method of any of the possible implementations of the second aspect or the second aspect.
- the application provides a data backup device, where the data storage system includes a primary storage library and a backup storage library, wherein the device is used to manage the primary storage library, and the storage controller is used to manage the standby storage library, and the primary storage library includes a first storage node and a second storage node, the standby storage library includes a third storage node and a fourth storage node, the third storage node stores backup data of the first storage node, and the fourth storage node stores a backup of the second storage node
- the data device includes: a receiving unit, configured to receive a first migration instruction, where the first migration instruction carries indication information of the first address of the first data at the first storage node and the first data to be migrated to the second storage node The indication information of the second address is used to migrate the first data stored in the first address of the first storage node to the second address of the second storage node according to the first migration instruction, and the sending unit is configured to send The storage controller sends a second migration instruction, where the second migration instruction is used
- the backup storage may be performed according to the data migration instruction.
- the updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
- the device further includes a determining unit, the migration unit migrating the first data stored in the first address of the first storage node to the second data of the second storage node After the address, the determining unit is configured to determine a fifth address used by the second storage node to save the data on the second address of the first data; the sending unit is further configured to send a data update instruction to the storage controller, where the data update command includes The indication information of the six address and the second data stored on the fifth address, the data update instruction is used to instruct the storage controller to write the second data to the sixth address of the fourth storage node.
- the client may perform a change operation on the first data in the second storage node.
- the second storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, by tracking the first data in the second storage. A change in the first data in the node and updating the change to the fourth storage node such that the data in the fourth storage node is consistent with the data in the second storage node.
- the determining unit is configured to determine, by the second storage node, the second address used to save the first data
- the fifth address of the data change includes: the determining unit is configured to identify the second address by using the first mark, and when the data on the address identified by the first mark changes, use the second mark to identify the address where the data changes;
- the unit is configured to determine the fifth address based on the second flag.
- the receiving unit is further configured to receive the And storing a feedback message of the controller, where the feedback message is used to indicate that the migration operation of the first data from the third storage node to the fourth storage node is completed.
- FIG. 1 is a schematic diagram of a logical structure of a data backup system according to the present invention.
- FIG. 2 is a schematic structural diagram of a hardware of a computing device according to an embodiment of the invention.
- FIG. 3 is a signaling diagram of a data backup method according to an embodiment of the invention.
- FIG. 4 is a schematic diagram showing the logical structure of a data backup device according to an embodiment of the invention.
- one client in order to increase the disaster tolerance performance of the user data, one client is configured with a primary storage library and a standby storage library, wherein the standby storage library is a disaster recovery backup of the primary storage repository, and the storage storage library stores the primary storage library.
- the backup data of the repository can be used to recover the data of the client when the data of the primary repository is incorrect, thereby increasing the disaster tolerance performance of the user data.
- the standby repository In order to ensure that the data of the standby repository is valid, when the data of the primary repository changes, the same update as the primary repository needs to be made to the standby repository.
- FIG. 1 is a schematic diagram of a system logical structure of a data backup system 100 according to the present invention.
- the system 100 includes a client 102, a main storage library 104, and a backup storage library 106, wherein the main storage library 104 includes a a storage controller 108, a first storage node 112, and a second storage node 114.
- the first storage controller 104 is configured to manage the primary storage library 104.
- the secondary storage server 106 includes a second storage controller 110 and a third storage node 116.
- the fourth storage node 118, the second storage controller 106 is configured to manage the standby storage 106.
- the third storage node 116 stores the backup data of the first storage node 112, that is, the third storage node 116 is the backup storage node of the first storage node 112; the fourth storage node 118 stores the backup data of the second storage node 114. That is, the fourth storage node 118 is a backup storage node of the second storage node 114.
- the main storage library 104 or the backup storage network 106 may be a network storage architecture such as a storage array or a network attached storage (NAS) or a storage area network (SAN). Each storage node can be a Logical Unit Number (LUN) or a file system. It should be understood that embodiments of the present invention do not limit the representation of the repository and storage nodes.
- the client 102 and the first storage controller 108, the first storage controller 108 and the second storage controller 110 can be connected through a network, wherein the network can be the Internet, an intranet, or a local area network (LAN). ), Wireless Local Area Networks (WLANs), Storage Area Networks (SANs), etc., or a combination of the above.
- LAN local area network
- WLANs Wireless Local Area Networks
- SANs Storage Area Networks
- the first storage controller 108 and the second storage controller 110 shown in FIG. 1 can be calculated by the meter shown in FIG. 2.
- the computing device 200 is implemented.
- computing device 200 includes a processor 202, a memory unit 204, an input/output interface 206, a communication interface 208, a bus 210, and a storage device 212.
- the processor 202, the memory unit 204, the input/output interface 206, the communication interface 208, and the storage device 212 implement communication connections with each other through the bus 210.
- the processor 202 is a control center of the computing device 200 for executing related programs to implement the technical solutions provided by the embodiments of the present invention.
- the processor 202 includes one or more central processing units (CPUs), such as the central processing unit 1 and the central processing unit 2 shown in FIG.
- the computing device 200 can also include multiple processors 202, each of which can be a single core processor (including one CPU) or a multi-core processor (including multiple CPUs).
- a component for performing a specific function for example, the processor 202 or the memory unit 204, may be implemented by configuring a general-purpose component to perform a corresponding function, or may be specifically performed by a specific one.
- the processor 202 can use a general-purpose central processing unit, a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs to implement the technology provided by the present application. Program.
- ASIC application specific integrated circuit
- Processor 202 can be coupled to one or more storage schemes via bus 210.
- the storage scheme can include a memory unit 204 and a storage device 212.
- the storage device 212 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- Memory unit 204 can be a random access memory.
- the memory unit 204 can be integrated with or integrated with the processor 202, or it can be one or more memory units independent of the processor 202.
- Program code for execution by the processor 202 or a CPU internal to the processor 202 may be stored in the storage device 212 or the memory unit 204.
- program code eg, an operating system, application software, backup module, communication module, or storage control module, etc.
- stored internal to storage device 212 is copied to memory unit 204 for execution by processor 202.
- the storage device 212 can be a physical hard disk or a partition thereof (including a small computing device system interface storage or a global network block device volume), a network storage protocol (including a network file system NFS or other network or cluster file system), a file-based virtual storage device ( Virtual disk mirroring), logical volume-based storage devices. It may include high speed random access memory (RAM), and may also include non-volatile memory, such as one or more disk memories, flash memories, or other non-volatile memory.
- RAM high speed random access memory
- non-volatile memory such as one or more disk memories, flash memories, or other non-volatile memory.
- the storage device may further include a remote memory separate from the one or more processors 202, such as a network disk accessed through a communication interface 208 with a communication network, which may be the Internet, an intranet, Local area networks (LANs), wide area networks (WLANs), storage area networks (SANs), etc., or a combination of the above.
- a communication network which may be the Internet, an intranet, Local area networks (LANs), wide area networks (WLANs), storage area networks (SANs), etc., or a combination of the above.
- Operating systems include controls and management of general system tasks (such as memory management, storage device control, power management, etc.) And various software components and/or drivers that facilitate communication between various hardware and software components.
- the input/output interface 206 is for receiving input data and information, and outputting data such as operation results.
- Communication interface 208 enables communication between computing device 200 and other devices or communication networks using transceivers such as, but not limited to, transceivers.
- Bus 210 may include a path for communicating information between various components of computing device 200, such as processor 202, memory unit 204, input/output interface 206, communication interface 208, and storage device 212.
- the bus 210 can use a wired connection or a wireless communication mode, which is not limited in this application.
- computing device 200 shown in FIG. 2 only shows the processor 202, the memory unit 204, the input/output interface 206, the communication interface 208, the bus 210, and the storage device 212, in a specific implementation process, the field Those skilled in the art will appreciate that computing device 200 also includes other devices necessary to achieve proper operation.
- the computing device 200 can be a general purpose computing device or a special purpose computing device including, but not limited to, a portable computing device, a personal desktop computing device, a web server, a tablet, a cell phone, a personal digital assistant (PDA), or the like, or The above two or more combinations of devices do not limit the specific implementation form of the computing device 200.
- a portable computing device a personal desktop computing device
- a web server a web server
- a tablet a cell phone
- PDA personal digital assistant
- computing device 200 of FIG. 2 is merely an example of one computing device 200, which may include more or fewer components than those shown in FIG. 2, or have different component configurations.
- computing device 200 may also include hardware devices that implement other additional functions, depending on the particular needs.
- computing device 200 may also only include the components necessary to implement embodiments of the present invention, and does not necessarily include all of the devices shown in FIG.
- the various components shown in Figure 2 can be implemented in hardware, software, or a combination of hardware and software.
- the hardware structure shown in FIG. 2 and the above description are applicable to various meters provided by the embodiments of the present invention.
- the computing device is adapted to perform various data backup methods provided by the embodiments of the present invention.
- the memory unit 204 of the computing device 200 includes a backup module, and the processor 202 executes the program code of the backup module to implement a data backup operation.
- the backup module can be comprised of one or more operational instructions to cause computing device 200 to perform one or more method steps in accordance with the above description. The specific method steps are described in detail in the following sections of this application.
- FIG. 3 is a signaling diagram of a data backup method according to an embodiment of the present invention.
- the data backup system 100 includes a main storage library 104 and a backup storage library 106.
- the main storage library 104 is configured to store data of the client 102
- the storage repository 106 Is a backup repository of the main repository 104 for storing backup data of the primary repository 104
- the first storage controller 108 is configured to manage the primary repository 104
- the second storage controller 110 is configured to manage the backup storage
- the library 106, the main storage library 104 includes a first storage node 112 and a second storage node 114
- the standby storage library 106 includes a third storage node 116 and a fourth storage node 118
- the third storage node 116 is a backup of the first storage node 112.
- the node stores the backup data of the first storage node 112.
- the fourth storage node 118 is the backup node of the second storage node 114, and the backup data of the second storage node 114 is saved.
- the embodiment of the present invention is used to implement the same data update in the standby storage library 106. As shown in FIG. 3, the data backup method includes:
- the primary repository 104 receives the first migration instruction.
- the first storage controller 108 of the primary repository 104 receives the first migration instruction from the client 102.
- the client 102 can be any type of computing device, and the main repository 104 stores the data of the client 102.
- the client 102 can be a cloud management platform of a data center.
- the client 102 is to migrate the data volume, that is, to migrate the data from one storage node to another storage node, and the client 102 sends a first migration instruction to the main storage library 104.
- the data migration instruction is used to instruct the primary storage library 104 (the first storage controller 108) to migrate the first data in the first storage node 112 to the second storage node 114, and the first migration instruction carries the first data in the first
- the indication information of the first address of the first data in the first storage node 112 may be the start address and the address length of the first data in the first storage node 112, and the first data is migrated to the second storage node 114.
- the indication information of the second address may be the starting address of the first data migration to the second storage node 114.
- the indication information of the first address of the first data at the first storage node 112 The indication that the first data is in the first storage node 112 relative to the segment header address, and the indication information that the first data migrates to the second address of the second storage node 114 may also be the first data.
- the first migration instruction may further carry the identifier information of the first storage node 112 and the identifier information of the second storage node 114.
- the indication information of the first address and the indication information of the first address are used to indicate the original location of the first data in the first storage node 112 and the destination location of the migration to the second storage node 114, respectively.
- the specific implementation of the indication information is not limited.
- the primary repository 104 migrates the first data from the first storage node 112 to the second storage node 114 according to the first migration instruction.
- the first storage controller 108 of the primary repository 104 migrates the first data stored on the first address in the first storage node 112 to the second address of the second storage node.
- the primary repository 104 sends a second migration instruction to the standby repository 106.
- the first storage controller 108 of the primary repository 104 transmits the second migration instruction to the second backup controller 110 of the standby repository 106.
- the second migration instruction is used to instruct the second storage control 110 to migrate the first data from the third storage node 116 to the fourth storage node 118, and the second migration instruction carries the third data in the third storage node 116.
- the storage repository 106 is a backup repository of the primary storage library 104
- the third storage node 116 is a backup node of the first storage node 112
- the fourth storage node 118 is a backup node of the first storage node 114.
- the data transfer to the fourth storage node 118 may be performed, and the data synchronization of the backup storage library 106 may be updated according to the second migration instruction, and the second storage controller 110 is instructed to migrate the first data from the third storage node 116 to the fourth storage node 116.
- Storage node 118 is a backup repository of the primary storage library 104
- the third storage node 116 is a backup node of the first storage node 112
- the fourth storage node 118 is a backup node of the first storage node 114.
- the standby repository 106 migrates the first data from the third storage node 116 to the fourth storage node 118 according to the second migration instruction.
- the second storage controller 110 migrates the first data stored in the third address of the third storage node 116 to the second migration instruction to The fourth address of the fourth storage node 118.
- the third storage node 116 is a backup section of the first storage node 112.
- the storage address of the two has a mapping relationship
- the indication information of the first address can be used as the indication information of the third address
- the second storage controller 110 maintains the address mapping relationship between the first storage node 112 and the third storage node 116.
- the second storage controller 110 may determine the third address of the first data in the third storage node 116 using the indication information of the first address, thereby fetching the first data from the third storage node 116.
- the fourth storage node 118 is a backup node of the second storage node 114, and the storage addresses of the two storage nodes are in a mapping relationship, and the indication information of the second address can be used as the indication information of the fourth address, and the second storage controller 110 maintains There is an address mapping relationship between the second storage node 114 and the fourth storage node 118.
- the second storage controller 110 may use the indication information of the second address to determine that the first data migrates to the fourth address in the fourth storage node 118, thereby migrating the first data from the third storage node 116 to the fourth storage node. 118.
- the first storage node controller 108 maintains an address mapping relationship between the first storage node 112 and the third storage node 116, and the first storage controller 108 may determine according to the indication information of the first address.
- the third address, and the indication information of the third address is carried in the second migration instruction, where the indication information of the third address may be the start address and the address length of the first data at the third storage node 116, more specifically, The offset of the start address of the first data at the third storage node 116 relative to the segment header address and the address length.
- the first storage node controller 108 can maintain an address mapping relationship between the second storage node 114 and the fourth storage node 118, and the first storage controller 108 can determine the fourth address according to the indication information of the second address, and
- the second migration instruction carries the indication information of the fourth address, and the indication information of the fourth address may be a starting address for migrating the first data to the fourth storage node 118. More specifically, the first data may be migrated to The offset of the start address of the fourth storage node 118 relative to the first address of the segment.
- the standby repository 106 sends a feedback message to the primary repository 104.
- the second storage controller 110 of the standby storage 106 sends a feedback message to the first storage controller 108 of the primary storage library 104, the feedback message indicating that the first data is completed from the third storage node 116 to the fourth. Migration in storage node 118.
- the primary storage library 104 does not immediately send a receipt message indicating the completion of the migration to the client 102 after step 304, but after waiting for the execution of steps 306-310, that is, the primary After receiving the feedback message sent by the standby repository 106, the repository 104 sends the receipt message to the client 102 to indicate that the migration operation of the first data is completed.
- the main storage library 104 When the data of the main storage library 104 is changed, the main storage library 104 does not perform subsequent data processing until the backup storage library 106 completes the data synchronization with the main storage library 104, thereby ensuring the standby storage.
- the data of the primary storage library 104 is unavailable during the time interval between the data storage synchronization operation between the standby storage 106 and the primary storage library 104, thereby causing the client 102 to access the primary storage library 104. The delay of subsequent data operations.
- the primary storage library 104 migrates the first data from the first storage node 112 to the second storage node 114 according to the data migration instruction, that is, after performing step 304, does not wait for the standby storage.
- the library 104 performs the same data migration, and sends a return message to the client 102 for indicating that the migration of the first data is completed, and then performs the data synchronization operation of steps 306-310.
- the main storage library 104 does not wait for the data synchronization of the standby storage library 106 to complete, the return receipt message is sent to the client 102, thereby reducing the waiting time of the client 102 for data synchronization in the synchronous replication method, so that the main storage library 104
- the data in repository 104 quickly becomes available to 102.
- the client 102 may perform a change operation on the first data in the second storage node 114, and the synchronous update operation in step 310 is still performed.
- the first data migrates from the third storage node 116 to the fourth storage node 118, and at this time, the first data in the second storage node 114 has changed, thereby causing the second storage node 114 and the fourth storage node 118 to The data is inconsistent.
- the first storage controller 108 is further configured to determine that the second storage node 114 is configured to save address information in which the data in the storage area of the first data changes;
- the second storage controller 110 sends a data update instruction, where the data update instruction includes address information of the data change and second data after the data change on the address information, the data update instruction is used to indicate the second storage controller 110 Writing the second data to the fourth storage node. That is, the first storage controller 108 is further configured to determine a fifth address used by the second storage node 114 to save data on the second address of the first data, and send a data update instruction to the second storage controller 110, and the data is updated.
- the instruction includes the indication information of the sixth address and the second data stored on the fifth address
- the data update instruction is for instructing the second storage controller 110 to write the second data to the sixth address of the fourth storage node 118.
- the second storage controller writes the second data to the sixth address of the fourth storage node according to the data update instruction.
- the first storage controller 108 identifies the The second storage node is configured to save an address of the storage area of the first data, for example, using a "0" mark to store the storage area of the first data, and when the data on the address identified by the first mark changes, use the first
- the second tag identifies the address at which the data has changed, for example, using "1" to mark the address at which the data changes. That is, after performing step 304, the first storage controller 108 identifies the second address by using the first mark, and uses the second mark to identify the address where the data changes when the data on the address identified by the first mark changes.
- the storage controller determines the fifth address based on the second flag.
- the second storage controller 110 may migrate the first data from the third storage node 116 to the fourth storage node 118 according to the second migration instruction according to the sequence of receiving the second migration instruction and the data update instruction, respectively, according to the The data update request updates the second data to the fourth storage node.
- the second storage node 110 may further merge the second migration instruction and the data update instruction, thereby writing the second data to the fourth storage node 118, and Data in the first data that does not overlap with the address in the second data is migrated to the fourth storage node 118.
- the first storage controller 108 may send the data update instruction to the second storage controller 110 after receiving the feedback message from the second storage controller 110, thereby implementing the second storage node 114 and the fourth. Data synchronization between storage nodes 118.
- the data backup system includes a primary storage library and a backup storage library.
- the primary storage library is used to store data of the client, and the backup storage library is a backup of the primary storage library.
- the device 400 is configured to manage the primary storage library
- the storage controller is configured to manage the standby storage database
- the primary storage library includes a first storage node and a second storage node
- the storage library includes a third storage node and a fourth storage node
- the third storage node is a backup node of the first storage node
- the backup data of the first storage node is saved
- the fourth storage node is a backup node of the second storage node, and is saved.
- the embodiment of the present invention is used to implement the same data update in the standby storage.
- the device 400 includes a receiving unit 402 and a migration unit. 404 and sending unit 406, wherein
- the receiving unit 402 is configured to receive a first migration instruction, where the first migration instruction carries the first data The indication information of the first address of the first storage node and the indication information of the second address to be migrated to the second storage node.
- the receiving unit 402 can be implemented by the processor 202, the memory unit 204, and the communication interface 208 shown in FIG. More specifically, the communication module in memory unit 204 can be executed by processor 202 to cause communication interface 208 to receive a backup information migration message from the backup server.
- the migration unit 404 is configured to migrate the first data stored in the first address in the first storage node to the second address of the second storage node according to the first migration instruction.
- the migration unit 404 can be implemented by the processor 202 and the memory unit 204 shown in FIG. 2. More specifically, the storage control module in the memory unit 204 can be executed by the processor 202 to implement a migration operation of the first data from the first storage node to the second storage node.
- the sending unit 406 is configured to send, to the storage controller, a second migration instruction, where the second migration instruction is used to instruct the storage controller to migrate the first data from the third storage node to the fourth storage node, where the The second migration instruction carries the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node.
- the sending unit 406 can be implemented by the processor 202, the memory unit 204, and the communication interface 208 shown in FIG. 2. More specifically, the communication module and backup module in memory unit 204 can be executed by processor 202 to cause communication interface 208 to send the data migration instruction to the memory controller.
- the backup system uses the asynchronous replication method to implement data replication of the primary storage library and the standby storage database, and the migration unit 404 stores the first storage node in the first address.
- the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data;
- the sending unit 406 is further configured to send a data update instruction to the storage controller, where the data update instruction includes indication information of a sixth address and second data stored on the fifth address, where the data update instruction is used to instruct the storage controller to The second data is written to the sixth address of the fourth storage node.
- the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data, where the determining unit is configured to identify the second address by using the first identifier.
- the second address of the first data in the second storage node may be marked with "0", and the second standard is used when the data on the address identified by the first mark changes.
- the address at which the identification data changes is recorded.
- the position at which the data is changed may be identified by using "1", and the determining unit is configured to determine the fifth address according to the second flag.
- the receiving unit 402 is further configured to receive a feedback message from the storage controller, where the feedback message is used to indicate that the first data is completed from the third storage node. The migration operation to the fourth storage node.
- the embodiment of the present invention is an apparatus embodiment of the first storage controller 108 in FIG. 1 , and the feature description of the embodiment of FIG. 1 to FIG. 3 is applicable to the embodiment of the present invention, and details are not described herein again.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules is only a logical function division, and may be implemented in another manner, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
- the modules described as separate components may or may not be physically separated.
- the components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
- the above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium.
- the software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a mobile hard disk, a read-only memory (English: Read-Only Memory, ROM for short), a random access memory (English: Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like. The medium of the code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Provided are a data backup method, apparatus and system, for use in implementing data synchronization between a primary storage library and a secondary storage library. The primary storage library comprises a first storage node (112) and a second storage node (114). The secondary storage library comprises a third storage node (116) and a fourth storage node (118). The third storage node (116) is a backup node of the first storage node (112), and the fourth storage node (118) is a backup node of the second storage node (114). The method comprises: a primary storage library receives a first migration instruction (302), migrates first data from a first storage node (112) and a second storage node (114) according to the first migration instruction (302), sends a second migration instruction (306) to a secondary storage library, and instructs the secondary storage library to migrate the first data from a third storage node (116) and a fourth storage node (118). By means of the method, data synchronization operations between a primary storage library and a secondary storage library are implemented in a case in which a large amount of data is transmitted between the primary storage library and the secondary storage library.
Description
本发明实施例涉及计算机领域,尤其涉及一种数据备份方法、装置和系统。The embodiments of the present invention relate to the field of computers, and in particular, to a data backup method, apparatus, and system.
数据容灾,是指建立一个异地的数据系统,该系统是本地关键应用数据的一个可用复制。在本地数据及整个应用系统出现灾难时,系统至少在异地保存有一份可用的关键业务的数据。其采用的主要技术是数据备份和数据复制技术,数据容灾的处理,实际上是异地数据复制的处理。该异地数据可以是与本地生产数据的完全实时复制(同步复制),也可以比本地数据略微落后(异步复制)。Data disaster recovery refers to the establishment of an off-site data system, which is an available copy of local critical application data. In the event of a disaster in local data and the entire application system, the system maintains at least one copy of the critical business data available in the field. The main technology used is data backup and data replication technology. The processing of data disaster recovery is actually the processing of data replication in different places. The off-site data can be full real-time replication (synchronous replication) with locally produced data, or it can be slightly behind (asynchronous replication) than local data.
以Oracle数据库的数据容灾为例,Oracle数据库为保证高可用性,高可靠性,在同城的两个机房内分别部署主存储库和备存储库,其中,备存储库是主存储库的备份,并使用数据保护技术进行主存储库和备存储库间的数据同步。Taking the data disaster recovery of the Oracle database as an example, the Oracle database is configured to ensure high availability and high reliability. The primary storage library and the standby storage library are respectively deployed in the two computer rooms in the same city, wherein the backup storage library is a backup of the primary storage database. Data protection technology is used to synchronize data between the primary storage and the standby storage.
数据同步的基本流程是当主存储库产生日志时,通过事先配置的传送方式,以同步复制或者异步复制的方式传送到备存储库,以实现主存储库备存储库间的数据复制。The basic process of data synchronization is to transfer data to the standby storage library in the synchronous storage mode or the asynchronous replication mode through the previously configured transmission mode to implement data replication between the primary storage library and the secondary storage library.
对于同步复制,当主存储库的数据产生变化时,主存储库在确保备存储库完全接收变化的数据前,是不会进行后续数据处理的。对于异步复制,当主存储库的数据产生变化时,主存储库在保证本地数据更新完毕后,不会等待远端备存储库正确、完整地接收到变化后的数据,就会继续完成后续的数据更新请求。For synchronous replication, when the data of the primary repository changes, the primary repository does not perform subsequent data processing until it ensures that the standby repository completely receives the changed data. For asynchronous replication, when the data of the main repository changes, the primary repository will not wait for the remote standby repository to receive the changed data correctly and completely after the local data is updated, and will continue to complete the subsequent data. Update request.
不管对于同步复制还是异步复制,现有技术中,当主存储库的数据发生变化时,都要通过实现配置的传送方式,将主存储库变化后的数据通过网络传送至备存储库,如果主存储库的数据变化较大,则进行数据的网络传输时,会消耗大量的网络资源。
Regardless of synchronous replication or asynchronous replication, in the prior art, when the data of the primary storage library changes, the changed data of the primary storage database is transmitted to the standby storage database through the network by implementing the configured transmission mode, if the primary storage When the data of the library changes greatly, a large amount of network resources are consumed when the data is transmitted through the network.
发明内容Summary of the invention
有鉴于此,本发明公开了一种数据备份的方法、装置和系统,以减少数据备份过程中消耗的网络资源。In view of this, the present invention discloses a data backup method, apparatus and system to reduce network resources consumed during data backup.
第一方面,本申请提供了一种数据备份系统,系统包含主存储库和备存储库,其中,第一存储控制器用于管理主存储库,第二存储控制器用于管理备存储库,主存储库包含第一存储节点和第二存储节点,备存储库包含第三存储节点和第四存储节点,第三存储节点保存有第一存储节点的备份数据,第四存储节点保存有第二存储节点的备份数据,第一存储控制器用于接收第一迁移指令,第一迁移指令中携带第一数据在第一存储节点的第一地址的指示信息和待将第一数据迁移至第二存储节点的第二地址的指示信息,根据第一迁移指令,将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址,并向第二存储控制器发送第二迁移指令,第二迁移指令用于指示第二存储控制器将第一数据从第三存储节点迁移至第四存储节点,第二迁移指令中携带第一数据在第三存储节点中的第三地址的指示信息和待将第一数据迁移至第四存储节点的第四地址的指示信息;第二存储控制器用于接收来自第一存储控制器的第二迁移指令,并根据所述第二迁移指令,将第三存储节点中第三地址上存储的第一数据迁移至第四存储节点的第四地址。In a first aspect, the application provides a data backup system, where the system includes a primary storage library and a standby storage library, wherein the first storage controller is used to manage the primary storage library, and the second storage controller is used to manage the backup storage library, the primary storage The library includes a first storage node and a second storage node, the standby storage library includes a third storage node and a fourth storage node, the third storage node stores backup data of the first storage node, and the fourth storage node stores the second storage node. The first storage controller is configured to receive the first migration instruction, where the first migration instruction carries the indication information of the first address of the first data at the first storage node and the first data to be migrated to the second storage node. The indication information of the second address, according to the first migration instruction, migrating the first data stored in the first address of the first storage node to the second address of the second storage node, and sending the second migration to the second storage controller The second migration instruction is used to instruct the second storage controller to migrate the first data from the third storage node to the fourth storage node, and the second migration instruction And the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node; the second storage controller is configured to receive the first storage controller The second migration instruction, and according to the second migration instruction, the first data stored on the third address in the third storage node is migrated to the fourth address of the fourth storage node.
因为第二存储节点内部有数据的更新,需要对第四存储节点进行同样的数据更新,因为第三存储节点中保存有第一存储节点的备份数据,可以根据该数据迁移指令对备存储库进行数据同步的更新,指示第二存储控制器将第一数据从第三存储节点迁移至第四存储节点,从而避免了第二存储节点向第四存储节点的大量数据传送,降低了网络消耗。Because the data is updated in the second storage node, the same data update needs to be performed on the fourth storage node. Because the third storage node stores the backup data of the first storage node, the backup storage may be performed according to the data migration instruction. The updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
结合第一方面,在第一方面第一种可能的实现方式中,第一存储控制器将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址之后,还用于:确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址,并向第二存储控制器发送数据更新指令,数据更新指令包含第六地址的指示信息和第五地址上存储的第二数据,数据更新指令用于指示第二存储控制器将第二数据写入第四存储节点的第六地址;第二存储控制器还用于根据数据更新指令,将第二数据写入第四存储节点的第六地址。With reference to the first aspect, in a first possible implementation manner of the first aspect, after the first storage controller migrates the first data stored in the first address of the first storage node to the second address of the second storage node, The method is further configured to: determine a fifth address used by the second storage node to save data on the second address of the first data, and send a data update instruction to the second storage controller, where the data update instruction includes the indication information of the sixth address And the second data stored on the fifth address, the data update instruction is used to instruct the second storage controller to write the second data to the sixth address of the fourth storage node; the second storage controller is further configured to: according to the data update instruction, The second data is written to the sixth address of the fourth storage node.
当系统采用异步复制方法时,第二存储控制器将第一数据从第三存储节点迁移至第四存储节点之前,可能客户端又对第二存储节点中的第一数据进
行了更改操作,第二存储控制器进行数据迁移时,第二存储节点中的第一数据已经发生了变化,从而造成了第二存储节点与第四存储节点之间的数据不一致,通过跟踪第一数据在第二存储节点中第一数据的变化,并将该变化更新至第四存储节点,从而使第四存储节点与第二存储节点中的数据保持一致。When the system adopts the asynchronous replication method, before the second storage controller migrates the first data from the third storage node to the fourth storage node, the client may enter the first data in the second storage node.
When the change operation is performed, when the second storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, and tracking A change of the first data of the data in the second storage node, and updating the change to the fourth storage node, so that the data in the fourth storage node and the second storage node are consistent.
结合第一方面或第一方面以上任一种可能的实现方式,在第一方面第二种可能的实现方式中,第一存储控制器用于确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址,包括:第一存储控制器用于使用第一标记标识第二地址,并在第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;第一存储控制器用于根据第二标记确定第五地址。With reference to the first aspect, or any one of the foregoing possible implementation manners, in a second possible implementation manner of the first aspect, the first storage controller is configured to determine, by the second storage node, the second data for saving the first data. The fifth address of the data change on the address includes: the first storage controller is configured to identify the second address by using the first mark, and the data is changed by using the second mark when the data on the address identified by the first mark changes An address; the first storage controller is configured to determine the fifth address according to the second flag.
通过使用第一标记标识第一数据,并使用第二标记标识第一数据的发生变化的位置信息,从而使第一存储控制器快速的确定数据发生变化的位置信息,并进行第二存储节点和第四存储节点的同步更新。Identifying the first data by using the first mark, and identifying the changed position information of the first data by using the second mark, so that the first storage controller quickly determines the location information of the data change, and performs the second storage node and Synchronous update of the fourth storage node.
结合第一方面或第一方面以上任一种可能的实现方式,在第一方面第三种可能的实现方式中,第二存储控制器将第三存储节点中第三地址上存储的第一数据迁移至第四存储节点的第四地址之后,还用于向第一存储控制器发送反馈消息,反馈消息用于指示完成第一数据从第三存储节点至第四存储节点的迁移操作。With reference to the first aspect, or any one of the foregoing possible implementation manners, in a third possible implementation manner of the first aspect, the second storage controller: the first data stored in the third address of the third storage node After being migrated to the fourth address of the fourth storage node, the method is further configured to send a feedback message to the first storage controller, where the feedback message is used to indicate that the migration operation of the first data from the third storage node to the fourth storage node is completed.
第二方面,本申请提供了一种数据备份的方法,数据存储系统包含主存储库和备存储库,其中,第一存储控制器用于管理主存储库,第二存储控制器用于管理备存储库,主存储库包含第一存储节点和第二存储节点,备存储库包含第三存储节点和第四存储节点,第三存储节点保存有第一存储节点的备份数据,第四存储节点保存有第二存储节点的备份数据,方法包括:第一存储控制器接收第一迁移指令,第一迁移指令中携带第一数据在第一存储节点的第一地址的指示信息和待将第一数据迁移至第二存储节点的第二地址的指示信息;第一存储控制器根据第一迁移指令,将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址;第一存储控制器向第二存储控制器发送第二迁移指令,第二迁移指令用于指示第二存储控制器将第一数据从第三存储节点迁移至第四存储节点,第二迁移指令中携带第一数据在第三存储节点中的第三地址的指示信息和待将第一数据迁移至第四存储节点的第四地址的指示信息。
In a second aspect, the present application provides a data backup method, where a data storage system includes a primary storage library and a standby storage library, wherein a first storage controller is used to manage a primary storage library, and a second storage controller is used to manage a secondary storage library. The primary storage library includes a first storage node and a second storage node, the secondary storage node includes a third storage node and a fourth storage node, the third storage node stores backup data of the first storage node, and the fourth storage node stores the first storage node. The storage data of the storage node is as follows: the first storage controller receives the first migration instruction, where the first migration instruction carries the indication information of the first address of the first storage node and the first data to be migrated to And indicating information of the second address of the second storage node; the first storage controller migrates the first data stored in the first address of the first storage node to the second address of the second storage node according to the first migration instruction; a storage controller sends a second migration instruction to the second storage controller, where the second migration instruction is used to instruct the second storage controller to The storage node is migrated to the fourth storage node, where the second migration instruction carries the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node. .
因为第二存储节点内部有数据的更新,需要对第四存储节点进行同样的数据更新,因为第三存储节点中保存有第一存储节点的备份数据,可以根据该数据迁移指令对备存储库进行数据同步的更新,指示第二存储控制器将第一数据从第三存储节点迁移至第四存储节点,从而避免了第二存储节点向第四存储节点的大量数据传送,降低了网络消耗。Because the data is updated in the second storage node, the same data update needs to be performed on the fourth storage node. Because the third storage node stores the backup data of the first storage node, the backup storage may be performed according to the data migration instruction. The updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
结合第二方面,在第二方面第一种可能的实现方式中,第一存储控制器将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址之后,进一步包括:第一存储控制器确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址;第一存储控制器向第二存储控制器发送数据更新指令,数据更新指令包含第六地址的指示信息和第五地址上存储的第二数据,数据更新指令用于指示第二存储控制器将第二数据写入第四存储节点的第六地址。With reference to the second aspect, in a first possible implementation manner of the second aspect, after the first storage controller migrates the first data stored in the first address of the first storage node to the second address of the second storage node, The method further includes: the first storage controller determines a fifth address used by the second storage node to save the data at the second address of the first data; the first storage controller sends a data update instruction to the second storage controller, and the data is updated. The instruction includes the indication information of the sixth address and the second data stored on the fifth address, the data update instruction is used to instruct the second storage controller to write the second data to the sixth address of the fourth storage node.
系统采用异步复制方法时,第二存储控制器将第一数据从第三存储节点迁移至第四存储节点之前,可能客户端又对第二存储节点中的第一数据进行了更改操作,第二存储控制器进行数据迁移时,第二存储节点中的第一数据已经发生了变化,从而造成了第二存储节点与第四存储节点之间的数据不一致,通过跟踪第一数据在第二存储节点中第一数据的变化,并将该变化更新至第四存储节点,从而使第四存储节点与第二存储节点中的数据保持一致。When the system adopts the asynchronous replication method, before the second storage controller migrates the first data from the third storage node to the fourth storage node, the client may perform the change operation on the first data in the second storage node, and secondly When the storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, by tracking the first data in the second storage node. The change of the first data is updated, and the change is updated to the fourth storage node, so that the data in the fourth storage node and the second storage node are consistent.
结合第二方面或第二方面以上任一种可能的实现方式,在第二方面第二种可能的实现方式中,第一存储控制器确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址,包括:第一存储控制器使用第一标记标识第二地址,并在第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;第一存储控制器根据第二标记确定第五地址。With reference to the second aspect, or any one of the foregoing possible implementation manners, in the second possible implementation manner of the second aspect, the first storage controller determines that the second storage node is configured to save the second address of the first data The fifth address of the data change includes: the first storage controller identifies the second address by using the first mark, and uses the second mark to identify the address where the data changes when the data on the address identified by the first mark changes. The first memory controller determines the fifth address based on the second flag.
通过使用第一标记标识第一数据,并使用第二标记标识第一数据的发生变化的位置信息,从而使第一存储控制器快速的确定数据发生变化的位置信息,并进行第二存储节点和第四存储节点的同步更新。Identifying the first data by using the first mark, and identifying the changed position information of the first data by using the second mark, so that the first storage controller quickly determines the location information of the data change, and performs the second storage node and Synchronous update of the fourth storage node.
结合第二方面或第二方面以上任一种可能的实现方式,在第二方面第二种可能的实现方式中,第一存储控制器向第二存储控制器发送第二迁移指令之后,还包括:第一存储控制器接收来自第二存储控制器的反馈消息,反馈消息用于指示完成第一数据从第三存储节点至第四存储节点的迁移操作。With the second aspect or the second aspect, the second possible implementation manner is The first storage controller receives a feedback message from the second storage controller, the feedback message being used to indicate completion of the migration operation of the first data from the third storage node to the fourth storage node.
第三方面,本申请提供了一种计算机可读介质,包括计算机执行指令,
当计算机的处理器执行该计算机执行指令时,该计算机执行第二方面或第二方面任一种可能的实现方式中的方法。In a third aspect, the application provides a computer readable medium, including computer executed instructions,
When the processor of the computer executes the computer to execute the instructions, the computer performs the method of any of the possible implementations of the second aspect or the second aspect.
第四方面,本申请提供了一种计算设备,包括:处理器、存储器、总线和通信接口;该存储器用于存储执行指令,该处理器与该存储器通过该总线连接,当该计算设备运行时,该处理器执行该存储器存储的该执行指令,以使该计算设备执行第二方面或第二方面任一种可能的实现方式中的方法。In a fourth aspect, the present application provides a computing device, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store an execution instruction, the processor is connected to the memory through the bus, when the computing device is running The processor executes the execution instructions stored by the memory to cause the computing device to perform the method of any of the possible implementations of the second aspect or the second aspect.
第五方面,本申请提供了一种数据备份的装置,数据存储系统包含主存储库和备存储库,其中,装置用于管理主存储库,存储控制器用于管理备存储库,主存储库包含第一存储节点和第二存储节点,备存储库包含第三存储节点和第四存储节点,第三存储节点保存有第一存储节点的备份数据,第四存储节点保存有第二存储节点的备份数据,装置包括:接收单元,用于接收第一迁移指令,第一迁移指令中携带第一数据在第一存储节点的第一地址的指示信息和待将第一数据迁移至第二存储节点的第二地址的指示信息;迁移单元,用于根据第一迁移指令,将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址;发送单元,用于向存储控制器发送第二迁移指令,第二迁移指令用于指示存储控制器将第一数据从第三存储节点迁移至第四存储节点,第二迁移指令中携带第一数据在第三存储节点中的第三地址的指示信息和待将第一数据迁移至第四存储节点的第四地址的指示信息。In a fifth aspect, the application provides a data backup device, where the data storage system includes a primary storage library and a backup storage library, wherein the device is used to manage the primary storage library, and the storage controller is used to manage the standby storage library, and the primary storage library includes a first storage node and a second storage node, the standby storage library includes a third storage node and a fourth storage node, the third storage node stores backup data of the first storage node, and the fourth storage node stores a backup of the second storage node The data device includes: a receiving unit, configured to receive a first migration instruction, where the first migration instruction carries indication information of the first address of the first data at the first storage node and the first data to be migrated to the second storage node The indication information of the second address is used to migrate the first data stored in the first address of the first storage node to the second address of the second storage node according to the first migration instruction, and the sending unit is configured to send The storage controller sends a second migration instruction, where the second migration instruction is used to instruct the storage controller to migrate the first data from the third storage node to the fourth storage Node, a second migration instruction indication information in the third storage node of the third address of the first data and the first data to be migrated to the fourth address information indicative of a fourth storage node.
因为第二存储节点内部有数据的更新,需要对第四存储节点进行同样的数据更新,因为第三存储节点中保存有第一存储节点的备份数据,可以根据该数据迁移指令对备存储库进行数据同步的更新,指示第二存储控制器将第一数据从第三存储节点迁移至第四存储节点,从而避免了第二存储节点向第四存储节点的大量数据传送,降低了网络消耗。Because the data is updated in the second storage node, the same data update needs to be performed on the fourth storage node. Because the third storage node stores the backup data of the first storage node, the backup storage may be performed according to the data migration instruction. The updating of the data synchronization instructs the second storage controller to migrate the first data from the third storage node to the fourth storage node, thereby avoiding a large amount of data transfer from the second storage node to the fourth storage node, thereby reducing network consumption.
结合第五方面,在第五方面第一种可能的实现方式中,装置还包括确定单元,迁移单元将第一存储节点中第一地址上存储的第一数据迁移至第二存储节点的第二地址之后,确定单元用于确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址;发送单元还用于向存储控制器发送数据更新指令,数据更新指令包含第六地址的指示信息和第五地址上存储的第二数据,数据更新指令用于指示存储控制器将第二数据写入第四存储节点的第六地址。
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the device further includes a determining unit, the migration unit migrating the first data stored in the first address of the first storage node to the second data of the second storage node After the address, the determining unit is configured to determine a fifth address used by the second storage node to save the data on the second address of the first data; the sending unit is further configured to send a data update instruction to the storage controller, where the data update command includes The indication information of the six address and the second data stored on the fifth address, the data update instruction is used to instruct the storage controller to write the second data to the sixth address of the fourth storage node.
当系统采用异步复制方法时,第二存储控制器将第一数据从第三存储节点迁移至第四存储节点之前,可能客户端又对第二存储节点中的第一数据进行了更改操作,第二存储控制器进行数据迁移时,第二存储节点中的第一数据已经发生了变化,从而造成了第二存储节点与第四存储节点之间的数据不一致,通过跟踪第一数据在第二存储节点中第一数据的变化,并将该变化更新至第四存储节点,从而使第四存储节点与第二存储节点中的数据保持一致。When the system adopts the asynchronous replication method, before the second storage controller migrates the first data from the third storage node to the fourth storage node, the client may perform a change operation on the first data in the second storage node. When the second storage controller performs data migration, the first data in the second storage node has changed, thereby causing data inconsistency between the second storage node and the fourth storage node, by tracking the first data in the second storage. A change in the first data in the node and updating the change to the fourth storage node such that the data in the fourth storage node is consistent with the data in the second storage node.
结合第五方面或第五方面以上任一种可能的实现方式,在第五方面第二种可能的实现方式中,确定单元用于确定第二存储节点用于保存第一数据的第二地址上数据发生变化的第五地址,包括:确定单元用于使用第一标记标识第二地址,并在第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;确定单元用于根据第二标记确定第五地址。With reference to the fifth aspect, or any one of the foregoing possible implementation manners of the fifth aspect, in the second possible implementation manner of the fifth aspect, the determining unit is configured to determine, by the second storage node, the second address used to save the first data The fifth address of the data change includes: the determining unit is configured to identify the second address by using the first mark, and when the data on the address identified by the first mark changes, use the second mark to identify the address where the data changes; The unit is configured to determine the fifth address based on the second flag.
通过使用第一标记标识第一数据,并使用第二标记标识第一数据的发生变化的位置信息,从而使第一存储控制器快速的确定数据发生变化的位置信息,并进行第二存储节点和第四存储节点的同步更新。Identifying the first data by using the first mark, and identifying the changed position information of the first data by using the second mark, so that the first storage controller quickly determines the location information of the data change, and performs the second storage node and Synchronous update of the fourth storage node.
结合第五方面或第五方面以上任一种可能的实现方式,在第五方面第三种可能的实现方式中,发送单元向存储控制器发送第二迁移指令之后,接收单元还用于接收来自存储控制器的反馈消息,反馈消息用于指示完成第一数据从第三存储节点至第四存储节点的迁移操作。With reference to the fifth aspect, or any one of the foregoing possible implementation manners of the fifth aspect, in a third possible implementation manner of the fifth aspect, after the sending unit sends the second migration instruction to the storage controller, the receiving unit is further configured to receive the And storing a feedback message of the controller, where the feedback message is used to indicate that the migration operation of the first data from the third storage node to the fourth storage node is completed.
根据本发明实施例公开的技术方案,当主存储库内部的第一存储节点和第二存储节点之间发生数据迁移操作时,只需要将数据迁移指令从主存储库发送至备存储库,避免了第二存储节点和第四存储节点之间大量数据的传送操作,从而节省了网络传输的消耗,并且节省了数据更新的时间。According to the technical solution disclosed in the embodiment of the present invention, when a data migration operation occurs between the first storage node and the second storage node in the main storage library, only the data migration instruction needs to be sent from the primary storage library to the standby storage library, thereby avoiding A large amount of data transfer operation between the second storage node and the fourth storage node, thereby saving network transmission consumption and saving time for data update.
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明一个数据备份的系统逻辑结构示意图;1 is a schematic diagram of a logical structure of a data backup system according to the present invention;
图2为依据本发明一实施例的计算设备硬件结构示意图;2 is a schematic structural diagram of a hardware of a computing device according to an embodiment of the invention;
图3为依据本发明一实施例的数据备份方法的信令图;
3 is a signaling diagram of a data backup method according to an embodiment of the invention;
图4为依据本发明一实施例的数据备份装置的逻辑结构示意图。FIG. 4 is a schematic diagram showing the logical structure of a data backup device according to an embodiment of the invention.
下面将结合附图,对本发明实施例进行描述。The embodiments of the present invention will be described below with reference to the accompanying drawings.
根据本发明实施例,为了增加用户数据的容灾性能,一个客户端配置有一个主存储库和一个备存储库,其中备存储库是主存储库的容灾备份,备存储库中保存有主存储库的备份数据,当主存储库的数据发生错误时,可以使用备存储库中的数据对客户端的数据进行恢复,从而增加了用户数据的容灾性能。为了保证备存储库的数据是有效的,当主存储库的数据发生变化时,需要对备存储库做出与主存储库同样的更新。According to the embodiment of the present invention, in order to increase the disaster tolerance performance of the user data, one client is configured with a primary storage library and a standby storage library, wherein the standby storage library is a disaster recovery backup of the primary storage repository, and the storage storage library stores the primary storage library. The backup data of the repository can be used to recover the data of the client when the data of the primary repository is incorrect, thereby increasing the disaster tolerance performance of the user data. In order to ensure that the data of the standby repository is valid, when the data of the primary repository changes, the same update as the primary repository needs to be made to the standby repository.
图1为依据本发明的一个数据备份系统100的系统逻辑结构示意图,如图1所示,系统100包含客户端102、主存储库104和备存储库106,其中,主存储库104中包含第一存储控制器108、第一存储节点112和第二存储节点114,第一存储控制器104用于管理主存储库104,备存储库106中包含第二存储控制器110、第三存储节点116和第四存储节点118,第二存储控制器106用于管理备存储库106。1 is a schematic diagram of a system logical structure of a data backup system 100 according to the present invention. As shown in FIG. 1, the system 100 includes a client 102, a main storage library 104, and a backup storage library 106, wherein the main storage library 104 includes a a storage controller 108, a first storage node 112, and a second storage node 114. The first storage controller 104 is configured to manage the primary storage library 104. The secondary storage server 106 includes a second storage controller 110 and a third storage node 116. And the fourth storage node 118, the second storage controller 106 is configured to manage the standby storage 106.
第三存储节点116中保存有第一存储节点112的备份数据,即第三存储节点116是第一存储节点112的备份存储节点;第四存储节点118中保存有第二存储节点114的备份数据,即第四存储节点118是第二存储节点114的备份存储节点。The third storage node 116 stores the backup data of the first storage node 112, that is, the third storage node 116 is the backup storage node of the first storage node 112; the fourth storage node 118 stores the backup data of the second storage node 114. That is, the fourth storage node 118 is a backup storage node of the second storage node 114.
其中,主存储库104或备存储库106可以分别是一个存储阵列或网络接入存储(Network Attached Storage,NAS)或存储区域网络(Storage Area Network,SAN)等网络存储架构。每一个存储节点可以为一个逻辑单元号(Logical Unit Number,LUN)或一个文件系统。应理解,本发明实施例并不对存储库和存储节点的表现形式进行限定。The main storage library 104 or the backup storage network 106 may be a network storage architecture such as a storage array or a network attached storage (NAS) or a storage area network (SAN). Each storage node can be a Logical Unit Number (LUN) or a file system. It should be understood that embodiments of the present invention do not limit the representation of the repository and storage nodes.
其中,客户端102和第一存储控制器108,第一存储控制器108和第二存储控制器110之间可以通过网络连接,其中网络可以为因特网,内联网,局域网(Local Area Networks,简称LANs),广域网络(Wireless Local Area Networks,简称WLANs),存储区域网络(Storage Area Networks,简称SANs)等,或者以上网络的组合。The client 102 and the first storage controller 108, the first storage controller 108 and the second storage controller 110 can be connected through a network, wherein the network can be the Internet, an intranet, or a local area network (LAN). ), Wireless Local Area Networks (WLANs), Storage Area Networks (SANs), etc., or a combination of the above.
图1所示的第一存储控制器108和第二存储控制器110可以由图2所示的计
算设备200来实现。The first storage controller 108 and the second storage controller 110 shown in FIG. 1 can be calculated by the meter shown in FIG. 2.
The computing device 200 is implemented.
图2为计算设备200的简化的逻辑结构示意图,如图2所示,计算设备200包括处理器202、内存单元204、输入/输出接口206、通信接口208、总线210和存储设备212。其中,处理器202、内存单元204、输入/输出接口206、通信接口208和存储设备212,通过总线210实现彼此之间的通信连接。2 is a simplified logical block diagram of computing device 200. As shown in FIG. 2, computing device 200 includes a processor 202, a memory unit 204, an input/output interface 206, a communication interface 208, a bus 210, and a storage device 212. The processor 202, the memory unit 204, the input/output interface 206, the communication interface 208, and the storage device 212 implement communication connections with each other through the bus 210.
处理器202是计算设备200的控制中心,用于执行相关程序,以实现本发明实施例所提供的技术方案。可选的,处理器202包含一个或多个中央处理器单元(Central Processing Unit,CPU),例如,图2所示的中央处理器单元1和中央处理器单元2。可选的,计算设备200还可以包含多个处理器202,每一个处理器202可以是一个单核处理器(包含一个CPU)或多核处理器(包含多个CPU)。除非另有说明,在本发明中,一个用于执行特定功能的组件,例如,处理器202或内存单元204,可以通过配置一个通用的组件来执行相应功能来实现,也可以通过一个专门执行特定功能的专用组件来实现,本申请并不对此进行限定。处理器202可以采用通用的中央处理器,微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本申请所提供的技术方案。The processor 202 is a control center of the computing device 200 for executing related programs to implement the technical solutions provided by the embodiments of the present invention. Optionally, the processor 202 includes one or more central processing units (CPUs), such as the central processing unit 1 and the central processing unit 2 shown in FIG. Optionally, the computing device 200 can also include multiple processors 202, each of which can be a single core processor (including one CPU) or a multi-core processor (including multiple CPUs). Unless otherwise stated, in the present invention, a component for performing a specific function, for example, the processor 202 or the memory unit 204, may be implemented by configuring a general-purpose component to perform a corresponding function, or may be specifically performed by a specific one. The specific components of the function are implemented, and this application does not limit this. The processor 202 can use a general-purpose central processing unit, a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs to implement the technology provided by the present application. Program.
处理器202可以通过总线210与一个或多个存储方案相连接。存储方案可以包含内存单元204和存储设备212。其中,存储设备212可以为只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。内存单元204可以为随机存取存储器。内存单元204可以与处理器202集成在一起或集成在处理器202的内部,也可以是独立于处理器202的一个或多个存储单元。 Processor 202 can be coupled to one or more storage schemes via bus 210. The storage scheme can include a memory unit 204 and a storage device 212. The storage device 212 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). Memory unit 204 can be a random access memory. The memory unit 204 can be integrated with or integrated with the processor 202, or it can be one or more memory units independent of the processor 202.
供处理器202或处理器202内部的CPU执行的程序代码可以存储在存储设备212或内存单元204中。可选的,存储在存储设备212内部的程序代码(例如,操作系统、应用软件、备份模块、通信模块或存储控制模块等)被拷贝到内存单元204中,以供处理器202执行。Program code for execution by the processor 202 or a CPU internal to the processor 202 may be stored in the storage device 212 or the memory unit 204. Optionally, program code (eg, an operating system, application software, backup module, communication module, or storage control module, etc.) stored internal to storage device 212 is copied to memory unit 204 for execution by processor 202.
存储设备212可以为物理硬盘或其分区(包括小型计算设备系统接口存储或全局网络块设备卷)、网络存储协议(包括网络文件系统NFS等网络或机群文件系统)、基于文件的虚拟存储设备(虚拟磁盘镜像)、基于逻辑卷的存储设备。可以包含高速随机存储器(RAM),也可以包含非易失性存储器,例如一个或者多个磁盘存储器,闪速存储器,或者其他非易失性存储器。在一
些实施例中,存储设备还可能进一步包含与所述一个和多个处理器202分离的远程存储器,例如通过通信接口208与通信网络进行访问的网盘,该通信网络可以为因特网,内联网,局域网(LANs),广域网络(WLANs),存储区域网络(SANs)等,或者以上网络的组合。The storage device 212 can be a physical hard disk or a partition thereof (including a small computing device system interface storage or a global network block device volume), a network storage protocol (including a network file system NFS or other network or cluster file system), a file-based virtual storage device ( Virtual disk mirroring), logical volume-based storage devices. It may include high speed random access memory (RAM), and may also include non-volatile memory, such as one or more disk memories, flash memories, or other non-volatile memory. In a
In some embodiments, the storage device may further include a remote memory separate from the one or more processors 202, such as a network disk accessed through a communication interface 208 with a communication network, which may be the Internet, an intranet, Local area networks (LANs), wide area networks (WLANs), storage area networks (SANs), etc., or a combination of the above.
操作系统(例如Darwin、RTXC、LINUX、UNIX、OS X、WINDOWS或是诸如Vxworks之类的嵌入式操作系统)包括用于控制和管理常规系统任务(例如内存管理、存储设备控制、电源管理等等)以及有助于各种软硬件组件之间通信的各种软件组件和/或驱动器。Operating systems (such as Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or embedded operating systems such as Vxworks) include controls and management of general system tasks (such as memory management, storage device control, power management, etc.) And various software components and/or drivers that facilitate communication between various hardware and software components.
输入/输出接口206用于接收输入的数据和信息,输出操作结果等数据。The input/output interface 206 is for receiving input data and information, and outputting data such as operation results.
通信接口208使用例如但不限于收发器一类的收发装置,来实现计算设备200与其他设备或通信网络之间的通信。 Communication interface 208 enables communication between computing device 200 and other devices or communication networks using transceivers such as, but not limited to, transceivers.
总线210可包括一通路,在计算设备200各个部件(例如处理器202、内存单元204、输入/输出接口206、通信接口208和存储设备212)之间传送信息。可选的,总线210可以使用有线的连接方式或采用无线的通讯方式,本申请并不对此进行限定。Bus 210 may include a path for communicating information between various components of computing device 200, such as processor 202, memory unit 204, input/output interface 206, communication interface 208, and storage device 212. Optionally, the bus 210 can use a wired connection or a wireless communication mode, which is not limited in this application.
应注意,尽管图2所示的计算设备200仅仅示出了处理器202、内存单元204、输入/输出接口206、通信接口208、总线210以及存储设备212,但是在具体实现过程中,本领域的技术人员应当明白,计算设备200还包含实现正常运行所必须的其他器件。It should be noted that although the computing device 200 shown in FIG. 2 only shows the processor 202, the memory unit 204, the input/output interface 206, the communication interface 208, the bus 210, and the storage device 212, in a specific implementation process, the field Those skilled in the art will appreciate that computing device 200 also includes other devices necessary to achieve proper operation.
计算设备200可以为一般的通用计算设备或专门用途的计算设备,包括但不限于便携计算设备,个人台式计算设备,网络服务器,平板电脑,手机,个人数字助理(PDA)等任何电子设备,或者以上两种或者多种的组合设备,本申请并不对计算设备200的具体实现形式进行任何限定。The computing device 200 can be a general purpose computing device or a special purpose computing device including, but not limited to, a portable computing device, a personal desktop computing device, a web server, a tablet, a cell phone, a personal digital assistant (PDA), or the like, or The above two or more combinations of devices do not limit the specific implementation form of the computing device 200.
此外,图2的计算设备200仅仅是一个计算设备200的例子,计算设备200可能包含相比于图2展示的更多或者更少的组件,或者有不同的组件配置方式。根据具体需要,本领域的技术人员应当明白,计算设备200还可包含实现其他附加功能的硬件器件。本领域的技术人员应当明白,计算设备200也可仅仅包含实现本发明实施例所必须的器件,而不必包含图2中所示的全部器件。同时,图2中展示的各种组件可以用硬件、软件或者硬件与软件的结合方式实施。Moreover, computing device 200 of FIG. 2 is merely an example of one computing device 200, which may include more or fewer components than those shown in FIG. 2, or have different component configurations. Those skilled in the art will appreciate that computing device 200 may also include hardware devices that implement other additional functions, depending on the particular needs. Those skilled in the art will appreciate that computing device 200 may also only include the components necessary to implement embodiments of the present invention, and does not necessarily include all of the devices shown in FIG. At the same time, the various components shown in Figure 2 can be implemented in hardware, software, or a combination of hardware and software.
图2所示的硬件结构以及上述描述适用于本发明实施例所提供的各种计
算设备,适用于执行本发明实施例所提供的各种数据备份方法。The hardware structure shown in FIG. 2 and the above description are applicable to various meters provided by the embodiments of the present invention.
The computing device is adapted to perform various data backup methods provided by the embodiments of the present invention.
如图2所示,计算设备200的内存单元204中包含备份模块,处理器202执行该备份模块的程序代码,实现数据的备份操作。As shown in FIG. 2, the memory unit 204 of the computing device 200 includes a backup module, and the processor 202 executes the program code of the backup module to implement a data backup operation.
备份模块可以由一个或者多个操作指令构成,以使计算设备200根据以上描述执行一个或多个方法步骤。具体的方法步骤在本申请的以下部分进行详细描述。The backup module can be comprised of one or more operational instructions to cause computing device 200 to perform one or more method steps in accordance with the above description. The specific method steps are described in detail in the following sections of this application.
图3为依据本发明一实施例的数据备份方法的信令图,数据备份系统100包含主存储库104和备存储库106,主存储库104用于保存客户端102的数据,备存储库106是主存储库104的备份存储库,用于保存主存储库104的备份数据,其中,第一存储控制器108用于管理该主存储库104,第二存储控制器110用于管理该备存储库106,主存储库104包含第一存储节点112和第二存储节点114,备存储库106包含第三存储节点116和第四存储节点118,第三存储节点116是第一存储节点112的备份节点,保存有第一存储节点112的备份数据,第四存储节点118是第二存储节点114的备份节点,保存有第二存储节点114的备份数据,当主存储库104内部发生数据迁移操作时,本发明实施例用于实现备存储库106内部同样的数据更新,如图3所示,该数据备份方法包括:FIG. 3 is a signaling diagram of a data backup method according to an embodiment of the present invention. The data backup system 100 includes a main storage library 104 and a backup storage library 106. The main storage library 104 is configured to store data of the client 102, and the storage repository 106 Is a backup repository of the main repository 104 for storing backup data of the primary repository 104, wherein the first storage controller 108 is configured to manage the primary repository 104, and the second storage controller 110 is configured to manage the backup storage The library 106, the main storage library 104 includes a first storage node 112 and a second storage node 114, the standby storage library 106 includes a third storage node 116 and a fourth storage node 118, and the third storage node 116 is a backup of the first storage node 112. The node stores the backup data of the first storage node 112. The fourth storage node 118 is the backup node of the second storage node 114, and the backup data of the second storage node 114 is saved. When the data migration operation occurs inside the main storage library 104, The embodiment of the present invention is used to implement the same data update in the standby storage library 106. As shown in FIG. 3, the data backup method includes:
302:主存储库104接收第一迁移指令。302: The primary repository 104 receives the first migration instruction.
更具体的,主存储库104的第一存储控制器108接收到来自客户端102的第一迁移指令。其中,客户端102可以是任意形态的计算设备,主存储库104保存有该客户端102的数据,例如,客户端102可以为一个数据中心的云管理平台,当发生虚拟机迁移等操作时,客户端102要进行数据卷的迁移,即将数据从一个存储节点迁移至另外一个存储节点,则客户端102会向主存储库104发送第一迁移指令。More specifically, the first storage controller 108 of the primary repository 104 receives the first migration instruction from the client 102. The client 102 can be any type of computing device, and the main repository 104 stores the data of the client 102. For example, the client 102 can be a cloud management platform of a data center. When a virtual machine migration or the like occurs. The client 102 is to migrate the data volume, that is, to migrate the data from one storage node to another storage node, and the client 102 sends a first migration instruction to the main storage library 104.
该数据迁移指令用于指示主存储库104(第一存储控制器108)将第一存储节点112中的第一数据迁移至第二存储节点114,第一迁移指令中携带第一数据在第一存储节点110的第一地址的指示信息和待将该第一数据迁移至所述第二存储节点的第二地址的指示信息。具体实现过程中,第一数据在第一存储节点112的第一地址的指示信息可以第一数据在第一存储节点112的起始地址和地址长度,第一数据迁移至第二存储节点114的第二地址的指示信息可以为第一数据迁移至第二存储节点114的起始地址。The data migration instruction is used to instruct the primary storage library 104 (the first storage controller 108) to migrate the first data in the first storage node 112 to the second storage node 114, and the first migration instruction carries the first data in the first The indication information of the first address of the storage node 110 and the indication information of the second address to be migrated to the second storage node. In the specific implementation process, the indication information of the first address of the first data in the first storage node 112 may be the start address and the address length of the first data in the first storage node 112, and the first data is migrated to the second storage node 114. The indication information of the second address may be the starting address of the first data migration to the second storage node 114.
在具体实现过程中,第一数据在第一存储节点112的第一地址的指示信息
可以为该第一数据的起始地址在第一存储节点112中相对于段首地址的偏移量,第一数据迁移至第二存储节点114的第二地址的指示信息也可以为第一数据迁移至第二存储节点114的起始地址相对于段首地址的偏移量。In the specific implementation process, the indication information of the first address of the first data at the first storage node 112
The indication that the first data is in the first storage node 112 relative to the segment header address, and the indication information that the first data migrates to the second address of the second storage node 114 may also be the first data. The offset from the start address of the second storage node 114 to the first address of the segment.
具体的,第一迁移指令中还可以携带第一存储节点112的标识信息和第二存储节点114的标识信息。Specifically, the first migration instruction may further carry the identifier information of the first storage node 112 and the identifier information of the second storage node 114.
应理解,该第一地址的指示信息和第一地址的指示信息分别用于指示第一数据在第一存储节点112的原始位置和迁移至第二存储节点114的目的位置,本发明实施例并不对指示信息的具体实现方式进行限定。It should be understood that the indication information of the first address and the indication information of the first address are used to indicate the original location of the first data in the first storage node 112 and the destination location of the migration to the second storage node 114, respectively. The specific implementation of the indication information is not limited.
304:主存储库104根据该第一迁移指令将第一数据从第一存储节点112迁移至第二存储节点114。304: The primary repository 104 migrates the first data from the first storage node 112 to the second storage node 114 according to the first migration instruction.
更具体的,主存储库104的第一存储控制器108将第一存储节点112中的第一地址上存储的第一数据迁移至第二存储节点的第二地址上。More specifically, the first storage controller 108 of the primary repository 104 migrates the first data stored on the first address in the first storage node 112 to the second address of the second storage node.
306:主存储库104向备存储库106发送第二迁移指令。306: The primary repository 104 sends a second migration instruction to the standby repository 106.
更具体的,主存储库104的第一存储控制器108向备存储库106的第二备份控制器110发送该第二迁移指令。第二迁移指令用于指示第二存储控制110器将第一数据从第三存储节点116迁移至第四存储节点118,第二迁移指令中携带第一数据在第三存储节点116中的第三地址的指示信息和待将第一数据迁移至第四存储节点118的第四地址的指示信息。More specifically, the first storage controller 108 of the primary repository 104 transmits the second migration instruction to the second backup controller 110 of the standby repository 106. The second migration instruction is used to instruct the second storage control 110 to migrate the first data from the third storage node 116 to the fourth storage node 118, and the second migration instruction carries the third data in the third storage node 116. The indication information of the address and the indication information of the fourth address to be migrated to the fourth storage node 118.
备存储库106为主存储库104的备份存储库,第三存储节点116为第一存储节点112的备份节点,第四存储节点118为第一存储节点114的备份节点。第二存储节点112内部有数据的更新时,需要对第四存储节点118进行同样的数据更新,因为第三存储节点116中保存有第一存储节点112的备份数据,为了避免第二存储节点114向第四存储节点118的大量数据传送,可以根据该第二迁移指令对备存储库106进行数据同步的更新,指示第二存储控制器110将第一数据从第三存储节点116迁移至第四存储节点118。The storage repository 106 is a backup repository of the primary storage library 104, the third storage node 116 is a backup node of the first storage node 112, and the fourth storage node 118 is a backup node of the first storage node 114. When there is data update in the second storage node 112, the same data update needs to be performed on the fourth storage node 118, because the third storage node 116 stores the backup data of the first storage node 112, in order to avoid the second storage node 114. The data transfer to the fourth storage node 118 may be performed, and the data synchronization of the backup storage library 106 may be updated according to the second migration instruction, and the second storage controller 110 is instructed to migrate the first data from the third storage node 116 to the fourth storage node 116. Storage node 118.
308:备存储库106根据该第二迁移指令将第一数据从第三存储节点116迁移至第四存储节点118。308: The standby repository 106 migrates the first data from the third storage node 116 to the fourth storage node 118 according to the second migration instruction.
更具体的,第二存储控制器110接收来自第一存储控制器108的第二迁移指令后,根据该第二迁移指令,将第三存储节点116中第三地址上存储的第一数据迁移至第四存储节点118的第四地址。More specifically, after receiving the second migration instruction from the first storage controller 108, the second storage controller 110 migrates the first data stored in the third address of the third storage node 116 to the second migration instruction to The fourth address of the fourth storage node 118.
在具体实现过程中,因为第三存储节点116为第一存储节点112的备份节
点,二者的存储地址存在映射关系,可以使用第一地址的指示信息充当第三地址的指示信息,第二存储控制器110维护有第一存储节点112和第三存储节点116的地址映射关系。第二存储控制器110可以使用第一地址的指示信息,确定第一数据在第三存储节点116中的第三地址,从而从第三存储节点116中取出第一数据。In a specific implementation process, because the third storage node 116 is a backup section of the first storage node 112.
Point, the storage address of the two has a mapping relationship, and the indication information of the first address can be used as the indication information of the third address, and the second storage controller 110 maintains the address mapping relationship between the first storage node 112 and the third storage node 116. . The second storage controller 110 may determine the third address of the first data in the third storage node 116 using the indication information of the first address, thereby fetching the first data from the third storage node 116.
同理,第四存储节点118为第二存储节点114的备份节点,二者的存储地址存在映射关系,可以使用第二地址的指示信息充当第四地址的指示信息,第二存储控制器110维护有第二存储节点114和第四存储节点118的地址映射关系。第二存储控制器110可以使用第二地址的指示信息,确定第一数据迁移至第四存储节点118中的第四地址,从而将第一数据从第三存储节点116中迁移至第四存储节点118。Similarly, the fourth storage node 118 is a backup node of the second storage node 114, and the storage addresses of the two storage nodes are in a mapping relationship, and the indication information of the second address can be used as the indication information of the fourth address, and the second storage controller 110 maintains There is an address mapping relationship between the second storage node 114 and the fourth storage node 118. The second storage controller 110 may use the indication information of the second address to determine that the first data migrates to the fourth address in the fourth storage node 118, thereby migrating the first data from the third storage node 116 to the fourth storage node. 118.
在另外一种可能的实现方式中,第一存储节控制器108维护有第一存储节点112和第三存储节点116的地址映射关系,第一存储控制器108可以根据第一地址的指示信息确定第三地址,并在第二迁移指令中携带该第三地址的指示信息,第三地址的指示信息可以为第一数据在第三存储节点116的起始地址和地址长度,更具体的,可以为第一数据在第三存储节点116的起始地址相对于段首地址的偏移量和地址长度。In another possible implementation manner, the first storage node controller 108 maintains an address mapping relationship between the first storage node 112 and the third storage node 116, and the first storage controller 108 may determine according to the indication information of the first address. The third address, and the indication information of the third address is carried in the second migration instruction, where the indication information of the third address may be the start address and the address length of the first data at the third storage node 116, more specifically, The offset of the start address of the first data at the third storage node 116 relative to the segment header address and the address length.
同理,第一存储节控制器108可以维护有第二存储节点114和第四存储节点118的地址映射关系,第一存储控制器108可以根据第二地址的指示信息确定第四地址,并在第二迁移指令中携带该第四地址的指示信息,第四地址的指示信息可以为将第一数据迁移至第四存储节点118的起始地址,更具体的,可以为将第一数据迁移至第四存储节点118的起始地址相对于段首地址的偏移量。Similarly, the first storage node controller 108 can maintain an address mapping relationship between the second storage node 114 and the fourth storage node 118, and the first storage controller 108 can determine the fourth address according to the indication information of the second address, and The second migration instruction carries the indication information of the fourth address, and the indication information of the fourth address may be a starting address for migrating the first data to the fourth storage node 118. More specifically, the first data may be migrated to The offset of the start address of the fourth storage node 118 relative to the first address of the segment.
310:备存储库106向主存储库104发送反馈消息。310: The standby repository 106 sends a feedback message to the primary repository 104.
更具体的,备存储库106的第二存储控制器110向主存储库104的第一存储控制器108发送反馈消息,反馈消息用于指示完成了第一数据从第三存储节点116向第四存储节点118中的迁移。More specifically, the second storage controller 110 of the standby storage 106 sends a feedback message to the first storage controller 108 of the primary storage library 104, the feedback message indicating that the first data is completed from the third storage node 116 to the fourth. Migration in storage node 118.
如果数据备份系统采用同步复制的方法,则主存储库104在步骤304之后,并不会立即向客户端102发送指示迁移完成的回执消息,而是在等待步骤306-310执行完毕后,即主存储库104接收到备存储库106发送的反馈消息后,才向客户端102发送该回执消息,以指示完成了第一数据的迁移操作。
If the data backup system adopts the synchronous replication method, the primary storage library 104 does not immediately send a receipt message indicating the completion of the migration to the client 102 after step 304, but after waiting for the execution of steps 306-310, that is, the primary After receiving the feedback message sent by the standby repository 106, the repository 104 sends the receipt message to the client 102 to indicate that the migration operation of the first data is completed.
使用同步复制的方法,当主存储库104的数据产生变化时,主存储库104在确保备存储库106完成与主存储库104的数据同步之前,是不会进行后续数据处理的,从而保证备存储库106与主存储库104的严格的数据一致性。但是采用同步复制的方法,在进行备存储库106与主存储库104之间的数据同步操作的时间区间内,主存储库104的数据是不可用的,从而造成客户端102对主存储库104内后续数据操作的延时。When the data of the main storage library 104 is changed, the main storage library 104 does not perform subsequent data processing until the backup storage library 106 completes the data synchronization with the main storage library 104, thereby ensuring the standby storage. The strict consistency of the library 106 with the primary repository 104. However, in the synchronous replication method, the data of the primary storage library 104 is unavailable during the time interval between the data storage synchronization operation between the standby storage 106 and the primary storage library 104, thereby causing the client 102 to access the primary storage library 104. The delay of subsequent data operations.
如果数据备份系统采用异步复制的方法,主存储库104在根据数据迁移指令,将第一数据从第一存储节点112迁移至第二存储节点114后,即执行完步骤304之后,不等待备存储库104完成同样的数据迁移,就向客户端102发送回执消息,用于指示完成了第一数据的迁移,后续再进行步骤306-310的数据同步操作。If the data backup system adopts the asynchronous replication method, the primary storage library 104 migrates the first data from the first storage node 112 to the second storage node 114 according to the data migration instruction, that is, after performing step 304, does not wait for the standby storage. The library 104 performs the same data migration, and sends a return message to the client 102 for indicating that the migration of the first data is completed, and then performs the data synchronization operation of steps 306-310.
使用异步复制的方法,由于主存储库104不等待备存储库106的数据同步完成,就向客户端102发送回执消息,从而可以减少同步复制方法中客户端102对数据同步的等待时间,使主存储库104中的数据快速变为对102可用的状态。但是采用异步复制方法,在执行步骤306和308的时间区间内,可能客户端102又对第二存储节点114中的第一数据进行了更改操作,而步骤310中的同步更新操作,仍然是将第一数据从第三存储节点116迁移至第四存储节点118,而此时第二存储节点114中的第一数据已经发生了变化,从而造成了第二存储节点114与第四存储节点118之间的数据不一致。By using the asynchronous replication method, since the main storage library 104 does not wait for the data synchronization of the standby storage library 106 to complete, the return receipt message is sent to the client 102, thereby reducing the waiting time of the client 102 for data synchronization in the synchronous replication method, so that the main storage library 104 The data in repository 104 quickly becomes available to 102. However, in the time interval in which steps 306 and 308 are performed, the client 102 may perform a change operation on the first data in the second storage node 114, and the synchronous update operation in step 310 is still performed. The first data migrates from the third storage node 116 to the fourth storage node 118, and at this time, the first data in the second storage node 114 has changed, thereby causing the second storage node 114 and the fourth storage node 118 to The data is inconsistent.
为了解决这一问题,在步骤304后,该第一存储控制器108还用于确定该第二存储节点114用于保存该第一数据的存储区域中数据发生变化的地址信息;并向该第二存储控制器110发送数据更新指令,该数据更新指令包含该数据发生变化的地址信息和该地址信息上数据发生变化后的第二数据,该数据更新指令用于指示该第二存储控制器110将该第二数据写入该第四存储节点。即第一存储控制器108还用于确定第二存储节点114用于保存第一数据的第二地址上数据发生变化的第五地址,并向第二存储控制器110发送数据更新指令,数据更新指令包含第六地址的指示信息和第五地址上存储的第二数据,该数据更新指令用于指示第二存储控制器110将第二数据写入第四存储节点118的第六地址。第二存储控制器根据该数据更新指令,将第二数据写入第四存储节点的第六地址。In order to solve the problem, after the step 304, the first storage controller 108 is further configured to determine that the second storage node 114 is configured to save address information in which the data in the storage area of the first data changes; The second storage controller 110 sends a data update instruction, where the data update instruction includes address information of the data change and second data after the data change on the address information, the data update instruction is used to indicate the second storage controller 110 Writing the second data to the fourth storage node. That is, the first storage controller 108 is further configured to determine a fifth address used by the second storage node 114 to save data on the second address of the first data, and send a data update instruction to the second storage controller 110, and the data is updated. The instruction includes the indication information of the sixth address and the second data stored on the fifth address, the data update instruction is for instructing the second storage controller 110 to write the second data to the sixth address of the fourth storage node 118. The second storage controller writes the second data to the sixth address of the fourth storage node according to the data update instruction.
具体的,该第一存储控制器108在执行步骤304后,使用第一标记标识该
第二存储节点用于保存该第一数据的存储区域的地址,例如,使用“0”标记保存第一数据的存储区域,并在该第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址,例如,使用“1”标记数据发生变化的地址。即第一存储控制器108在执行步骤304后,使用第一标记标识第二地址,并在第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址,第一存储控制器根据第二标记确定该第五地址。Specifically, after performing step 304, the first storage controller 108 identifies the
The second storage node is configured to save an address of the storage area of the first data, for example, using a "0" mark to store the storage area of the first data, and when the data on the address identified by the first mark changes, use the first The second tag identifies the address at which the data has changed, for example, using "1" to mark the address at which the data changes. That is, after performing step 304, the first storage controller 108 identifies the second address by using the first mark, and uses the second mark to identify the address where the data changes when the data on the address identified by the first mark changes. The storage controller determines the fifth address based on the second flag.
第二存储控制器110可以根据接收到第二迁移指令和数据更新指令的先后顺序,分别根据该第二迁移指令将第一数据从第三存储节点116迁移至第四存储节点118,并根据该数据更新请求,将第二数据更新至第四存储节点。The second storage controller 110 may migrate the first data from the third storage node 116 to the fourth storage node 118 according to the second migration instruction according to the sequence of receiving the second migration instruction and the data update instruction, respectively, according to the The data update request updates the second data to the fourth storage node.
第二存储节点110在接收到该第二迁移指令和该数据更新指令之后,还可以将该第二迁移指令和数据更新指令进行合并,从而将第二数据写入第四存储节点118,并将第一数据中与第二数据中地址不重复的数据迁移至第四存储节点118。After receiving the second migration instruction and the data update instruction, the second storage node 110 may further merge the second migration instruction and the data update instruction, thereby writing the second data to the fourth storage node 118, and Data in the first data that does not overlap with the address in the second data is migrated to the fourth storage node 118.
具体实现过程中,第一存储控制器108可以在接收到来自第二存储控制器110的反馈消息后,向第二存储控制器110发送该数据更新指令,从而实现第二存储节点114与第四存储节点118之间的数据同步。In a specific implementation process, the first storage controller 108 may send the data update instruction to the second storage controller 110 after receiving the feedback message from the second storage controller 110, thereby implementing the second storage node 114 and the fourth. Data synchronization between storage nodes 118.
根据本发明实施例公开的技术方案,当主存储库内部的第一存储节点和第二存储节点之间发生数据迁移操作时,只需要将数据迁移指令从主存储库发送至备存储库,避免了第二存储节点和第四存储节点之间大量数据的传送操作,从而节省了网络传输的消耗,并且节省了数据更新的时间。According to the technical solution disclosed in the embodiment of the present invention, when a data migration operation occurs between the first storage node and the second storage node in the main storage library, only the data migration instruction needs to be sent from the primary storage library to the standby storage library, thereby avoiding A large amount of data transfer operation between the second storage node and the fourth storage node, thereby saving network transmission consumption and saving time for data update.
图4为依据本发明一实施例的数据备份装置400的逻辑结构示意图,数据备份系统包含主存储库和备存储库,主存储库用于保存客户端的数据,备存储库是主存储库的备份存储库,用于保存主存储库的备份数据,其中,装置400用于管理该主存储库,存储控制器用于管理该备存储库,主存储库包含第一存储节点和第二存储节点,备存储库包含第三存储节点和第四存储节点,第三存储节点是第一存储节点的备份节点,保存有第一存储节点的备份数据,第四存储节点是第二存储节点的备份节点,保存有第二存储节点的备份数据,当主存储库内部发生数据迁移操作时,本发明实施例用于实现备存储库内部同样的数据更新,如图4所示,装置400包含接收单元402、迁移单元404和发送单元406,其中,4 is a schematic diagram of a logical structure of a data backup device 400 according to an embodiment of the present invention. The data backup system includes a primary storage library and a backup storage library. The primary storage library is used to store data of the client, and the backup storage library is a backup of the primary storage library. a storage library, configured to save backup data of the primary storage library, where the device 400 is configured to manage the primary storage library, the storage controller is configured to manage the standby storage database, and the primary storage library includes a first storage node and a second storage node, The storage library includes a third storage node and a fourth storage node, the third storage node is a backup node of the first storage node, and the backup data of the first storage node is saved, and the fourth storage node is a backup node of the second storage node, and is saved. There is a backup data of the second storage node. When a data migration operation occurs in the main storage, the embodiment of the present invention is used to implement the same data update in the standby storage. As shown in FIG. 4, the device 400 includes a receiving unit 402 and a migration unit. 404 and sending unit 406, wherein
接收单元402,用于接收第一迁移指令,该第一迁移指令中携带第一数据
在该第一存储节点的第一地址的指示信息和待将该第一数据迁移至该第二存储节点的第二地址的指示信息。The receiving unit 402 is configured to receive a first migration instruction, where the first migration instruction carries the first data
The indication information of the first address of the first storage node and the indication information of the second address to be migrated to the second storage node.
在具体实现过程中,接收单元402可以由图2所示的处理器202,内存单元204和通信接口208来实现。更具体的,可以由处理器202执行内存单元204中的通信模块,以使通信接口208接收接收来自备份服务器的备份信息迁移消息。In a specific implementation process, the receiving unit 402 can be implemented by the processor 202, the memory unit 204, and the communication interface 208 shown in FIG. More specifically, the communication module in memory unit 204 can be executed by processor 202 to cause communication interface 208 to receive a backup information migration message from the backup server.
迁移单元404,用于根据该第一迁移指令,将该第一存储节点中该第一地址上存储的该第一数据迁移至该第二存储节点的第二地址。The migration unit 404 is configured to migrate the first data stored in the first address in the first storage node to the second address of the second storage node according to the first migration instruction.
在具体实现过程中,迁移单元404可以由图2所示的处理器202和内存单元204来实现。更具体的,可以由处理器202执行内存单元204中的存储控制模块,以实现第一数据从第一存储节点到第二存储节点的迁移操作。In a specific implementation process, the migration unit 404 can be implemented by the processor 202 and the memory unit 204 shown in FIG. 2. More specifically, the storage control module in the memory unit 204 can be executed by the processor 202 to implement a migration operation of the first data from the first storage node to the second storage node.
发送单元406,用于向该存储控制器发送第二迁移指令,该第二迁移指令用于指示该存储控制器将该第一数据从该第三存储节点迁移至该第四存储节点,该第二迁移指令中携带该第一数据在该第三存储节点中的第三地址的指示信息和待将该第一数据迁移至该第四存储节点的第四地址的指示信息。The sending unit 406 is configured to send, to the storage controller, a second migration instruction, where the second migration instruction is used to instruct the storage controller to migrate the first data from the third storage node to the fourth storage node, where the The second migration instruction carries the indication information of the third address of the first data in the third storage node and the indication information of the fourth address to be migrated to the fourth storage node.
在具体实现过程中,发送单元406可以由图2所示的处理器202,内存单元204和通信接口208来实现。更具体的,可以由处理器202执行内存单元204中的通信模块和备份模块,以使通信接口208向该存储控制器发送该数据迁移指令。In a specific implementation process, the sending unit 406 can be implemented by the processor 202, the memory unit 204, and the communication interface 208 shown in FIG. 2. More specifically, the communication module and backup module in memory unit 204 can be executed by processor 202 to cause communication interface 208 to send the data migration instruction to the memory controller.
在本发明实施例的一种实现方式中,备份系统使用异步复制的方法实现主存储库和备存储库的数据复制,该迁移单元404将该第一存储节点中该第一地址上存储的该第一数据迁移至该第二存储节点的第二地址之后,该确定单元用于确定该第二存储节点用于保存该第一数据的第二地址上数据发生变化的第五地址;该发送单元406还用于向该存储控制器发送数据更新指令,该数据更新指令包含第六地址的指示信息和该第五地址上存储的第二数据,该数据更新指令用于指示该存储控制器将该第二数据写入该第四存储节点的第六地址。In an implementation manner of the embodiment of the present invention, the backup system uses the asynchronous replication method to implement data replication of the primary storage library and the standby storage database, and the migration unit 404 stores the first storage node in the first address. After the first data is migrated to the second address of the second storage node, the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data; the sending unit 406 is further configured to send a data update instruction to the storage controller, where the data update instruction includes indication information of a sixth address and second data stored on the fifth address, where the data update instruction is used to instruct the storage controller to The second data is written to the sixth address of the fourth storage node.
具体的,该确定单元用于确定该第二存储节点用于保存该第一数据的第二地址上数据发生变化的第五地址,包括:该确定单元用于使用第一标记标识该第二地址,例如,可以使用“0”对第一数据在第二存储节点中的第二地址进行标记,并在该第一标记标识的地址上的数据发生变化时,使用第二标
记标识数据发生变化的地址,例如,可以使用“1”对数据发生变化的位置进行标识,该确定单元用于根据该第二标记确定该第五地址。Specifically, the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data, where the determining unit is configured to identify the second address by using the first identifier. For example, the second address of the first data in the second storage node may be marked with "0", and the second standard is used when the data on the address identified by the first mark changes.
The address at which the identification data changes is recorded. For example, the position at which the data is changed may be identified by using "1", and the determining unit is configured to determine the fifth address according to the second flag.
该发送单元406向该存储控制器发送第二迁移指令之后,该接收单元402还用于接收来自该存储控制器的反馈消息,该反馈消息用于指示完成该第一数据从该第三存储节点至该第四存储节点的迁移操作。After the sending unit 406 sends the second migration instruction to the storage controller, the receiving unit 402 is further configured to receive a feedback message from the storage controller, where the feedback message is used to indicate that the first data is completed from the third storage node. The migration operation to the fourth storage node.
本发明实施例是图1中第一存储控制器108的装置实施例,图1至图3实施例部分的特征描述,适用于本发明实施例,在此不再赘述。The embodiment of the present invention is an apparatus embodiment of the first storage controller 108 in FIG. 1 , and the feature description of the embodiment of FIG. 1 to FIG. 3 is applicable to the embodiment of the present invention, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and may be implemented in another manner, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated. The components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:移动硬盘、只读存储器(英文:Read-Only Memory,简称ROM)、随机存取存储器(英文:Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a mobile hard disk, a read-only memory (English: Read-Only Memory, ROM for short), a random access memory (English: Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like. The medium of the code.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术
人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的保护范围。
Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, the
It should be understood that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the essence of the corresponding technical solutions. The scope of protection of the technical solution.
Claims (14)
- 一种数据备份系统,其特征在于,所述系统包含主存储库和备存储库,其中,第一存储控制器用于管理所述主存储库,第二存储控制器用于管理所述备存储库,所述主存储库包含第一存储节点和第二存储节点,所述备存储库包含第三存储节点和第四存储节点,所述第三存储节点保存有所述第一存储节点的备份数据,所述第四存储节点保存有所述第二存储节点的备份数据,A data backup system, wherein the system includes a primary storage library and a secondary storage library, wherein the first storage controller is configured to manage the primary storage library, and the second storage controller is configured to manage the backup storage library. The primary storage library includes a first storage node and a second storage node, where the secondary storage node includes a third storage node and a fourth storage node, and the third storage node stores backup data of the first storage node. The fourth storage node stores backup data of the second storage node,所述第一存储控制器用于接收第一迁移指令,所述第一迁移指令中携带第一数据在所述第一存储节点的第一地址的指示信息和待将所述第一数据迁移至所述第二存储节点的第二地址的指示信息,根据所述第一迁移指令,将所述第一存储节点中所述第一地址上存储的所述第一数据迁移至所述第二存储节点的第二地址,并向所述第二存储控制器发送第二迁移指令,所述第二迁移指令用于指示所述第二存储控制器将所述第一数据从所述第三存储节点迁移至所述第四存储节点,所述第二迁移指令中携带所述第一数据在所述第三存储节点中的第三地址的指示信息和待将所述第一数据迁移至所述第四存储节点的第四地址的指示信息;The first storage controller is configured to receive a first migration instruction, where the first migration instruction carries indication information of the first address of the first data at the first storage node and the first data to be migrated to the Instructing the second address of the second storage node to migrate the first data stored in the first address of the first storage node to the second storage node according to the first migration instruction a second address, and sending a second migration instruction to the second storage controller, the second migration instruction is used to instruct the second storage controller to migrate the first data from the third storage node Up to the fourth storage node, the second migration instruction carries the indication information of the third address of the first data in the third storage node, and the first data to be migrated to the fourth The indication information of the fourth address of the storage node;所述第二存储控制器用于接收来自所述第一存储控制器的所述第二迁移指令,并根据所述第二迁移指令,将所述第三存储节点中所述第三地址上存储的所述第一数据迁移至所述第四存储节点的第四地址。The second storage controller is configured to receive the second migration instruction from the first storage controller, and store the third address in the third storage node according to the second migration instruction. The first data is migrated to a fourth address of the fourth storage node.
- 根据权利要求1所述的系统,其特征在于,所述第一存储控制器将所述第一存储节点中所述第一地址上存储的所述第一数据迁移至所述第二存储节点的第二地址之后,还用于:确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址,并向所述第二存储控制器发送数据更新指令,所述数据更新指令包含第六地址的指示信息和所述第五地址上存储的第二数据,所述数据更新指令用于指示所述第二存储控制器将所述第二数据写入所述第四存储节点的第六地址;The system according to claim 1, wherein said first storage controller migrates said first data stored on said first address in said first storage node to said second storage node After the second address, the method further includes: determining, by the second storage node, a fifth address for changing data on the second address of the first data, and sending a data update instruction to the second storage controller The data update instruction includes indication information of a sixth address and second data stored on the fifth address, where the data update instruction is used to instruct the second storage controller to write the second data Describe a sixth address of the fourth storage node;所述第二存储控制器还用于根据所述数据更新指令,将所述第二数据写入所述第四存储节点的第六地址。The second storage controller is further configured to write the second data to a sixth address of the fourth storage node according to the data update instruction.
- 根据权利要求2所述的系统,其特征在于,所述第一存储控制器用于确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址,包括: The system according to claim 2, wherein the first storage controller is configured to determine a fifth address used by the second storage node to save data on the second address of the first data, including :所述第一存储控制器用于使用第一标记标识所述第二地址,并在所述第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;The first storage controller is configured to identify the second address by using a first mark, and use the second mark to identify an address where the data changes when the data on the address identified by the first mark changes;所述第一存储控制器用于根据所述第二标记确定所述第五地址。The first storage controller is configured to determine the fifth address according to the second tag.
- 根据权利要求1-3任一项所述的系统,其特征在于,所述第二存储控制器将所述第三存储节点中所述第三地址上存储的所述第一数据迁移至所述第四存储节点的第四地址之后,还用于向所述第一存储控制器发送反馈消息,所述反馈消息用于指示完成所述第一数据从所述第三存储节点至所述第四存储节点的迁移操作。The system according to any one of claims 1 to 3, wherein the second storage controller migrates the first data stored on the third address in the third storage node to the After the fourth address of the fourth storage node is further used to send a feedback message to the first storage controller, where the feedback message is used to indicate that the first data is completed from the third storage node to the fourth The migration operation of the storage node.
- 一种数据备份的方法,其特征在于,数据存储系统包含主存储库和备存储库,其中,第一存储控制器用于管理所述主存储库,第二存储控制器用于管理所述备存储库,所述主存储库包含第一存储节点和第二存储节点,所述备存储库包含第三存储节点和第四存储节点,所述第三存储节点保存有所述第一存储节点的备份数据,所述第四存储节点保存有所述第二存储节点的备份数据,所述方法包括:A method for backing up data, characterized in that the data storage system comprises a primary storage library and a standby storage library, wherein the first storage controller is used to manage the primary storage library, and the second storage controller is configured to manage the backup storage library The primary storage library includes a first storage node and a second storage node, the standby storage library includes a third storage node and a fourth storage node, and the third storage node stores backup data of the first storage node The fourth storage node stores backup data of the second storage node, where the method includes:所述第一存储控制器接收第一迁移指令,所述第一迁移指令中携带第一数据在所述第一存储节点的第一地址的指示信息和待将所述第一数据迁移至所述第二存储节点的第二地址的指示信息;Receiving, by the first storage controller, a first migration instruction, where the first migration instruction carries indication information that the first data is at a first address of the first storage node, and the first data is to be migrated to the The indication information of the second address of the second storage node;所述第一存储控制器根据所述第一迁移指令,将所述第一存储节点中所述第一地址上存储的所述第一数据迁移至所述第二存储节点的第二地址;The first storage controller migrates the first data stored in the first address in the first storage node to a second address of the second storage node according to the first migration instruction;所述第一存储控制器向所述第二存储控制器发送第二迁移指令,所述第二迁移指令用于指示所述第二存储控制器将所述第一数据从所述第三存储节点迁移至所述第四存储节点,所述第二迁移指令中携带所述第一数据在所述第三存储节点中的第三地址的指示信息和待将所述第一数据迁移至所述第四存储节点的第四地址的指示信息。The first storage controller sends a second migration instruction to the second storage controller, where the second migration instruction is used to instruct the second storage controller to use the first data from the third storage node And migrating to the fourth storage node, where the second migration instruction carries the indication information of the third address of the first data in the third storage node and the first data to be migrated to the first The indication information of the fourth address of the four storage nodes.
- 根据权利要求5所述的方法,其特征在于,所述第一存储控制器将所述第一存储节点中所述第一地址上存储的所述第一数据迁移至所述第二存储节点的第二地址之后,进一步包括:The method according to claim 5, wherein the first storage controller migrates the first data stored on the first address in the first storage node to the second storage node After the second address, further includes:所述第一存储控制器确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址;Determining, by the first storage controller, a fifth address used by the second storage node to save data on the second address of the first data;所述第一存储控制器向所述第二存储控制器发送数据更新指令,所述数 据更新指令包含第六地址的指示信息和所述第五地址上存储的第二数据,所述数据更新指令用于指示所述第二存储控制器将所述第二数据写入所述第四存储节点的第六地址。The first storage controller sends a data update instruction to the second storage controller, the number And the update instruction includes the indication information of the sixth address and the second data stored on the fifth address, where the data update instruction is used to instruct the second storage controller to write the second data into the fourth The sixth address of the storage node.
- 根据权利要求6所述的方法,其特征在于,所述第一存储控制器确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址,包括:The method of claim 6, wherein the first storage controller determines a fifth address used by the second storage node to save data on the second address of the first data, including:所述第一存储控制器使用第一标记标识所述第二地址,并在所述第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;The first storage controller identifies the second address by using a first mark, and when the data on the address identified by the first mark changes, the second mark is used to identify an address where the data changes;所述第一存储控制器根据所述第二标记确定所述第五地址。The first storage controller determines the fifth address according to the second tag.
- 根据权利要求5-7任一项所述的方法,其特征在于,所述第一存储控制器向所述第二存储控制器发送第二迁移指令之后,还包括:所述第一存储控制器接收来自所述第二存储控制器的反馈消息,所述反馈消息用于指示完成所述第一数据从所述第三存储节点至所述第四存储节点的迁移操作。The method according to any one of claims 5-7, wherein after the first storage controller sends the second migration instruction to the second storage controller, the method further includes: the first storage controller Receiving a feedback message from the second storage controller, the feedback message being used to indicate a migration operation of the first data from the third storage node to the fourth storage node.
- 一种数据备份的装置,其特征在于,数据存储系统包含主存储库和备存储库,其中,所述装置用于管理所述主存储库,存储控制器用于管理所述备存储库,所述主存储库包含第一存储节点和第二存储节点,所述备存储库包含第三存储节点和第四存储节点,所述第三存储节点保存有所述第一存储节点的备份数据,所述第四存储节点保存有所述第二存储节点的备份数据,所述装置包括:An apparatus for backing up data, characterized in that the data storage system includes a main storage library and a standby storage library, wherein the device is configured to manage the primary storage library, and the storage controller is configured to manage the standby storage library, The main storage library includes a first storage node and a second storage node, the standby storage library includes a third storage node and a fourth storage node, and the third storage node stores backup data of the first storage node, The fourth storage node holds the backup data of the second storage node, and the device includes:接收单元,用于接收第一迁移指令,所述第一迁移指令中携带第一数据在所述第一存储节点的第一地址的指示信息和待将所述第一数据迁移至所述第二存储节点的第二地址的指示信息;a receiving unit, configured to receive a first migration instruction, where the first migration instruction carries indication information of a first address of the first data at the first storage node and a first data to be migrated to the second The indication information of the second address of the storage node;迁移单元,用于根据所述第一迁移指令,将所述第一存储节点中所述第一地址上存储的所述第一数据迁移至所述第二存储节点的第二地址;a migration unit, configured to migrate the first data stored in the first address in the first storage node to a second address in the second storage node according to the first migration instruction;发送单元,用于向所述存储控制器发送第二迁移指令,所述第二迁移指令用于指示所述存储控制器将所述第一数据从所述第三存储节点迁移至所述第四存储节点,所述第二迁移指令中携带所述第一数据在所述第三存储节点中的第三地址的指示信息和待将所述第一数据迁移至所述第四存储节点的第四地址的指示信息。a sending unit, configured to send a second migration instruction to the storage controller, where the second migration instruction is used to instruct the storage controller to migrate the first data from the third storage node to the fourth a storage node, where the second migration instruction carries indication information of a third address of the first data in the third storage node and a fourth to migrate the first data to the fourth storage node The indication of the address.
- 根据权利要求9所述的装置,其特征在于,所述装置还包括确定单元,所述迁移单元将所述第一存储节点中所述第一地址上存储的所述第一数 据迁移至所述第二存储节点的第二地址之后,所述确定单元用于确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址;The apparatus according to claim 9, wherein said apparatus further comprises a determining unit, said migration unit storing said first number stored on said first address in said first storage node After the second address of the second storage node is migrated, the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data;所述发送单元还用于向所述存储控制器发送数据更新指令,所述数据更新指令包含第六地址的指示信息和所述第五地址上存储的第二数据,所述数据更新指令用于指示所述存储控制器将所述第二数据写入所述第四存储节点的第六地址。The sending unit is further configured to send a data update instruction to the storage controller, where the data update instruction includes indication information of a sixth address and second data stored on the fifth address, where the data update instruction is used Instructing the storage controller to write the second data to a sixth address of the fourth storage node.
- 根据权利要求10所述的装置,其特征在于,所述确定单元用于确定所述第二存储节点用于保存所述第一数据的第二地址上数据发生变化的第五地址,包括:The device according to claim 10, wherein the determining unit is configured to determine a fifth address used by the second storage node to save data on the second address of the first data, including:所述确定单元用于使用第一标记标识所述第二地址,并在所述第一标记标识的地址上的数据发生变化时,使用第二标记标识数据发生变化的地址;The determining unit is configured to identify the second address by using a first mark, and use the second mark to identify an address where the data changes when the data on the address identified by the first mark changes;所述确定单元用于根据所述第二标记确定所述第五地址。The determining unit is configured to determine the fifth address according to the second tag.
- 根据权利要求9-11任一项所述的装置,其特征在于,所述发送单元向所述存储控制器发送第二迁移指令之后,所述接收单元还用于接收来自所述存储控制器的反馈消息,所述反馈消息用于指示完成所述第一数据从所述第三存储节点至所述第四存储节点的迁移操作。The device according to any one of claims 9 to 11, wherein after the sending unit sends the second migration instruction to the storage controller, the receiving unit is further configured to receive the storage controller. And a feedback message, the feedback message is used to indicate that the migration operation of the first data from the third storage node to the fourth storage node is completed.
- 一种计算机可读介质,其特征在于,包括计算机执行指令,当计算机的处理器执行所述计算机执行指令时,所述计算机执行权利要求5-8任一项所述的方法。A computer readable medium, comprising computer executed instructions for performing the method of any one of claims 5-8 when a processor of a computer executes the computer to execute an instruction.
- 一种计算设备,其特征在于,包括:处理器、存储器和总线;A computing device, comprising: a processor, a memory, and a bus;所述存储器用于存储执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算设备运行时,所述处理器执行所述存储器存储的所述执行指令,以使所述装置执行权利要求5-8任一项所述的方法。 The memory is configured to store execution instructions, the processor is coupled to the memory via the bus, and when the computing device is running, the processor executes the execution instructions stored by the memory to cause the The apparatus performs the method of any of claims 5-8.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510896530.3 | 2015-12-08 | ||
| CN201510896530.3A CN106855834B (en) | 2015-12-08 | 2015-12-08 | A data backup method, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017096977A1 true WO2017096977A1 (en) | 2017-06-15 |
Family
ID=59013696
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/097951 WO2017096977A1 (en) | 2015-12-08 | 2016-09-02 | Data backup method, apparatus and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106855834B (en) |
| WO (1) | WO2017096977A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111651424A (en) * | 2020-06-10 | 2020-09-11 | 中国科学院深圳先进技术研究院 | A data processing method, device, data node and storage medium |
| US11194676B2 (en) | 2019-03-26 | 2021-12-07 | International Business Machines Corporation | Data synchronization in high availability storage environments |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11341103B2 (en) * | 2017-08-04 | 2022-05-24 | International Business Machines Corporation | Replicating and migrating files to secondary storage sites |
| CN109254873B (en) * | 2018-08-15 | 2022-04-22 | 华为云计算技术有限公司 | Data backup method, related device and system |
| CN111198784B (en) * | 2018-11-16 | 2024-04-23 | 杭州海康威视系统技术有限公司 | Data storage method and device |
| CN111813324B (en) * | 2019-04-11 | 2024-03-12 | 北京鲸鲨软件科技有限公司 | Storage method and device thereof |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101902360A (en) * | 2010-07-28 | 2010-12-01 | 中兴通讯股份有限公司 | Method for synchronizing information between master equipment and standby equipment and server |
| CN102317910A (en) * | 2011-08-03 | 2012-01-11 | 华为技术有限公司 | Virtualized data backup method, virtualized data reorganization method, device and system |
| US8583886B2 (en) * | 2010-02-02 | 2013-11-12 | International Business Machines Corporation | Synchronizing data storage systems in a data storage environment |
| CN103814360A (en) * | 2013-12-12 | 2014-05-21 | 华为技术有限公司 | Data replication method and storage system |
| CN104363977A (en) * | 2013-12-12 | 2015-02-18 | 华为技术有限公司 | Data replication method, data replication device and storage device |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7653612B1 (en) * | 2007-03-28 | 2010-01-26 | Emc Corporation | Data protection services offload using shallow files |
| CN102054035B (en) * | 2010-12-29 | 2013-01-02 | 北京播思软件技术有限公司 | Data range-based method for synchronizing data in database |
| CN102255958B (en) * | 2011-06-27 | 2014-11-26 | 北京星网锐捷网络技术有限公司 | Data synchronization method and system thereof |
| CN104346238B (en) * | 2013-08-06 | 2018-12-14 | 联想(北京)有限公司 | A kind of data back up method, device and terminal |
| CN104536846A (en) * | 2014-12-17 | 2015-04-22 | 杭州华为数字技术有限公司 | Data backing up method and device |
| CN105138430A (en) * | 2015-08-24 | 2015-12-09 | 浪潮集团有限公司 | Embedded operating system backup and restoration method and device |
-
2015
- 2015-12-08 CN CN201510896530.3A patent/CN106855834B/en active Active
-
2016
- 2016-09-02 WO PCT/CN2016/097951 patent/WO2017096977A1/en active Application Filing
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8583886B2 (en) * | 2010-02-02 | 2013-11-12 | International Business Machines Corporation | Synchronizing data storage systems in a data storage environment |
| CN101902360A (en) * | 2010-07-28 | 2010-12-01 | 中兴通讯股份有限公司 | Method for synchronizing information between master equipment and standby equipment and server |
| CN102317910A (en) * | 2011-08-03 | 2012-01-11 | 华为技术有限公司 | Virtualized data backup method, virtualized data reorganization method, device and system |
| CN103814360A (en) * | 2013-12-12 | 2014-05-21 | 华为技术有限公司 | Data replication method and storage system |
| CN104363977A (en) * | 2013-12-12 | 2015-02-18 | 华为技术有限公司 | Data replication method, data replication device and storage device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11194676B2 (en) | 2019-03-26 | 2021-12-07 | International Business Machines Corporation | Data synchronization in high availability storage environments |
| CN111651424A (en) * | 2020-06-10 | 2020-09-11 | 中国科学院深圳先进技术研究院 | A data processing method, device, data node and storage medium |
| CN111651424B (en) * | 2020-06-10 | 2024-05-03 | 中国科学院深圳先进技术研究院 | Data processing method, device, data node and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106855834A (en) | 2017-06-16 |
| CN106855834B (en) | 2020-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017096977A1 (en) | Data backup method, apparatus and system | |
| US11734306B2 (en) | Data replication method and storage system | |
| US10073747B2 (en) | Reducing recovery time in disaster recovery/replication setup with multitier backend storage | |
| US9823973B1 (en) | Creating consistent snapshots in a virtualized environment | |
| US10216431B2 (en) | Consistent data retrieval in a multi-site computing infrastructure | |
| US9311328B2 (en) | Reference volume for initial synchronization of a replicated volume group | |
| US11579983B2 (en) | Snapshot performance optimizations | |
| TWI509423B (en) | Synchronizing updates across cluster filesystems | |
| US8689047B2 (en) | Virtual disk replication using log files | |
| WO2017092017A1 (en) | Method, apparatus and system for migrating virtual machine backup information | |
| US20120323850A1 (en) | Continuous and asynchronous replication of a consistent dataset | |
| WO2018058942A1 (en) | Data processing method and backup server | |
| US20190012238A1 (en) | Integrating resources at a backup site | |
| CN105095245B (en) | Archive log synchronization method and system based on relational database | |
| BR112014014791B1 (en) | METHOD RUN ON A FIRST NODE OF A CLUSTER TO CREATE A SNAPSHOT OF A SHARED VOLUME AND METHOD RUN ON A FIRST NODE OF A CLUSTER TO RESPOND TO NOTIFICATION THAT A BACKUP PROCESS OF A SHARED VOLUME HAS BEEN STARTED ON ANOTHER CLUSTER NODE | |
| US10452502B2 (en) | Handling node failure in multi-node data storage systems | |
| US10452680B1 (en) | Catch-up replication with log peer | |
| US10289322B2 (en) | Delayed consistent point-in-time copy from a secondary volume of a consistent asynchronous mirror copy | |
| CN111722909A (en) | A virtual machine migration method, system, device and storage medium | |
| CN106528338A (en) | A remote data replication method, storage device and storage system | |
| JPWO2022098450A5 (en) | ||
| CN110221868B (en) | Deployment method, device, electronic device and storage medium of host system | |
| WO2019109256A1 (en) | Log management method, server and database system | |
| CN106855869B (en) | Method, device and system for realizing high availability of database | |
| US11238010B2 (en) | Sand timer algorithm for tracking in-flight data storage requests for data replication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16872173 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16872173 Country of ref document: EP Kind code of ref document: A1 |