Unlock instant, AI-driven research and patent intelligence for your innovation.

Data synchronization method for main and standby servers

A data synchronization and standby server technology, applied in the server field

Active Publication Date: 2020-02-28
FUJIAN STAR NET WISDOM TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, most of the data synchronization solutions for the active and standby servers are customized solutions for database software (such as: XtraBackup for MYSQL database), and there is no data synchronization solution that can serve different software for the time being.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method for main and standby servers
  • Data synchronization method for main and standby servers
  • Data synchronization method for main and standby servers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Please refer to figure 2 A schematic diagram of the system architecture of the active and standby servers in the prior art, the active server and the standby server share a virtual IP, and external services are provided through the virtual IP;

[0051] The network elements are described as follows:

[0052] a) Virtual IP: VIP, the service IP of the system, users access the VIP to use the service;

[0053] b) Primary server: Master, the service is activated, has VIP, and provides services;

[0054] c) Standby server: that is, Backup, the business is in a standby state;

[0055] d) Message queue service: Provide communication services between servers (message broadcast and message routing).

[0056] The switching process of the active and standby servers is as follows:

[0057] a) When the system is running, the Master has a VIP and provides services, while the Backup is in a standby state, and the Backup monitors the heartbeat of the Master;

[0058] b) After the M...

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

PUM

No PUM Login to View More

Abstract

The invention provides a data synchronization method for main and standby servers, and relates to the field of servers. The method comprises the steps that at least one piece of first service softwareis registered in a main server, at least one piece of second service software is registered in a standby server, and the first service software and the second service software are in one-to-one correspondence; the main server loads the backup data of the registered first service software; the backup server acquires the backup data and then synchronizes the backup data to the registered second service software; the main server acquires service behavior data generated by the first service software, and then records and broadcasts the service behavior data; and the standby server acquires the service behavior data, updates the backup data according to the service behavior data, and synchronizes the backup data to the registered second service software. The invention provides a data synchronization method for a main server and a standby server, which can realize data synchronization of a plurality of software between the main server and the standby server.

Description

technical field [0001] The invention relates to the field of servers, in particular to a method for synchronizing data between active and standby servers. Background technique [0002] In the process of service operation, high availability is an important indicator. In order to ensure the high availability of the system, the master-slave backup mechanism is a common solution to shorten the time when the main server fails and the service is unavailable. If the active server fails, its standby server will take over the responsibility of the server in a short time and become the new active server. Therefore, the data consistency of the active and standby servers must be guaranteed by the data synchronization mechanism. [0003] At present, most of the data synchronization solutions for the primary and backup servers are customized solutions for database software (such as: XtraBackup for MYSQL databases), and there is currently no data synchronization solution that can serve dif...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27
CPCG06F16/275
Inventor 陈锦辉郑政晶陈玉龙
Owner FUJIAN STAR NET WISDOM TECH CO LTD