CN103902353A - Virtual machine deployment method and device - Google Patents

Virtual machine deployment method and device Download PDF

Info

Publication number
CN103902353A
CN103902353A CN201410126765.XA CN201410126765A CN103902353A CN 103902353 A CN103902353 A CN 103902353A CN 201410126765 A CN201410126765 A CN 201410126765A CN 103902353 A CN103902353 A CN 103902353A
Authority
CN
China
Prior art keywords
deployed
machine
virtual machines
group
groups
Prior art date
Application number
CN201410126765.XA
Other languages
Chinese (zh)
Inventor
谢华国
罗文通
张春宇
康达祥
方莹
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201410126765.XA priority Critical patent/CN103902353A/en
Publication of CN103902353A publication Critical patent/CN103902353A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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; 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/4557Distribution of virtual machine instances; Migration and load balancing aspects

Abstract

Embodiments of the invention provide a virtual machine deployment method and device. M virtual machines to be deployed are divided into N groups according to network deployment traffic between each two of the M virtual machines to be deployed, so that the network deployment traffic of the N groups is lowest; the virtual machines in the same group are deployed on a same physical machine. According to the method, the network deployment traffic of the N groups is lowest, the virtual machines in the same group are deployed on the same physical machine, network traffic required by the physical machines is also lowest, and the network traffic of the physical machines can be saved effectively.

Description

一种虚拟机的部署方法及装置 A method of deployment of virtual machines and apparatus

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种虚拟机的部署方法及装置。 [0001] The present invention relates to communications technologies, and in particular relates to a method and apparatus for deploying a virtual machine.

背景技术 Background technique

[0002] 虚拟化云计算技术的兴起和发展正逐渐影响改变着整个计算机产业界和学术界,云计算带给IT全新的资源整合和使用模式,基于虚拟化的资源按需分配与调度可以提高云平台资源的利用率,提升云平台的服务质量,也降低云用户的总体使用成本。 [0002] The rise and development of virtual cloud computing technology is gradually changing affect the entire computer industry and academia, cloud computing bring new IT resource integration and usage patterns, based on virtualized resources on demand and scheduling can improve cloud platform utilization of resources, improve the quality of service cloud platform, but also reduces the overall cost of cloud users.

[0003]目前,云平台通过聚集物理机硬件与网络资源,形成大规模计算资源池,虚拟机可部署于物理机上,云平台则通过资源调度系统,把物理机资源分配给虚拟机,通过虚拟机运行应用程序,实现向用户提供云计算服务。 [0003] Currently, the cloud platform by aggregating physical machine hardware and network resources, forming a large-scale computing resource pool, the virtual machine may be deployed on a physical machine, the cloud platform through resource scheduling system, the physical machine resources are allocated to the virtual machine, virtual machine running the application, implementation provides cloud computing services to users.

[0004] 由于每个物理机所能提供的资源都是有限的,物理机的数量也是有限的,因此,在现有技术中,在物理机上部署虚拟机时,通常考虑的是如何在最少的物理机上部署最多的虚拟机,用以达到物理机资源最大利用率的目的。 [0004] Since each physical unit can provide resources are limited, the number of physical machines is limited, and therefore, in the prior art, when deployed virtual machines on physical machines usually consider is how the least Up to deploy virtual machines on a physical machine to a physical machine to achieve the purpose of maximum resource utilization.

[0005] 然而,在实际应用中,由于虚拟机之间往往也需要进行信息交互,因此,如果将需要大量信息交互的多个虚拟机部署在不同的物理机上,就会浪费物理机之间大量的网络流量来满足部署于这些虚拟机之间的交互。 [0005] However, in practical applications, often due to the need for information exchange between the virtual machine, so if you need a lot of information interaction of multiple virtual machines deployed on different physical machines between physical machines will waste a lot of network traffic to meet the deployment of virtual machines between these interactions.

发明内容 SUMMARY

[0006] 本发明实施例提供一种虚拟机的部署方法及装置,用以解决现有技术中跨物理机的网络流量大的问题。 Deployment method and apparatus provide a virtual machine embodiment [0006] of the present invention, to solve a large network traffic across physical machines in the prior art problem.

[0007] 第一方面,提供一种虚拟机的部署方法,包括: [0007] In a first aspect, there is provided a method of deploying a virtual machine, comprising:

[0008] 获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; [0008] Gets the network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, M being a positive integer greater than or equal to 2;

[0009] 根据所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的正整数; [0009] According to network deployment of the M traffic between virtual machines to be deployed in each of the two virtual machines to be deployed, the M virtual machines to be deployed into N groups, such groups between the N network deployment minimum flow, where N is greater than or equal to 2, M is a positive integer less than or equal;

[0010] 将所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于I,小于等于N的正整数。 [0010] the N groups are deployed in the K physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, K is greater than or equal I, less than the positive integer equal to N,.

[0011] 结合第一方面,在第一方面的第一种可能的实现方式中,将所述N个组分别部署在K个物理机上,具体包括: [0011] with the first aspect, the first possible implementation manner of the first aspect, said N groups are deployed in the K physical machine, including:

[0012] 将所述N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上; [0012] the N sets in descending order profit value the resource unit group K has deployed on physical machines;

[0013] 其中,组的单位资源收益值为: [0013] wherein the unit value of the resource group benefits:

[0014] 所述组内所有待部署虚拟机的收益参数值之和与所述组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 Within [0014] the set of all values ​​within the parameters to be deployed return all the virtual machines to be deployed and the resources and the set of parameter values ​​corresponding to the ratio of the resources required for the virtual machine.

[0015] 结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,将所述N个组分别部署在K个物理机上,具体包括: [0015] with the first aspect or the first possible implementation of the first aspect, a second possible implementation manner of the first aspect, said N groups are deployed in the K physical machine comprises :

[0016] 将所述N个组部署在满足指定条件的K个物理机上,其中所述指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于所述第i组内所有待部署虚拟机所需资源对应的资源参数值之和,I为I到N之间的任意正整数。 [0016] deployment of the N groups on the specified condition K physical machine, wherein the specified condition for deployment resource parameter values ​​of the remaining resources of the physical machine of the i-th group corresponding to the group i is not less than All resources required to be deployed virtual machines corresponding to the parameter values ​​and resources, I is between I to N arbitrary positive integer.

[0017] 结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,当M大于2时,所述方法还包括: [0017] combination with the second possible implementation of the first aspect, in a first aspect a third possible implementation manner, when M is greater than 2, said method further comprising:

[0018] 针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组有大于I个待部署虚拟机时,将所述第i组内的待部署虚拟机划分为S个组,其中S为大于等于2,小于M-1的正整数; [0018] for the i-th group of the N groups, when the specified condition is the absence of a physical machine, and the second group is greater than the I i to be deployed virtual machines to be set in the i deploying the virtual machine is divided into S groups, wherein S is greater than or equal to 2 and less than M-1, a positive integer;

[0019] 将所述S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于I,小于等于S的正整数。 [0019] The S groups are deployed in the T physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, T is greater than or equal I, less than the positive integer equal to S is.

[0020] 结合第一方面的第二种可能的实现方式,在第一方面的第四种可能的实现方式中,当M大于2时,所述方法还包括: [0020] combination with the second possible implementation of the first aspect, a fourth aspect of the first possible implementation manner, when M is greater than 2, said method further comprising:

[0021] 针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组只有I个待部署虚拟机时,选择所述N个组中除所述第i组之外任意一个组中一个已部署的虚拟机; [0021] for the i-th group of the N groups, when the specified condition is the absence of a physical machine, and the group i I only be deployed when a virtual machine, the selected groups except the N any of a group other than the i-th group in a virtual machine has been deployed;

[0022] 如果将所述选择的已部署的虚拟机替换为所述第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,用所述第i组内的虚拟机替换所述选择的已部署的虚拟机。 [0022] If the selected virtual machine deployed with said virtual machines within group i, and a replacement before deployment of network traffic between the K physical machine physical machine the K deployment of traffic between the network and the difference is less than a set threshold, and after replacing the parameter values ​​of the gains of the front gains over K deployed virtual machines and physical machines deployed on a K greater than a replacement physical machine on virtual and the parameter value, replacing the selected virtual machines deployed virtual machine within the i-th group.

