CN106445631B - Method and system for deploying virtual machine and physical server - Google Patents

Method and system for deploying virtual machine and physical server Download PDF

Info

Publication number
CN106445631B
CN106445631B CN201610740515.4A CN201610740515A CN106445631B CN 106445631 B CN106445631 B CN 106445631B CN 201610740515 A CN201610740515 A CN 201610740515A CN 106445631 B CN106445631 B CN 106445631B
Authority
CN
China
Prior art keywords
physical server
constraint
physical
virtual machine
constraint rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610740515.4A
Other languages
Chinese (zh)
Other versions
CN106445631A (en
Inventor
梁多勇
李候青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610740515.4A priority Critical patent/CN106445631B/en
Priority to PCT/CN2017/072988 priority patent/WO2018036104A1/en
Publication of CN106445631A publication Critical patent/CN106445631A/en
Application granted granted Critical
Publication of CN106445631B publication Critical patent/CN106445631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, a system and a physical server for deploying virtual machines, wherein the method comprises the following steps: determining a physical server with idle resources in a plurality of physical servers; when physical servers meeting all first constraint rules are not found in the physical servers with free resources, determining a target physical server, wherein the target physical server meets part of the first constraint rules in the at least one first constraint rule, or the target physical server does not meet any first constraint rule in the at least one first constraint rule; deploying the virtual machine to be deployed in the target physical server; by adopting the method, the system and the physical server for deploying the virtual machine, the utilization rate of the physical server can be improved.

Description

Method and system for deploying virtual machine and physical server
Technical Field
The present invention relates to the field of virtual machine technologies, and in particular, to a method, a system, and a physical server for deploying a virtual machine.
Background
With the rapid development of the internet, cloud computing is generated at the same time; the cloud computing is a computing mode, and as shown in fig. 1, a cloud computing system mainly comprises a cloud computing platform and a client; the cloud computing platform is used for uniformly providing the virtualized resources of the physical server and distributing the resources for the client according to the requirements of the client. As shown in fig. 2, a scheduling system is usually deployed on a cloud computing platform, and the specific implementation of the cloud computing platform in deploying virtual machines is as follows: the scheduling system deploys virtual machines in physical servers.
At present, before the deployment of the virtual machines, a constraint rule is usually set for each virtual machine in advance; the scheduling system of the cloud computing platform generally adopts the following method to arrange virtual machines: firstly, determining a physical server with idle resources in a cloud computing system, then acquiring a constraint rule of a virtual machine to be deployed, and searching a physical server meeting the constraint rule from the physical server with the idle resources according to the constraint rule; finally, the virtual machine to be deployed is deployed in the found physical server; of course, if the physical server meeting the constraint rule is not found at this time, the deployment of the virtual machine to be deployed fails, and the virtual machine is not deployed any more.
However, in practical applications, by using the above deployment method, there may be a situation where a physical server that does not find a qualified physical server but has idle resources, which causes a waste of resources. For example, as shown in fig. 3, the cloud computing system provides 3 physical servers, and each physical server can deploy 4 virtual machines at most, and has deployed virtual machine 1 in physical server 1, and three idle resources remain; the physical server 2 has deployed the virtual machine 2 and also has three spare resources, while the physical server 3 has deployed the virtual machine 3, the virtual machine 4, the virtual machine 5 and the virtual machine 6 and has no spare resources; at this time, if the physical server 1 fails, causing the virtual machine 1 to also fail, and the scheduling system needs to redeploy the virtual machine 1 in order to ensure the normal operation of the virtual machine 1, and the constraint rule preset by the virtual machine 1 is that the virtual machine 2 and the physical server cannot be deployed on the same physical server, then, at this time, the scheduling system queries that the physical server with the idle resource is the physical server 2 by using the deployment method, but because the virtual machine 2 is already deployed in the physical server 2 and does not satisfy the constraint rule of the virtual machine 1, at this time, the virtual machine 1 cannot be deployed on the physical server 2, and the reconstruction process of the virtual machine 1 fails.
Disclosure of Invention
The embodiment of the invention provides a method and a system for deploying a virtual machine and a physical server, so as to improve the utilization rate of the physical server.
In a first aspect, a method for deploying virtual machines is provided, where at least one first constraint rule is used as a first basis for a scheduling system to select a physical server for deploying a virtual machine to be deployed, and the method includes: determining a physical server with idle resources in a plurality of physical servers; when physical servers meeting all the first constraint rules are not found in the physical servers with the idle resources, determining a target physical server, wherein the target physical server meets part of the first constraint rules in the at least one first constraint rule, or the target physical server does not meet any first constraint rule in the at least one first constraint rule; and deploying the virtual machine to be deployed in the target physical server.
In the embodiment of the invention, when the physical servers meeting all the first constraint rules are not found out in the physical servers with the idle resources, a target physical server is determined in the physical servers with the idle resources, and then the virtual machine to be deployed is deployed in the target physical server; then, the method of the invention improves the success rate of deploying the virtual machine in the physical server, thereby improving the resource utilization rate of the physical server.
With reference to the first aspect, in a first possible implementation manner, the number of the first constraint rules is one, and when a physical server that satisfies all the first constraint rules is not found in the physical servers that have idle resources, determining a target physical server includes: and when the physical server meeting the first constraint rule is not found in the physical servers with the idle resources, selecting any physical server from the physical servers with the idle resources as a target physical server. When a first constraint rule is set, the resource utilization rate of the physical server can be improved by adopting the method.
With reference to the first aspect, in a second possible implementation manner, the number of the first constraint rules is M, where M is a positive integer greater than or equal to 2, and the M first constraint rules have priorities; when the physical servers meeting all the first constraint rules are not found in the physical servers with the idle resources, determining a target physical server, which comprises the following steps: in a physical server with idle resources, screening the physical server by matching the first constraint rules one by one according to the priority of the M first constraint rules; and if the first constraint rule matched with the I-th first constraint rule is screened to the first physical server and the second-priority first constraint rule matched with the I-th first constraint rule is not screened from the first physical server to the physical server, selecting any physical server from the first physical server as a target physical server. When a plurality of first constraint rules are set, the resource utilization rate of the physical server can be improved by adopting the method.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes: searching physical servers meeting all first constraint rules in at least one first constraint rule in physical servers with idle resources; and when the physical servers meeting all the first constraint rules in the at least one first constraint rule are found, deploying the virtual machine to be deployed in the physical servers meeting all the first constraint rules.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, before determining a target physical server when a physical server that satisfies all first constraint rules is not found in physical servers in which idle resources exist, the method further includes: searching a physical server meeting a second constraint rule in the physical servers with idle resources, wherein the second constraint rule is used as a second basis for selecting the physical server for deploying the virtual machine to be deployed; and searching the physical servers meeting the first constraint rule in the physical servers meeting the second constraint rule. In the embodiment of the invention, when the virtual machine is deployed, a user can set the second constraint rule which must be met by the physical server according to the requirement, so that the setting of the constraint rule of the virtual machine is more flexible.
In a second aspect, the present invention provides a scheduling system for deploying virtual machines, a cloud computing platform is deployed on at least one physical server, and the cloud computing platform includes a scheduling system; at least one first constraint rule is used as a first basis for selecting a physical server for deploying a virtual machine to be deployed, and the scheduling system comprises: an idle resource determination unit, configured to determine, among the plurality of physical servers, a physical server in which an idle resource exists; the target physical server determining unit is used for determining a target physical server when a physical server meeting all the first constraint rules is not found in the physical servers with idle resources, wherein the target physical server meets part of the first constraint rules in the at least one first constraint rule, or the target physical server does not meet any first constraint rule in the at least one first constraint rule; the first deployment unit is used for deploying the virtual machine to be deployed in the target physical server.
In the embodiment of the invention, when the physical servers meeting all the first constraint rules are not found out in the physical servers with the idle resources, a target physical server is determined in the physical servers with the idle resources, and then the virtual machine to be deployed is deployed in the target physical server; therefore, the system of the invention improves the success rate of deploying the virtual machine in the physical server, thereby improving the resource utilization rate of the physical server.
With reference to the second aspect, in a first possible implementation manner, when the number of the first constraint rules is one, the target physical server determining unit is specifically configured to: and when the physical server meeting the first constraint rule is not found in the physical servers with the idle resources, selecting any physical server from the physical servers with the idle resources as a target physical server. When a first constraint rule is set, the resource utilization rate of the physical server can be improved by adopting the system.
With reference to the second aspect, in a second possible implementation manner, the number of the first constraint rules is M, where M is a positive integer greater than or equal to 2, and the M first constraint rules have priorities; the target physical server determining unit is specifically configured to: in a physical server with idle resources, screening the physical server by matching the first constraint rules one by one according to the priority of the M first constraint rules; and if the first constraint rule matched with the I-th first constraint rule is screened to the first physical server and the second-priority first constraint rule matched with the I-th first constraint rule is not screened from the first physical server to the physical server, selecting any physical server from the first physical server as a target physical server. When a plurality of first constraint rules are set, the resource utilization rate of the physical server can be improved by adopting the system.
With reference to the second aspect, the first possible implementation manner of the second aspect, and the second possible implementation manner of the second aspect, in a third possible implementation manner, the scheduling system further includes: the first searching unit is used for searching the physical servers meeting all the first constraint rules in the at least one first constraint rule in the physical servers with the idle resources; and the second deployment unit is used for deploying the virtual machine to be deployed in the physical servers meeting all the first constraint rules when the physical servers meeting all the first constraint rules in the at least one first constraint rule are found out.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the scheduling system further includes: the second searching unit is used for searching a physical server meeting a second constraint rule in the physical servers with idle resources, wherein the second constraint rule is used as a second basis for selecting the physical server for deploying the virtual machine to be deployed; and the third searching unit is used for searching the physical servers meeting the first constraint rule from the physical servers meeting the second constraint rule. In the embodiment of the invention, when the virtual machine is deployed, a user can set the second constraint rule which must be met by the physical server according to the requirement, so that the setting of the constraint rule of the virtual machine is more flexible.
In a third aspect, the present invention also provides a physical server comprising at least one processor, a memory, and a communication interface; the at least one processor, the memory and the communication interface are all connected through a bus; a memory for storing computer execution instructions; at least one processor configured to execute the memory-stored computer-executable instructions to cause a physical server to perform the method for deploying virtual machines provided by the first aspect or the various possible designs of the first aspect, or to cause the physical server to perform the method for deploying virtual machines provided by the first aspect or the various possible designs of the first aspect by data interaction with other physical servers included in the cloud computing system through the communication interface. By adopting the physical server, the success rate of deploying the virtual machine in the physical server can be improved, so that the resource utilization rate of the physical server is improved.
In a fourth aspect, there is provided a computer-readable storage medium having stored therein computer-executable instructions that, when executed by at least one processor of a physical server, cause the physical server to perform the method for deploying virtual machines provided by the first aspect or by the various possible designs of the first aspect. By adopting the computer readable medium, the success rate of deploying the virtual machine in the physical server can be improved, so that the resource utilization rate of the physical server is improved.
In a fifth aspect, a computer program product is provided that includes computer executable instructions stored in a computer readable storage medium. The computer executable instructions may be read by at least one processor of the physical server from a computer readable storage medium, execution of which by the at least one processor causes the physical server to implement the method of deploying virtual machines as provided by the first aspect described above or by the various possible designs of the first aspect. By adopting the computer program product, the success rate of deploying the virtual machine in the physical server can be improved, so that the resource utilization rate of the physical server is improved.
In the embodiment of the invention, when the physical servers meeting all the first constraint rules are not found out in the physical servers with the idle resources, a target physical server is determined in the physical servers with the idle resources, and then the virtual machine to be deployed is deployed in the target physical server; then, the method of the invention improves the success rate of deploying the virtual machine in the physical server, thereby improving the resource utilization rate of the physical server.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to these drawings.
Fig. 1 is a schematic diagram of a cloud computing system provided by an embodiment of the present invention;
fig. 2 is another schematic diagram of a cloud computing system according to an embodiment of the present invention;
fig. 3 is another schematic diagram of a cloud computing system according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for deploying a virtual machine according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a method for deploying virtual machines according to an embodiment of the present invention;
fig. 6 is another schematic diagram of a cloud computing system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a scheduling system according to an embodiment of the present invention;
fig. 8 is a physical server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The invention firstly provides a method for deploying virtual machines, and the application scene of the method is as follows:
the method comprises the steps of performing resource virtualization on physical resources such as a physical server and a physical network, building a cloud computing system by using a cloud computing (cloud computing) technology, using a cloud computing platform as a management center of the cloud computing system, and deploying a Virtual Machine (VM), a Virtual network, a Virtual switch and the like on the physical server.
As shown in fig. 1, the cloud computing system mainly comprises a cloud computing platform and a client; the cloud computing platform is used for uniformly providing the virtualized resources of the physical server and distributing the resources for the client according to the requirements of the client.
As shown in fig. 2, a scheduling system is deployed on the cloud computing platform; the specific implementation of the cloud computing platform for deploying the virtual machine is as follows: the scheduling system deploys virtual machines in physical servers. For example, the scheduling system may receive an instruction of the client, and deploy a corresponding virtual machine for the client to use according to the instruction of the client.
Generally, the scheduling system needs to deploy the virtual machine in the physical server during the creation, migration, HA (High Available), and the like of the virtual machine. The virtual machine creating process refers to a process of deploying a newly created virtual machine to a physical server; the virtual machine migration process refers to a process that a virtual machine in a physical server needs to be migrated to other physical servers in a cloud computing system resource pool due to the reason that the physical server needs to be re-planned and the like, wherein in the virtual machine migration process, the virtual machine to be migrated can normally run, and a client cannot know the migration process; the HA process of a virtual machine refers to a process of selecting another physical server in a resource pool of a cloud computing system and deploying a failed virtual machine, where all virtual machines on the physical server fail due to a failure of one physical server in the cloud computing system. As can be seen, in the above creation process, the newly created virtual machine needs to be deployed in the physical server, and in the above migration and HA processes, the virtual machine to be migrated and failed needs to be re-deployed in the physical server. In the prior art, the deployment processes of the newly-built virtual machine, the virtual machine to be migrated and the failed virtual machine are the same; in the present invention, for convenience of description, the newly-built virtual machine, the virtual machine to be migrated, and the failed virtual machine are collectively referred to as a virtual machine to be deployed.
In the prior art, in order to meet the business performance or reliability requirements, a constraint rule is generally set for each virtual machine, and the constraint rule can constrain the deployment of the virtual machine. At present, a scheduling system of a cloud computing platform generally adopts the following method to arrange virtual machines: firstly, determining a physical server with idle resources in a cloud computing system, then acquiring a constraint rule preset by a virtual machine to be deployed, and searching a physical server meeting the constraint rule from the physical server with the idle resources according to the constraint rule; finally, the virtual machine to be deployed is deployed in the found physical server; of course, if the physical server meeting the constraint rule is not found at this time, the deployment of the virtual machine to be deployed fails, and the virtual machine is not deployed any more. By adopting the deployment method, the situation that the physical server meeting the constraint rule is not found, but the idle resource physical server still exists can occur, thereby causing the waste of resources. For example, as shown in fig. 3, a cloud computing system provides 3 physical servers, and each physical server can deploy 4 virtual machines at most, and has deployed virtual machine 1 in physical server 1, and three idle resources remain; the physical server 2 has deployed the virtual machine 2 and also has three spare resources, while the physical server 3 has deployed the virtual machine 3, the virtual machine 4, the virtual machine 5 and the virtual machine 6 and has no spare resources; at this time, if the physical server 1 fails, the virtual machine 1 also fails, and the scheduling system starts the HA process to ensure normal operation of the virtual machine 1, and deploys the virtual machine 1 in the physical server again; meanwhile, it is assumed that the constraint rule preset for the virtual machine 1 and the virtual machine 2 cannot be deployed on the same physical server, and the scheduling system queries that the physical server with idle resources is the physical server 2 by using the deployment method, but since the physical server 2 is already deployed with the virtual machine 2 and does not meet the constraint rule of the virtual machine 1, at this time, the virtual machine 1 cannot be deployed on the physical server 2, and the HA process of the virtual machine 1 fails.
Example one
Based on the application scenario, the invention provides a method for deploying virtual machines in a physical server, in which a first constraint rule is first set for a virtual machine to be deployed, the first constraint rule may specifically be a first basis for the scheduling system to select the physical server for deploying the virtual machine to be deployed, and the number of the first constraint rules may specifically be one or more; for convenience of distinguishing different constraint rules, the constraint rules are divided into a first constraint rule and a second constraint rule described below, where the first constraint rule may be a constraint rule that a physical server does not necessarily satisfy, and the user may set the first constraint rule by himself/herself. As shown in fig. 4, the method specifically includes the following steps:
step S41: the scheduling system determines, among a plurality of physical servers of the cloud computing system, a physical server having idle resources.
Specifically, the requirement of the virtual machine to be deployed on the resource is determined, and the physical server of which the idle resource meets the requirement is selected. The resource or the idle resource may specifically include any one or a combination of software and hardware resources such as a computing resource, a storage resource, a network resource, and the like.
For example, before deploying virtual machines to physical servers in a cloud computing system, a Central Processing Unit (CPU) of each physical server may be virtualized into multiple vcpus (virtualized CPUs), for example, the CPU of a physical server may be virtualized into 90 vcpus; in the embodiment of the invention, for any physical server in a cloud computing system, whether the residual vCPU resources in the physical server can meet the requirements of the virtual machine to be deployed on the vCPU can be determined firstly, if so, the vCPU resources of the physical server are determined to meet the requirements, otherwise, the physical server is determined not to meet the requirements; then, whether the memory resource of the current physical server meets the memory requirement of the current virtual machine to be deployed is also checked, for example, if the current virtual machine to be deployed needs to occupy 8G of memory, whether the remaining memory of the physical server is greater than 8G is specifically checked, and if the remaining memory of the current physical server is greater than 8G, it is determined that the memory of the current physical server meets the requirement; and when the residual vCPU resources and the residual memory resources of the physical server both meet the requirements of the virtual machine, determining that idle resources exist in the physical server.
Step S42: the scheduling system judges whether physical servers meeting all first constraint rules exist in the physical servers with the idle resources; if so, go to step S43; otherwise, step S44 is executed.
In the embodiment of the present invention, the first constraint rule may specifically be any one of the following rules or a combination of any several of the following rules: a virtual machine vCPU core binding rule, a virtual machine NUMA (Non uniform memory access architecture) rule, a virtual machine set mutual exclusion rule, or a virtual machine and physical server association rule. The CPU of the physical server in the cloud computing system can be multi-core, wherein the multi-core is that the CPU has a plurality of processing cores, and each core independently processes one task at any time; the vCPU generally needs to be bound to a core of the physical server CPU to run, and once the vCPU is bound to a certain core of the CPU, the vCPU has exclusivity to the core; setting a virtual machine vCPU core binding rule to ensure that a core for binding a vCPU exists in a physical server for deploying a virtual machine; in a physical server of a cloud computing system, generally, an operating resource of a central processing unit CPU is divided into a plurality of blocks, a memory resource is also divided into a plurality of blocks, and the operating resource is paired with the memory resource, for example, the operating resource is divided into three blocks, namely an operating resource a1, an operating resource B1 and an operating resource C1; dividing the memory resources into a memory resource A1, a memory resource B1 and a memory resource C1, then setting a running resource A1 and a memory resource A1 as a pair, setting a running resource B1 and a memory resource B1 as a pair, and setting a running resource C1 and a memory resource C1 as a pair; when the virtual machine runs, one or more pairs of resources in the physical server need to be occupied, and the virtual machine NUMA rule is set to ensure that paired resources meeting the running of the virtual machine exist in the physical server for deploying the virtual machine; the virtual machine group mutual exclusion rule is a rule that two virtual machines cannot be deployed in the same physical server, and the rule is mainly used for ensuring the running reliability of the virtual machines. For example, the unit mutual exclusion rule of the virtual machine 1 is that the virtual machine 2 cannot run on the same physical server, because the functions provided by the virtual machine 1 and the virtual machine 2 are the same; in the process of creating the virtual machine, the virtual machine 1 and the virtual machine 2 are not deployed on the same physical server, so that the condition that both the virtual machine 1 and the virtual machine 2 are in failure due to failure of one physical server can be avoided, and the running reliability of the virtual machine is improved. The association rule of the virtual machine and the physical server is mainly used for constraining the rule of the physical server which the virtual machine can deploy, for example, the association rule of the virtual machine and the physical server is the physical server 1, the physical server 2 and the physical server 3, and then the virtual machine can only be deployed in the physical server 1, the physical server 2 or the physical server 3.
Step S43: the scheduling system deploys the virtual machine to be deployed in the physical server satisfying all the first constraint rules.
Step S44: and the scheduling system determines a target physical server in the physical servers with idle resources, wherein the target physical server meets part of the first constraint rules or does not meet any first constraint rule.
Step S45: and the scheduling system deploys the virtual machine to be deployed in the target physical server.
In the embodiment of the invention, when the physical servers meeting all the first constraint rules are not found out in the physical servers with the idle resources, a target physical server is determined in the physical servers with the idle resources, and then the virtual machine to be deployed is deployed in the target physical server; then, the method of the invention improves the success rate of deploying the virtual machine in the physical server, thereby improving the resource utilization rate of the physical server.
Example two
In this embodiment of the present invention, only one first constraint rule may be preset for the virtual machine to be deployed, and then, in step S44, "determine the target physical server in the physical server with idle resources" in the above embodiment, may specifically be: the scheduling system selects any physical server as a target physical server in the physical servers with idle resources.
For example, assuming that the only one first constraint rule preset for the virtual machine to be deployed is the first constraint rule a, in practical application, the whole processing flow of the scheduling system may specifically be: firstly, searching physical servers with idle resources in all physical servers of a cloud computing system; then, searching a physical server meeting the first constraint rule A in a physical server with idle resources; if the physical server meeting the first constraint rule A can be found, the virtual machine to be deployed is deployed in the physical server; if the physical server meeting the first constraint rule A is not found, any physical server is selected in the physical servers with free resources, and then the virtual machine to be deployed is deployed in the physical server.
Therefore, by adopting the method, the success rate of deploying the virtual machine in the physical server is improved, and the resource utilization rate of the physical server is improved.
EXAMPLE III
In the embodiment of the invention, M first constraint rules which are respectively a first constraint rule 1 and a first constraint rule 2 and so on can be preset to be set for a virtual machine to be deployed until the first constraint rule M is an integer greater than or equal to 2; the M first constraint rules may be specifically ordered according to priority, that is, the priority of the first constraint rule 1 is higher than that of the second constraint rule 2, the priority of the first constraint rule 2 is higher than that of the first constraint rule 3, and so on, the priority of the first constraint rule I-1 is higher than that of the first constraint rule I, and the priorities of the different constraint rules may be specifically set by the user according to the needs of the user.
Specifically, step S44 "in the physical server with idle resources, determining the target physical server" in the above embodiment may specifically be: the scheduling system can screen the physical servers in the physical servers with idle resources by matching the first constraint rules one by one according to the priority of the M first constraint rules; if the first constraint rule matched with the I-th first constraint rule is screened to a first physical server and the first constraint rule matched with the second priority of the I-th first constraint rule is not screened from the first physical server to a physical server, the scheduling system selects any physical server from the first physical server as the target physical server.
More specifically, for the first constraint rule 1, in step S44, "determine a target physical server at a physical server with idle resources" in the foregoing embodiment may specifically be: the scheduling system searches a physical server meeting a first constraint rule 1 in physical servers with idle resources; when the scheduling system does not find the physical servers meeting the first constraint rule 1, selecting any physical server as the target physical server from the physical servers with idle resources;
for the first constraint rule I, where I is a positive integer greater than or equal to 2 and less than or equal to M, the step S44 "determine the target physical server at the physical server with idle resources" in the foregoing embodiment may specifically be: the scheduling system searches physical servers meeting a first constraint rule I in the physical servers meeting the first constraint rule I-1; and when the dispatching system does not find the physical servers meeting the first constraint rule I, taking any one of the physical servers meeting the first constraint rule I-1 as the target physical server.
Specifically, for a virtual machine to be deployed with M first constraint rules, a scheduling system in a cloud computing platform specifically includes the following steps: firstly, determining a physical server with idle resources from a plurality of physical servers of a cloud computing system; then, searching a physical server meeting a first constraint rule 1 from physical servers with idle resources; if the physical servers meeting the first constraint rule 1 can be found, finding the physical servers meeting the first constraint rule 2 from the physical servers meeting the first constraint rule 1; if the physical server meeting the first constraint rule 1 is not found, a physical server with idle resources is selected randomly, and then the virtual machine to be deployed is deployed in the selected physical server; if the physical servers meeting the first constraint rule 1 can be found out, the physical servers meeting the first constraint rule 2 are continuously found out from the physical servers meeting the first constraint rule 1, if the physical servers meeting the first constraint rule 2 can be found out, the physical servers meeting the first constraint rule 3 are continuously found out from the physical servers meeting the first constraint rule 2, and the like are repeated until the first constraint rule M is found out; at this time, of course, if the method is adopted, the physical servers meeting the first constraint rules 1 to M can be found out, which indicates that there are physical servers meeting all the first constraint rules, and then the virtual machine to be deployed is deployed on the physical servers meeting all the first constraint rules.
Assuming that three first constraint rules are preset for a virtual machine to be deployed, which are the first constraint rule 1, the first constraint rule 2, and the first constraint rule 3, as shown in fig. 5, the whole processing flow of the scheduling system is as follows:
step S51: searching a physical server with idle resources from a plurality of physical servers of the cloud computing system;
step S52: judging whether a physical server meeting a first constraint rule 1 can be found out in physical servers with idle resources; if yes, go to step S53, otherwise go to step S56;
step S53: judging whether the physical servers meeting the first constraint rule 2 can be found out from the physical servers meeting the first constraint rule 1; if so, go to step S54; otherwise, go to step S57;
step S54: judging whether the physical servers meeting the first constraint rule 3 can be found out from the physical servers meeting the first constraint rule 2; if so, go to step S55; otherwise, go to step S58;
step S55: selecting a physical server from the physical servers meeting the first constraint rule 3, and deploying the virtual machine to be deployed in the selected physical server;
step S56: selecting a physical server from physical servers with idle resources, and deploying a virtual machine to be deployed in the selected physical server;
step S57: randomly selecting a physical server from the physical servers meeting the first constraint rule 1, and deploying the virtual machine to be deployed in the physical server;
step S58: of the physical servers satisfying the first constraint rule 2, a physical server is arbitrarily selected, and the virtual machine to be deployed is deployed within the physical server.
According to the method, the first constraint rule is a constraint rule which is not necessarily satisfied, and when the physical servers satisfying all the first constraint rules are not found, the physical servers satisfying the first constraint rules most can be found by adopting the method, so that the deployment of the virtual machine is further optimized on the basis of saving resources.
Example four
In the embodiment of the present invention, in addition to setting a first constraint rule for the to-be-deployed virtual machine, a second constraint rule may also be set for the to-be-deployed virtual machine, where the second constraint rule is used as a second basis for the scheduling system to select a physical server for deploying the to-be-deployed virtual machine, and the second constraint rule is a rule that the physical server must satisfy when deploying the virtual machine; the number of the second constraint rules can be one or more, and the second constraint rules can be set by a user. In the embodiment of the present invention, the second constraint rule may also be any one of the following rules or a combination of any several of the following rules: the virtual machine vCPU core binding rule, the virtual machine NUMA rule, the virtual machine set mutual exclusion rule or the association rule of the virtual machine and the physical server; and the rule is set as a first constraint rule or a second constraint rule, so that the user can set the rule according to the requirement of the user.
The method described in the first, second and third embodiments may further include: the scheduling system searches a physical server meeting a second constraint rule in physical servers with idle resources; and the scheduling system searches physical servers meeting all the first constraint rules in the physical servers meeting the second constraint rules.
Specifically, for the virtual machine to be deployed provided with the first constraint rule and the second constraint rule, the scheduling system may specifically deploy the virtual machine to be deployed according to the following manner: firstly, searching a physical server with idle resources in a plurality of physical servers of a cloud computing system; then, searching a physical server meeting a second constraint rule in the physical server with idle resources; if the physical server meeting the second constraint rule is not found, the deployment of the virtual machine to be deployed fails, and the virtual machine to be deployed is stopped to be deployed; when the number of the second constraint rules is multiple, the found physical server needs to satisfy all the second constraint rules because the second constraint rules are constraint rules that the physical server must satisfy, and when the physical server does not satisfy any second constraint rule, the deployment of the virtual machine to be deployed fails; if the physical server meeting the second constraint rule is found, continuing to find the physical server meeting the first constraint rule in the physical server meeting the second constraint rule; when the first constraint rule is one, the description of the second embodiment above may be referred to specifically, and when the first constraint rule is multiple, the description of the third embodiment above may be referred to specifically.
As can be seen from the above, in the embodiment of the present invention, when the virtual machine is deployed, the user may also set the second constraint rule that the physical server must satisfy, so that the setting of the constraint rule of the virtual machine is more flexible.
EXAMPLE five
The present invention further provides a second method for deploying a virtual machine, and specifically, referring to fig. 6, when a failure occurs in the server 1, which causes a failure in the virtual machine 1 in the server 1, the HA mechanism is started, and another physical server is selected from the resource pool to relocate the virtual machine 1; and a first constraint rule preset by the virtual machine. See table 1 for details.
Figure GDA0002212164610000151
Figure GDA0002212164610000161
TABLE 1 first constraint rules for virtual machine 1
In the embodiment of the present invention, the scheduling system will first determine the physical server with idle resources, and as can be obtained from fig. 6, idle resources exist in both the physical server 2 and the physical server 3; then, according to a first constraint rule preset by the virtual machine 1, sequentially searching the physical server 2 and the physical server 3 according to the priority level, and assuming that only the physical server 2 meets the two rules, wherein the physical servers meet the first priority level virtual machine vCPU core binding rule and the second priority level virtual machine NUMA rule; at this time, the scheduling system will continue to check whether the physical server 2 satisfies the "mutual exclusion rule for virtual machine group" of the third priority, but the physical server 2 has already deployed the virtual machine 2 and does not satisfy the "mutual exclusion rule for virtual machine group" of the third priority, but at this time, the physical server 2 is the physical server that satisfies the first constraint rule of the high priority most, and therefore, the virtual machine 1 is deployed in the physical server 2, thereby protecting the reliability of the service.
EXAMPLE six
Corresponding to the method, the invention also provides a scheduling system for deploying the virtual machine, wherein the cloud computing platform is deployed on a plurality of physical servers and comprises the scheduling system; as a first basis for selecting a physical server for deploying a virtual machine to be deployed, as shown in fig. 7, the scheduling system 700 includes:
an idle resource determination unit 71 configured to determine, among the plurality of physical servers, a physical server in which an idle resource exists;
a target physical server determining unit 72, configured to determine a target physical server when a physical server that satisfies all first constraint rules is not found in physical servers that have idle resources, where the target physical server satisfies a part of the at least one first constraint rule, or the target physical server does not satisfy any first constraint rule in the at least one first constraint rule;
a first deployment unit 73, configured to deploy the virtual machine to be deployed in the target physical server.
Optionally, when the number of the first constraint rules is one, the target physical server determining unit 72 is specifically configured to: and when the physical server meeting the first constraint rule is not found in the physical servers with the idle resources, selecting any physical server from the physical servers with the idle resources as the target physical server.
Optionally, the number of the first constraint rules is M, where M is a positive integer greater than or equal to 2, and the M first constraint rules have priorities; the target physical server determining unit 72 may specifically be configured to: in a physical server with idle resources, screening the physical server by matching the first constraint rules one by one according to the priority of the M first constraint rules; and if the first constraint rule matched with the I-th first constraint rule is screened to a first physical server and the first constraint rule matched with the second priority of the I-th first constraint rule is not screened to the physical server from the first physical server, selecting any physical server from the first physical server as the target physical server.
Optionally, the scheduling system 700 further includes: a first searching unit, configured to search, in a physical server where idle resources exist, for a physical server that satisfies all first constraint rules in the at least one first constraint rule; and the second deployment unit is used for deploying the virtual machine to be deployed in the physical servers meeting all the first constraint rules when the physical servers meeting all the first constraint rules in the at least one first constraint rule are found out.
Optionally, the scheduling system 700 may further include: the second searching unit is used for searching a physical server meeting a second constraint rule in the physical servers with idle resources, wherein the second constraint rule is used as a second basis for selecting the physical server for deploying the virtual machine to be deployed; and the third searching unit is used for searching the physical servers meeting the first constraint rule in the physical servers meeting the second constraint rule.
In the embodiment of the invention, when the physical servers meeting all the first constraint rules are not found out in the physical servers with the idle resources, a target physical server is determined in the physical servers with the idle resources, and then the virtual machine to be deployed is deployed in the target physical server; then, the scheduling system of the invention improves the success rate of deploying the virtual machine in the physical server, thereby improving the resource utilization rate of the physical server.
EXAMPLE seven
The cloud computing platform is deployed on a plurality of physical servers, so the scheduling system can be deployed on at least one physical server, and therefore a hardware main body specifically executing the method for deploying the virtual machine is a physical server, and a hardware main body for implementing the scheduling system is also a physical server. Therefore, the present invention also discloses a physical server corresponding to the above embodiment, and the physical server is shown in fig. 8.
The physical server 800 includes at least one processor 801, memory 802, and a communication interface 803; the at least one processor 801, the memory 802, and the communication interface 803 are all connected by a bus 804.
The memory 802 is used to store computer-executable instructions.
The at least one processor 801 is configured to execute the computer-executable instructions stored in the memory 802, so that the physical server 800 executes the method for deploying virtual machines provided in the foregoing method embodiments, or so that the physical server 800 implements part or all of the functions of the scheduling system; alternatively, the first and second electrodes may be,
the at least one processor 801 is configured to execute the computer-executable instructions stored in the memory 802, so that the physical server 800 performs the method for deploying virtual machines provided in the foregoing method embodiment through data interaction with other physical servers included in the cloud computing system through the communication interface 803, or so that the physical server 800 performs part or all of functions of the scheduling system through data interaction with other physical servers included in the cloud computing system through the communication interface 803.
At least one processor 801, which may include different types of processors 801, or which may include the same type of processors 801; the processor 801 may be any of the following: a Central Processing Unit (CPU), an ARM processor, a Field Programmable Gate Array (FPGA), a special processor, and other devices with computing and Processing capabilities. In an alternative embodiment, the at least one processor 801 may also be integrated as a many-core processor.
The memory 802 may be any one or any combination of the following: a Random Access Memory (RAM), a Read Only Memory (ROM), a non-volatile memory (NVM), a Solid State Drive (SSD), a mechanical hard disk, a magnetic disk, and a whole array of magnetic disks.
The communication interface 803 is used for data interaction between the physical server 800 and other devices (e.g., other physical servers in a virtual machine system). The communication interface 803 may be any one or any combination of the following: a network interface (e.g., an ethernet interface), a wireless network card, etc. having a network access function.
The bus 804 may include an address bus, a data bus, a control bus, etc., which is represented by a thick line in fig. 8 for ease of illustration. The bus 804 may be any one or any combination of the following: an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry standard Architecture) bus, and other wired data transmission devices.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (9)

