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

Server high availability implementation method and device, equipment and storage medium

An implementation method and server technology, applied in the computer field, can solve the problems of contention between the standby server and the main server, short-term failure, service paralysis, etc., and achieve the effect of avoiding resource contention

Active Publication Date: 2020-04-24
BEIJING TEAMSUN TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the standby server takes over the service, if the primary server does not release the storage resources, or just fails briefly when the standby server detects the heartbeat information and recovers later, this will cause contention between the standby server and the primary server. Machine contention, all think that the other party has crashed, causing the entire service 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
  • Server high availability implementation method and device, equipment and storage medium
  • Server high availability implementation method and device, equipment and storage medium
  • Server high availability implementation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0023] figure 1 It is a flow chart of a method for realizing high availability of servers provided by the embodiment of the present invention. This embodiment is applicable to the situation where the primary server and the standby server compete for resources, and the method can be executed by a device for realizing high availability of servers, wherein , the method can be implemented by means of hardware and / or software, and can generally be integrated in a device. Wherein, the device may be a backup server.

...

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 discloses a server high availability implementation method and device, equipment and a storage medium. The method comprises the steps of querying and updating a target resource table ofa main server when it is detected that the main server is abnormal; adjusting the current working state of the standby server into an occupied state; and under the condition that a resource request instruction sent by the main server is received, feeding back the current working state of the standby server to the main server, so that the main server adjusts the current working state of the standbyserver into an available state. According to the embodiment of the invention, the current working states of the main server and the standby server are adjusted, after the main server is abnormal andrecovers, whether the service can be taken over or not is determined according to the current working state of the standby server, so that the condition of resource contention between the main serverand the standby server is avoided, and the high availability of the server is simply realized at low cost.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a method, device, device and storage medium for realizing high availability of a server. Background technique [0002] Existing methods for realizing high availability of servers mainly adopt dual-server high-availability (HighAvailability, HA) architecture, that is, two servers share storage (for example, disk array), and the two servers are divided into main server (Active) and standby server. The server (Standby), the main server, and the standby server use the local public network to provide services, and use the local private network to transmit heartbeat information (Heartbeat) to each other. Generally speaking, the standby server judges whether the main server is normal through the heartbeat information. If the main server is found to be abnormal, it will take over the service and provide external services. [0003] In the prior art, if the main server is a...

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): H04L12/24H04L12/26H04L1/22
CPCH04L41/0654H04L41/0663H04L41/0816H04L43/10H04L43/0817H04L1/22
Inventor 梁钢
Owner BEIJING TEAMSUN TECH
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