[0023] 第二方面,提供一种虚拟机的部署装置,包括: [0023] In a second aspect, there is provided a virtual machine deployment device, comprising:

[0024] 获取模块,用于获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; [0024] obtaining module, configured to acquire network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, M being a positive integer greater than or equal to 2;

[0025] 划分模块,用于根据所述获取模块获取的所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的正整数; [0025] dividing module for acquiring the network traffic between the modules deployed acquired by the M virtual machines to be deployed in each of the two virtual machines to be deployed, the M virtual machines to be deployed into N groups, such that the N network deployment minimum flow between the groups, where N is greater than or equal to 2, M is a positive integer less than or equal;

[0026] 部署模块,用于将所述划分模块划分的所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于I,小于等于N的正整数。 [0026] The deployment module, the dividing module for dividing the N number of K groups are deployed on a physical machine, such that the virtual machines to be deployed within the same group deployed on the same physical machine, where, K is greater than is equal to I, N is a positive integer less.

[0027] 结合第二方面,在第二方面的第一种可能的实现方式中,所述部署模块具体用于,将所述划分模块划分的所述N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上; [0027] combination with the second aspect, a first possible implementation of the second aspect, the deployment module is configured, the unit resource revenue value divided by the dividing module according to the N groups from the groups small to large order, K has deployed on physical machines;

[0028] 其中,组的单位资源收益值为:所述组内所有待部署虚拟机的收益参数值之和与所述组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 [0028] wherein, the unit returns the resource group is: resource parameter values ​​of the desired parameter values ​​of the gains and the set of all groups in the virtual machines to be deployed all resources corresponding to the virtual machines to be deployed and the ratio .

[0029] 结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述部署模块具体用于,将所述划分模块划分的所述N个组部署在满足指定条件的K个物理机上,其中所述指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于所述第i组内所有待部署虚拟机所需资源对应的资源参数值之和,i为I到N之间的任意正整数。 [0029] combination with the second aspect or the first possible implementation of the second aspect, the second aspect of the second possible implementation, the deployment module is configured to divide the said dividing module said N groups are deployed on a specified condition K physical machine, wherein the specified condition for the deployment of the resource remaining resource parameter values ​​physical machine group i is not less than the corresponding all be deployed within the virtual group i machine required parameter values ​​corresponding to the resource and the resource, i is any one between the I N a positive integer.

[0030] 结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,当M大于2时,所述划分模块还用于,针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组有大于I个待部署虚拟机时,将所述第i组内的待部署虚拟机划分为S个组,其中S为大于等于2,小于M-1的正整数; [0030] combination with the second possible implementation of the second aspect, a third aspect of the second possible implementation manner, when M is greater than 2, the dividing module is further configured, for the N group the i-th group, when a specified condition is the absence of a physical machine, and the second group is greater than the I i to be deployed virtual machines to be deployed within the i-th group is divided into S groups virtual machines, wherein S is greater than or equal 2 and less than M-1, a positive integer;

[0031] 所述部署模块还用于,将所述划分模块划分的所述S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于1,小于等于S的正整数。 [0031] The deployment module is further configured, to set the S divided by the dividing module is deployed in the physical machine T, such that to be deployed within the same set of virtual machines deployed on the same physical machine, wherein T 1 is greater than or equal, less than or equal to a positive integer S.

[0032] 结合第二方面的第二种可能的实现方式,在第二方面的第四种可能的实现方式中,所述部署模块还用于,针对所述划分模块划分的所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组只有I个待部署虚拟机时,选择所述N个组中除所述第i组之外任意一个组中一个已部署的虚拟机;如果将所述选择的已部署的虚拟机替换为所述第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,用所述第i组内的虚拟机替换所述选择的已部署的虚拟机。 [0032] combination with the second possible implementation of the second aspect, in a fourth aspect of the second possible implementation, the deployment module is further configured, the partitioning module for partitioning said N groups the i-th group, when there is no specified condition is a physical machine, and the i-th group I only be deployed when a virtual machine, said N selected groups of any one group other than the group i a deployed virtual machines; If the selected virtual machine deployed with said virtual machines within group i, and a replacement before deployment of network traffic between the physical unit of the K K difference between the physical machines network deployment and the flows of less than a set threshold value, and the parameter value on the front of the K gains deployed on a physical machine and the virtual machine is greater than K physical machine after replacement of the replacement deployed parameter values ​​and the gains of the virtual machine, the virtual machine replacing the selected deployed with the virtual machine in the group i.

[0033] 本发明实施例提供一种虚拟机的部署方法及装置,根据M个待部署虚拟机中每两个虚拟机之间的网络部署流量,将M个待部署虚拟机分为N个组,使得N个组之间的网络部署流量最小,再将同一个组内的虚拟机部署在同一个物理机上。 [0033] Example embodiments provide a method and apparatus for deploying the virtual machine of the present invention, depending on the network deployment of the M traffic between virtual machines to be deployed in each of the two virtual machines, the M virtual machines to be deployed into N groups , so that network traffic between the deployed set of N minimized, then the virtual machine within a same group deployed on the same physical machine. 通过上述方法,由于N个组之间的网络部署流量最小,因此,将同一个组内的虚拟机部署在同一个物理机上后,物理机之间所需的网络流量也最小,可有效节省物理机之间的网络流量。 After the above-described method, since the deployment of network traffic between the minimum N groups, therefore, the same within a group of virtual machines deployed on a single physical machine, physical machines required between minimal network traffic, which can effectively save the physical network traffic between machines.

附图说明 BRIEF DESCRIPTION

[0034] 图1为本发明实施例提供的虚拟机部署方法; [0034] FIG 1 VM deployment method according to an embodiment of the present invention;

[0035] 图2为本申请实施例提供的虚拟机的部署装置结构示意图; [0035] FIG. 2 is a schematic diagram of a virtual machine application deployment device configuration according to an embodiment;

[0036] 图3为本发明实施例提供的虚拟机的部署装置硬件结构示意图。 [0036] Fig 3 a schematic view of a hardware configuration of the deployment device provides a virtual machine embodiment of the present invention.

具体实施方式 Detailed ways

[0037] 本发明实施例提供一种部署虚拟机的方法,旨在使物理机之间的网络流量最小,以达到节省跨物理机网络流量的目的。 Embodiment [0037] The present invention provides a method for deploying the virtual machine, designed to enable the network traffic between the physical machine to a minimum to achieve savings of network traffic across physical machines. 该方法根据预设的每两个虚拟机之间的网络部署流量,将M个待部署虚拟机分为N个组,N个组之间的网络部署流量最小,再将同一个组内的虚拟机部署在同一个物理机上。 The method according to the network deployment of traffic between two virtual machines each preset, the M virtual machines to be deployed into N groups, the minimum traffic between network deployment N groups, and then the same within a group of virtual machines deployed on the same physical machine. 两个虚拟机之间的网络部署流量是指两个虚拟机之间的可部署最大网络流量,该可部署最大网络流量可以是申请部署虚拟机的用户申请的,也可以是网络提供商指定的。 Deployment of network traffic between two virtual machines can be deployed refers to the largest network traffic between two virtual machines, which can be deployed maximum network traffic may be apply to apply user deployment of virtual machines can also be specified by the network provider .

[0038] 下面结合说明书附图,对本发明实施例进行详细描述。 [0038] the following description in conjunction with the accompanying drawings, embodiments of the present invention will be described in detail.

[0039] 图1为本发明实施例提供的虚拟机部署方法,具体包括以下步骤: [0039] FIG 1 VM deployment method according to an embodiment of the present invention includes the following steps:

[0040] SlOl:获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量。 [0040] SlOl: obtaining network traffic between the M deployed to be deployed in each of the two virtual machines VM.

[0041] 其中,M为大于等于2的正整数。 [0041] wherein, M being a positive integer greater than or equal to 2.

