CN112380062A - Method and system for rapidly recovering system for multiple times based on system backup point - Google Patents

Method and system for rapidly recovering system for multiple times based on system backup point Download PDF

Info

Publication number
CN112380062A
CN112380062A CN202011284844.5A CN202011284844A CN112380062A CN 112380062 A CN112380062 A CN 112380062A CN 202011284844 A CN202011284844 A CN 202011284844A CN 112380062 A CN112380062 A CN 112380062A
Authority
CN
China
Prior art keywords
virtual machine
server
backup
snapshot
service server
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
CN202011284844.5A
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.)
Shanghai Yingfang Software Co ltd
Original Assignee
Shanghai Yingfang Software 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 Shanghai Yingfang Software Co ltd filed Critical Shanghai Yingfang Software Co ltd
Priority to CN202011284844.5A priority Critical patent/CN112380062A/en
Publication of CN112380062A publication Critical patent/CN112380062A/en
Pending legal-status Critical Current

Links

Images

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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

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

Abstract

The invention discloses a method and a system for rapidly recovering a service system for multiple times based on a system backup point, wherein the method comprises the following steps: step S1, the production data of the hot backup source service server produces a consistency snapshot point on the data storage server, and a temporary virtual machine is quickly established and pulled up based on the consistency snapshot point to verify the backup data; step S2, when the source service server is out of order, selecting the snapshot backup point on the data storage server which has been validated successfully recently, creating and pulling up the virtual machine on the data storage server based on the snapshot point, taking over the source service of the source service server, and writing the data generated after pulling up the virtual machine into the data storage server; step S3, when the failure of the source service server is resolved, restoring the data of the consistent snapshot backup point when the data storage server takes over to the source service server, and synchronizing new data generated when the virtual machine takes over after the restoration is completed.

Description

