A kind of automatic fault recovery system and method of memory database

By automatically detecting and restoring the status of the dual-machine cluster system, the memory database fault automatic recovery system solves the tediousness and data loss problems of memory database fault handling in a dual-machine cluster environment, realizes automated fault recovery and data cleaning, and improves efficiency. System reliability and security.

CN114996045BActive Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210752602.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2024-10-22
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

In a dual-machine cluster system environment with an in-memory database, after maintenance of the node system or hardware failure, it is necessary to manually re-register the data synchronization information and clear the fault count information recorded by the cluster software. The operation is cumbersome and can easily lead to data loss and affect front-end business access.

Method used

An automatic fault recovery system for in-memory databases is designed, including a module for determining whether the database is running smoothly on the network, a module for determining whether the database dual-machine cluster service is started, a module for synchronizing the registration of the database dual-machine cluster system, and a module for clearing the fault data information of the database dual-machine cluster system. Automatically detect and restart the network, start services, synchronize registration and clear fault data information to achieve automated fault recovery.

Benefits of technology

It simplifies the operations of maintenance personnel, automatically detects and restores the status of the dual-machine cluster system, avoids manual errors, ensures data security and system reliability, and improves the efficiency and safety of fault recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996045B_ABST
    Figure CN114996045B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of database fault recovery, and specifically relates to a system and method for automatic fault recovery of a memory database. The system comprises a module for judging whether a database operation network is unobstructed, which is used to immediately detect the operation network of the database after a maintenance node is started; a module for judging whether a database dual-machine cluster service is started normally, and after confirming that the database operation network is unobstructed, judging the start of the database dual-machine cluster service process; a database dual-machine cluster system synchronization registration module, which is used for database dual-machine cluster system synchronization registration, and after confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, an automatic registration synchronization tool is called to complete the database dual-machine cluster system synchronization registration; a module for clearing database dual-machine cluster system fault data information, which clears the database dual-machine cluster system fault data information after completing the database dual-machine cluster system synchronization registration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of database fault recovery, and in particular relates to a system and method for automatically recovering a fault of a memory database. Background Art

[0002] At present, in a dual-machine cluster system environment, once a node system or hardware failure needs to be maintained, the data synchronization information needs to be manually re-registered after the repair, and the fault count information recorded by the cluster software needs to be cleared before it can be restored to normal. The operation is cumbersome and there are many parameters. Once the wrong information is entered, it is easy to affect the use of normal nodes, thereby affecting the front-end business access, and may also cause data loss. This is the shortcoming of the existing technology.

[0003] In view of this, the present invention provides a system and method for automatically recovering a fault of a memory database, which is very necessary to solve the above technical defects existing in the prior art. Summary of the invention

[0004] The purpose of the present invention is to provide a system and method for automatically recovering from a fault of a memory database in order to solve the above technical problems in view of the defects of the above-mentioned prior art.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A fault automatic recovery system for a memory database, comprising:

[0007] A module for judging whether the database network is unobstructed is used to detect the database network immediately after the maintenance node is started, and judge whether the database network is unobstructed. If it is unobstructed, it will go to the module for judging whether the database dual-machine cluster service is started. If it is not unobstructed, it will enter the restart process of restarting the network or restarting the system. After the restart process is completed, it will enter the module for judging whether the database network is unobstructed;

[0008] The module for judging the startup of the database dual-machine cluster service is used to judge whether the database dual-machine cluster service is started normally. After confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, the module goes to the database dual-machine cluster system synchronization registration module. If the database dual-machine cluster service process fails to start, the module goes to the restart process of restarting the network or restarting the system. After the restart process is completed, the module goes to the module for judging whether the database operation network is unobstructed.

[0009] The database dual-machine cluster system synchronization registration module is used for the database dual-machine cluster system synchronization registration. After confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the database dual-machine cluster system synchronization registration and restore the database dual-machine cluster system environment;

[0010] A module for clearing fault data information of a database dual-machine cluster system is used to clear fault data information of the database dual-machine cluster system after completing synchronous registration of the database dual-machine cluster system and to clean up residual alarm data information before maintenance.

[0011] Preferably, in the module for judging whether the database runs a network unobstructed,

[0012] After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided by the memory database dual-machine cluster architecture on the network. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover.

[0013] Preferably, in the module for determining the startup of the database dual-machine cluster service,

[0014] Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

[0015] Preferably, in the database dual-machine cluster system synchronization registration module,

[0016] The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

[0017] Preferably, in the clearing database dual-machine cluster system fault data information module,

[0018] After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.

[0019] A method for automatically recovering from a fault of a memory database comprises the following steps:

[0020] Step S1: a step of determining whether the database operation network is unobstructed. After the maintenance node is started, this step immediately detects the database operation network and determines whether the database operation network is unobstructed. If it is unobstructed, step S2 is performed. If it is not unobstructed, a restart process of restarting the network or restarting the system is entered. After the restart process is completed, step S1 is entered;