1. A method of deploying virtual machines, wherein at least one first constraint rule is used as a first basis for selecting a physical server for deploying a virtual machine to be deployed, the method comprising:
determining a physical server with idle resources in a plurality of physical servers;
when physical servers meeting all first constraint rules are not found in the physical servers with idle resources, determining a target physical server, wherein the target physical server meets part of the first constraint rules in the first constraint rules, or the target physical server does not meet any first constraint rule in the at least one first constraint rule;
deploying the virtual machine to be deployed in the target physical server;
the number of the first constraint rules is M, wherein M is a positive integer greater than or equal to 2, and the M first constraint rules have priorities; determining a target physical server when the physical servers meeting all the first constraint rules are not found in the physical servers with the idle resources, wherein the determining includes:
in a physical server with idle resources, screening the physical server by matching the first constraint rules one by one according to the priority of the M first constraint rules;
selecting any physical server from the first physical servers as the target physical server if the first constraint rule matched with the I-th first constraint rule is screened to the first physical server and the first constraint rule matched with the second priority of the I-th first constraint rule is not screened to the physical server from the first physical server, wherein I is a positive integer greater than or equal to 2, and I is a positive integer less than or equal to M.
2. The method according to claim 1, wherein the number of the first constraint rules is one, and the determining a target physical server when no physical server satisfying all the first constraint rules is found in the physical servers having free resources comprises:
and when the physical server meeting the first constraint rule is not found in the physical servers with the idle resources, selecting any physical server from the physical servers with the idle resources as the target physical server.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
searching physical servers meeting all first constraint rules in the at least one first constraint rule in physical servers with free resources;
and when physical servers meeting all the first constraint rules in the at least one first constraint rule are found, deploying the virtual machine to be deployed in the physical servers meeting all the first constraint rules.
4. The method according to claim 1 or 2, wherein before determining the target physical server when no physical server satisfying all the first constraint rules is found in the physical servers in which the free resources exist, the method further comprises:
searching a physical server meeting a second constraint rule in the physical servers with idle resources, wherein the second constraint rule is used as a second basis for selecting a physical server for deploying the virtual machine to be deployed from the plurality of physical servers;
and searching the physical servers meeting the first constraint rule in the physical servers meeting the second constraint rule.
5. A scheduling system for deploying virtual machines, wherein at least one first constraint rule is used as a first basis for selecting a physical server for deploying a virtual machine to be deployed, the scheduling system comprising:
an idle resource determination unit, configured to determine, among the plurality of physical servers, a physical server in which an idle resource exists;
a target physical server determining unit, configured to determine a target physical server when a physical server that satisfies all first constraint rules is not found in physical servers that have idle resources, where the target physical server satisfies a part of the first constraint rules in the plurality of first constraint rules, or the target physical server does not satisfy any first constraint rule in the at least one first constraint rule;
the first deployment unit is used for deploying the virtual machine to be deployed in the target physical server;
the number of the first constraint rules is M, wherein M is a positive integer greater than or equal to 2, and the M first constraint rules have priorities; the target physical server determining unit is specifically configured to:
in a physical server with idle resources, screening the physical server by matching the first constraint rules one by one according to the priority of the M first constraint rules;
selecting any physical server from the first physical servers as the target physical server if the first constraint rule matched with the I-th first constraint rule is screened to the first physical server and the first constraint rule matched with the second priority of the I-th first constraint rule is not screened to the physical server from the first physical server, wherein I is a positive integer greater than or equal to 2, and I is a positive integer less than or equal to M.
6. The scheduling system of claim 5, wherein when the number of the first constraint rules is one, the target physical server determining unit is specifically configured to:
and when the physical server meeting the first constraint rule is not found in the physical servers with the idle resources, selecting any physical server from the physical servers with the idle resources as the target physical server.
7. The scheduling system of claim 5 or 6 further comprising:
a first searching unit, configured to search, in a physical server where idle resources exist, for a physical server that satisfies all first constraint rules in the at least one first constraint rule;
and the second deployment unit is used for deploying the virtual machine to be deployed in the physical servers meeting all the first constraint rules when the physical servers meeting all the first constraint rules in the at least one first constraint rule are found out.
8. The scheduling system of claim 5 or 6 further comprising:
the second searching unit is used for searching a physical server meeting a second constraint rule in the physical servers with idle resources, wherein the second constraint rule is used as a second basis for selecting the physical server for deploying the virtual machine to be deployed;
and the third searching unit is used for searching the physical servers meeting the first constraint rule in the physical servers meeting the second constraint rule.
9. A physical server comprising at least one processor, memory and a communication interface; the at least one processor, the memory and the communication interface are all connected through a bus;
the memory is used for storing computer execution instructions;
the at least one processor configured to execute the memory-stored computer-executable instructions to cause the physical server to perform the method of deploying virtual machines of any one of claims 1 to 4 or to cause the physical server to perform the method of deploying virtual machines of any one of claims 1 to 4 by data interaction with other physical servers through the communication interface.
CN201610740515.4A 2016-08-26 2016-08-26 Method and system for deploying virtual machine and physical server Active CN106445631B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610740515.4A CN106445631B (en) 2016-08-26 2016-08-26 Method and system for deploying virtual machine and physical server
PCT/CN2017/072988 WO2018036104A1 (en) 2016-08-26 2017-02-06 Virtual machine deployment method, system and physical server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610740515.4A CN106445631B (en) 2016-08-26 2016-08-26 Method and system for deploying virtual machine and physical server

