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

High-availability solution for database

A solution, database technology, applied in the direction of response error generation, hardware monitoring, etc., can solve problems such as external service interruption, single point of failure, etc., and achieve the effect of high availability

Inactive Publication Date: 2019-05-21
NANJING FUJITSU NANDA SOFTWARE TECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example: distributed database services are distributed on different nodes, so when a node stops serving, if the cluster virtual IP (VIP) at this time is on the current node, it will cause a single point of failure, external services to interrupt

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
  • High-availability solution for database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to make the technical means, creative features, achievement goals and effects realized by the present invention easy to understand, the present invention will be further described below with reference to the specific embodiments.

[0014] The present invention provides a high-availability solution for a database, which is a high-availability solution for a distributed database. This solution runs on each database node and monitors the database service status of each node in real time. When the database service of this node is interrupted or the node is powered off, the cluster VIP will be automatically migrated to the available node to achieve high availability switching. .

[0015] It should be noted that, after adopting this solution, even if any server in the entire database cluster goes down or the service is interrupted, it will not affect the external service provided by the entire cluster. The cluster VIP switch can be completed in a short time to achie...

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 high-availability solution for a database. The high-availability solution method of the database comprises the following steps: step 1, selecting a certain node from nodes ofthe database as a leader node, taking other nodes as foollow nodes, operating database state monitoring on the leader node, and setting a cluster VIP; and step 2, judging whether the database serviceon the leader node is normal or not, if the service is stopped, enabling the Leader _ unc on the leader node to exit from the running state, and closing the cluster VIP of the leader node, so that theselected node does not act as the leader node any more. The high-availability solution method of the database has the beneficial effects that the high-availability solution method of the database canensure that even if any server in the whole database cluster is crashed or the service is interrupted, the external service provided by the whole cluster cannot be influenced; And the cluster VIP switching can be completed within a short time, so that the high availability of the service is realized.

Description

technical field [0001] The invention relates to a high-availability solution method for a database, and belongs to the technical field of databases. Background technique [0002] With the development of Internet technology, in order to improve the throughput and performance of services, more and more tend to use distributed databases. But it also brings corresponding problems. For example, the services of the distributed database are distributed on different nodes, so when a node stops serving, if the cluster virtual IP (VIP) at this time is on the current node, it will cause a single point of failure and provide external services. interrupt. SUMMARY OF THE INVENTION [0003] The purpose of the present invention is to provide a high-availability solution for a database. [0004] The technical scheme adopted in the present invention is: a high-availability solution method of a database comprises the following steps: [0005] Step 1: In the nodes of the database, select ...

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): G06F11/07G06F11/30
Inventor 郭磊王春平李丹
Owner NANJING FUJITSU NANDA SOFTWARE 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