Method and system for rapidly recovering system for multiple times based on system backup point
Technical Field
The invention relates to the technical field of computer disaster recovery backup, in particular to a method and a system for rapidly recovering a system for multiple times based on system backup points.
Background
With the continuous promotion of informatization construction, the dependence of enterprises and public institutions on business systems is higher and higher. However, once a business system fails, business disruption is increasingly damaging to the enterprise. Therefore, when the service system fails, the service system can be reactivated within seconds, and the recovery operation of the service system is immediately started, which is particularly important.
In a service system, when a source service server fails and a service is interrupted, service repair is required, and in the prior art, service recovery needs to be performed as follows: and repairing the fault of the source service server, recovering the service data and restarting the source service server. However, this process takes a long time, in which the service system is always in an interrupted state, and if the source service server has a large data volume, the time of service interruption is intolerable, especially when the hardware of the source service server or the operating system fails, the time of service interruption is not estimated.
Disclosure of Invention
In order to overcome the defects in the prior art, the present invention provides a method and a system for rapidly recovering a system for multiple times based on a system backup point, so as to achieve the purpose of rapidly recovering a service system.
In order to achieve the above object, the present invention provides a method for rapidly recovering a service system for multiple times based on a system backup point, which comprises the following steps:
step S1, the production data of the hot backup source service server produces a consistency snapshot point on the data storage server, and based on the consistency snapshot point, a temporary virtual machine is quickly created and pulled up on the data storage server, and the backup data is verified to ensure the backup data to be effective;
step S2, when the source service server is out of order, selecting the snapshot backup point on the data storage server which has been validated successfully recently, based on the snapshot backup point, the target service server quickly creates and pulls up the virtual machine on the data storage server, taking over the source service of the source service server, and writing the data generated after pulling up the virtual machine into the data storage server;
step S3, when the failure of the source service server is resolved, restoring the data of the consistent snapshot backup point when the data storage server takes over to the source service server, and after the restoration is completed, synchronizing new data generated when the virtual machine takes over.
Preferably, the step S1 further includes:
step S100, a source service server acquires a consistency snapshot point through a snapshot technology, and backs up the consistency snapshot point to a data storage server through a target service server;
step S101, creating a virtual switch on the target service server, and based on the backup data in step S100, quickly creating and pulling up a temporary virtual machine on the data storage server by the target service server, and verifying the backup data to ensure the backup data is valid.
Preferably, in step S100, the source service server creates a snapshot backup point through a system online snapshot technique, acquires all configuration information and disk information of the source service server based on the snapshot backup point, and transmits the configuration information and disk information to the target service server, and the target service server backs up data to the data storage server according to the obtained snapshot backup point information
Preferably, step S101 further comprises:
creating a virtual switch for the validity verification task on the target service server through a software defined network technology;
temporarily generating a floppy disk image file on a target service server, and writing network configuration information on a snapshot backup point into the floppy disk image file;
and selecting a snapshot backup point on the data storage server by using a virtualization technology, quickly creating a temporary virtual machine, setting a network card of the temporary virtual machine as the port of the virtual switch, and starting the temporary virtual machine to realize the validity verification of the snapshot backup point.
Preferably, the temporary virtual machine is detected in the starting process of the virtual machine, and the virtual machine network information is configured according to the floppy image file, so as to achieve the purpose of virtual machine network automatic configuration.
Preferably, the verification of the validity of the snapshot backup point is implemented by the Ping virtual machine ip, or the telnet virtual machine ip: port, or by executing a specific script.
Preferably, in step S2, when the source service server fails, a virtual machine switch is created on the target service server through a software-defined network technology, an uplink port of the virtual machine switch is connected to a production network card of the target service server, network configuration information of the source service server is written into a floppy image file, then a snapshot backup point on the data storage server, for which the latest validity verification is successful, is selected by using a virtualization technology, a virtual machine is quickly created, the network card of the virtual machine is set as the virtual switch port, the virtual machine is started, the pulled virtual machine automatically takes over the service of the source service server, and simultaneously data generated after the virtual machine is pulled is written into the data storage server.
Preferably, the virtual machine detects a floppy disk during the starting process, and configures virtual machine network information according to a floppy disk image.
Preferably, a virtual machine switch for testing purposes is created on a target service server through a software defined network technology, a snapshot backup point with successful validity verification is selected by using a virtualization technology, one or more test virtual machines are quickly created, network cards of the one or more test virtual machines are set as ports of the virtual switch, and one or more test virtual machines for testing are quickly pulled up.
In order to achieve the above object, the present invention further provides a system for rapidly recovering a service system for multiple times based on a system backup point, including:
the source business server is provided with a standby machine service module, acquires a consistent snapshot backup point through a snapshot technology, and backs up the snapshot backup point to the data storage server through the target business server;
the target business server is connected with the data storage server and used for backing up the data of the snapshot backup point of the source business server on the data storage server according to the received snapshot backup point information of the source business server, and quickly creating and pulling up a temporary virtual machine on the data storage server based on the backup data so as to verify the effectiveness of the backup data of the backup point; when a source service server fails, selecting a snapshot backup point on a data storage server, which is most recently successfully validated, quickly creating and pulling up a source service of a virtual machine management source service server on the data storage server, and writing data generated after the virtual machine is pulled up into the data storage server; when the failure of the source service server is solved, restoring the data of the consistent backup snapshot point on the data storage server during takeover to the source service server, synchronizing new data generated during takeover by the virtual machine after the restoration is completed, and switching back to the source service server after all the data are successfully synchronized;
and the data storage server is used for storing the data backup of the source service server.
Compared with the prior art, the method and the system for rapidly recovering the service system for multiple times based on the system backup point adopt the service-oriented rapid recovery technology, the influence of service data recovery on the continuous operation of the service is solved, the method and the system can ensure that the service system is rapidly recovered when the source service server fails, the service is only paused for a few seconds in the process, the service outage time is reduced, the service continuity is ensured, no data is lost in the process, and the method and the system have wider application range.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for rapidly recovering a service system for multiple times based on a system backup point according to the present invention;
FIG. 2 is a system architecture diagram of a system for fast recovering a service system multiple times based on a system backup point according to the present invention;
FIG. 3 is a schematic process diagram of a backup point-based service restoration system according to an embodiment of the present invention;
FIG. 4 is a flow chart of an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a flowchart illustrating steps of a method for rapidly recovering a service system multiple times based on a system backup point according to the present invention. As shown in fig. 1, the method for rapidly recovering a service system for multiple times based on a system backup point of the present invention includes the following steps:
step S1, the hot backup source service server generates a consistent snapshot on the data storage server, and based on the consistent snapshot, the target service server quickly creates and pulls up a temporary virtual machine on the data storage server to verify the backup data and ensure the validity of the backup data.
Specifically, step S1 further includes:
step S100, the source service server obtains the consistency snapshot point through the snapshot technology, and the consistency snapshot point is backed up to the data storage server through the target service server. The consistent snapshot refers to consistency between data of a corresponding file system and metadata, the metadata is information used for describing data attributes and is used for supporting functions such as indicating storage positions, historical data, resource searching, file recording and the like, and when the data is written but the metadata is not recorded, or the data is not written but the metadata is recorded, the inconsistency is called, and the inconsistency may cause system startup failure.
In the invention, the source service server is the production service server, that is, the source service server creates a consistency snapshot point through a system online snapshot technology, acquires all configuration information and disk data of the source service server based on the consistency snapshot point, and transmits the configuration information and the disk data to the target service server, and the target service server backs up the data to the data storage server according to the acquired information. In the embodiment of the present invention, a backup proxy service program is installed on a source service server, and a backup service program is installed on a target service server (the backup service program is mainly used for receiving data sent by the backup proxy service program of the source service server and storing the data in a storage server), that is, the backup proxy service program of the source service server obtains a consistent snapshot point through a system online snapshot technology, and then backs up the snapshot point to the data storage server through the backup proxy service program of the target service server, it should be noted that a full backup point may be produced in the first backup, and an incremental backup point may be generated in the later backups.
Step S101, a virtual switch is created on the target service server to provide a network port and guarantee isolated network, and meanwhile, based on the backup data of step S100, a temporary virtual machine is quickly created and pulled up on the data storage server by the target service server to verify the backup data, so as to ensure the validity of the backup data. It should be noted that, for each backup point, it may select that each backup point is verified immediately after being completed, or may perform verification after a certain time period, or may even select a partial verification by using a sample check method, which is not limited in the present invention. In the embodiment of the present invention, the backup point is selected and then checked immediately.
Specifically, in step S101, validity verification needs to be performed on each backup point, and the specific process is as follows:
firstly, a virtual switch is created for an effectiveness verification task on a target service server through a software defined network technology, and an uplink port is kept vacant, namely the virtual switch is ensured to be isolated, so that the virtual switch is ensured to be separated from a production network logically, the network operated by the effectiveness verification task is ensured not to conflict with the production network, a physical network card is not required to be added, and the physical network configuration is not required to be changed. In the embodiment of the present invention, the virtual switch is created by a controller on the target service server (the controller is used for receiving user requests and calling different programs according to different requests), and a target service program of the target service server is called (it should be noted that, the controller in the present invention is deployed on the target service server, but the controller may be deployed on any node as long as the network communication can be achieved by the controller to create the virtual switch on the target service server), the controller can communicate with a standby service program of the target service server and can also manage the target service program of the target service server, the target service program is also called a virtual machine monitor, i.e. hypervisor, namely, the controlling machine calls a target service program (i.e., Hypervisor) API to create the virtual machine switch on the target service server.
And temporarily generating a floppy disk image file on the target service server, and writing the network configuration information on the snapshot backup point into the floppy disk image file. Specifically, the floppy image file is temporarily generated on the target service server, and after the floppy image file is generated, the network configuration information on the snapshot backup point, that is, the configuration information of the source service server, is written into the floppy image file. The purpose of temporarily generating the floppy disk image file is to load a configuration file, so that the started virtual machine automatically configures the IP, and although the floppy disk image is not available, the virtual machine can also be started, but the IP does not exist.
The method comprises the steps of selecting a snapshot backup point on a data storage server by utilizing a virtualization technology, quickly creating a temporary virtual machine, and starting the temporary virtual machine, namely, calling a target service program by a control machine to quickly create the temporary virtual machine, wherein the quickness refers to that no large data are copied in the process, and the consumed time is short. The temporary virtual machine is generated by the backup of the source service server, the source service server is provided with a backup proxy service program, so the temporary virtual machine is also provided with the backup proxy service program, the backup proxy service program in the temporary virtual machine can detect a floppy disk in the starting process and configure virtual machine network information according to a floppy disk image file, and the purpose of virtual machine network automatic configuration is achieved.
Then, the user can log in the virtual machine through the vnc, judge whether the pulled temporary virtual machine is correct, and confirm whether the validity verification of the snapshot backup point is successful or failed by checking the service state or the file content and the like.
In the embodiment of the present invention, the verification method for verifying the validity of the backup point includes the following 3 types:
one, Ping virtual machine ip
Second, telnet virtual machine ip: port
And thirdly, executing a specific script, wherein success and failure are determined by the script.
Step S2, when the source service server is out of order, selecting the snapshot backup point on the data storage server whose validity is verified successfully recently, the target service server quickly creates and pulls up the virtual machine on the data storage server, takes over the source service of the source service server, and writes the data generated after pulling up the virtual machine into the data storage server.
Specifically, when the source service server fails, a virtual machine switch is created on the target service server through the software defined network technology (providing network ports and ensuring isolation), simultaneously, the uplink port of the virtual machine exchanger is connected with the production network card of the target service server, the network configuration information of the source service server is written into the temporarily generated floppy disk image file, then the control machine calls the target service program to select the snapshot backup point on the data storage server whose validity is successfully verified recently by using the virtualization technology to quickly create the virtual machine, setting the network card of the virtual machine as the virtual exchanger port, pulling up the virtual machine, detecting the floppy disk during the starting process of the backup proxy service program, and configuring virtual machine network information according to the floppy disk mirror image, automatically connecting the pulled virtual machine to the source service, and simultaneously writing data generated after the virtual machine is pulled into the data storage server.
And step S3, when the failure of the source service server is solved, restoring the data of the consistent backup snapshot backup point on the data storage server during takeover to the source service server, synchronizing new data generated during takeover of the virtual machine after the restoration is completed, and switching back to the source service server after the new data is successfully recovered. That is, after the failure of the source service server is resolved, the data transmission can be realized and the recovery operation can be completed by the communication between the backup agent in the source service server and the standby service program in the target server initiated by the user, that is, when the source service server runs, the virtual machine is closed, but the standby service program in the target server can access the disk data of the virtual machine, so that the data transmission is realized by the communication between the backup agent in the source service server and the standby service program in the target server, and the data can be switched back to the source service server after all the data are successfully recovered.
After the recovered source service server operates stably for a period of time, when the user determines that the system is reliable, the user may select to delete the virtual machine, which is not limited by the present invention.
Preferably, at ordinary times, the invention can also establish a virtual machine exchanger for testing purpose in the target service server by software defined network technology, and similarly, the control machine calls the target service program to select a snapshot backup point with successful validity verification by using virtualization technology, and quickly establishes one or more virtual machines for testing, and sets the network card of the virtual machine as the port of the virtual exchanger to pull up the virtual machine.
Fig. 2 is a system architecture diagram of a system for rapidly recovering a service system multiple times based on a system backup point according to the present invention. As shown in fig. 2, a system for rapidly recovering a service system multiple times based on a system backup point of the present invention includes:
the source business server 10, i.e. the business server, is provided with a standby service module, acquires a consistent snapshot backup point through a snapshot technology, and backs up the snapshot backup point to a data storage server through a target business server.
In the invention, the source service server is a production service server, that is, the source service server creates a snapshot backup point through a system online snapshot technology, acquires all configuration information and disk information of the source service server based on the snapshot backup point, and transmits the configuration information and the disk information to the target service server, and the target service server backs up data to the data storage server according to the acquired information. In the embodiment of the invention, a backup proxy service program is installed on a source business server, a standby service program is installed on a target business server, the backup proxy service program of the source business server acquires a consistent snapshot backup point through a system online snapshot technology, then the snapshot backup point is backed up to a data storage server through the standby service program of the target business server, a full backup point can be produced in the first backup, and an incremental backup point can be generated in the later backup.
The target service server 20 is connected to the data storage server 30, and is configured to backup, according to the received snapshot backup point information of the source service server 10, data of the snapshot backup point of the source service server 10 on the data storage server 30, and based on the backup data, quickly create and pull up a temporary virtual machine on the data storage server 30, so as to verify validity of the backup data of the backup point; when the source service server fails, selecting a snapshot backup point on the data storage server, which is most recently successfully validated, quickly creating and pulling up the source service of the source service server taken over by the virtual machine on the data storage server, and writing data generated after the virtual machine is pulled up into the data storage server; after the failure of the source service server is solved, the data of the consistent backup snapshot point on the data storage server during takeover is restored to the source service server, after the restoration is completed, the new data generated during takeover of the virtual machine is synchronized, and after the restoration is completed, the data is switched back to the source service server.
Specifically, the target service server 20 further includes:
and the standby service module 201 is configured to backup the snapshot backup point to the data storage server according to the received snapshot backup point information.
The controller 202 is communicated with the standby machine service module, manages a target business service module, and is used for calling the target business service module to create a virtual switch for a validity verification task on a target business server through a software defined network technology during validity verification of the snapshot backup point, temporarily generating a floppy mirror image file on the target business server, writing network configuration information on the snapshot backup point into the floppy mirror image file, selecting the snapshot backup point on the data storage server by using a virtualization technology, quickly creating a temporary virtual machine, setting a network card of the temporary virtual machine as a port of the virtual switch, and starting the temporary virtual machine; when a source service server fails, a target service module is called on a target service server through a software defined network technology to create a virtual machine switch, an uplink port of the virtual machine switch is connected with a production network card of the target service server, network configuration information of the source service server is written into a floppy mirror image file, the network card of the virtual machine is connected with a port of the virtual machine, a snapshot backup point which is latest and successful in validity verification on a data storage server is selected by using a virtualization technology, the virtual machine is quickly created, the network card of the virtual machine is set as the port of the virtual switch, and the virtual machine is started, so that the pulled virtual machine automatically receives the service of the source service server, and data generated after the virtual machine is pulled is written into the data storage server; after the failure of the source service server is solved, the data of the consistent backup snapshot point on the data storage server during takeover is restored to the source service server, after the restoration is completed, the new data generated during takeover of the virtual machine is synchronized, and after the restoration is completed, the data is switched back to the source service server.
In the embodiment of the invention, the virtual switch created by the controller is logically separated from the production network, so that the network operated by the validity verification task is ensured not to conflict with the production network, and a physical network card is not required to be added, and the physical network configuration is not required to be changed. The controller can communicate with the standby service module of the target service server and manage the target service module of the target service server, the target service module is also called a virtual machine monitor (Hypervisor), namely, the controller calls the API of the target service module (Hypervisor), and the virtual machine switch is established on the target service server.
The invention temporarily generates a floppy image file on the target service server, and writes the network configuration information on the snapshot backup point into the floppy image file. That is, the floppy image file is temporarily generated on the target service server, and after the floppy image file is generated, the network configuration information on the snapshot backup point, that is, the configuration information of the source service server, is written into the floppy image file. It should be noted that the purpose of temporarily generating the floppy image file in the present invention is to load a configuration file, so that the virtual machine after being started automatically configures an IP, and although there is no floppy image, the virtual machine can also be started, but there will be no IP, that is, the controller can use virtualization technology to call a target service program to quickly create and pull up the temporary virtual machine based on a snapshot backup point on the data storage server, and a backup proxy service program in the temporary virtual machine will detect a floppy disk during the starting process and configure virtual machine network information according to the floppy image file, thereby achieving the purpose of virtual machine network automatic configuration.
After the virtual machine is successfully started, a user can log in the virtual machine console through the vnc, and can check the service state or the file content and the like to confirm whether the validity verification of the backup point is successful or failed.
In the embodiment of the present invention, the verification method for verifying the validity of the backup point includes the following 3 types:
second, Ping virtual machine ip
Second, telnet virtual machine ip: port
And thirdly, executing a specific script, wherein success and failure are determined by the script.
Similarly, when the source service server fails, the control machine creates a virtual machine switch on the target service server through the software defined network technology, simultaneously connects the uplink port of the virtual machine switch with the production network card of the target service server, writes the network configuration information of the source service server into the floppy mirror image file, connects the network card of the virtual machine with the port of the virtual switch, then calls the target service program to quickly pull up the latest snapshot backup point on the data storage server, the validity of which is successfully verified, and the backup proxy service program can detect the floppy disk in the starting process and configure the virtual machine network information according to the floppy mirror image. The pulled virtual machine automatically receives the source service and writes the data generated by the virtual machine into the data storage server.
When the failure of the source service server is solved, the user can initiate the operation, the controller controls the data storage server to restore the data of the consistent backup snapshot backup point on the data storage server during the takeover to the source service server, and after the restoration is completed, the new data generated during the takeover of the virtual machine is synchronized, and after all the data are successfully restored, the data are switched back to the source service server.
Preferably, at ordinary times, the control machine may create a virtual machine switch for testing purposes in the target service server through the software defined network technology, and the control machine invokes the target service program to select a snapshot backup point with successful validity verification by using the virtualization technology, quickly create one or more virtual machines for testing, set the network card of the virtual machine as a virtual switch port, and pull up the virtual machine.
And the target business service module 203 is used for creating a virtual switch and a virtual machine according to the call of the control machine.
And the data storage server 30 is used for storing data backup of the source service server.
Examples
As shown in fig. 3 and 4, in this embodiment, a backup proxy service program is installed on a source business server, and a standby service program is installed on a target business service, and a process of rapidly recovering a business system multiple times based on a system backup point is as follows:
first of all. The backup proxy service program obtains a consistent snapshot point through the system online snapshot technology, and then backs up the snapshot point to the data storage server through the standby service program. The first backup may produce a full backup point and subsequent backups may generate incremental backup points.
Secondly. Starting to execute the validity verification task of the backup point: the method comprises the steps of establishing a virtual switch for an effectiveness verification task through a software defined network technology, wherein the virtual switch is logically separated from a production network, so that the fact that the network where the effectiveness verification task operates does not conflict with the production network is ensured, no physical network card is required to be added, and no physical network configuration is required to be changed, writing network configuration information on a snapshot backup point into a floppy image file, rapidly pulling up a temporary virtual machine established on a data storage server based on the snapshot backup point by utilizing a virtualization technology, detecting a floppy disk by a backup proxy service program of the temporary virtual machine in the starting process, and configuring virtual machine network information according to the floppy image, thereby achieving the purpose of automatic virtual machine network configuration. After the virtual machine is successfully started, a user can log in the virtual machine console through the vnc, and can check the service state or the file content and the like to confirm whether the validity verification of the backup point is successful or failed.
Then. When the source service server fails, a virtual machine switch is created by software defined network technology, and an uplink port of the virtual machine switch is connected with a production network card of the target service server. The network configuration information of the source service is written into a floppy disk image file, a network card of the virtual machine is connected with a virtual switch port, and then the virtual machine created based on the snapshot backup point with the latest successful validity verification on the data storage server is quickly pulled up by utilizing the virtualization technology. The backup proxy service program detects the floppy disk in the starting process, configures the virtual machine network information according to the floppy disk image, automatically receives the source service by the pulled virtual machine, and writes the data generated after the virtual machine is pulled into the data storage server.
At ordinary times, a virtual machine switch for testing purposes can be created through a software defined network technology, a snapshot point with successful validity verification is selected by utilizing a virtualization technology, and one or more virtual machines for testing are pulled up quickly.
And finally. And after the failure of the source service server is solved, restoring the data of the consistent backup snapshot point on the data storage server when the data storage server takes over to the source service server. And after the recovery is finished, the new data generated when the virtual machine takes over is resynchronized, and after the data is successfully taken over, the data is switched back to the source service server.
In summary, the method and system for rapidly recovering a service system for multiple times based on a system backup point of the present invention adopts a service-oriented rapid recovery technology, thereby solving the problem of the influence of the recovered service data on the continuous operation of the service.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (10)

