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

Second-level high availability realization method of virtual machine based on pacemaker

An implementation method and virtual machine technology, applied in the field of second-level high-availability implementation, can solve problems such as poor flexibility, data loss, and the number of nodes can only be odd, and achieve the effect of short switching time and meeting production needs

Inactive Publication Date: 2017-04-26
WUHAN FIBERHOME INFORMATION INTEGRATION TECH CO LTD
View PDF1 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) When the node of openstack fails or the process is abnormal, the switching time of ceilometer is long, which is difficult to meet the needs of the production environment
[0004] (2) When implementing the HA function of a virtual machine through ceilometer, in order to avoid the problem of "split brain" (data loss that may be caused by two services accessing the same object at the same time), the number of nodes of the virtual machine can only be an odd number, and the flexibility poor

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
  • Second-level high availability realization method of virtual machine based on pacemaker
  • Second-level high availability realization method of virtual machine based on pacemaker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0019] First, explain pacemaker. Pacemaker can automatically detect and recover resource failures in the cluster to improve resource availability. Pacemaker can adapt to clusters of any scale and different modes, such as Active / Active, Active / Passive and other modes, and provides the dependency function between cluster resources, allowing administrators to accurately express the dependencies between cluster resources (including sequential dependencies and position dependent). In addition, pacemaker can use the service startup script provided by most of the system itself (usually in the directory / etc / init.d / ) as a resource agent (Resource Agent) to manage resources, and users can also use the interface provided by Pacemaker to write resource agents themselves .

[0020] see figure 1 As shown, the second-level high-availability implementatio...

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 second-level high availability realization method of a virtual machine based on pacemaker, and relates to the monitoring field based on the virtual machines. The method comprises the following steps: after creating the virtual machine, the openstack deploys the pacemaker to a Controller node and a Computer node in the OpenStack, and configures corresponding a cluster resource, a node resource, a service resource and a constraint resource for each node; when monitoring the node fault, the node resource of the pacemaker selects an appointed matching node to reconstruct the business of the fault node; the service resource of the Pacemaker sets watchdog in an operation system of the virtual machine, and reconstructs the virtual machine when the watchdog cannot be connected. By use of the method disclosed by the invention, the speed of reconstructing the virtual machine can achieve second-level, the method not only can satisfy the production demand, but also is relatively flexible.

Description

technical field [0001] The invention relates to the field of virtual machine monitoring, in particular to a second-level high availability (HA) implementation method of a pacemaker-based virtual machine. Background technique [0002] The existing openstack (cloud computing management platform) monitors the status of the virtual machine through ceilometer (the monitoring component of OpenStack), so as to realize the HA function. When the existing openstack virtual machine implements the HA function, there are the following disadvantages: [0003] (1) When the node of openstack fails or the process is abnormal, the switching time of ceilometer is long, which is difficult to meet the requirements of the production environment. [0004] (2) When implementing the HA function of a virtual machine through ceilometer, in order to avoid the problem of "split brain" (data loss that may be caused by two services accessing the same object at the same time), the number of nodes of the v...

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): G06F9/455
CPCG06F9/45558G06F2009/45562G06F2009/4557
Inventor 田松卢启涛
Owner WUHAN FIBERHOME INFORMATION INTEGRATION 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