[0042] 在本发明实施例中,可在云平台中预置部署装置,部署装置可获取待部署虚拟机中每两个虚拟机之间的网络部署流量。 [0042] In an embodiment of the present invention, the deployment means may be preset in the cloud platform, the deployment device can obtain the network traffic between the deployed virtual machines to be deployed in each of the two virtual machines. 具体的,假设用户向云平台申请M个虚拟机时,可设定其申请的各虚拟机之间的网络部署流量,用户申请的这些虚拟机即为待部署虚拟机,部署装置则可根据用户向云平台提交的申请虚拟机的申请请求,获取用户申请的M个待部署虚拟机中每两个虚拟机之间的网络部署流量。 Specifically, suppose a user application virtual machines to the M cloud platform, which can be set to apply traffic network deployment, the user application among these virtual machines VM virtual machine that is to be deployed, the deployment means may according to a user application requests a virtual machine application submitted to the cloud platform, access to network traffic between the user application deployed the M virtual machines to be deployed in each of the two virtual machines.

[0043] 例如,用户要申请5个虚拟机,分别为虚拟机A〜E,也即,虚拟机A〜E就是5个待部署虚拟机,用户设定虚拟机A与虚拟机B之间的网络部署流量为100M、虚拟机B与虚拟机C之间的网络部署流量为200M、虚拟机A与虚拟机C之间的网络部署流量为100M、虚拟机D与虚拟机E之间的网络部署流量为100M。 [0043] For example, a user to apply five virtual machine, the virtual machine A~E respectively, i.e., the virtual machine is A~E five virtual machines to be deployed, the user A is set between virtual machines and virtual machine B, deployment of the network traffic 100M, network traffic between the deployed virtual machines and virtual machine B is C 200M, network traffic between the deployed virtual machines and the virtual machine a is a C 100M, the network between the virtual machine and the virtual machine D E deploy flow 100M. 用户将上述虚拟机的数量以及各虚拟机之间的网络部署流量携带在申请请求中发送给云平台,云平台中的部署装置则获取用户预设的这5个待部署虚拟机中每两个虚拟机之间的网络部署流量。 The user traffic between the network deployment of virtual machines and the number of the virtual machines carrying platform to a cloud in the application request, the cloud platform deployment device preset by the user is acquired five virtual machines to be deployed in each of the two deployment of network traffic between virtual machines.

[0044] S102:根据M个待部署虚拟机中每两个虚拟机之间的网络部署流量,将M个待部署虚拟机划分为N个组,使得该N个组之间的网络部署流量最小。 [0044] S102: The network traffic between the deployment of the M virtual machines to be deployed in each of the two virtual machines, the M virtual machines to be deployed into N groups so as to minimize network traffic between the deployment of the groups N .

[0045] 其中,N为大于等于2,小于等于M的正整数,该N个组中任意两个组之间的网络部署流量为:第一组内的所有待部署虚拟机与第二组内的所有待部署虚拟机之间的网络部署流量之和。 [0045] wherein, N is greater than or equal to 2, M is a positive integer less than or equal, the deployment of network traffic between the N groups of any two groups: all the virtual machines to be deployed in the first group and the second group All the deployment of network traffic between virtual machines and to be deployed.

[0046] 继续沿用上例,部署装置确定了待部署虚拟机A〜E中每两个虚拟机之间的网络部署流量后,针对虚拟机D和虚拟机E,可确定虚拟机A〜C与虚拟机D和虚拟机E之间均不需要网络流量,也即,虚拟机A〜C与虚拟机D和E之间的网络部署流量最小,因此,部署装置可将虚拟机A〜C分为一个组,将虚拟机D和虚拟机E分为另一个组。 After [0046] Continuing with embodiments, deployment device determines the network traffic between the deployed virtual machines to be deployed in each of the two virtual machines A~E for virtual machines and virtual machine D E, and may determine the virtual machine A~C not need the network traffic between virtual machines and virtual machine D E, i.e., the deployment of network traffic between virtual machines and virtual machine A~C D and E minimum, therefore, the device may be deployed into a virtual machine A~C a group of the virtual machine and the virtual machine D E into another group. 这样,对于这两个组中的任意一个组来说,该组内的所有虚拟机与另一个组内的所有虚拟机之间所需的网络流量之和为最小,即为O。 Thus, for any one group of the two groups, the required across all virtual machines of all the virtual machines in the other group within the group of network traffic and the minimum, that is O.

[0047] S103:将N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上。 [0047] S103: The N groups of K are deployed on a physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine.

[0048] 其中,K为大于等于I,小于等于N的正整数。 [0048] where, K is greater than or equal I, N is a positive integer less.

[0049] 在本发明实施例中,由于步骤S102中每个组内的虚拟机与其他组内的虚拟机之间的网络部署流量最小,因此,将同一个组内的虚拟机部署在同一个物理机上后,各物理机之间所需的网络流量也最小,可以减少因虚拟机之间的交互而浪费的网络流量,一个组内的虚拟机之间的大量交互只在其所在的物理机内部进行即可。 [0049] In an embodiment of the present invention, since the S102, virtual machines within each group the minimum step, therefore, the same group within a virtual machine network deployment and deployment traffic between virtual machines in the other groups in the same after physical machine, each of the physical machines required between minimal network traffic may be reduced due to the interaction between virtual machines wasted network traffic, a large number of interactions between the virtual machines within a physical machine in which it is set only in the internal proceeds.

[0050] 继续沿用上例,部署装置将虚拟机A〜C分为一个组,将虚拟机D和E分为一个组后,可将虚拟机A〜C部署在一个物理机上,将虚拟机D和E部署在另一个物理机上,从而,由于虚拟机A〜C与虚拟机D和E之间不需要进行交互,因此,部署虚拟机A〜C的物理机和部署虚拟机D和E的物理机之间也不需要进行交互,虚拟机A〜C之间的交互可在部署虚拟机A〜C的物理机内部进行,虚拟机D和E之间的交互可在部署虚拟机D和E的物理机内部进行,进而可节省这两个物理机之间的网络资源。 [0050] Continuing with embodiments, a virtual machine A~C deployment device into a group, the virtual machine D and E are divided into a rear group, the virtual machine may A~C deployed on a physical machine, the virtual machine D E and deployed on another physical machine, so that, because of the virtual machine and the virtual machine A~C D and E need to interact, thus, the virtual machine is deployed A~C physical and virtual machines deployed physical D and E no need for interaction between machines, the interaction between virtual machines A~C can be carried out within the physical machine deployment of virtual machines A~C interaction between virtual machines D and E can deploy virtual machines D and E internal physical machine, and thus can save network resources between two physical machines.

[0051] 当然,部署装置也可将虚拟机A〜E均部署在同一个物理机上,只要保证同一个组内的虚拟机部署在同一个物理机上即可。 [0051] Of course, the deployment means may also be a virtual machine A~E are deployed on the same physical machine, as long as the virtual machine within the same group can be deployed on the same physical machine.

[0052] 进一步的,由于将一个虚拟机部署在一个物理机上后,该虚拟机需要使用该物理机上的资源(例如计算资源、存储资源等)来运行,因此,将M个待部署虚拟机分为N个组后,上述步骤S103中部署装置将N个组分别部署在K个物理机上的方法可以为:将N个组部署在满足指定条件的K个物理机上,其中该指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于该第i组内所有待部署虚拟机所需资源对应的资源参数值之和,i为I到N之间的任意正整数。 [0052] Further, since a virtual machine is deployed on a physical machine, the virtual machine needs to use resources on the physical machine (e.g., computing resources, storage resources, etc.) to run, and therefore, the M be deployed virtual machines minutes N number of the groups, the above-described step S103 deployment device the N groups are deployed in the K physical machine method may be: the N groups are deployed on a specified condition K physical machine, wherein the specified condition for resource deployment physical parameters of the i-th group corresponding to the remaining resources is not less than all the virtual machines to be deployed within the desired set of resources corresponding to the i-th parameter values ​​and resources, i is any one between the I N a positive integer. 也即,部署装置在部署一个组内的虚拟机时,在各物理机中,查找剩余的资源不小于该组内所有虚拟机所需的资源的和值(即,第二和值)的物理机,查找到的物理机即为满足指定条件的物理机,再将该组内的所有虚拟机都部署在查找到的物理机上。 That is, when the deployment device to deploy a virtual machine in a group, in the physical machine, look for less than the remaining resources within the resource group is not required for all virtual machines and the value (i.e., a second sum value) physical machine, find the physical machine shall meet the specified conditions of physical machines, then all the virtual machines within the group are deployed on the physical machine to find.