1. A method for rapidly recovering a service system for multiple times based on a system backup point comprises the following steps:
step S1, the production data of the hot backup source service server produces a consistency snapshot point on the data storage server, and based on the consistency snapshot point, a temporary virtual machine is quickly created and pulled up on the data storage server to verify the backup data and ensure the validity of the backup data;
step S2, when the source service server is in failure, selecting the snapshot backup point on the data storage server whose validity is verified successfully recently, creating and pulling up the virtual machine on the data storage server based on the snapshot backup point, taking over the source service of the source service server, and writing the data generated after pulling up the virtual machine into the data storage server;
step S3, when the failure of the source service server is resolved, restoring the data of the consistent snapshot backup point when the data storage server takes over to the source service server, and after the restoration is completed, synchronizing new data generated when the virtual machine takes over.
2. The method for rapidly recovering a business system a plurality of times based on a system backup point as claimed in claim 1, wherein the step S1 further comprises:
step S100, a source service server acquires a consistency snapshot point through a snapshot technology, and backs up the consistency snapshot point to a data storage server through a target service server;
step S101, creating a virtual switch on the target service server, and based on the backup data in step S100, quickly creating and pulling up a temporary virtual machine on the data storage server by the target service server, and verifying the backup data to ensure the backup data is valid.
3. The method according to claim 2, wherein the method for rapidly recovering the service system for a plurality of times based on the system backup point comprises: in step S100, the source service server creates a snapshot backup point through a system online snapshot technique, acquires all configuration information and disk information of the source service server based on the snapshot backup point, and transmits the configuration information and disk information to the target service server, and the target service server backs up data to the data storage server according to the obtained snapshot backup point information.
4. The method according to claim 3, wherein the step S101 further comprises:
creating a virtual switch for the validity verification task on the target service server through a software defined network technology;
temporarily generating a floppy disk image file on a target service server, and writing network configuration information on a snapshot backup point into the floppy disk image file;
and selecting a consistent snapshot backup point on the data storage server by using a virtualization technology, quickly creating a temporary virtual machine, setting a network card of the temporary virtual machine as the port of the virtual switch, and starting the temporary virtual machine to realize the validity verification of the snapshot backup point.
5. The method according to claim 4, wherein the method for rapidly recovering the service system for a plurality of times based on the system backup point comprises: and detecting a floppy disk in the starting process of the temporary virtual machine, and configuring virtual machine network information according to a floppy disk image file, thereby achieving the purpose of automatic virtual machine network configuration.
6. The method for rapidly recovering the service system for multiple times based on the system backup point as claimed in claim 5, wherein the validity verification of the snapshot backup point is implemented by a Ping virtual machine ip, a telnet virtual machine ip: port, or executing a specific script.
7. The method according to claim 4, wherein the method for rapidly recovering the service system for a plurality of times based on the system backup point comprises: in step S2, when the source service server fails, a virtual machine switch is created on the target service server by using a software-defined networking technology, an uplink port of the virtual machine switch is connected to a production network card of the target service server, network configuration information of the source service server is written into a floppy image file, then a snapshot backup point on the data storage server, for which the latest validity verification is successful, is selected by using a virtualization technology, a virtual machine is quickly created, the network card of the virtual machine is set as the virtual switch port, the virtual machine is started, the pulled virtual machine automatically takes over the service of the source service server, and data generated after the virtual machine is pulled up is written into the data storage server.
8. The method according to claim 7, wherein the method for rapidly recovering the service system for a plurality of times based on the system backup point comprises: and the virtual machine detects a floppy disk in the starting process and configures virtual machine network information according to the floppy disk image.
9. The method according to claim 8, wherein the method for rapidly recovering the service system for a plurality of times based on the system backup point comprises: the virtual machine exchanger for testing is established on a target service server through a software defined network technology, a snapshot backup point with successful validity verification is selected by utilizing a virtualization technology, one or more testing virtual machines are established rapidly, network cards of the one or more testing virtual machines are set as ports of the virtual exchanger, and one or more testing virtual machines for testing are pulled up rapidly.
10. A system for rapidly recovering a service system for multiple times based on a system backup point comprises:
the source business server is provided with a standby machine service module, acquires a consistent snapshot backup point through a snapshot technology, and backs up the snapshot backup point to the data storage server through the target business server;
the target business server is connected with the data storage server and used for backing up the data of the snapshot backup point of the source business server on the data storage server according to the received snapshot backup point information of the source business server, and quickly creating and pulling up a temporary virtual machine on the data storage server based on the backup data so as to verify the effectiveness of the backup data of the backup point; when a source service server fails, selecting a snapshot backup point on a data storage server, which is most recently successfully validated, quickly creating and pulling up a source service of a virtual machine management source service server on the data storage server, and writing data generated after the virtual machine is pulled up into the data storage server; when the failure of the source service server is solved, restoring the data of the consistent backup snapshot point on the data storage server during takeover to the source service server, synchronizing new data generated during takeover by the virtual machine after the restoration is completed, and switching back to the source service server after all the data are successfully synchronized;
and the data storage server is used for storing the data backup of the source service server.
CN202011284844.5A 2020-11-17 2020-11-17 Method and system for rapidly recovering system for multiple times based on system backup point Pending CN112380062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011284844.5A CN112380062A (en) 2020-11-17 2020-11-17 Method and system for rapidly recovering system for multiple times based on system backup point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011284844.5A CN112380062A (en) 2020-11-17 2020-11-17 Method and system for rapidly recovering system for multiple times based on system backup point

