Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Master and spare server switching method and system and master server and spare server

A standby server and active server technology, applied in the field of communications, can solve the problems of reduced system reliability, system paralysis, and high cost, and achieve the effects of enhancing reliability, avoiding unavailability, and reducing switching costs.

Inactive Publication Date: 2007-10-24
HUAWEI TECH CO LTD
View PDF0 Cites 88 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned scheme relies heavily on the sharing function of the disk array, and has high requirements on the reliability of the disk array. Once the disk array is damaged as a hardware entity, the system will be paralyzed and the reliability of the system will be reduced; and, due to the disk array The use of the server leads to the high cost of the active / standby switching function of the server
[0005] In addition, because the disk array can only be connected to one server, the system needs to use third-party hardware to arbitrate the active and standby status between the two machines. By judging which server is connected to the disk array, the server will be identified as the active server. To avoid the situation of two masters or two backups, however, if the arbitration device fails, it may cause the system to be paralyzed

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
  • Master and spare server switching method and system and master server and spare server
  • Master and spare server switching method and system and master server and spare server
  • Master and spare server switching method and system and master server and spare server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Referring to Fig. 1, Embodiment 1 of the present invention provides a kind of switchover method of master server, and this method comprises the following steps:

[0038] Step 101: the active server synchronizes the data in its system to the standby server;

[0039] Wherein, the mode of data synchronization is divided into two situations, one is batch synchronization, and the other is incremental synchronization; the batch synchronization refers to the way that the standby server synchronizes all the data in the main server system; the said Incremental synchronization means that when the active server is working normally, the active server will synchronize the changed data to the standby server due to its own data changes;

[0040] The embodiment of the present invention adopts the method of incremental synchronization. After the client connects to the server, various operations cause the data on the hard disk of the active server to change, and the active server will sy...

Embodiment 3

[0086] Referring to Fig. 3, the embodiment of the present invention also provides a main server, the main server includes:

[0087] A data synchronization unit 301, configured to send data to be synchronized on the active server to the standby server;

[0088] Wherein, the mode of data synchronization is divided into two situations, one is batch synchronization, and the other is incremental synchronization; the batch synchronization refers to the way that the standby server synchronizes all the data in the main server system; the said Incremental synchronization means that when the active server is working normally, the active server will synchronize the changed data to the standby server due to its own data changes;

[0089] The embodiment of the present invention adopts the method of incremental synchronization. After the client connects to the primary server, various operations cause the data on the hard disk of the server to change, and the primary server will synchronize ...

Embodiment 4

[0097] Referring to Fig. 4, the embodiment of the present invention also provides a backup server, the backup server includes:

[0098] A data synchronization unit 401, configured to write the received data that needs to be synchronized from the active server to the standby server;

[0099] A switching unit 402, configured to complete the switching of the standby server in the switching of the active and standby servers when the switching condition is met;

[0100] Wherein, the switching unit includes:

[0101] A switching request receiving unit 4021, configured to receive a switching request from the active server;

[0102] The feedback unit 4022 is configured to receive a switchover request from the active server, and feed back a response agreeing to switch to the active server when the server is not faulty;

[0103] The processing unit 4023 is configured to bind the released IP address and start the external service program when the active server successfully releases the...

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 relates to the server switch method, wherein when the primary host fails, with the server negotiation, deciding whether the standby server takes over the service of the primary server, and switching the servers for primary-standby state. This invention can avoid using disc array, reduces switch cost, and improves system reliability.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and a system for switching between active and standby servers, an active server and a standby server. Background technique [0002] As people rely more and more on information technology, the loss caused by service interruption caused by hardware damage during the operation of telecommunication equipment is also increasing. Therefore, the reliability of telecommunication equipment has become the focus of attention of operators. For the server system in the network equipment, it has become a trend to carry out active-standby redundancy design. [0003] Currently, cluster software and disk arrays are generally used to implement server system redundancy. The server system stores the application program and key data on the disk array. Both servers can access the application program and key data in the disk array. One of the servers runs the application program and provides externa...

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
IPC IPC(8): H04L1/22H04L12/24
Inventor 李浩
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products