[0053] 更进一步的,由于对于一个组内的虚拟机来说,并不是所有的物理机都可以部署该组内的虚拟机(如,剩余的资源小于该组内虚拟机所需的资源的和值的物理机),因此,为了在节省物理机之间的网络流量的同时,兼顾虚拟机所带来的收益,在本发明实施例提供的上述部署方法中,对M个待部署虚拟机分为N个组之后,可优先部署收益较大组内的虚拟机。 [0053] Still further, since the virtual machines within a group is not all the physical machines can be deployed virtual machines within the set (e.g., less than the remaining resources required for a virtual machine resources within the group values ​​and physical machines), and therefore, in order to save network traffic at the same time between the physical machine, taking into account the benefits brought by the virtual machine, in the embodiment of the present invention, the above method provided in the deployment, the M virtual machines to be deployed after divided into N groups, priority deploy virtual machines proceeds within a larger group. 具体的,部署装置对M个待部署虚拟机分为N个组之后,可将该N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上。 After Specifically, the deployment device into N groups of M to be deployed on the virtual machine, the N groups in order of descending values ​​of unit resources proceeds group K has deployed on physical machines. 其中,一个组的单位资源收益值为:该组内所有待部署虚拟机的收益参数值之和,与该组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 Wherein, the resource unit is a group of benefits: the set of all the virtual machines to be deployed return and parameter values, within the set of parameter values ​​to be deployed all resources and resources corresponding to the ratio of the desired virtual machine. 这样,即可保证单位资源收益值较大的组内的虚拟机可以被优先部署,进而提高了可以带来较大收益的组内的虚拟机被成功部署的几率。 In this way, we can ensure that resources unit profit value larger virtual machines within a group can be preferentially deployed, thereby increasing the chances of virtual machines within a group can bring greater benefits to be successful deployment.

[0054] 另一方面,当M大于2时,所述N个组中的第i组内可能包括多个虚拟机;部署装置将M个待部署虚拟机分为N个组后,针对该N个组中的第i组,当不存在满足指定条件的物理机,且该第i组有大于I个待部署虚拟机时,也即,当所有的物理机剩余的资源均小于该第i组内所有虚拟机所需的资源的和值,且该第i组有大于I个待部署虚拟机时,部署装置则可将该第i组内的待部署虚拟机再划分为S个组,使得所述S个组之间的网络部署流量最小,其中,S为大于等于2,小于M-1的正整数,再将该S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于1,小于等于S的正整数。 [0054] On the other hand, when M is greater than 2, the i-th group of the N groups may include a plurality of virtual machines; deployment device to deploy the M virtual machines to be divided into the N groups, for which N group i th groups, when the specified condition is physical machine does not exist, and the i-th group is greater than the I-th to be deployed virtual machines, i.e., when all the remaining resources of the physical machine are smaller than the group i and the values ​​required for all virtual machine resources, and the second group is greater than I i a virtual machine to be deployed, the deployment device can be deployed virtual machines within the i-th group is subdivided into S groups, such the deployment of network traffic between the minimum S groups, wherein, S is not less than 2, a positive integer less than M-1, and then the S groups are deployed on a physical machine T, such that within the same group to be deployment of virtual machines deployed on a single physical machine, wherein, T 1 is greater than or equal, less than or equal to a positive integer S.

[0055] 具体的,将第i组内的虚拟机再划分为S个组时,同样要根据该第i组内每两个待部署虚拟机之间的网络部署流量,按照S个组之间的网络部署流量最小的划分方式,将该第i组内的待部署虚拟机重新划分为S个组。 [0055] Specifically, the virtual machine in the i-th group is subdivided into groups, to the same, according to a network deployment between the S traffic between each two virtual machines to be deployed inside the group i groups in accordance with the S the minimum flow of network deployment division manner, the virtual machines to be deployed within the i-th group reclassified as S groups.

[0056] 例如,假设第i组内有虚拟机A〜C,其中,虚拟机A与虚拟机B之间的网络部署流量为100M,虚拟机B与虚拟机C之间的网络部署流量为200M,则当没有任何一个物理机剩余的资源不小于该第i组内所有虚拟机所需的资源的和值(即,虚拟机A〜C所需的资源的和值)时,由于该第i组内有3个待部署虚拟机,因此部署装置将第i组内的虚拟机再划分为S个组。 [0056] For example, the virtual machine A~C the i-th set of hypotheses, wherein deploying the network traffic between virtual machines and virtual machine B to A 100M, network traffic between the deployed virtual machines and virtual machine B is C 200M , then if there are no remaining resource and a value not less than the physical machine resources within the i-th group required for all virtual machines (i.e., the desired value of the virtual machine and the resource A~C), since the i there are three groups to be deployed within the virtual machines, the virtual machine device thus deployed within the i-th group is subdivided into S groups. 假设S为2,则: S 2 is assumed, then:

[0057] 部署装置如果将虚拟机A重新划分为一个组,记为第一组,将虚拟机B和C重新划分为另一个组,记为第二组,则第一组中的虚拟机A只与第二组中的虚拟机B之间有100M的网络部署流量,因此重新划分的两个组之间的网络部署流量就是100M。 [0057] If the virtual machine deployment device reclassified to a group A, referred to as a first group, the virtual machine B and C are reclassified to another group, referred to as a second group, the first group of the virtual machine A only 100M network deployment traffic between virtual machines in the second group B and, therefore reclassified the deployment of network traffic between the two groups is 100M. 如果将虚拟机B重新划分为一个组,将虚拟机A和C重新划分为另一个组,则由于虚拟机B与虚拟机A之间有100M网络部署流量,虚拟机B与虚拟机C之间有200M网络部署流量,因此重新划分的两个组之间的网络部署流量为100M+200M=300M。 If the virtual machine B reclassified to a group, the virtual machine A and C reclassified to another group, because the network deployment 100M traffic, the virtual machine B and C between the virtual machines and the virtual machine virtual machine B between A there are network deployment 200M traffic, the network traffic between the two groups deployment reclassified as 100M + 200M = 300M. 如果将虚拟机C重新划分为一个组,将虚拟机A和B重新划分为另一个组,则由于虚拟机B与虚拟机C之间有200M的网络部署流量,因此重新划分的两个组之间的网络部署流量为200M。 If the virtual machine C reclassified to a group, the virtual machine A and B are reclassified to another group, because the network deployment 200M traffic between virtual machines and virtual machine B C, thus two groups of redrawing traffic between network deployment to 200M. 可见,重新划分的两个组之间所需的网络流量最小的划分方式是第一种划分方式,第一种划分方式可使重新划分的组之间的网络部署流量为最小的100M,因此,采用第一种划分方式重新对该第i组内的虚拟机A〜C分组,并在重新分组后,按照将同一个组内的虚拟机部署在同一个物理机上的方式,将重新分组后的虚拟机部署在T个物理机上。 Seen, two sets of network traffic required minimum division in the division is between the first re-division manner, the first embodiment can be divided among the group traffic network deployment is minimized reclassified 100M, therefore, using a first packet re-division manner within the virtual machine A~C group i, and re-grouped according to the same manner within a group of virtual machines deployed on the same physical machine, after regrouping T virtual machine deployed on a physical machine.

