CN110187998A - The application disaster tolerance system and method stored based on virtual platform and ceph - Google Patents

The application disaster tolerance system and method stored based on virtual platform and ceph Download PDF

Info

Publication number
CN110187998A
CN110187998A CN201910382853.9A CN201910382853A CN110187998A CN 110187998 A CN110187998 A CN 110187998A CN 201910382853 A CN201910382853 A CN 201910382853A CN 110187998 A CN110187998 A CN 110187998A
Authority
CN
China
Prior art keywords
data
volume
disaster tolerance
lun
clone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910382853.9A
Other languages
Chinese (zh)
Inventor
鲍苏宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
People's Court Information Technology Service Center
Shanghai Eisoo Information Technology Co Ltd
Original Assignee
People's Court Information Technology Service Center
Shanghai Eisoo Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by People's Court Information Technology Service Center, Shanghai Eisoo Information Technology Co Ltd filed Critical People's Court Information Technology Service Center
Priority to CN201910382853.9A priority Critical patent/CN110187998A/en
Publication of CN110187998A publication Critical patent/CN110187998A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • G06F11/1484Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1489Generic software techniques for error detection or fault masking through recovery blocks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of application disaster tolerance systems and method stored based on virtual platform and ceph, system includes client, disaster tolerance server-side and virtual platform, client includes CDP drive module, disaster tolerance server-side includes I O read module, I/O data recovery module, preprocessing module and ceph storage, I O read module and I/O data recovery module are used to complete the recovery of I/O data, preprocessing module is used to before virtual machine starts carry out the configuration modification of data in magnetic disk, the LUN mapping of ceph storage forms magnetic disk media of the disk unit as virtual machine, virtual platform includes third party's virtual platform and KVM virtualization platform, operation platform as virtual machine after adapter tube, method includes backup-step, I/O data recovering step and virtual platform adapter tube step, with prior art phase Than the present invention has many advantages, such as that recovery time is short and system compatibility is high.

Description