Publications (2)

Publication Number Publication Date
CN106445631A CN106445631A (en) 2017-02-22
CN106445631B true CN106445631B (en) 2020-02-14

Family

ID=58182273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610740515.4A Active CN106445631B (en) 2016-08-26 2016-08-26 Method and system for deploying virtual machine and physical server

Country Status (2)

Country Link
CN (1) CN106445631B (en)
WO (1) WO2018036104A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107643939A (en) * 2017-09-14 2018-01-30 郑州云海信息技术有限公司 A kind of method and system for distributing virtual machine
CN107748691B (en) * 2017-10-30 2020-04-24 平安科技(深圳)有限公司 Virtual machine deployment method, device, equipment and computer readable storage medium
CN110990024B (en) * 2019-11-28 2024-02-09 合肥讯飞数码科技有限公司 Application deployment method, device, equipment and storage medium
CN111324424B (en) * 2020-04-15 2023-07-18 中国联合网络通信集团有限公司 Virtual machine deployment method and device, server and storage medium
CN114461332B (en) * 2020-11-09 2024-05-28 上海大学 Virtual machine deployment method based on application characteristics
CN113687949B (en) * 2021-08-31 2023-01-31 中国联合网络通信集团有限公司 Server deployment method, device, deployment equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN103226489A (en) * 2012-01-30 2013-07-31 国际商业机器公司 Integrated virtual infrastructure system
CN104750541A (en) * 2015-04-22 2015-07-01 成都睿峰科技有限公司 Virtual machine migration method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201324187A (en) * 2011-12-15 2013-06-16 Hon Hai Prec Ind Co Ltd System and method for deploying virtual machines
CN104639594A (en) * 2013-11-15 2015-05-20 中国电信股份有限公司 System and method for allocating physical resources and virtual resources
US9582303B2 (en) * 2014-03-03 2017-02-28 Vmware, Inc. Extending placement constraints for virtual machine placement, load balancing migrations, and failover without coding
CN105141697A (en) * 2015-09-16 2015-12-09 国云科技股份有限公司 Multi-QoS constrained cloud computing task scheduling method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN103226489A (en) * 2012-01-30 2013-07-31 国际商业机器公司 Integrated virtual infrastructure system
CN104750541A (en) * 2015-04-22 2015-07-01 成都睿峰科技有限公司 Virtual machine migration method