[0058] 另外,部署装置将M个待部署虚拟机分为N个组后,针对该N个组中的第i组,当不存在满足指定条件的物理机(即,所有的物理机剩余的资源均小于该第i组内所有虚拟机所需的资源的和值),且该第i组只有I个待部署虚拟机时,则可选择N个组中除第i组之外任意一个组中的一个已部署的虚拟机,如果将选择的该已部署的虚拟机替换为该第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,采用该第i组内的虚拟机替换选择的该已部署的虚拟机。 [0058] Further, the deployment means the M virtual machines to be deployed into N groups after, for a group i of the N groups, the absence of physical machine when specified conditions are met (i.e., all remaining physical machine resources are less than the resources required for the i-th group and all virtual machines value), and the group i I only be deployed when a virtual machine, can select N groups of any group other than a group of the i after deployed in a virtual machine, if the selected virtual machines deployed virtual machines in replacement for the i-th group, with the replacement of the front and deployment of network traffic between the K physical machine K difference between the physical machines network deployment and the flows of less than a set threshold value, and the parameter value on the front of the K gains deployed on a physical machine and the virtual machine is greater than K physical machine after replacement of the replacement deployed parameter values ​​and the gains of the virtual machine, the virtual machine virtual machine within the i-th group of the selected alternative deployed.

[0059] 例如,假设用户要申请5个虚拟机,分别为虚拟机A〜E,也即,虚拟机A〜E即为5个待部署虚拟机,用户设定虚拟机A与虚拟机B之间的网络部署流量为100M、虚拟机B与虚拟机C之间的网络部署流量为200M、虚拟机A与虚拟机C之间的网络部署流量为100M、虚拟机D与虚拟机E之间的网络部署流量为100M。 [0059] For example, suppose a user to apply five virtual machine, the virtual machine A~E respectively, i.e., a virtual machine that is five A~E be deployed virtual machines, the virtual machine A and the user sets the virtual machine B is traffic between network deployment is 100M, the deployment of network traffic between virtual machines and virtual machine B is C 200M, network traffic between the deployed virtual machines and the virtual machine a is a C 100M, D and between virtual machines in a virtual machine E network deployment flow 100M. 用户将上述虚拟机的数量以及各虚拟机之间的网络部署流量携带在申请请求中发送给云平台,云平台中的部署装置则获取这5个待部署虚拟机中每两个虚拟机之间的网络部署流量。 The user traffic between the network deployment of virtual machines and the number of the virtual machines carrying platform to a cloud, the cloud platform deployment device is acquired in the application request be deployed between 5 every two virtual machines VM network deployment traffic.

[0060] 部署装置将虚拟机A〜C分为一个组,记为第一组,将虚拟机D和虚拟机E分为另一个组,记为第二组。 [0060] The deployment device into a virtual machine A~C groups, referred to as a first group, the virtual machines and virtual machine D into another group E, referred to as a second group. 部署装置将第一组内的虚拟机A〜C部署在第一物理机上,但部署装置在部署第二组内的虚拟机D和E时,发现没有任何物理机的剩余资源不小于该第二组内的虚拟机D和E所需的资源的和值,从而将第二组重新划分为两个组,将虚拟机D重新划分为一个组,记为第三组,将虚拟机E重新划分为另一个组,记为第四组。 Virtual machine A~C deployment device in the first group deployed on a first physical machine, but when the deployment device to deploy a virtual machine D and E in the second group did not find any physical resources remaining is not less than the second and the value of the virtual machine resources required for E and D in the group, so that the second set of re-divided into two groups, the virtual machine reclassified to a D group, referred to as the third group, the virtual machine reclassified E another group, referred to as a fourth group.

[0061] 针对第三组,部署装置确定第二物理机的剩余资源不小于第三组内的虚拟机D所需的资源,因此将第三组内的虚拟机D部署在第二物理机上。 [0061] For the third group, the second deployment device determines the remaining resources of the physical machine resources required not less than D in the third virtual machine group, and therefore the virtual machine within the third group D deployed on a second physical machine.

[0062] 针对第四组,部署装置发现仍没有任何物理机的剩余资源不小于该第四组内的虚拟机E所需的资源,因此,从已部署的虚拟机A〜D中选择一个虚拟机。 [0062] Thus, to select from the virtual machines deployed against A~D fourth group, deployment device is still not found any physical resources remaining is not less than the resources needed for the virtual machines within the fourth group E, a virtual machine. 根据当前已部署的各虚拟机(已部署的虚拟机为虚拟机A〜D)中每两个虚拟机之间的网络部署流量,可确定当前第一物理机和第二物理机之间的网络部署流量之和为0,。 According to the virtual machine currently deployed (deployed virtual machines to virtual machines A~D) deployed network traffic between every two virtual machines, it may determine the network between the first and second physical machine physical machine current deployment of traffic and 0 ,.

[0063] 假设设定阈值为20M,当选择的已部署的虚拟机是虚拟机A时,则部署装置如果将已部署在第一物理机上的虚拟机A替换为第四组中的虚拟机E(S卩,将虚拟机A迁出第一物理机,将虚拟机E部署在第一物理机上),则由于虚拟机E与虚拟机D之间的网络部署流量为100M,因此替换后第一物理机与第二物理机的网络部署流量之和为100M,而替换前的第一物理机与第二物理机之间的网络部署流量之和为0,因此替换后各物理机之间所需的网络流量之和100M减O不小于设定阈值20M,从而不将部署在第一物理机上的虚拟机A替换为第四组的虚拟机E。 [0063] provided that the set threshold 20M, when the selected deployed virtual machine is a virtual machine A, the virtual machine if the replacement device A which has been deployed on a first physical machine is deployed in the fourth set of virtual machines E (S Jie, a first virtual machine to move out of the physical machine a, E virtual machines deployed on a first physical machine), since the deployment of the network traffic between virtual machines and virtual machine D E is 100M, so after first replacing deployment of the network traffic of the second physical machine for the physical machine and 100M, and the deployment of network traffic between the front of the machine and replacing the first physical unit and second physical 0, between the desired physical machine after replacing Thus 100M network traffic Save sum is not less than the set threshold O 20M, so as not to replace the virtual machine a is deployed on a first physical machine to a virtual machine of the fourth group E. 类似的,也不将部署在第一物理机上的虚拟机B、C替换为第四组的虚拟机E。 Similarly, not deployed on a first physical machine to a virtual machine B, C replaced by a fourth group of virtual machines E.

[0064] 当选择的已部署的虚拟机是虚拟机D时,则部署装置如果将已部署在第二物理机上的虚拟机D替换为第四组中的虚拟机E,则替换后第一物理机与第二物理机之间的网络部署流量之和仍为O,因此替换后各物理机之间的网络部署流量之和O减替换前各物理机之间的网络部署流量之和O的差值小于设定阈值20M,假设虚拟机E的收益参数值大于虚拟机D的收益参数值,则部署装置将已部署在第二物理机上的虚拟机D替换为第四组中的虚拟机E,即,将虚拟机D迁出第二物理机,将虚拟机E部署在第二物理机上。 [0064] When the selected virtual machine is deployed virtual machine D, then means replacing if deployed on a second physical machine to a virtual machine virtual machine D E in the fourth group, the first physical deployment after replacing deployment of the network traffic between the machine and the second is still physical and O, thus replacing the network deployment of traffic between O and alternative physical machine Save deployment of network traffic between the physical machines and the front differential O smaller than the set threshold value 20M, assuming return parameter value returns the parameter value E is greater than the virtual machine virtual machine D, the deployment device has been deployed on a second physical machine virtual machine D is replaced in the fourth set of virtual machines E, That is, the second virtual machine to move out of the physical machine D, E virtual machines deployed on a second physical machine.

[0065] 后续的,对于被替换出来的虚拟机,部署装置则可针对该被替换出来的虚拟机查找满足指定条件的物理机,若查找到,则将该被替换出来的虚拟机部署在查找到的物理机上,若未查找到,则该被替换出来的虚拟机部署失败,可向用户返回该虚拟机的部署失败消肩、O [0065] Subsequent, to be replaced out of the virtual machine, the deployment device can be replaced with lookup for the virtual machine out of the physical machine satisfies a specified condition, if found, then the virtual machine to be replaced out of the deployment to find on the physical machine, if not found, it is replaced by the virtual machine fails to deploy, fail to return to the deployment of the shoulder arc to the user's virtual machine, O

