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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com