Asynchronous replication method based on zfs send

An asynchronous replication and file technology, applied in the field of storage systems, can solve problems such as data loss, achieve the effects of ensuring security, saving customer time, and improving backup efficiency

Inactive Publication Date: 2015-12-09
EISOO SOFTWARE
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] 4. Replication cycle
If the production system hangs up, some data will be lost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Asynchronous replication method based on zfs send
  • Asynchronous replication method based on zfs send
  • Asynchronous replication method based on zfs send

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] This embodiment provides a zfssend-based asynchronous replication method, which is implemented by a client (copyclient) set in a local storage system and a server (copyserver) set in a remote backup system, and the server resides in the system , to monitor the connection of the client, and the client will only be executed when the user executes the copy function.

[0054] like Figure 1-Figure 3 As shown, the above asynchronous replication method specifically includes the following steps:

[0055] 1) Execute the copy function and start the client. The copy function is started by sending a copy command to the local storage system by the user or scheduling thread. The scheduling thread issues the copy command specifically: a new copy is automatically triggered every once in a while or when the new data of the object to be copied reaches the specified threshold.

[0056] 2) The local storage system exchanges initialization messages with the remote backup system, includi...

Embodiment 2

[0067] The zfssend-based asynchronous replication method provided in this embodiment does not include features such as encryption and compression, refer to Figure 1-Figure 3 As shown, the specific copy process is as follows:

[0068] 1. The user or scheduling thread sends a copy command to the local storage system, and the local storage system will start the copy client process.

[0069] 2. The local storage system will first exchange initialization messages with the remote backup system. The messages mainly include the following contents: the name of the volume or file system to be copied, the data size of the volume or file system to be copied, and whether it has been interrupted since the last time. The place starts to continue the transmission and so on.

[0070] 3. The local replication process creates three groups of threads: the sending thread group is used to send the snapshot breakpoint file to the remote site; the reading thread is used to read the snapshot content...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an asynchronous replication method based on zfs send. The asynchronous replication method comprises the following steps of: 1) executing a replication function, and starting a client; 2) switching initial messages between a local storage system and a remote backup system; 3) sending a breakpoint file by the client, which comprises the following steps of: establishing a thread group by the client; reading the thread group for reading snapshot contents and storing the contents in a high-speed cache; writing the thread group for generating a breakpoint file through snapshot contents stored in the high-speed cache and further writing the breakpoint file into a low-speed magnetic disk, and judging whether the occupied high-speed cache reaches a maximum value or not; sending the thread group for sending the breakpoint file in the high-speed cache to a server through a network interface; driving the thread groups through the messages, and forwarding the messages to a next thread for continuous processing after the job of a current stage is completed by the thread; and) receiving the breakpoint file by the server, and returning a replication result. Compared with the prior art, the asynchronous replication method has the advantages of high backup efficiency and the like, and data consistency is effectively ensured.

Description

technical field [0001] The invention relates to the technical field of storage systems, in particular to a zfssend-based asynchronous replication method, which is the core technology in a backup disaster recovery system. Background technique [0002] In the past few years, with the advancement of digitalization in all walks of life, the importance of data has become more and more obvious. In some incidents, many companies lost all data because they did not have a disaster recovery system. Loss of customer data not only hurts the company, but also the customers. Local backup is effective for data destruction and loss caused by human error and single machine failure. However, it is powerless to damage the system and data caused by fire, earthquake, etc. If the security of the system and data is to be fully guaranteed, it is not enough to back up the data locally. Another system must be established at a remote location and include all data backups of the current production s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14
Inventor 朱劲松
Owner EISOO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products