Publications (1)

Publication Number Publication Date
CN112380062A true CN112380062A (en) 2021-02-19

Family

ID=74584964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011284844.5A Pending CN112380062A (en) 2020-11-17 2020-11-17 Method and system for rapidly recovering system for multiple times based on system backup point

Country Status (1)

Country Link
CN (1) CN112380062A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817661A (en) * 2021-02-23 2021-05-18 浙江大华技术股份有限公司 Equipment configuration method and device and readable storage medium
CN112965783A (en) * 2021-02-24 2021-06-15 上海英方软件股份有限公司 System and method for using storage snapshot backup virtual machine
CN113821376A (en) * 2021-08-19 2021-12-21 广东电力信息科技有限公司 Cloud disaster backup-based integrated backup disaster recovery method and system
CN114297004A (en) * 2021-12-31 2022-04-08 合肥同智机电控制技术有限公司 Method, system and equipment for quickly backing up and recovering software
CN114500238A (en) * 2022-01-25 2022-05-13 杭州云备姆科技有限公司 Automatic switching system and method for block-level disaster recovery, electronic device and medium
CN116755930A (en) * 2023-05-22 2023-09-15 中工数保(北京)科技有限公司 Production service continuous protection method and device for industrial control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335255A (en) * 2015-12-10 2016-02-17 上海数腾软件科技股份有限公司 System and method capable of achieving quick service recovery
WO2018058942A1 (en) * 2016-09-30 2018-04-05 华为技术有限公司 Data processing method and backup server
CN110727501A (en) * 2019-09-29 2020-01-24 上海英方软件股份有限公司 Practicing method and system based on virtual machine backup data
CN111399984A (en) * 2020-03-19 2020-07-10 上海英方软件股份有限公司 File recovery method and system based on virtual machine backup data
CN111580929A (en) * 2020-05-07 2020-08-25 上海英方软件股份有限公司 Validity verification system and method based on virtual machine protection data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335255A (en) * 2015-12-10 2016-02-17 上海数腾软件科技股份有限公司 System and method capable of achieving quick service recovery
WO2018058942A1 (en) * 2016-09-30 2018-04-05 华为技术有限公司 Data processing method and backup server
CN110727501A (en) * 2019-09-29 2020-01-24 上海英方软件股份有限公司 Practicing method and system based on virtual machine backup data
CN111399984A (en) * 2020-03-19 2020-07-10 上海英方软件股份有限公司 File recovery method and system based on virtual machine backup data
CN111580929A (en) * 2020-05-07 2020-08-25 上海英方软件股份有限公司 Validity verification system and method based on virtual machine protection data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
云祺VINCHIN: "【云祺VINCHIN】产品功能—三大备份数据恢复方式之一、二瞬时恢复和在线迁移", 《HTTPS://WWW.BILIBILI.COM/VIDEO/AV97937929》 *
云祺VINCHIN: "【云祺公开课】FY-20 云祺容灾备份系统产品及应用场景介绍全程视频200221", 《HTTP://BILIBILI.COM/VIDEO/BV12J411F7DA?SPM_ID_FROM=333.999.0.0》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817661A (en) * 2021-02-23 2021-05-18 浙江大华技术股份有限公司 Equipment configuration method and device and readable storage medium
CN112965783A (en) * 2021-02-24 2021-06-15 上海英方软件股份有限公司 System and method for using storage snapshot backup virtual machine
CN113821376A (en) * 2021-08-19 2021-12-21 广东电力信息科技有限公司 Cloud disaster backup-based integrated backup disaster recovery method and system
CN113821376B (en) * 2021-08-19 2023-11-28 广东电力信息科技有限公司 Cloud disaster recovery-based integrated backup disaster recovery method and system
CN114297004A (en) * 2021-12-31 2022-04-08 合肥同智机电控制技术有限公司 Method, system and equipment for quickly backing up and recovering software
CN114500238A (en) * 2022-01-25 2022-05-13 杭州云备姆科技有限公司 Automatic switching system and method for block-level disaster recovery, electronic device and medium
CN114500238B (en) * 2022-01-25 2024-02-20 杭州云备姆科技有限公司 Automatic switching system, method, electronic equipment and medium for block-level disaster recovery
CN116755930A (en) * 2023-05-22 2023-09-15 中工数保(北京)科技有限公司 Production service continuous protection method and device for industrial control system