The application disaster tolerance system and method stored based on virtual platform and ceph
Technical field
The present invention relates to the disaster tolerance data protections in data backup disaster tolerance field, are based on virtual platform more particularly, to one kind With the application disaster tolerance system and method for ceph storage.
Background technique
With the fast development of computer and network technologies, nowadays most enterprises are all operated using computer certainly Oneself core business.When computer system is by the irresistible natural calamity such as such as earthquake, floods, fire and computeritis When the human factors such as poison, hardware and software failure, how to allow operation system to provide continual application service, have become enterprise face The huge challenge and focus of attention faced.
Using disaster tolerance technology be current comparative maturity can guarantee operation system by it is various natural or it is artificial because After element, it is still capable of providing the technology of uninterrupted application service.Cardinal principle are as follows: initial phase, to protected business system System makees a complete copy, and data are written in corresponding virtual disk according to the call format of certain virtual platform;Afterwards It is continuous that capture systems IO is continued using block grade CDP technology, and system IO is saved, while at set time intervals to void Quasi- disk beats snapshot, and IO is written in snapshot;After disaster occurs for operation system, some snapshot and some IO time are selected Point restores I/O data based on the snapshot, then by the virtual disk snapshot applications to newly-built virtual machine after recovery, and does phase After the network configuration and certain system answered are repaired, any time dotted state before original operation system to disaster can be taken over, To guarantee the continuity of operation system.
It is the computer system of various architectures how to be allowed to be taken in generation disaster using the difficult point of disaster tolerance technology After application service can be rapidly provided.It is related to hardware compatibility between various architecture computer systems, net among these A series of technological difficulties such as network configuration, system reparation.
Summary of the invention
It is flat based on virtualization that it is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide one kind The application disaster tolerance system and method for platform and ceph storage.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of application disaster tolerance system stored based on virtual platform and ceph, for for the computer system after disaster it is fast Speed provides application service, including client interconnected and disaster tolerance server-side and virtual platform, the client packet CDP drive module is included, the disaster tolerance server-side includes I O read module, I/O data recovery module, preprocessing module and ceph Storage, the I O read module and I/O data recovery module are used to complete the recovery of I/O data, and the preprocessing module is used In the configuration modification for carrying out data in magnetic disk before virtual machine starts, the LUN mapping of the ceph storage forms disk unit and makees For the magnetic disk media of virtual machine, the virtual platform is connect with disaster tolerance server-side, and the operation as virtual machine after adapter tube is flat Platform.
Further, the disk unit includes mirrored volume, log volume and clone volume, the LUN of the ceph storage It maps to form mirrored volume by loopback mode, one of mirrored volume is by formatting and forming log volume, institute after carry The disaster tolerance server-side stated executes snapshot operation to LUN in mirrored volume every preset time, forms Snapshot time point and snapshot LUN, The snapshot LUN Clone formation clones LUN, and the clone LUN maps to form clone volume by loopback mode.
Further, the increment I/O data that the client CDP drive module that the storage of log volume receives is read, institute The client initialization data that the mirrored volume storage stated receives and the increment I/O data read in real time from log volume, work as client After disaster occurs for end system, the I O read module reads from log volume corresponding according to Snapshot time point and IO time point Increment I/O data is simultaneously sent to I/O data recovery module, the increment I/O data that the I/O data recovery module will receive according to IO timestamps ordering is written in clone volume.
Further, the virtual platform includes third party's virtual platform and KVM built in disaster tolerance server-side empty Quasi-ization platform, when using pipe-connecting mode, the KVM virtualization platform provides application service, when using carry reset mode When, third party's virtual platform provides application service.
Further, the clone LUN is mounted to third party's virtual platform as third party's void by iSCSI/FC The magnetic disk media of virtual machine in quasi-ization platform, magnetic disk media of the clone volume as virtual machine in KVM virtualization platform.
Further, the preprocessing module is first by respective partition carry in clone volume to disaster tolerance server-side local mesh Record, then carries out the configuration modification of data in magnetic disk, and the configuration modification of the data in magnetic disk includes that network configuration, system file are repaired Change, customize starting script edit and customized system reparation.
The present invention also provides a kind of applications to apply disaster tolerance using disaster tolerance system based on what virtual platform and ceph stored Method, this method first back up client data, after disaster occurs for client, first carry out I/O data recovering step, then Virtual platform adapter tube step is executed by different modes, disaster tolerance server-side execution step includes: in the backup procedure
101) LUN of ceph storage maps to form mirrored volume by loopback mode, and one of mirrored volume is passed through It formats and forms log volume after carry;
102) the initialization data backup that client is sent is received, is written in mirrored volume, while receiving client transmission I/O data is written in log volume;
103) the increment I/O data that client is sent is received, is written in log volume, while reading the increment IO in log volume Data are written in mirrored volume;
104) LUN corresponding to mirrored volume executes snapshot operation, generates Snapshot time point and snapshot LUN;
Further, the I/O data recovering step includes:
201) snapshot LUN is cloned, clone LUN is obtained, and is clone volume by clone's LUN mapping;
202) I O read module reads increment I/O data from log volume and is sent to I/O data recovery module, and I/O data is extensive The increment I/O data received is written in clone volume multiple module;
The virtual platform adapter tube step executive mode includes pipe-connecting mode and carry reset mode.
Further, the pipe-connecting mode the following steps are included:
301) KVM virtual machine is created by libvirt interface in disaster tolerance server-side;
302) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, to data in magnetic disk into Row configuration modification, and unload corresponding carry;
303) I/O data will be completed to restore with pretreated clone volume as the magnetic disk media of KVM virtual machine;
304) start LVM virtual machine, take over original operation system and continue to provide application service.
Further, the carry reset mode the following steps are included:
311) virtual machine is created in third party's virtual platform;
312) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, to data in magnetic disk into Row configuration modification, and unload corresponding carry;
313) clone volume after deleting clone's LUN mapping;
314) clone LUN is mounted to third party's virtual platform as on third party's virtual platform by iSCSI/FC Virtual machine magnetic disk media;
315) start the virtual machine on third party's virtual platform, take over original operation system and continue to provide application service.
Further, the configuration modification includes the configuration of network, customizes writing and customized system for starting script System is repaired.
Compared with prior art, the invention has the following advantages that
1) recovery time is short, and experience property is good: the built-in open source KVM virtualization platform of the present invention is to disaster tolerance server-side, as appearance The default operation platform of virtual machine after calamity adapter tube, built-in ceph storage to disaster tolerance server-side are reflected using the LUN of ceph storage distribution Magnetic disk media of the block device shot out as virtual machine, by virtual platform and magnetic disk of virtual machine data separating, so as to Preferably manage magnetic disk of virtual machine data.Network configuration can be easily carried out before virtual machine starting, customize starting script Write, the series of preprocessing operation such as customized system reparation, improve the experience property of integrated operation process, also greatly shorten Disaster occurs for production operation system to business recovery normal time.
2) compatibility is high: the void where magnetic disk of virtual machine data are mounted to former client in such a way that carry restores When quasi-ization platform, it can be directly compatible with original virtual platform, to shield due to isomery architecture computer system Difference brought by compatibility issue.
Detailed description of the invention
Fig. 1 is iSCSI protocol structure chart;
Fig. 2 is present system backup procedure structure chart;
Fig. 3 is present system pipe-connecting mode process structure diagram;
Fig. 4 is present system carry reset mode process structure diagram.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
As shown in Figure 2, Figure 3, Figure 4, the present invention provides a kind of application disaster tolerance system stored based on virtual platform and ceph System, for providing application service, including client interconnected and disaster tolerance server-side rapidly for the computer system after disaster, Client includes sequentially connected CDP drive module, scheduler module, control module, data transmission blocks, and disaster tolerance server-side includes Data reception module, control module, data memory module, memory management module, ceph storage, I O read module, I/O data are extensive Multiple module, preprocessing module and KVM virtualization platform, this further includes third party's virtual platform using disaster tolerance system.
KVM virtualization platform refers to a kind of Linux virtualized environment of open source, it includes virt-manager, Libvirt, qemu, KVM kernel module and linux kernel, all components are all Open Source Code Softwares.
Ceph storage refers to that a kind of offer object stores, block stores and the open source distributed storage of file system storage System, and support the function of iSCSI protocol and the channel FC carry.
Disaster tolerance server-side needs to dispose ceph storage and relevant management program, and I O read module and I/O data restore mould Block is used to complete the recovery of I/O data, and preprocessing module is used to before virtual machine starts carry out the configuration modification of data in magnetic disk, The LUN mapping of ceph storage forms magnetic disk media of the disk unit as virtual machine, third party's virtual platform and KVM virtualization Operation platform of the platform as virtual machine after adapter tube.
It is local disk equipment that ceph is stored LUN mapping by loopback mode by disaster tolerance server-side, for storing just Beginningization Backup Data and increment I/O data, disk unit include mirrored volume, log volume and clone volume.
Disk size where source of client data to be protected creates phase in the ceph storage of disaster tolerance server-side Each LUN is mapped to form mirrored volume, at the beginning of storing the client received by the LUN for answering size by loopback mode Beginningization data and the increment I/O data that reads in real time from log volume, the LUN additionally created after mapping forms mirrored volume, By forming log volume after formatting and being mounted to local directory, read for storing the client CDP drive module received Increment I/O data, disaster tolerance server-side every preset time in mirrored volume LUN execute snapshot operation, formed Snapshot time point and Snapshot LUN, after disaster occurs for FTP client FTP, snapshot LUN Clone formation clones LUN, and clone LUN passes through loopback mode Mapping forms clone volume, and I O read module reads corresponding increment IO number from log volume according to Snapshot time point and IO time point According to and be sent to I/O data recovery module, I/O data recovery module writes the increment I/O data received according to IO timestamps ordering Enter in clone volume, completes I/O data and restore.IO timestamp is that CDP drives when the system obtained after capturing system IO is current Between.
As shown in Figure 1 it is iSCSI protocol structure chart, clones LUN by iSCSI/FC and be mounted to third party's virtual platform Magnetic disk media as virtual machine in third party's virtual platform.Disk of the clone volume as virtual machine in KVM virtualization platform Medium.
Pretreatment is the modification made before the starting of adapter tube virtual machine to magnetic disk of virtual machine data.It is opened in adapter tube virtual machine Before dynamic, need the configuration for carrying out network, the modification of system file, customize starting script write and customized system is repaired It is multiple to wait operation, respective partition in clone volume directly can be mounted to disaster tolerance server-side local directory, then directly to disk number According to configuration modification is carried out, the required pretreatment work done before the starting of adapter tube virtual machine can be completed.It is empty in adapter tube in this way After quasi- machine starting, do not need to do any additional operation can smooth activation system, and original operation system offer is provided and is answered With service.The configuration modification of data in magnetic disk includes network configuration, system file is modified, customization starts script edit and customized System reparation.
Disaster recovery method is applied based on what KVM virtualization platform and ceph stored the present invention also provides a kind of, this method is first right Client data is backed up, and after disaster occurs for client, first carries out I/O data recovering step, then pass through pipe-connecting mode or extension It carries reset mode and executes virtual platform adapter tube step.
Disaster tolerance server-side execution step includes: in backup procedure
101) mirrored volume and log volume are created;
102) the initialization data backup that client is sent is received, is written in mirrored volume, while receiving client transmission System I/O data is written in log volume;
103) the increment I/O data that client is sent is received, is written in log volume, while reading the increment IO in log volume Data are written in mirrored volume;
104) LUN corresponding to mirrored volume executes snapshot operation, generates Snapshot time point and snapshot LUN;
I/O data recovering step includes:
201) snapshot LUN is cloned, clone LUN is obtained, and is clone volume by clone's LUN mapping;
202) I O read module reads increment I/O data from log volume and is sent to I/O data recovery module, and I/O data is extensive The increment I/O data received is written in clone volume multiple module;
Pipe-connecting mode the following steps are included:
301) KVM virtual machine is created by libvirt interface in disaster tolerance server-side;
302) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, to data in magnetic disk into Row configuration modification, and unload corresponding carry;
303) I/O data will be completed to restore with pretreated clone volume as the magnetic disk media of KVM virtual machine;
304) start LVM virtual machine, take over original operation system and continue to provide application service.
Carry reset mode the following steps are included:
311) virtual machine is created in third party's virtual platform;
312) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, to data in magnetic disk into Row configuration modification, and unload corresponding carry;
313) clone volume after deleting clone's LUN mapping;
314) clone LUN is mounted to third party's virtual platform as on third party's virtual platform by iSCSI/FC Virtual machine magnetic disk media;
315) start the virtual machine on third party's virtual platform, take over original operation system and continue to provide application service.
As shown in Fig. 2, needing the business host using disaster tolerance for the specific implementation process structure chart backed up in the present invention Disaster tolerance client is installed in system, while disaster tolerance server-side being installed on an other linux host.Client includes that CDP drives Dynamic model block, scheduler module, control module, data transmission blocks.Disaster tolerance server-side includes data reception module, control module, number It is stored according to memory module, memory management module and ceph.Disaster tolerance server-side needs to dispose ceph storage and relevant management Program;
The specific implementation process of backup are as follows:
11) create mirrored volume: the disk size where source of client data to be protected is in disaster tolerance server-side LUN of corresponding size is created in ceph storage, each LUN is mapped as to the magnetic of disaster tolerance server-side local by loopback mode Disc apparatus, referred to as mirrored volume;
12) creation log volume: a LUN is additionally created in the ceph storage of disaster tolerance server-side, by the side loopback Formula is mapped as local disk unit, and is formatted and carry, as the storage medium of client increment I/O data, referred to as Log volume;
13) initialization backup: the reception of disaster tolerance server-side passes through the TCP/IP source of client data sent and its place disk Related data, will after the initialization data that received according to the offset of data and length write-in above-mentioned image volume in, hold simultaneously The system I/O data that calamity server-side real-time reception is captured by the client CDP drive module that TCP/IP is sent, by what is received System I/O data is written in log volume, stores into I/O data document form;
14) incremental backup process: disaster tolerance service continues to the client CDP drive module capture sent by TCP/IP System I/O data write-in log volume in, while disaster tolerance server-side open a thread, from log volume in read increment IO in real time Data, according in the offset of increment I/O data and length write-in mirrored volume;
15) snapshot operation: every preset time, snapshot operation is executed to LUN corresponding to mirrored volume, generates Snapshot time Point and snapshot LUN carry out lasting data disaster tolerance to client and protect.
As shown in figure 3, for the specific implementation process structure chart for guaranteeing business continuance under pipe-connecting mode in the present invention, disaster tolerance Server-side includes control module, I O read module, I/O data recovery module, preprocessing module, KVM virtualization platform and ceph Storage.Disaster tolerance server-side needs to dispose ceph storage and relevant management program;Need to dispose kvm virtual platform and phase The management program of pass.
Guarantee the specific implementation process of business continuance under pipe-connecting mode are as follows:
21) snapshot LUN is cloned: after disaster occurs for FTP client FTP, when selecting some Snapshot time point and IO Between point, snapshot LUN corresponding to Snapshot time point execute clone operations, obtain clone LUN, will be cloned by loopback mode LUN mapping is the local disk equipment of disaster tolerance server-side, referred to as clone volume;
22) restore I/O data: according to Snapshot time point and IO time point, finding corresponding increment IO number from log volume According to, then according to IO timestamp be incremented by be sequentially written in clone volume;
23) it creates KVM virtual machine: virtual machine being created by libvirt interface in disaster tolerance server-side, virtual machine matches confidence Breath can refer to the configuration information of client machine, will complete the clone volume of IO recovery as the magnetic disk media of virtual machine;
24) it pre-processes: respective partition in clone volume being mounted to disaster tolerance server-side local directory, then to the text in catalogue Part carries out configuration modification, and configuration including network customizes the writing of starting script, customized system reparation etc., pretreatment knot Shu Hou unloads the subregion of corresponding carry;
25) start virtual machine: the virtual machine created in starting KVM virtual platform takes over original operation system and continues to provide Application service.
As shown in figure 4, for the specific implementation process structure chart for guaranteeing business continuance under carry reset mode, including disaster tolerance Server-side and third party's virtual platform.Disaster tolerance server-side includes control module, I O read module, I/O data recovery module, pre- Processing module and ceph storage, disaster tolerance server-side needs to dispose ceph storage and relevant management program, third party are virtual Change platform and needs support FC/iSCSI carry agreement.
Guarantee the specific implementation process of business continuance under carry reset mode are as follows:
31) snapshot LUN is cloned: after disaster occurs for FTP client FTP, when selecting some Snapshot time point and IO Between point, snapshot LUN corresponding to Snapshot time point execute clone operations, obtain clone LUN, will be cloned by loopback mode LUN mapping is the local disk equipment of disaster tolerance server-side, referred to as clone volume.
32) restore I/O data: according to Snapshot time point and IO time point, finding corresponding increment IO number from log volume According to, then according to IO timestamp be incremented by be sequentially written in clone volume;
33) it creates virtual machine: creating virtual machine in third party's virtual platform, the configuration information of virtual machine can be with reference to visitor The configuration information of family terminal device;
34) it pre-processes: respective partition in clone volume being mounted to disaster tolerance server-side local directory, then to the text in catalogue Part carries out configuration modification, and configuration including network customizes the writing of starting script, customized system reparation etc..Pretreatment knot Shu Hou, unloads the subregion of corresponding carry, and deletes the mapping relations of clone LUN, that is, the disk after deleting clone's LUN mapping is set It is standby;
35) carry clones LUN: clone LUN is mounted to third party's virtual platform as virtual by iSCSI or FC The magnetic disk media of machine;
36) start virtual machine: the virtual machine on starting third party's virtual platform takes over original operation system and continues to provide Application service.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any The staff for being familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of application disaster tolerance system stored based on virtual platform and ceph, for for the computer system after disaster it is rapid Application service is provided, including client interconnected and disaster tolerance server-side and virtual platform, the client include CDP drive module, which is characterized in that the disaster tolerance server-side includes I O read module, I/O data recovery module, pretreatment mould Block and ceph storage, the I O read module and I/O data recovery module are used to complete the recovery of I/O data, the pre- place The configuration modification that module is used to before virtual machine starts carry out data in magnetic disk is managed, the LUN mapping of the ceph storage forms magnetic Magnetic disk media of the disc apparatus as virtual machine, the virtual platform are connect with disaster tolerance server-side, as virtual machine after adapter tube Operation platform.
2. a kind of application disaster tolerance system stored based on virtual platform and ceph according to claim 1, feature are existed In the disk unit includes mirrored volume, log volume and clone volume, and the LUN of the ceph storage passes through the side loopback Formula maps to form mirrored volume, and one of mirrored volume is by formatting and forming log volume, the disaster tolerance server-side after carry Snapshot operation is executed to LUN in mirrored volume every preset time, forms Snapshot time point and snapshot LUN, LUN grams of the snapshot LUN is cloned in grand formation, and the clone LUN maps to form clone volume by loopback mode.
3. a kind of application disaster tolerance system stored based on virtual platform and ceph according to claim 2, feature are existed In, the increment I/O data that the client CDP drive module that the log volume storage receives is read, the mirrored volume storage The client initialization data received and the increment I/O data read in real time from log volume, when disaster occurs for FTP client FTP Afterwards, it is concurrent according to Snapshot time point and IO time point to read corresponding increment I/O data from log volume for the I O read module It send to I/O data recovery module, the increment I/O data that the I/O data recovery module will receive is write according to IO timestamps ordering Enter in clone volume.
4. a kind of application disaster tolerance system stored based on virtual platform and ceph according to claim 3, feature are existed Include third party's virtual platform and the KVM virtualization platform built in disaster tolerance server-side in, the virtual platform, works as use When pipe-connecting mode, the KVM virtualization platform provides application service, when using carry reset mode, the third party Virtual platform provides application service.
5. a kind of application disaster tolerance system stored based on virtual platform and ceph according to claim 4, feature are existed In the clone LUN is mounted to third party's virtual platform as virtual in third party's virtual platform by iSCSI/FC The magnetic disk media of machine, magnetic disk media of the clone volume as virtual machine in KVM virtualization platform.
6. a kind of application disaster tolerance system stored based on virtual platform and ceph according to claim 3, feature are existed In the preprocessing module is first by respective partition carry in clone volume to disaster tolerance server-side local directory, then carries out disk number According to configuration modification, the configuration modification of the data in magnetic disk include network configuration, system file modification, customize starting script It writes and customized system reparation.
7. a kind of apply disaster recovery method using disaster tolerance system using the claims 1-6 is described in any item, feature exists In this method first backs up client data, after disaster occurs for client, first carries out I/O data recovering step, then lead to It crosses different modes and executes virtual platform adapter tube step, disaster tolerance server-side execution step includes: in the backup procedure
101) LUN of ceph storage maps to form mirrored volume by loopback mode, and one of mirrored volume is passed through format Change and forms log volume after carry;
102) the initialization data backup that client is sent is received, is written in mirrored volume, while receiving the IO number of client transmission According in write-in log volume;
103) the increment I/O data that client is sent is received, is written in log volume, while reading the increment I/O data in log volume, It is written in mirrored volume;
104) LUN corresponding to mirrored volume executes snapshot operation, generates Snapshot time point and snapshot LUN;
The I/O data recovering step includes:
201) snapshot LUN is cloned, clone LUN is obtained, and is clone volume by clone's LUN mapping;
202) I O read module reads increment I/O data from log volume and is sent to I/O data recovery module, and I/O data restores mould The increment I/O data received is written in clone volume block;
The virtual platform adapter tube step executive mode includes pipe-connecting mode and carry reset mode.
8. according to claim 7 apply disaster recovery method, which is characterized in that the pipe-connecting mode the following steps are included:
301) KVM virtual machine is created by libvirt interface in disaster tolerance server-side;
302) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, is matched to data in magnetic disk Modification is set, and unloads corresponding carry;
303) I/O data will be completed to restore with pretreated clone volume as the magnetic disk media of KVM virtual machine;
304) start LVM virtual machine, take over original operation system and continue to provide application service.
9. according to claim 7 apply disaster recovery method, which is characterized in that the carry reset mode includes following step It is rapid:
311) virtual machine is created in third party's virtual platform;
312) respective partition in clone volume is mounted to disaster tolerance server-side local directory by preprocessing module, is matched to data in magnetic disk Modification is set, and unloads corresponding carry;
313) clone volume after deleting clone's LUN mapping;
314) clone LUN is mounted to third party's virtual platform as the void on third party's virtual platform by iSCSI/FC The magnetic disk media of quasi- machine;
315) start the virtual machine on third party's virtual platform, take over original operation system and continue to provide application service.
10. application disaster recovery method according to claim 8 or claim 9, which is characterized in that the configuration modification includes network Configuration customizes writing and customized system reparation for starting script.
CN201910382853.9A 2019-05-09 2019-05-09 The application disaster tolerance system and method stored based on virtual platform and ceph Pending CN110187998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910382853.9A CN110187998A (en) 2019-05-09 2019-05-09 The application disaster tolerance system and method stored based on virtual platform and ceph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910382853.9A CN110187998A (en) 2019-05-09 2019-05-09 The application disaster tolerance system and method stored based on virtual platform and ceph

