Storage fault fast switching processing method

A technology of fast switching and processing method, applied in the field of information storage, can solve the problems of serious time-consuming, low failover efficiency, complicated operation, etc., to achieve the effect of fast switching processing, guaranteeing continuity and high availability

Inactive Publication Date: 2019-01-25
重庆富民银行股份有限公司
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to achieve failover on the basis of avoiding the simultaneous operation of the master and backup, you can use the database direct connection method to write data in different places, or use the state co...

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
  • Storage fault fast switching processing method
  • Storage fault fast switching processing method
  • Storage fault fast switching processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Such as figure 1 As shown, the storage failure fast switching processing method of the present invention includes the following steps:

[0042] Virtual disk creation steps: install and configure DRBD services on each storage service node, and create virtual disks;

[0043] Node role definition steps: install and configure Keepalived service for each storage service node, mark the storage service node as master node or slave node; specifically, determine master node and slave node through the election mechanism of Keepalived service, and set Nodes are marked;

[0044] Data synchronization step: backing up the data stored in the virtual disk serving as the master node to the virtual disk of the slave node;

[0045] Virtual IP allocation step: allocate a virtual IP address to the master node;

[0046] Heartbeat detection step: perform heartbeat detection on each storage service node to determine whether the master node is alive;

[0047] Node switching step: when it is...

Embodiment 2

[0073] The difference between this embodiment and Embodiment 1 is that it also includes the following steps:

[0074] Data sampling step: sampling the backup data stored by each slave node;

[0075] Data verification step: Check the backup data sampled by each slave node with the data stored in the master node one by one, and mark the verification results for each slave node; The percentage is determined by the degree of similarity of the data. Assuming that the backup data and the data stored in the master node are completely coincident, the verification result is 100%. Assuming that only half of the backup data and the data stored in the master node can overlap, the verification result is 50%.

[0076] Node screening step: filter out the slave nodes that meet the criteria according to the check result; for example, the check result is more than 90% of the criteria;

[0077] Performance judgment step: judge the performance of the slave nodes that meet the standards, and prio...

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 storage fault fast switching processing method, which relates to the technical field of information storage. The method comprises the following steps: defining node roles: installing and configuring Keepalived service to each storage service node; marking the storage service node as a master node or a slave node; and setting up a storage service node as a master node or aslave node; virtual IP allocation step: allocating a virtual IP address to a primary node; Heartbeat detection step: detecting heartbeat of each storage service node, and judging whet that master node is alive or not; Node switching step: when the master node is not found to be alive, automatically shifting the virtual IP address to the slave node, and switching the identity of the slave node tothe master node. The invention solves the problem of low data switching efficiency between the existing master device and the slave device.

Description

technical field [0001] The invention relates to the technical field of information storage, in particular to a fast switching processing method for storage faults. Background technique [0002] In Internet data centers that provide business support, due to data security and reliability requirements, separate storage methods are usually used when storing data. For example, a data center LDC (LogicalDataCenter) deployed in a logical manner can Data is deployed in different computer rooms. For example, some data is deployed in a computer room in Hangzhou as the main database, and another computer room in Shenzhen has a backup of the data as a backup database, so that when the Hangzhou computer room fails, the Shenzhen computer room can provide the same business services. This method is Failover , also known as failover, is a backup operation mechanism. [0003] In related technologies, when performing failover, it is also necessary to ensure that the main database and the sta...

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): G06F11/14G06F16/27H04L12/26
CPCG06F11/1464G06F11/1469H04L43/10
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