Cloud platform, virtual machine scheduling method and device based on cloud platform

A scheduling method and virtual machine technology, applied in the Internet field, can solve the problem of low cloud platform and achieve the effect of improving efficiency

Active Publication Date: 2021-06-04
AEROSPACE INFORMATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In view of this, one of the technical problems solved by the embodiments of the present invention is to provide a virtual machine scheduling solution based on the cloud platform to overcome the performance of the new virtual machine due to inappropriate scheduling in the prior art and thus cause the cloud platform to The defect of low performance can achieve the effect of optimizing the scheduling algorithm and improving the performance of the cloud platform

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
  • Cloud platform, virtual machine scheduling method and device based on cloud platform
  • Cloud platform, virtual machine scheduling method and device based on cloud platform
  • Cloud platform, virtual machine scheduling method and device based on cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] The embodiment of the present invention provides a method for scheduling a virtual machine based on a cloud platform.

[0040] figure 1 The flowchart of the virtual machine scheduling method based on the cloud platform provided by the embodiment of the present invention, such as figure 1 As shown, the method mainly includes the following steps S102-step S108.

[0041] In step S102, it is determined that a host node needs to be allocated to the virtual machine to be scheduled.

[0042] In a specific application, the cloud platform may determine that a host node needs to be allocated for the new virtual machine when receiving the application for a new virtual machine sent by the user at the client.

[0043] Or, in order to balance the load of the host nodes in the cloud platform, the cloud platform can also monitor the load of all the host nodes in the cloud platform. When the load exceeds the threshold of the device, in order to avoid the excessive load of the host no...

Embodiment 2

[0066] This embodiment takes the Openstack cloud platform as an example to describe the cloud platform-based virtual machine scheduling method provided by the embodiment of the present invention.

[0067] In the embodiment of the present invention, the available resource measurement model of the host machine node needs to count the CPU usage rate of each host machine, increase the average idle rate of the CPU within a period of time to calculate the weight ratio of the host machine, and achieve the average allocation of CPU resources and memory resources Effect. The CPU usage and memory usage of each host node are recorded in the monitoring module of the Openstack cloud platform. Therefore, in this embodiment, the average CPU usage and average memory usage of each node in the last hour can be obtained rate, with C i and M i to represent the CPU usage and memory usage of one host node i in the last hour, W i As the weight value of the available resource metric of the host no...

Embodiment 3

[0096] An embodiment of the present invention provides a cloud platform-based virtual machine scheduling device, which can be used to implement the cloud platform-based virtual machine scheduling methods described in Embodiment 1 and Implementation 2.

[0097] Figure 4 A schematic structural diagram of virtual machine scheduling based on a cloud platform provided in this embodiment, as shown in Figure 4 As shown, the device mainly includes: a determination module 400 and a scheduling module 402 . The following mainly describes the functions of each module of a cloud platform-based virtual machine scheduling device provided by this embodiment. For other unfinished matters, refer to the corresponding descriptions in the first and second embodiments above.

[0098] In this embodiment, the determining module 400 is configured to determine whether a host node needs to be assigned to the virtual machine to be scheduled, and if it is determined to be yes, trigger the scheduling modu...

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

Embodiments of the present invention provide a cloud platform, a virtual machine scheduling method and device based on the cloud platform, and belong to the technical field of the Internet. Among them, the virtual machine scheduling method based on the cloud platform includes: step 1, determining that a host machine node needs to be allocated for the virtual machine to be scheduled; step 2, obtaining the average CPU of multiple host machine nodes on the cloud platform in the latest preset time period Utilization rate and average memory usage rate; Step 3, at least according to the average CPU usage rate and average memory usage rate of each host machine node in the most recent first preset time period, count the current available resource metrics of each host machine node weight value; step 4, assigning the host node with the largest weight value measured by the currently available resources to the virtual machine to be scheduled.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular to a cloud platform, and a virtual machine scheduling method and device based on the cloud platform. Background technique [0002] OpenStack is an open source project designed to provide software support services for the construction and management of public and private clouds. Its community has more than 150 companies and more than 1,000 developers. These institutions and individuals use OpenStack as a general front-end program for IaaS. OpenStack has strong flexibility and has gradually become a standard service for quickly building cloud platforms. [0003] The primary task of the OpenStack project is to simplify the cloud deployment process, centralize the management of system resources and provide good scalability. OpenStack first virtualizes the data center, uses the hypervisor to provide an abstract correspondence between applications and ...

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): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5016G06F9/5027G06F2009/4557G06F2009/45583
Inventor 林文辉舒南飞
Owner AEROSPACE INFORMATION
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