Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, system and physical server for deploying virtual machines

A technology for physical servers and virtual machines, applied in the field of deploying virtual machines and physical servers, can solve problems such as waste of resources, failure of the reconstruction process of virtual machine 1, and failure to meet the binding rules of virtual machine 1, so as to improve deployment and resource utilization. rate effect

Active Publication Date: 2020-02-14
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in practical applications, using the above deployment method, there may be situations where no eligible physical servers are found, but physical servers with idle resources exist, resulting in a waste of resources
For example, if image 3 As shown, the cloud computing system provides 3 physical servers, and each physical server can deploy up to 4 virtual machines, and virtual machine 1 has been deployed in physical server 1, and there are three idle resources left; Virtual machine 2 has been deployed, and there are still three idle resources left, while virtual machine 3, virtual machine 4, virtual machine 5, and virtual machine 6 have been deployed in physical server 3, and there are no idle resources; at this time, if The failure of physical server 1 causes virtual machine 1 to also fail. In order to ensure the normal operation of virtual machine 1, the scheduling system needs to redeploy virtual machine 1, and the default binding rule of virtual machine 1 is that it cannot be deployed in the same On a physical server, then at this time, the scheduling system, using the above deployment method, will query the physical server with idle resources as physical server 2, but because virtual machine 2 has been deployed in physical server 2, it does not meet the requirements of the virtual machine. 1, therefore, virtual machine 1 cannot be deployed on physical server 2 at this time, and the reconstruction process of virtual machine 1 fails

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
  • A method, system and physical server for deploying virtual machines
  • A method, system and physical server for deploying virtual machines
  • A method, system and physical server for deploying virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Based on the above application scenarios, the present invention provides a method for deploying a virtual machine in a physical server. In this method, firstly, a first binding rule is set for the virtual machine to be deployed, and the first binding rule can be specifically used as The scheduling system selects the first basis for deploying the physical server of the virtual machine to be deployed, and the number of the first restrictive rules can be specifically one or more; here, for the convenience of distinguishing different restrictive rules, the restrictive rules The rules are divided into the first binding rules and the following second binding rules, and the first binding rules can be specific binding rules that the physical server does not have to meet, and about the specific content of the first binding rules, the user can Set it up yourself. like Figure 4 As shown, the method is as follows:

[0040] Step S41: the scheduling system determines a physical se...

Embodiment 2

[0050] In this embodiment of the present invention, only one first binding rule can be preset for the virtual machine to be deployed. Then, the step S44 in the above embodiment "determine the target physical server on a physical server with idle resources" can be specifically : The scheduling system selects any physical server as a target physical server among physical servers with idle resources.

[0051] For example, assuming that the above-mentioned only one first binding rule preset for the virtual machine to be deployed is the first binding rule A, in practical applications, the entire processing flow of the scheduling system can be specifically as follows: first, in the cloud computing system All physical servers of , search for physical servers with free resources; then, search for physical servers that satisfy the first constraint rule A above on physical servers with free resources; if a physical server that satisfies the first constraint rule A can be found , then th...

Embodiment 3

[0054] In the embodiment of the present invention, M first restrictive rules can be preset for the virtual machine to be deployed, which are respectively the first restrictive rule 1 and the first restrictive rule 2, and so on until the first restrictive rule M , M is an integer greater than or equal to 2; the above M first binding rules can be specifically sorted according to priority, that is, the priority of the first binding rule 1 is higher than that of the second binding rule 2, the second The priority of a binding rule 2 is higher than that of the first binding rule 3, and so on, the priority of the first binding rule I-1 is higher than that of the first binding rule I, and the priority of the above-mentioned different binding rules The level can be specifically set by the user according to their own needs.

[0055] Specifically, the step S44 "determine the target physical server among the physical servers with idle resources" in the above embodiment may specifically be...

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 present invention discloses a virtual machine deployment method, system and physical server, and the method comprises: determining physical servers having an idle resource present therein from a plurality of physical servers; determining a target physical server when a physical server satisfying all of first constraining rules is not found in the physical servers having an idle resource present therein, the target physical server satisfying a part of the first constraining rules of the one or more first constraining rules, or the target physical server not satisfying any of the first constraining rules of the one or more first constraining rules; and deploying a virtual machine to be deployed in the target physical server. The use of the virtual machine deployment method, system and physical server provided by the present invention can increase the utilization rate of physical servers.

Description

technical field [0001] The present invention relates to the technical field of virtual machines, in particular to a method, system and physical server for deploying virtual machines. Background technique [0002] With the rapid development of the Internet, cloud computing came into being; the so-called cloud computing is a computing model, such as figure 1 As shown, the cloud computing system is mainly composed of a cloud computing platform and a client; the cloud computing platform is used to uniformly provide virtualized resources of physical servers, and can allocate resources to the client according to the needs of the client. like figure 2 As shown, a scheduling system is usually deployed on the cloud computing platform, and the specific implementation of deploying virtual machines on the cloud computing platform is: the scheduling system deploys virtual machines in physical servers. [0003] At present, before the deployment of virtual machines, a binding rule is us...

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/5027G06F2009/45562G06F2209/503G06F9/455G06F9/50
Inventor 梁多勇李候青
Owner HUAWEI TECH CO LTD