Publications (1)

Publication Number Publication Date
CN110187998A true CN110187998A (en) 2019-08-30

Family

ID=67715883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910382853.9A Pending CN110187998A (en) 2019-05-09 2019-05-09 The application disaster tolerance system and method stored based on virtual platform and ceph

Country Status (1)

Country Link
CN (1) CN110187998A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984365A (en) * 2020-07-22 2020-11-24 苏州浪潮智能科技有限公司 Virtual machine virtual disk dual-live implementation method and system
CN112199166A (en) * 2020-10-30 2021-01-08 上海爱数信息技术股份有限公司 Business emergency takeover rehearsal system and method thereof
CN112433825A (en) * 2020-12-31 2021-03-02 上海英方软件股份有限公司 Virtualization platform data backup device, system and method
CN112631831A (en) * 2020-12-22 2021-04-09 苏州柏科数据信息科技研究院有限公司 Bare computer recovery method and system of service system
CN112653739A (en) * 2020-12-14 2021-04-13 南京壹进制信息科技有限公司 Agent emergency disaster recovery method and system for externally-assigned virtual machine network
CN113407380A (en) * 2021-07-14 2021-09-17 安超云软件有限公司 Method and device for rapidly recovering cross-cluster disaster recovery, electronic equipment and storage medium
CN113849340A (en) * 2021-08-13 2021-12-28 苏州浪潮智能科技有限公司 Disaster recovery backup docking method and device for virtualization platform and multi-storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389230A (en) * 2015-10-21 2016-03-09 上海爱数信息技术股份有限公司 Continuous data protection system and method combining with snapshot technology
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN106445741A (en) * 2016-09-28 2017-02-22 郑州云海信息技术有限公司 Method for achieving oracle database disaster tolerance backup on basis of ceph
CN108255641A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 A kind of CDP disaster recovery methods based on cloud platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389230A (en) * 2015-10-21 2016-03-09 上海爱数信息技术股份有限公司 Continuous data protection system and method combining with snapshot technology
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN106445741A (en) * 2016-09-28 2017-02-22 郑州云海信息技术有限公司 Method for achieving oracle database disaster tolerance backup on basis of ceph
CN108255641A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 A kind of CDP disaster recovery methods based on cloud platform

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984365A (en) * 2020-07-22 2020-11-24 苏州浪潮智能科技有限公司 Virtual machine virtual disk dual-live implementation method and system
CN111984365B (en) * 2020-07-22 2022-05-31 苏州浪潮智能科技有限公司 Virtual machine virtual disk dual-live implementation method and system
CN112199166A (en) * 2020-10-30 2021-01-08 上海爱数信息技术股份有限公司 Business emergency takeover rehearsal system and method thereof
CN112653739A (en) * 2020-12-14 2021-04-13 南京壹进制信息科技有限公司 Agent emergency disaster recovery method and system for externally-assigned virtual machine network
CN112631831A (en) * 2020-12-22 2021-04-09 苏州柏科数据信息科技研究院有限公司 Bare computer recovery method and system of service system
CN112433825A (en) * 2020-12-31 2021-03-02 上海英方软件股份有限公司 Virtualization platform data backup device, system and method
CN113407380A (en) * 2021-07-14 2021-09-17 安超云软件有限公司 Method and device for rapidly recovering cross-cluster disaster recovery, electronic equipment and storage medium
CN113407380B (en) * 2021-07-14 2024-05-03 安超云软件有限公司 Method and device for quickly recovering cluster-crossing disaster recovery, electronic equipment and storage medium
CN113849340A (en) * 2021-08-13 2021-12-28 苏州浪潮智能科技有限公司 Disaster recovery backup docking method and device for virtualization platform and multi-storage system
CN113849340B (en) * 2021-08-13 2024-02-27 苏州浪潮智能科技有限公司 Disaster recovery backup docking method and device for virtualization platform and multi-storage system