Also Published As

Publication number Publication date
CN106445631A (en) 2017-02-22
WO2018036104A1 (en) 2018-03-01

Similar Documents

Publication Publication Date Title
CN106445631B (en) Method and system for deploying virtual machine and physical server
US8635493B2 (en) High availability system allowing conditionally reserved computing resource use and reclamation upon a failover
US10474488B2 (en) Configuration of a cluster of hosts in virtualized computing environments
AU2011299337B2 (en) Controlled automatic healing of data-center services
US11681544B2 (en) Interference-aware scheduling service for virtual GPU enabled systems
US20060212871A1 (en) Resource allocation in computing systems
US20230155957A1 (en) Automated local scaling of compute instances
US9916215B2 (en) System and method for selectively utilizing memory available in a redundant host in a cluster for virtual machines
US11461191B2 (en) Orchestrating and prioritizing the rebuild of storage object components in a hyper-converged infrastructure
CN110673927B (en) Scheduling method and device of virtual machine
US20190377612A1 (en) VCPU Thread Scheduling Method and Apparatus
US11886898B2 (en) GPU-remoting latency aware virtual machine migration
US11175944B2 (en) Optimizing cluster-wide operations in a hyper-converged infrastructure (HCI) deployment
WO2016018352A1 (en) Platform configuration selection based on a degraded makespan
US9442750B2 (en) Systems and methods for colocating virtual machines on one or more physical infrastructure
US10223164B2 (en) Execution of critical tasks based on the number of available processing entities
US9971785B1 (en) System and methods for performing distributed data replication in a networked virtualization environment
JP2007172611A (en) Method and storage medium (effective use method for processor in virtual sharing environment)
CN113626173A (en) Scheduling method, device and storage medium
CN107423114B (en) Virtual machine dynamic migration method based on service classification
Goutam et al. The performance evaluation of proactive fault tolerant scheme over cloud using CloudSim simulator
US20200233723A1 (en) Consolidation of identical virtual machines on host computing systems to enable page sharing
US10635336B1 (en) Cache-based partition allocation
US11182183B2 (en) Workload placement using conflict cost
CN109617954B (en) Method and device for creating cloud host

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant