Troubleshooting method, device, server and storage medium

A fault handling method and server technology, applied in the computer field, can solve problems such as difficult self-healing of business traffic, achieve rapid self-healing, improve high availability, and save labor costs

Active Publication Date: 2021-07-30
北京顺达同行科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, open source tools that provide high availability and read-write separation generally exist independently. When a database failure occurs, manual intervention is required, and business traffic is difficult to heal itself.

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
  • Troubleshooting method, device, server and storage medium
  • Troubleshooting method, device, server and storage medium
  • Troubleshooting method, device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0062] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship indicated by "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation shown in the drawings Or positional relationship is only for the convenience of describing the present application and simplifying...

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 present application proposes a fault handling method, device, server, and storage medium. The method is applied to the server, including: detecting whether a master database fails; if so, determining a new master database from at least one slave database, and performing a failover of the master database; obtain the routing configuration file; modify the routing information in the routing configuration file by calling the routing configuration tool through the first middleware, and obtain the updated routing configuration file; if the second middleware detects the routing configuration The routing information in the file is changed, the updated routing configuration file is reloaded, and the data connection between the second middleware and the new primary database is re-established. This application uses a self-developed routing configuration tool to automatically modify the routing information of the read-write separation middleware, which not only improves the high availability of the database, but also reduces manual intervention, saves labor costs, and realizes rapid self-healing of business traffic.

Description

technical field [0001] The present application mainly relates to the computer field, and specifically relates to a fault handling method, device, server and storage medium. Background technique [0002] As an infrastructure for storing data, databases are widely used in fields such as computers and network communications. In the face of problems such as large data volume, complex business and high response delay requirements, the use of database clusters can separate reads and writes and improve the system performance of the database. A database cluster usually includes a master database and one or more slave databases, wherein the master database is responsible for writing data, the slave database is responsible for reading data, and the slave database backs up data from the master database. When the primary database fails, the secondary database can be promoted to the primary database, thereby reducing the downtime of the business and ensuring high availability of the dat...

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 Patents(China)
IPC IPC(8): G06F16/21G06F16/27G06F11/14G06F9/445
CPCG06F9/4451G06F11/1435G06F11/1482G06F16/21G06F16/27
Inventor 任冠亚
Owner 北京顺达同行科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products