[0066] 以上为本发明实施例提供的虚拟机的部署方法,基于同样的发明思路,本发明实施例还提供了相应的虚拟机部署装置,如图2所示。 [0066] The above method of deploying the virtual machine according to an embodiment of the present invention, based on the same idea of ​​the invention, embodiments of the present invention further provides a corresponding virtual machine deployment device, as shown in FIG.

[0067] 图2为本申请实施例提供的虚拟机的部署装置结构示意图,具体包括: [0067] FIG. 2 is a schematic diagram of a virtual machine application deployment device configuration according to an embodiment, comprises:

[0068] 获取模块201,用于获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; [0068] The obtaining module 201, configured to acquire network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, M being a positive integer greater than or equal to 2;

[0069] 划分模块202,用于根据所述获取模块201获取的所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的正整数; [0069] The dividing module 202, according to the deployment of traffic between the network obtaining module 201 acquires the M virtual machines to be deployed in each of the two virtual machines to be deployed, the M division to be deployed virtual machines into N groups, the N such that network traffic between the minimum deployment groups, wherein N is greater than or equal to 2, M is a positive integer less than or equal;

[0070] 部署模块203,用于将所述划分模块202划分的所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于1,小于等于N的正整数。 [0070] The deployment module 203, 202 for dividing the dividing said N modules are deployed in groups on the K physical machine, such that the virtual machines to be deployed within the same group deployed on the same physical machine, where, K greater than or equal to 1, N is a positive integer less than or equal.

[0071] 所述部署模块203具体用于,将所述划分模块202划分的所述N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上;其中,组的单位资源收益值为:所述组内所有待部署虚拟机的收益参数值之和,与所述组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 [0071] The deployment module 203 is configured, the dividing module 202 dividing the N number of groups in descending order profit value the resource unit group K has deployed on physical machines; wherein the group return unit resource is: the ratio of the parameter values ​​for all gains to be deployed virtual machines within the set, and, within the group of virtual machines to be deployed all parameter values ​​corresponding to the resources and the resources required.

[0072] 所述部署模块203具体用于,将所述划分模块202划分的所述N个组部署在满足指定条件的K个物理机上,其中所述指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于所述第i组内所有待部署虚拟机所需资源对应的资源参数值之和,i为I到N之间的任意正整数。 [0072] The deployment module 203 is configured, the dividing module 202 dividing the N groups are deployed on a specified condition K physical machine, wherein the specified condition for the deployment of a physical group i resource remaining resource machine parameter value corresponding to not less than all the virtual machines to be deployed within the desired set of resources corresponding to the i-th parameter values ​​and resources, I i is any positive integer N between.

[0073] 当M大于2时,所述划分模块202还用于,针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组有大于I个待部署虚拟机时,将所述第i组内的待部署虚拟机划分为S个组,其中S为大于等于2,小于M-1的正整数; [0073] When M is greater than 2, the dividing module 202 is further configured to, for a group i of the N groups, the specified condition is met when there is a physical machine, and the i-th group is greater than the I when a virtual machine to be deployed, the i-th group to be deployed within the virtual machines are divided into groups S, where S is greater than or equal to 2 and less than M-1, a positive integer;

[0074] 所述部署模块203还用于,将所述划分模块202划分的所述S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于I,小于等于S的正整数。 [0074] The deployment module 203 is further configured, the dividing module 202 to the divided groups S are deployed on a physical machine T, such that to be deployed within the same set of virtual machines deployed on the same physical machine, wherein, T is greater than or equal I, S is a positive integer less.

[0075] 当M大于2时,所述部署模块203还用于,针对所述划分模块202划分的所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组只有I个待部署虚拟机时,选择所述N个组中除所述第i组之外一个已部署的虚拟机;如果将所述选择的已部署的虚拟机替换为所述第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,用所述第i组内的虚拟机替换所述选择的已部署的虚拟机。 [0075] When M is greater than 2, the deployment module 203 is further configured, for the i-th group of the dividing module 202 dividing the N groups, when the specified condition is the absence of a physical machine, and the group i I only be deployed when a virtual machine, the virtual machine of the N selected groups other than the i-th group a deployed; if the selected virtual machine to the replacement of a deployed after the virtual machines in the group i, and the deployment and replacement of network traffic between the K physical machine deployment of network traffic between the physical and the K value is less than the previous set threshold, and replaced when the K deployed virtual machines on physical machines of parameter values ​​and the gains of the K prior to deployment of virtual machines on physical machines of parameter values ​​and the gains greater than a replacement, be replaced with the virtual machines in the group i select the deployed virtual machine.

[0076] 图3为本发明实施例提供的虚拟机的部署装置硬件结构示意图,具体包括: [0076] Fig 3 a schematic hardware configuration of virtual machine deployment device according to an embodiment of the present invention comprises:

[0077] 处理器301、存储器302、通信接口303和总线304。 [0077] processor 301, a memory 302, a communication interface 303 and bus 304. 处理器301、存储器302、通信接口303通过总线304相互连接。 Processor 301, a memory 302, a communication interface 303 interconnected by a bus 304.

[0078] 总线304可以用于在两个设备、器件之间传输数据或信号。 [0078] The bus 304 may be used to transfer data between two devices or signal devices. 例如,总线具体可以包括地址总线、数据总线、控制总线等,为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 For example, the bus may specifically include an address bus, a data bus, a control bus, etc., for the ease of illustration, only in Fig. 3 with a thick, but does not mean that only one type of bus or a bus.

[0079] 通信接口303,用于获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数。 [0079] The communication interface 303, network deployment for obtaining the M traffic between virtual machines to be deployed in each of the two virtual machines, M is a positive integer greater than or equal to 2.

[0080] 存储器302,用于存放程序。 [0080] memory 302 for program storage. 具体地,程序可以包括程序代码,所述程序代码包括用于实现上述实施例提供的方法的计算机操作指令。 Specifically, the program may include program code, the computer program code comprises instructions for implementing the operating method of Example provided. 存储器302可能包含高速随机存取存储器(random access memory,简称RAM)存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。 The memory 302 may include high-speed random access memory (random access memory, referred to as RAM) memory, and may also include non-volatile memory (non-volatile memory), for example, at least one disk memory.

[0081] 处理器301执行存储器302所存放的程序,用于实现本发明实施例提供的方法,包括: [0081] The processor 301 executes a program stored in memory 302, implement the method provided in the embodiment of the present invention, comprising:

[0082] 通过通信接口303获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; [0082] 303 acquires the network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, via the communication interface M is a positive integer greater than or equal to 2;

[0083] 根据所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的的正整数; [0083] According to network deployment of the M traffic between virtual machines to be deployed in each of the two virtual machines to be deployed, the M virtual machines to be deployed into N groups, such groups between the N network deployment minimum flow, where N is greater than or equal to 2, M is less than or equal to a positive integer;

[0084] 将所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于I,小于等于N的正整数。 [0084] the N groups are deployed in the K physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, K is greater than or equal I, less than the positive integer equal to N,.

[0085] 本发明实施例提供的虚拟机的部署装置可以是各种形态的装置,如集成在一块芯片上或通过硬件电路搭建实现等。 Virtual machine deployment device according to an embodiment of the [0085] apparatus of the present invention may be in various forms, such as integrated on a single chip or circuit structures realized by hardware.

[0086] 本发明实施例还提供一种存储介质,该存储介质中存储计算机程序,该计算机程序用于实现本发明实施例提供的虚拟机的部署方法,例如,所述虚拟机的部署方法包括: [0086] Embodiments of the present invention further provides a storage medium, the storage medium storing a computer program, the computer program for implementing the method for deploying the virtual machine according to an embodiment of the present invention, e.g., the virtual machine deployment method comprising :

[0087] 获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; [0087] Gets the network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, M being a positive integer greater than or equal to 2;

[0088] 根据所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的的正整数; [0088] According to network deployment of the M traffic between virtual machines to be deployed in each of the two virtual machines to be deployed, the M virtual machines to be deployed into N groups, such groups between the N network deployment minimum flow, where N is greater than or equal to 2, M is less than or equal to a positive integer;

[0089] 将所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于I,小于等于N的正整数。 [0089] the N groups are deployed in the K physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, K is greater than or equal I, less than the positive integer equal to N,.

[0090] 所述存储介质中存储的计算机程序包括程序代码,所述程序代码包括用于实现本发明实施例提供的方法的计算机操作指令。 The [0090] storage medium storing a computer program comprising a program code, the program code comprising instructions for implementing the method of operation of a computer according to an embodiment of the present invention. 存储介质可能包含高速随机存取存储器(random access memory,简称RAM)存储器,也可能还包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。 Storage medium may include high-speed random access memory (random access memory, referred to as RAM) memory, and may also include non-volatile memory (non-volatilememory), such as at least one disk memory.

[0091] 本发明实施例提供一种虚拟机的部署方法及装置,根据M个待部署虚拟机中每两个虚拟机之间的网络部署流量,将M个待部署虚拟机分为N个组,使得N个组之间的网络部署流量最小,再将同一个组内的虚拟机部署在同一个物理机上。 [0091] Example embodiments provide a method and apparatus for deploying the virtual machine of the present invention, depending on the network deployment of the M traffic between virtual machines to be deployed in each of the two virtual machines, the M virtual machines to be deployed into N groups , so that network traffic between the deployed set of N minimized, then the virtual machine within a same group deployed on the same physical machine. 通过上述方法,由于N个组之间的网络部署流量最小,因此,将同一个组内的虚拟机部署在同一个物理机上后,物理机之间所需的网络流量也最小,可有效节省物理机之间的网络流量。 After the above-described method, since the deployment of network traffic between the minimum N groups, therefore, the same within a group of virtual machines deployed on a single physical machine, physical machines required between minimal network traffic, which can effectively save the physical network traffic between machines.

[0092] 本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。 [0092] skilled in the art should understand that the embodiments of the present disclosure may provide a method, system, or computer program product. 因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Accordingly, the present disclosure may be of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present application may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0093] 在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。 [0093] In a typical configuration, computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0094] 内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。 [0094] The memory may include a computer-readable medium volatile memory, a random access memory (RAM) and / or other forms of nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM). 内存是计算机可读介质的示例。 Are examples of computer-readable memory medium.

[0095] 计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。 [0095] Computer-readable media includes both permanent and non-permanent, removable and non-removable media may be accomplished by any method or technology for storing information. 信息可以是计算机可读指令、数据结构、程序的模块或其他数据。 Information may be computer-readable instructions, data modules, or other data structures, program. 计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。 Examples of computer-storage media include, but are not limited to, phase change memory (the PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, CD-ROM read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, or magnetic disk storage or other magnetic storage devices, any other non-transmission medium, may be used to store information can be accessed by computing device. 按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。 As defined herein, computer-readable media does not include non-transitory computer-readable medium (transitory media), such as a data signal and carrier modulation.

[0096] 本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0096] The present application is a method according to an embodiment of the present application, a flowchart of a computer program product and apparatus (systems) and / or described with reference to block diagrams. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0097] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0097] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0098] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0098] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0099] 尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0099] While the present disclosure has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of this application and all changes and modifications.

[0100] 显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。 [0100] Obviously, those skilled in the art may be embodiments of the present application that various changes and modifications without departing from the scope of the embodiments of the present application. 这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present embodiments application of the present application within the scope of the claims and equivalents thereof, the present application is intended to cover these modifications and variations.

Claims (10)

1.一种虚拟机的部署方法,其特征在于,包括: 获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; 根据所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的正整数; 将所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于1,小于等于N的正整数。 CLAIMS 1. A method for deploying a virtual machine, wherein, comprising: obtaining traffic between the network deployment of M virtual machines to be deployed in each of the two virtual machines, M is a positive integer greater than or equal to 2; in accordance with the M be deployed network deployment traffic between each two virtual machines are to be deployed in the M virtual machines to be deployed into N groups so as to minimize the traffic between the network deployment N groups, wherein N not less than 2, less than the positive integer equal to M; and the N groups are deployed in the K physical machine, such that to be deployed virtual machines within the same group deployed on the same physical machine, where, K is greater than or equal to 1 , less than or equal to N a positive integer.
2.如权利要求1所述的方法,其特征在于,将所述N个组分别部署在K个物理机上,具体包括: 将所述N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上;其中,组的单位资源收益值为: 所述组内所有待部署虚拟机的收益参数值之和与所述组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 2. The method according to claim 1, wherein said N groups are deployed in the K physical unit, comprises: the N groups according to resource units in descending return value group order K has deployed on physical machines; wherein the return unit resource group is: the corresponding parameter values ​​of the gains to be deployed and all the virtual machines to be deployed with all virtual machines in said set of required resources within the group parameter values ​​and the ratio of resources.
3.如权利要求1或2所述的方法,其特征在于,将所述N个组分别部署在K个物理机上,具体包括: 将所述N个组部署在满足指定条件的K个物理机上,其中所述指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于所述第i组内所有待部署虚拟机所需资源对应的资源参数值之和,i为I到N之间的任意正整数。 3. The method according to claim 1, wherein said N groups are deployed in the K physical machine comprises: deploying the N groups on the specified condition K physical machine , wherein the specified condition for the resource remaining resource value of the physical parameter deployment group i corresponding to not less than all the virtual machines to be deployed within the i-th group corresponding to the resources required and the resources as a parameter value, for the i between I to N arbitrary positive integer.
4.如权利要求3所述的方法,其特征在于,当M大于2时,所述方法还包括: 针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组有大于I个待部署虚拟机时,将所述第i组内的待部署虚拟机划分为S个组,其中S为大于等于2,小于M-1的正整数; 将所述S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于I,小于等于S的正整数。 4. The method according to claim 3, wherein, when M is greater than 2, said method further comprising: for a group i of the N groups, the absence of physical machine when specified conditions are met, and the i-th group to be greater than I deploy a virtual machine, the virtual machine will be deployed within the i-th group is divided into groups S, where S is greater than or equal to 2, a positive integer less than M-1; and the said S groups are deployed on a physical machine T, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, T is equal to greater than I, S is a positive integer less.
5.如权利要求3所述的方法,其特征在于,当M大于2时,所述方法还包括: 针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组只有I个待部署虚拟机时,选择所述N个组中除所述第i组之外任意一个组中一个已部署的虚拟机; 如果将所述选择的已部署的虚拟机替换为所述第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,用所述第i组内的虚拟机替换所述选择的已部署的虚拟机。 5. The method according to claim 3, wherein, when M is greater than 2, said method further comprising: for a group i of the N groups, the absence of physical machine when specified conditions are met, and I set the i th to be deployed only when a virtual machine, the virtual machine of the N selected groups other than the i-th group in any one of a group deployed; if the selected virtual deployed after the machine is replaced with the virtual machine within the i-th group, the deployment of network traffic between the physical and the K value and the former with the replacement of the deployment of traffic between the network is less than K physical machine provided said deployed on the K physical machine VM parameter values ​​of the gains and the previous parameter value gains predetermined threshold value, and after replacing the deployment of the K physical machine virtual machines and greater than a replacement, with the inner group i replacing the virtual machine virtual machine to the selected deployed.
6.一种虚拟机的部署装置,其特征在于,包括: 获取模块,用于获取M个待部署虚拟机中每两个虚拟机之间的网络部署流量,M为大于等于2的正整数; 划分模块,用于根据所述获取模块获取的所述M个待部署虚拟机中每两个待部署虚拟机之间的网络部署流量,将所述M个待部署虚拟机划分为N个组,使得所述N个组之间的网络部署流量最小,其中N为大于等于2,小于等于M的正整数; 部署模块,用于将所述划分模块划分的所述N个组分别部署在K个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,K为大于等于1,小于等于N的正整数。 A deployment device in a virtual machine, wherein, comprising: an obtaining module, configured to acquire network between the M virtual machines to be deployed in each of the two virtual machines deployed flow, M being a positive integer greater than or equal to 2; partitioning module for acquiring the network traffic between modules deployed acquired by the M virtual machines to be deployed in each of the two virtual machines to be deployed, the dividing number M to be deployed virtual machines into N groups, so that network traffic between the deployment of the N set of minimum, where N is greater than or equal to 2, M is a positive integer less than or equal; deployment module for dividing the N number of divided modules are deployed in groups of K on a physical machine, such that to be deployed within the same set of virtual machines deployed on the same physical machine, where, K is greater than or equal to 1, N is a positive integer less than or equal.
7.如权利要求6所述的装置,其特征在于,所述部署模块具体用于,将所述划分模块划分的所述N个组按照组的单位资源收益值从大到小的顺序,先后部署在K个物理机上;其中,组的单位资源收益值为:所述组内所有待部署虚拟机的收益参数值之和与所述组内所有待部署虚拟机所需资源对应的资源参数值之和的比值。 7. The apparatus according to claim 6, wherein the deployment module is configured to divide the module groups dividing the N resource units in order of descending values ​​of gains set, has K deployed on physical machines; wherein the return value of the resource unit group: the parameter values ​​of the gains and the set of all groups in the virtual machines to be deployed resources required parameter values ​​corresponding to all the resources to be deployed virtual machines the ratio of the sum.
8.如权利要求6或7所述的装置,其特征在于,所述部署模块具体用于,将所述划分模块划分的所述N个组部署在满足指定条件的K个物理机上,其中所述指定条件为用于部署第i组的物理机剩余的资源对应的资源参数值不小于所述第i组内所有待部署虚拟机所需资源对应的资源参数值之和,i为I到N之间的任意正整数。 8. The apparatus as claimed in claim 6 or claim 7 wherein the wherein the deployment module is configured to divide the module N groups divided deployed on a specified condition K physical machine, said specified condition for the deployment of a physical resource unit i-th group of parameter values ​​corresponding to remaining resources is not less than the resources required within the i-th group corresponding to the parameter values ​​of the resources and all the virtual machines to be deployed, i is I to N between any positive integer.
9.如权利要求8所述的装置,其特征在于,当M大于2时,所述划分模块还用于,针对所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组有大于I个待部署虚拟机时,将所述第i组内的待部署虚拟机划分为S个组,其中S为大于等于2,小于M-1的正整数; 所述部署模块还用于,将所述划分模块划分的所述S个组分别部署在T个物理机上,使得同一个组内的待部署虚拟机部署在同一个物理机上,其中,T为大于等于1,小于等于S的正整数。 9. The apparatus according to claim 8, wherein, when M is greater than 2, the dividing module is further configured to, for a group i of the N groups, the absence of physical machine when specified conditions are met and the second group is greater than I i a virtual machine to be deployed, the i-th group to be deployed within the virtual machines are divided into groups S, where S is greater than or equal to 2 and less than M-1, a positive integer; the deployment module is further configured, to set the S divided by the dividing module is deployed in the physical machine T, such that the virtual machines to be deployed within the same group deployed on the same physical machine, where, greater than T 1 is equal to, or less S is a positive integer.
10.如权利要求8所述的装置,其特征在于,当M大于2时,所述部署模块还用于,针对所述划分模块划分的所述N个组中的第i组,当不存在满足指定条件的物理机,且所述第i组只有I个待部署虚拟机时,选择所述N个组中除所述第i组之外任意一个组中一个已部署的虚拟机;如果将所述选择的已部署的虚拟机替换为所述第i组内的虚拟机后,所述K个物理机之间的网络部署流量之和与替换前所述K个物理机之间的网络部署流量之和的差值小于设定阈值,且替换后所述K个物理机上部署的虚拟机的收益参数值之和大于替换前所述K个物理机上部署的虚拟机的收益参数值之和时,用所述第i组内的虚拟机替换所述选择的已部署的虚拟机。 10. The apparatus according to claim 8, wherein, when M is greater than 2, the deployment module is further configured, for the i-th group module partition dividing the N groups, when there is no specified condition is a physical machine, and the i-th group I only be deployed when a virtual machine, the virtual machine of the N selected groups other than the i-th group in any one of a group deployed; if after the selected virtual machine deployed with said virtual machines within group i, and a replacement before deployment of network traffic between the K physical deployment of the network between the machine physical machine K when the flow rate difference is less than the sum of the set threshold, and the parameter value after replacing the front return parameter value gains over K deployed virtual machines and physical machines deployed on a K greater than a replacement physical machine and the virtual machine , with the virtual machine in the i-th group replacing the selected virtual machines deployed.
CN201410126765.XA 2014-03-31 2014-03-31 Virtual machine deployment method and device CN103902353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410126765.XA CN103902353A (en) 2014-03-31 2014-03-31 Virtual machine deployment method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410126765.XA CN103902353A (en) 2014-03-31 2014-03-31 Virtual machine deployment method and device
PCT/CN2014/090451 WO2015149514A1 (en) 2014-03-31 2014-11-06 Virtual machine deploying method and apparatus

