Supercharge Your Innovation With Domain-Expert AI Agents!

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

An adaptive switching and computing node technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of shortening RTO and RPO, complex deployment, and low timeliness, so as to reduce the total storage size and improve deployment Efficiency, the effect of avoiding repeated installation

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

AI Technical Summary

Problems solved by technology

Each server in the high-availability technology virtualization cluster is configured with an agent. The agent continuously detects the status of other servers, and the agent sends heartbeat signals to other servers at regular intervals. Suppose a server fails to respond to the heartbeat signal three times in a row. When a server fails and reports the corresponding failure, the agent will restart all the virtual machines on the failed server on other servers in the virtualization cluster to restore the virtual machine business, thereby ensuring business continuity, or adding a new server or replacing the original server. For some faulty servers, each computing service and network proxy service of the cloud platform is directly deployed on the operating system of the newly added server through the RPM package. However, this method has low timeliness due to the cumbersome process of server removal and deployment. , Recovery is slow, it is difficult to meet the requirements of high timeliness in the production environment
[0004] The prior art also proposes an effective solution to the above problems. Chinese patent CN108089911A proposes a control method and device for computing nodes in an OpenStack environment. The method includes: periodically monitoring the status data of the computing nodes in the control node, Determine whether the corresponding computing node is available, and if not, evacuate the virtual machine running on the corresponding computing node to the computing node that is determined to be available in the environment according to the monitored state data. The method determines whether the computing node is Available, and timely evacuation of virtual machines running on unavailable computing nodes can minimize RTO and RPO, restore virtual machine services in the shortest time, and maintain high availability, but the load of computing nodes receiving virtual machines will also increase It will cause the running speed of the service on this node to slow down. At the same time, the virtual machines of the unavailable computing nodes will be distributed to other available computing nodes, which will increase the operating burden of other computing nodes. This method cannot effectively solve the problem of excessive load on computing nodes. Affects the quality of service of tenant virtual machines

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] A method for adaptively switching OpenStack control nodes to computing nodes. OpenStack is a topology composed of control node groups and computing node groups, such as figure 1 , the method includes:

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

[0045] S2: Trigger monitoring periodically. If a computing node group is found to have a node failure or the total load is too high, trigger the adaptive upgrade process, otherwise end the process;

[0046] Wherein, the self-adaptive upgrade process specifically includes: switching the control node to be switched to a computing node through an automated management tool in combination with the container technology and joining the computing node group described in step S2.

[0047] The election algorithm selects a node with the smallest referenc...

Embodiment 2

[0064] In this implementation, the total load of the computing node group is obtained by calculating the prediction algorithm. Others are the same as in Embodiment 1. The specific prediction algorithm is:

[0065] Based on the historical monitoring data of computing nodes, the prediction is made through a neural network linear regression model with multiple inputs and single outputs. The neural network linear regression model is:

[0066] Z=WX+B

[0067] Where Z is the predicted value of computing node load, X={x 1 ,x 2 ,...,x N} is the input sample, which includes time, the number of virtual machines and 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 computing node group according to the load prediction value Z of each computing node in the obtained group, if If...

Embodiment 3

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

[0070] The fault monitoring module is used to determine whether a node failure occurs in the computing node group by sending a heartbeat packet detection to each computing node in the computing node group;

[0071] The load detection module is used to collect the load information elements of each computing node in the computing node group, calculate the total load of the computing node group according to the collected load information, or predict the total load of the computing node group according to the historical load information, and calculate the total load of the computing node group according to the set load threshold Determine whether the computing node group is overloaded;

[0072] The node processing module is used to divide the control node group int...

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 control node into a computing 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 control node groups into switchable control node groups and non-switchable control node groups, and electing from the switchable control node groups through an election algorithm to generate to-be-switched control nodes; S2, periodically triggering monitoring according to a period, triggering a self-adaptive upgrading process if a node fault or an overhigh total load of a computing node group is found, and otherwise, ending the process, wherein the self-adaptive upgrading process specificallycomprises the following steps: switching a to-be-switched control node into a computing node through an automatic management tool in combination with a container technology, and adding the computingnode into the computing 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 distributed computing resources, storage resources and network resources, and provide a unified management panel. OpenStack is not only a community, but also a project and an open source software , which supports almost all types of cloud environments, provides a solution or toolset for deploying clouds. 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 production practice, OpenStack has developed very maturely. [0003] In small and medium-sized cloud platforms, the general depl...

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): H04L12/24H04L12/26
CPCH04L41/0668H04L41/30H04L41/147H04L43/12H04L43/0817H04L41/145
Inventor 刘梦可刘超
Owner 上海仪电(集团)有限公司中央研究院
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More