Similar Documents

Publication Publication Date Title
CN110187998A (en) The application disaster tolerance system and method stored based on virtual platform and ceph
CN110188000A (en) Application disaster recovery method and system based on virtualization and iSCSI or FC
US11775180B2 (en) Tape library emulation with automatic configuration and data retention
US10503616B2 (en) Periodic data replication
US10303561B2 (en) Point-in-time copy restore
US9348827B1 (en) File-based snapshots for block-based backups
US9983946B2 (en) Instant data restoration
US8412678B2 (en) Systems and methods for providing business continuity services
US11086734B2 (en) Accelerated recovery after a data disaster
US20190163765A1 (en) Continuous data management system and operating method thereof
US8732128B2 (en) Shadow copy bookmark generation
KR101693683B1 (en) Virtual database rewind
US20110282843A1 (en) Method and system for data backup and replication
CN101668048A (en) Data protection method and system for supporting any time data access and modification
US20070033361A1 (en) Apparatus, system, and method for fastcopy target creation
CN105446831A (en) Server-Free backup method in conjunction with SAN
CN109739691A (en) DB Backup and restoration methods, device, terminal device and storage medium
US7580959B2 (en) Apparatus, system, and method for providing efficient disaster recovery storage of data using differencing
US11093380B1 (en) Automated testing of backup component upgrades within a data protection environment
CN112882859A (en) Virtual machine synthetic backup method and system
EP2006772B1 (en) Database system and method for external backup
CN111930569A (en) System and method for backup and recovery of whole machine
CN109416617A (en) Duplication between heterogeneous storage system
CN115328696A (en) Data backup method in database
CN110362432B (en) Backup method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190830

WD01 Invention patent application deemed withdrawn after publication