Method and system for real-time synchronization of configuration files suitable for high-availability systems
A configuration file, real-time synchronization technology, applied in transmission systems, electrical components, special data processing applications, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] The present invention needs to monitor the file modification status and trigger a synchronization event. Aware timeouts are required during synchronization. A failure rollback may be required depending on the synchronization result. In order to recover after a power failure, a synchronization log needs to be recorded. Concrete steps are described in conjunction with accompanying drawings, image 3 is the processing flow of the synchronous initiator, where the "monitor configuration file status" is figure 2 The child process shown; Figure 4 For the processing flow of the receiving end.
[0050] 1. The active-active node of the high-availability system starts the receiving process. The two nodes of the active-active system are symmetrical to each other, and both may become the initiator and receiver of synchronization. Therefore, both nodes need to start the receiving process and respond to the synchronization request sent by the peer at any time.
[0051]2. The a...
Embodiment 2
[0080] The invention runs a monitoring process on each node of the high-availability system. The listening process obtains information about files opened in write mode. When a file is modified, a synchronization operation can be initiated in real time.
[0081] In addition to running the monitoring process, the present invention also provides the program for modifying the configuration file in the form of a code library, and the code for accessing the file needs to be modified as follows:
[0082] 1. Open the file and call the registration interface of this code library after obtaining the file handle.
[0083] 2. The registration interface binds the file handle and the synchronization event, and the synchronization event records the peer node information. And copy a copy of the file in memory, called the original copy. The original copy is used in a possible rollback later.
[0084] 3. When the file handle is closed and the file content is written to the disk, the synchro...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com