[0021] Step S2: a step of judging the startup of the database dual-machine cluster service. In this step, after confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, the process proceeds to step S3. If the database dual-machine cluster service process fails to start, the process proceeds to a restart process of restarting the network or restarting the system. After the restart process is completed, the process proceeds to step S1.

[0022] Step S3: a step of synchronously registering the database dual-machine cluster system. In this step, after confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the synchronous registration of the database dual-machine cluster system and restore the database dual-machine cluster system environment;

[0023] Step S4: a step of clearing the database dual-machine cluster system fault data information. In this step, after completing the synchronous registration of the database dual-machine cluster system, the database dual-machine cluster system fault data information is cleared, and the residual alarm data information before maintenance is cleared.

[0024] Preferably, in step S1,

[0025] After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided by the memory database dual-machine cluster architecture on the network. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover.

[0026] Preferably, in step S2,

[0027] Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

[0028] Preferably, in step S3,

[0029] The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

[0030] Preferably, in step S4,

[0031] After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.

[0032] The beneficial effect of the present invention is that it is convenient for maintenance personnel to automatically restore the status of the dual-machine cluster system after starting the maintenance node. In the process of restoring the status of the dual-machine cluster system, it will automatically judge the status of the corresponding system service of the node, try to restore it and pop up information to inform the maintenance personnel, without manually looking up system log information for troubleshooting. After detecting that the related services of the dual-machine cluster system of the memory database are normal, it will automatically register the synchronization function and clean up the fault counting information, so that the maintenance node automatically starts the database. The present invention can automatically remind the maintenance personnel of the error information in the process of restoring the dual-machine cluster system of the memory database, and automatically register and restore the dual-machine cluster system function conveniently and safely. This invention is not limited to the functions and product structure, and product structure adjustment or function optimization can be developed based on this invention.

[0033] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect.

[0034] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0036] Figure 1 The invention provides a principle block diagram of a fault automatic recovery system for a memory database.

[0037] Figure 2 The present invention provides a flowchart of a method for automatically recovering from a fault of a memory database.

[0038] Among them, 1-judgment module of database network operation smoothness, 2-judgment module of database dual-machine cluster service startup, 3-database dual-machine cluster system synchronous registration module, 4-clearing database dual-machine cluster system fault data information module. DETAILED DESCRIPTION

[0039] The present invention will be described in detail below with reference to the accompanying drawings and through specific embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following implementation modes.

[0040] Embodiment 1:

[0041] like Figure 1 As shown, this embodiment provides a fault automatic recovery system for a memory database, including:

[0042] The module 1 for judging whether the database operation network is unobstructed is used to detect the database operation network immediately after the maintenance node is started, and judge whether the database operation network is unobstructed. If it is unobstructed, it will go to the module for judging whether the database operation network is unobstructed. If it is unobstructed, it will enter the restart process of restarting the network or restarting the system. After the restart process is completed, it will enter the module for judging whether the database operation network is unobstructed; in the module 1 for judging whether the database operation network is unobstructed,

[0043] After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided by the memory database dual-machine cluster architecture on the network. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover.

[0044] The module 2 for judging the startup of the database dual-machine cluster service is used to judge whether the database dual-machine cluster service is started normally. After confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, it will go to the database dual-machine cluster system synchronization registration module. If the database dual-machine cluster service process fails to start, it will enter the restart process of restarting the network or restarting the system. After the restart process ends, it will enter the module for judging whether the database operation network is unobstructed. In the module 2 for judging the startup of the database dual-machine cluster service,

[0045] Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

[0046] The database dual-machine cluster system synchronization registration module 3 is used for the database dual-machine cluster system synchronization registration. After confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the database dual-machine cluster system synchronization registration and restore the database dual-machine cluster system environment at the same time; in the database dual-machine cluster system synchronization registration module 3,

[0047] The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

[0048] The database dual-machine cluster system fault data information clearing module 4 is used to clear the database dual-machine cluster system fault data information and clean up the residual alarm data information before maintenance after completing the database dual-machine cluster system synchronous registration.

[0049] In the clearing database dual-machine cluster system fault data information module 4,

[0050] After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.

[0051] Embodiment 2:

[0052] like Figure 2 As shown, the present embodiment provides a method for automatically recovering from a fault of a memory database, comprising the following steps:

[0053] Step S1: a step of determining whether the database operation network is unobstructed. After the maintenance node is started, this step immediately detects the database operation network and determines whether the database operation network is unobstructed. If it is unobstructed, step S2 is performed. If it is not unobstructed, a restart process of restarting the network or restarting the system is entered. After the restart process is completed, step S1 is entered;

[0054] In the step S1,

[0055] After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided by the memory database dual-machine cluster architecture on the network. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover.

[0056] Step S2: a step of judging the startup of the database dual-machine cluster service. In this step, after confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, the process proceeds to step S3. If the database dual-machine cluster service process fails to start, the process proceeds to a restart process of restarting the network or restarting the system. After the restart process is completed, the process proceeds to step S1.