Similar Documents

Publication Publication Date Title
CN112380062A (en) Method and system for rapidly recovering system for multiple times based on system backup point
US8402305B1 (en) Method and system for providing high availability to computer applications
US10019250B2 (en) Forcibly completing upgrade of distributed software in presence of failures
WO2021136422A1 (en) State management method, master and backup application server switching method, and electronic device
CN105159795A (en) Data synchronization method, apparatus and system
CN102394914A (en) Cluster brain-split processing method and device
US20230123923A1 (en) Methods and systems for data resynchronization in a replication environment
CN105354113A (en) Server, and system and method for managing server
WO2017054626A1 (en) Fault recovery method and device for virtual machine
CN104036043A (en) High availability method of MYSQL and managing node
US11847139B1 (en) Methods and systems for data resynchronization in a replication environment
CN105426213A (en) Software update method and system
WO2015043155A1 (en) Method and device for network element backup and recovery based on command set
US20120324279A1 (en) Method and Apparatus of Backing up Subversion Repository
CN112153134A (en) Disaster tolerance drilling method, device, equipment and storage medium of disaster tolerance cloud host
JP5285045B2 (en) Failure recovery method, server and program in virtual environment
CN109739685A (en) A kind of principal and subordinate's hot backup data synchronous method and storage medium
CN111090537B (en) Cluster starting method and device, electronic equipment and readable storage medium
CN112948484A (en) Distributed database system and data disaster recovery drilling method
CN116166470A (en) Redis cluster clone replication method and device, medium and equipment
CN107544868B (en) Data recovery method and device
CN110618951A (en) System high-availability storage control method and device, communication equipment and storage medium
CN112328429A (en) Hard disk snapshot method and device based on Openstack
CN107783855B (en) Fault self-healing control device and method for virtual network element
US20240095011A1 (en) State machine operation for non-disruptive update of a data management system

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: 20210219

WD01 Invention patent application deemed withdrawn after publication