Method and device for building virtual machine through cloud platform

A technology of cloud platform and virtual machine, applied in the field of cloud platform, can solve problems affecting user business, virtual machine abnormality, physical host abnormality, etc., and achieve the effect of realizing resources

Inactive Publication Date: 2018-07-06
上海有云信息技术有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

All of these aspects may be caused by human misoperations, resulting in abnormal physical hosts, causing abnormalities in the virtual machines on the physical hosts, and ultimately affecting the user's business

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 building virtual machine through cloud platform
  • Method and device for building virtual machine through cloud platform
  • Method and device for building virtual machine through cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 1 It is a flow chart of a method for building a virtual machine on a cloud platform in Embodiment 1 of the present invention. This embodiment is applicable to the situation where a cloud platform builds a virtual machine, and the method can be constructed by the cloud platform in the embodiment of the present invention. device, which can be implemented in software and / or hardware, such as figure 1 As shown, the method specifically includes the following steps:

[0058] S110. Receive a virtual machine construction request, where the virtual machine construction request includes scheduling parameters and weight values ​​of the virtual machine to be constructed in the cloud platform.

[0059] Wherein, the virtual machine construction request includes a virtual machine construction instruction, a scheduling parameter of the virtual machine to be constructed, and a weight value corresponding to the scheduling parameter.

[0060] Specifically, the user can set the sc...

Embodiment 2

[0094] Figure 2AIt is a flowchart of a method for building a virtual machine on a cloud platform in Embodiment 2 of the present invention. This embodiment is optimized based on the above-mentioned Embodiment 1. In this embodiment, according to the scheduling parameters of the virtual machine to be constructed Before searching the physical host with all scheduling parameters in the cloud platform, it also includes: obtaining the first scheduling parameter of the physical host in the cloud platform through the cloud platform interface; obtaining the second scheduling parameter reported by the physical host in the cloud platform; determining the The scheduling parameter with the latest generation time among the first scheduling parameter and the second scheduling parameter is the scheduling parameter of the physical host in the cloud platform.

[0095] Such as Figure 2A As shown, the method of this embodiment specifically includes the following steps:

[0096] S210. Receive a...

Embodiment 3

[0115] image 3 It is a flowchart of a method for building a virtual machine on a cloud platform in Embodiment 2 of the present invention. When a user creates a virtual machine, he needs to select the scheduling attribute provided in the dynamic weight scheduling system, and set the weight of the attribute to create a virtual machine . After receiving the request, the scheduling module of the dynamic weight scheduling system selects a physical host that satisfies the virtual machine resources based on the underlying virtual machine scheduling policy (such as memory, CPU, affinity, etc.), and then combines the physical host scheduling attributes and weights, according to The weight algorithm calculates the weight of each physical host, and finally selects the physical host with the highest weight as the target physical host, and creates a virtual machine based on the target physical host. The weight and formula of each physical host are:

[0116] Weights and formula: f(x)=h(x...

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 method and device for building a virtual machine through a cloud platform. The method comprises the steps that a virtual machine building request is received, wherein the virtual machine building request comprises scheduling parameters and weighted values of a to-be-built virtual machine in the cloud platform; physical hosts with all the scheduling parameters in the cloudplatform are sought according to the scheduling parameters of the to-be-built virtual machine; the sought weighted values of the scheduling parameters in the physical hosts are obtained; the weightedvalues of the scheduling parameters of the to-be-built virtual machine and the sum of products of the weighted values of all the corresponding scheduling parameters in the physical hosts are calculated, and the physical host with the highest sum of the products of the weighted values serves as a building main body; the virtual machine is built on the building main body according to the virtual machine building request. According to the technical scheme, the physical host building the virtual machine can be selected according to the actual situation of the physical hosts so as to achieve rational use of resources.

Description

technical field [0001] Embodiments of the present invention relate to cloud platform technology, and in particular to a method and device for building a virtual machine on a cloud platform. Background technique [0002] In today's society where information technology is highly developed, with the continuous growth of various types of offline and online data, cloud computing has also moved from concept to implementation, and related applications have appeared in various industries, and proposed new solutions for underlying hardware devices. All kinds of requests. However, in the current underlying virtual machine scheduling algorithm of cloud computing, there are problems such as single scheduling strategy, fixed weight, and inability to modify online, which cannot meet the various needs of virtual machines from different industries and platforms. Specifically reflected in the following aspects: [0003] 1) When the current underlying physical host joins the cloud platform,...

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/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/45562
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