[0057] In the step S2,

[0058] Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

[0059] Step S3: a step of synchronously registering the database dual-machine cluster system. In this step, after confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the synchronous registration of the database dual-machine cluster system and restore the database dual-machine cluster system environment;

[0060] In the step S3,

[0061] The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

[0062] Step S4: a step of clearing the database dual-machine cluster system fault data information. In this step, after completing the synchronous registration of the database dual-machine cluster system, the database dual-machine cluster system fault data information is cleared, and the residual alarm data information before maintenance is cleared.

[0063] In the step S4,

[0064] After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.

[0065] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0066] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0067] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0068] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0069] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.

[0070] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.

[0071] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0072] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0073] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.

Claims

1. A fault automatic recovery system for a memory database, characterized in that: include: A module for judging whether the database network is unobstructed is used to detect the database network immediately after the maintenance node is started, and judge whether the database network is unobstructed. If it is unobstructed, it will go to the module for judging whether the database dual-machine cluster service is started. If it is not unobstructed, it will enter the restart process of restarting the network or restarting the system. After the restart process is completed, it will enter the module for judging whether the database network is unobstructed; The module for judging the startup of the database dual-machine cluster service is used to judge whether the database dual-machine cluster service is started normally. After confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, the module goes to the database dual-machine cluster system synchronization registration module. If the database dual-machine cluster service process fails to start, the module goes to the restart process of restarting the network or restarting the system. After the restart process is completed, the module goes to the module for judging whether the database operation network is unobstructed. The database dual-machine cluster system synchronization registration module is used for the database dual-machine cluster system synchronization registration. After confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the database dual-machine cluster system synchronization registration and restore the database dual-machine cluster system environment at the same time; A module for clearing fault data information of a database dual-machine cluster system is used to clear fault data information of the database dual-machine cluster system and clean up residual alarm data information before maintenance after completing synchronous registration of the database dual-machine cluster system. In the module for judging whether the database is running on a smooth network, After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided on the network by the memory database dual-machine cluster architecture. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover. In the module for determining the startup of the database dual-machine cluster service, Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

2. The automatic fault recovery system for a memory database according to claim 1, characterized in that: In the database dual-machine cluster system synchronization registration module, The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

3. The automatic fault recovery system of a memory database according to claim 2, characterized in that: In the clearing database dual-machine cluster system fault data information module, After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.

4. A method for automatically recovering from a fault of a memory database, characterized in that: The following steps are involved: Step S1: a step of determining whether the database operation network is unobstructed. After the maintenance node is started, this step immediately detects the database operation network and determines whether the database operation network is unobstructed. If it is unobstructed, step S2 is performed. If it is not unobstructed, a restart process of restarting the network or restarting the system is entered. After the restart process is completed, step S1 is entered; Step S2: a step of judging the startup of the database dual-machine cluster service. In this step, after confirming that the database operation network is unobstructed, the startup of the database dual-machine cluster service process is judged. If the database dual-machine cluster service process is successfully started, the process proceeds to step S3. If the database dual-machine cluster service process fails to start, the process proceeds to a restart process of restarting the network or restarting the system. After the restart process is completed, the process proceeds to step S1. Step S3: a step of synchronously registering the database dual-machine cluster system. In this step, after confirming that the database operation network is unobstructed and the database dual-machine cluster service process is successfully started, the automatic registration synchronization tool is called to complete the synchronous registration of the database dual-machine cluster system and restore the database dual-machine cluster system environment; Step S4: a step of clearing the fault data information of the database dual-machine cluster system. In this step, after the database dual-machine cluster system synchronous registration is completed, the fault data information of the database dual-machine cluster system is cleared, and the residual alarm data information before maintenance is cleared; In the step S1, After the maintenance node system is started, first judge the business network, synchronization network, management network and IPMI hardware management network divided on the network by the memory database dual-machine cluster architecture. After confirming that the business network, synchronization network, management network and IPMI hardware management network can communicate with the normal nodes in the memory database dual-machine cluster, proceed to the next step. Otherwise, a network abnormality information window will pop up, and the network will be automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel will be prompted to check or restart the system to try to recover. In the step S2, Determine whether the database dual-machine cluster service is normal. If it is normal, proceed to the next step. Otherwise, a message pops up indicating that the database dual-machine cluster service is abnormal, and the service is automatically restarted to try to recover. If it still cannot be recovered, the maintenance personnel is prompted to check or restart the system to try to recover.

5. The method for automatically recovering from a fault of a memory database according to claim 4, characterized in that: In the step S3, The registration synchronization parameters include the local and peer node name information, database instance number, synchronization mode, and operation mode. First, record the corresponding information, then make a judgment based on the recorded information, and automatically fill in the parameters used during registration to complete the registration of the synchronization function.

6. The method for automatically recovering from a fault of a memory database according to claim 5, characterized in that: In the step S4, After the database dual-machine cluster synchronization function information is registered, the standby node database is started, and after the node failure count information is cleared, the database is automatically started.