Publications (1)

Publication Number Publication Date
CN103902353A true CN103902353A (en) 2014-07-02

Family

ID=50993692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410126765.XA CN103902353A (en) 2014-03-31 2014-03-31 Virtual machine deployment method and device

Country Status (2)

Country Link
CN (1) CN103902353A (en)
WO (1) WO2015149514A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149514A1 (en) * 2014-03-31 2015-10-08 华为技术有限公司 Virtual machine deploying method and apparatus
CN105718299A (en) * 2014-12-04 2016-06-29 中国移动通信集团广东有限公司 Virtual machine configuration method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070074199A1 (en) * 2005-09-27 2007-03-29 Sebastian Schoenberg Method and apparatus for delivering microcode updates through virtual machine operations
US8438233B2 (en) * 2011-03-23 2013-05-07 Color Labs, Inc. Storage and distribution of content for a user device group
CN103176849B (en) * 2013-03-12 2016-04-27 浙江大学 Method of deployment of virtual machines based on resource classification of clusters
CN103902353A (en) * 2014-03-31 2014-07-02 华为技术有限公司 Virtual machine deployment method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149514A1 (en) * 2014-03-31 2015-10-08 华为技术有限公司 Virtual machine deploying method and apparatus
CN105718299A (en) * 2014-12-04 2016-06-29 中国移动通信集团广东有限公司 Virtual machine configuration method, device and system

Also Published As

Publication number Publication date
WO2015149514A1 (en) 2015-10-08

Similar Documents

Publication Publication Date Title
Moens et al. VNF-P: A model for efficient placement of virtualized network functions
US8856255B2 (en) Methods and apparatus to migrate virtual machines between distributive computing networks across a wide area network
US8589919B2 (en) Traffic forwarding for virtual machines
US9229759B2 (en) Virtual machine provisioning using replicated containers
US20140149768A1 (en) Virtualized application power budgeting
US9038065B2 (en) Integrated virtual infrastructure system
Peng et al. R-storm: Resource-aware scheduling in storm
CN102724277B (en) Virtual machine live migration and deployment, server and cluster systems
CN102713849B (en) Method and system for abstracting non-functional requirements based deployment of virtual machines
CN103377091A (en) Method and system for efficient execution of jobs in a shared pool of resources
WO2013114228A1 (en) Processing element management in a streaming data system
WO2012100544A1 (en) Method, device and cluster system for virtual machine migration based on network data flow direction
CN103414761B (en) A mobile terminal architecture based Hadoop cloud resources scheduling method
CN104954220A (en) Virtual network service deployment method and device thereof
Cardosa et al. Exploring mapreduce efficiency with highly-distributed data
JP6159402B2 (en) Resource allocation method and compute nodes of the central processing unit
CN102831120B (en) A data processing method and system
CN107567696A (en) Automatic scaling of resource instance groups within compute clusters
US20130212594A1 (en) Method of optimizing performance of hierarchical multi-core processor and multi-core processor system for performing the method
Mattess et al. Scaling mapreduce applications across hybrid clouds to meet soft deadlines
US10209908B2 (en) Optimization of in-memory data grid placement
US20150178133A1 (en) Prioritizing data requests based on quality of service
CN102629219A (en) Self-adaptive load balancing method for Reduce ends in parallel computing framework
CN103797462B (en) Method and apparatus for creating virtual machines
US20150312167A1 (en) Maximizing server utilization within a datacenter

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01