Method and device for adaptively switching OpenStack computing node into control node

A technology for adaptive switching and node control, applied in program control devices, computing, program control design, etc., can solve the problems of slowing down the running speed of the cloud platform, difficult to meet the requirements of high timeliness, and low timeliness. Dependency conflict, achieve self-healing or expansion, and avoid performance degradation

Active Publication Date: 2019-12-17
上海仪电(集团)有限公司中央研究院
View PDF11 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] This patent proposes a fast node scheduling method for node failures in the storage system. Although the implementation method is simple, there is a problem of low resource utilization in the pre-configured cluster. In addition, this method is optimized for the storage system and cannot be solved. The problem of computi...

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
  • Method and device for adaptively switching OpenStack computing node into control node
  • Method and device for adaptively switching OpenStack computing node into control node
  • Method and device for adaptively switching OpenStack computing node into control node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] A method for adaptive switching of OpenStack computing nodes to control nodes, wherein the OpenStack includes a control node group and a computing node group, such as figure 1 , the method includes:

[0054] S1: Divide the computing node group into a switchable computing node group and a non-switchable computing node group, and elect a computing node to be switched from the switchable computing node group through an election algorithm;

[0055] S2: Trigger monitoring on a periodic basis. If a control node group is found to have a node failure or the total load is too high, live migrate the virtual machine on the computing node to be switched to other computing nodes in the group;

[0056] S3: Combine the container technology with the automatic management tool to switch the computing node to be switched to the control node and join the control node group described in step S2.

[0057] Before the hot migration of the virtual machine described in step S2, the computing re...

Embodiment 2

[0078] In this implementation, the calculation method of the total load of the control node group is calculated using a forecasting algorithm, and the others are the same as in Embodiment 1, and the forecasting algorithm is specifically:

[0079] Based on the historical monitoring data of the control node, a neural network linear regression model with multiple inputs and single outputs is used for prediction, and the neural network linear regression model is:

[0080] Z=WX+B

[0081] Where Z is the load forecast value of the control node, X={x 1 ,x 2 ,...,x N} is the input sample, which is the time or the number of tenants, W={w 1 ,w 2 ,...,w N} is the weight matrix, B={b 1} is the offset matrix, use the mean square error function as the cost function, calculate W and B through forward calculation and backward conduction, and obtain the total load of the control node group according to the obtained load prediction value Z, if the total load exceeds the preset threshold,...

Embodiment 3

[0083] An apparatus for adaptively switching an OpenStack computing node to a control node corresponding to Embodiment 1, the OpenStack includes a control node group and a computing node group, and the apparatus includes:

[0084] The monitoring agent module is used to send heartbeat packets to each control node in the control node group to determine whether a node failure occurs in the control node group; this module is also used to collect the load information of each control node in the control node group, and according to the collected load information to calculate the total load of the control node group, or predict the total load of the control node group based on historical load information, and judge whether the control node group is overloaded according to the set load threshold;

[0085] The node switching module is used to divide the computing node group into a switchable computing node group and a non-switchable computing node group. The computing node to be switche...

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 relates to a method and a device for adaptively switching an OpenStack computing node into a control node. The OpenStack comprises a plurality of groups of control node groups and computing node groups, and the method comprises the following steps: S1, dividing the plurality of groups of computing node groups into switchable computing node groups and non-switchable computing node groups, and electing from the switchable computing node groups through an election algorithm to generate computing nodes to-be switched; s2, periodically triggering monitoring at regular time, and if a node fault or an overhigh total load of a control node group is found, thermally migrating the virtual machine on the computing node to-be switched to other computing nodes of the computing node groupwhere the virtual machine is located; and S3, switching the computing nodes to-be switched into the control nodes through an automatic management tool in combination with a container technology, and adding the control nodes into the control node group in the step S2. Compared with the prior art, the method has the advantages of high efficiency and the like.

Description

technical field [0001] The invention relates to the technical field of OpenStack cloud platform, in particular to a method and a device for adaptively switching an OpenStack computing node to a control node. Background technique [0002] OpenStack is an open source cloud computing management platform, which can realize the management of a large number of computing resources, storage and network resources, and provide a unified control panel for management. OpenStack is not only a community, but also a project and an open source software. It supports Almost any type of cloud environment provides a solution or toolset for deploying the cloud. Its purpose is to help organizations run clouds that serve as virtual computing or storage services, and provide scalable and flexible cloud computing for public and private clouds. After years of development, OpenStack has been verified in production. [0003] In small and medium-sized cloud platforms, the general deployment architectur...

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): G06F9/50G06F9/455
CPCG06F9/5088G06F9/5066G06F9/505G06F9/45558G06F2009/4557Y02D10/00
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