CN102646052A - Virtual machine deployment method, device and system - Google Patents

Virtual machine deployment method, device and system Download PDF

Info

Publication number
CN102646052A
CN102646052A CN2011100390507A CN201110039050A CN102646052A CN 102646052 A CN102646052 A CN 102646052A CN 2011100390507 A CN2011100390507 A CN 2011100390507A CN 201110039050 A CN201110039050 A CN 201110039050A CN 102646052 A CN102646052 A CN 102646052A
Authority
CN
China
Prior art keywords
service
physical
information
machine
ovf
Prior art date
Application number
CN2011100390507A
Other languages
Chinese (zh)
Other versions
CN102646052B (en
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 CN201110039050.7A priority Critical patent/CN102646052B/en
Publication of CN102646052A publication Critical patent/CN102646052A/en
Application granted granted Critical
Publication of CN102646052B publication Critical patent/CN102646052B/en

Links

Abstract

The invention discloses a virtual machine deployment method, a virtual machine deployment device and a virtual machine deployment system which are used for improving the efficiency and the accuracy of virtual machine deployment, wherein the virtual machine deployment method comprises the following steps of: acquiring business description information of business of a virtual machine to be deployed, wherein the business description information comprises physical resource demand type information of the business; selecting a physical machine for executing the business from each physical machine according to the physical resource demand type information and physical resource utilization information of each physical machine; and deploying the virtual machine on the selected physical machine for the business.

Description

一种虚拟机部署方法、装置及系统 For a virtual machine deployment method, apparatus and system for

技术领域 FIELD

[0001] 本发明涉及移动通信领域,尤其涉及一种虚拟机部署方法、装置及系统。 [0001] The present invention relates to the field of mobile communications and more particularly relates to a deployment method, apparatus and system for virtual machines.

背景技术 Background technique

[0002] 虚拟化技术是指为需要运行的程序或软件营造它所需要的执行环境。 [0002] virtualization technology means that it needs to create the execution environment for the program or software needs to run. 在采用了虚拟化技术后,程序或软件的运行不一定独享底层的物理计算资源,只是运行在一个与真实计算环境完全相同的虚拟机中,其中,与真实计算环境完全相同指具有相同的CPU (CentralProcessing Unit,中央处理单元)主频,内存和硬盘容量。 After using the virtualization technology, program, or software, not necessarily exclusive of the underlying physical computing resources in a virtual machine to run just the same as with real computing environment, wherein the real computing environment by having the same identical CPU (CentralProcessing unit, central processing unit) speeds, memory and hard disk capacity. 虚拟化技术的引入,打破了真实计算环境中软件与硬件之间的紧密耦合关系,从而可以有效的提高计算机资源利用率,也可以降低成本。 The introduction of virtualization technology, breaking the tight coupling relationship between the real computing environment, software and hardware, which can effectively improve the utilization of computer resources, it can also reduce costs.

[0003] “虚拟机部署”的概念是指在基于虚拟机的业务模式下,在业务的部署阶段为虚拟机分配一定的虚拟资源并启动虚拟机,该虚拟机中已经预装了操作系统及业务,目前业界在该领域的主流标准是由Vmware公司提出OVF(OpenVirtualization Format,开放虚拟化格式)标准,该标准描述了一种开放、安全、可迁移、有效以及可扩展的格式,用于封装和分发将在物理机上执行的业务。 [0003] The term "virtual machine deployment" refers to a business model based in the virtual machine, the virtual resources allocated certain virtual machine operations during the deployment phase and start the virtual machine, the virtual machine is already pre-installed operating system and business, the industry mainstream standards in this area is to propose OVF (OpenVirtualization format, open virtualization format) standard by the company Vmware, the standard describes an open, secure, migration, effective and extensible format for the packaging and distribution operations to be performed on a physical machine.

[0004] 现有技术中,基于OVF的虚拟机部署的业务生命周期遵循以下模式:开发阶段、封装和分发阶段、部署阶段以及激活阶段。 [0004] prior art, based on the OVF virtual machine deployment business life cycle follows this pattern: development, packaging and distribution phase, deployment phase and the activation phase. 其中: among them:

[0005] 开发阶段包括:1、分析应用的环境需求;2、准备和启动一个或多个操作系统虚拟镜像;3、安装支撑应用的软件及程序;4、优化系统和软件设置。 [0005] development stage comprising: an analysis of the needs of the application environment; 2, ready to start, and the one or more virtual operating system image; 3, mounting support and the software application program; 4, software and system optimization settings.

[0006] 封装和分发阶段包括:I、编写OVF信封2、将虚拟镜像和OVF信封等封装成OVF包;经过开发阶段之后,业务将在封装和分发阶段封装为OVF格式。 [0006] The packaging and distribution stage includes: I, prepared OVF envelope 2, the virtual image and the OVF OVF package packaged into envelopes; after development stage, the packaging and distribution service encapsulating stage OVF format.

[0007] 部署阶段包括:I、在虚拟化平台上面(比如VMware vSphere 4)部署OVF包;2、安装OVF包,启动已经部署成功的虚拟机。 [0007] deployment phases comprising: I, the virtualization platform above (such as VMware vSphere 4) deployed OVF package; 2, OVF package installation, startup has been successfully deployed virtual machines.

[0008] 其中,OVF包是一种分发包,OVF包中包含的一个OVF描述符文件(.ovf):通常表示OVF信封,OVF描述符文件定义了虚拟资源相关信息,采用XML格式。 [0008] wherein, OVF package is a distribution package, a OVF descriptor file (.ovf) OVF package includes: OVF indicates generally the envelope, the OVF descriptor file defines the virtual resource information, in XML format.

[0009] 激活阶段包括:激活已部署成功的虚拟机的网络和软件设置,比如设置其IP地址。 [0009] activation phase include: activation has been successfully deployed virtual machine software and network settings, such as setting its IP address.

[0010] 如图I所示,为现有技术中基于OVF的虚拟机部署方案的逻辑架构示意图,其中, 物理资源信息通过OVF生成工具生成OVF包,虚拟化平台解析OVF包后,根据OVF包中携带的虚拟资源相关信息进行虚拟机部署、虚拟机监控及虚拟机调度。 After [0010] As shown in FIG I, generating OVF package, virtualization platform OVF package parsing logic architecture diagram in the prior art virtual machine OVF based deployment, wherein the physical resource information OVF is generated by the tool, according to OVF package carried virtual resource information related to the deployment of virtual machines, virtual machines, virtual machine control and scheduling. 如表I所示,为物理资源信息的描述字段,包括Disk Section, Network Section等。 As shown in Table I, the field to describe the physical resource information includes Disk Section, Network Section like.

[0011]表 I [0011] TABLE I

Figure CN102646052AD00051

[0013] 其中,磁盘字段描述了OVF包中所有虚拟磁盘的信息;网络字段指定了OVF适用的网络;资源分配字段指定了该OVF包需要的资源,像内存或者CPU资源等;注释字段指定了在某一实体上自由格式的注释;产品字段指定了改OVF包的相关信息,像名称和版本信息,以及可以配置的属性等;Eula字段指定了OVF包内软件的使用许可;安装字段指定了如何启动虚拟机;配置选项字段指定了资源需求的动态变化;操作系统字段指定了安装该虚拟机操作系统的用户;安装字段指定了虚拟机需要初始化以便需要安装及配置软件。 [0013] where disks field describes the information OVF package all virtual disks; network field specifies the OVF applicable network; resource allocation field specifies the resources that the OVF package needs, like memory or CPU resources; comment field specifies free-form comments on an entity; product field specifies the information to change the OVF package, like name and version information, and attributes that can be configured; Eula field specifies the license within the OVF package software; installation field specifies the how to start a virtual machine; configuration options field specifies the dynamic changes in resource requirements; operating system field specifies the user to install the virtual machine operating system; installed field specifies the virtual machine needs to be initialized in order to install and configure the software.

[0014] 现有技术为业务部署虚拟机时,一般都是为各业务任意分配执行该业务的物理机,而不同的业务对物理资源的需求不同,例如,业务A是CPU密集型业务,即其对CPU的消耗较大,业务B是内存密集型业务,即其对内存的消耗较大,此外不同的物理机的物理资源使用情况也是不同的,例如,物理机I的CPU利用率为80%,内存利用率为10%,物理机2的CPU利用率是20%,内存利用率为70%,若按照现有技术的方案,为各业务任意分配执行该业务的物理机,则可能在内存利用率低、CPU利用率高的物理机上,为CPU密集型业务部署虚拟机,从而导致该物理机的CPU负载过重,严重时可能导致物理机故障,而其他物理机的CPU资源的利用率又较低,或者在CPU利用率低、内存利用率高的物理机上,为内存密集型业务部署虚拟机,从而导致该物理机的内存负载过重,严重时可能导 [0014] The prior art service deployment as physical machines when the virtual machine, the service is generally performed for each service an arbitrarily assigned, different service requirements of different physical resources, e.g., service A is a CPU-intensive operations, i.e., its large consumption of CPU, memory-intensive business service B is that it consumes a large memory, in addition to the physical resource usage of different physical machines are different, for example, CPU utilization, I is the physical machine 80 %, memory utilization is 10%, the physical CPU utilization unit 2 is 20%, memory utilization is 70%, if the solutions according to the prior art, perform the service assigned to each service to any physical machine, may in low on memory use, high CPU utilization of physical machines, CPU-intensive operations for the deployment of virtual machines, resulting in high CPU load of the physical machines, physical machines can lead to serious malfunction, and CPU resources to other physical machines and a lower rate, or the CPU use rate and high memory utilization physical machine, the virtual machine is deployed memory intensive operations, resulting in a physical memory of the machine overload, may lead to serious 物理机故障,而其他物理机的内存资源的利用率又较低。 Physical machine failures, and the utilization of physical memory resources of other machines and low.

[0015] 由此可见,按照现有的虚拟机部署方法为业务部署虚拟机时,可能导致物理机的物理资源负荷过重或物理资源利用率较低。 [0015] Thus, in accordance with an existing virtual machine as a service deployment method deploying a virtual machine, may cause physical resources of the physical machine physical resource utilization overloading or lower. 发明内容 SUMMARY

[0016] 本发明实施例提供一种虚拟机部署方法、装置及系统,用以提高虚拟机部署的效率和准确性,以达到均衡各物理机的物理资源负荷及提高各物理机的物理资源利用率的目的。 The embodiment provides a virtual machine deployment method, apparatus and system for [0016] the present invention to improve the efficiency and accuracy of the deployed virtual machines, physical resources to achieve a balanced load on each physical machine and improve the physical resource utilization of each physical machine the purpose rate.

[0017] 本发明实施例提供一种虚拟机部署方法,包括 The embodiment provides a virtual machine deployment method [0017] of the present invention, comprising

[0018] 获取待部署虚拟机的业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息; [0018] acquire the service to be deployed virtual machine service description information, service description of the physical resource information includes type information requirements of the service;

[0019] 根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机; [0019] The use of physical information of the physical resource information, and resource requirements for each type of physical machine, select the physical machine operations performed in each of the physical machine;

[0020] 在选择出的物理机上,为所述业务部署虚拟机。 [0020] On the selected physical machine, said virtual machine service deployment.

[0021] 本发明实施例提供一种虚拟机部署装置,包括: [0021] The present invention provides a virtual machine deployment device, comprising:

[0022] 获取模块,用于获取待部署虚拟机的业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息; [0022] obtaining module, configured to acquire the virtual machine to be deployed in the service description information of the service, the service needs of the type described physical resource information included in the service;

[0023] 选择单元,用于根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机; [0023] The selection unit for using information according to the physical resources of the physical resource requirements of each type of information and the physical machine, select the physical machine operations performed in each of the physical machine;

[0024] 部署模块,用于在选择出的物理机上,为所述业务部署虚拟机。 [0024] The deployment module for the selected physical machine, said virtual machine service deployment.

[0025] 本发明实施例提供一种虚拟化平台,包括上述任一虚拟化部署装置。 The embodiment provides a virtualization platform [0025] present invention, including any of the above virtual deployment device.

[0026] 本发明实施例提供一种虚拟机部署系统,包括开放虚拟化格式OVF生成装置和虚拟化平台,其中: [0026] The embodiments of the present invention provides a virtual machine deployment system, comprising open virtualization format OVF generating device and virtualization platform, wherein:

[0027] 所述OVF生成装置,用于获取业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息;根据获取的业务描述信息生成OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的;将生成的OVF包发送给虚拟化平台; [0027] The OVF generating means for acquiring service description information of the service, the service description information includes type information of the physical resource requirements of the service; according to the service package description information generation OVF acquired, the package is OVF generating means OVF virtual machine service will be deployed service description information translated into a preset format, and the service description information generated based on the translated; OVF the generated packet to the virtualization platform;

[0028] 虚拟化平台,用于接收OVF生成装置发送的OVF包,解析接收到的OVF包,从解析出的OVF包中提取出所述业务的业务描述信息,根据所述业务描述信中包含的物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机,在选择出的物理机上,为所述业务部署虚拟机。 [0028] The virtualization platform for generating OVF OVF package receiving apparatus transmitted, parses the received OVF package, the service description information is extracted from the parsed service OVF package, according to the service description comprising the letter physical resource needs physical resource type information and use information in each physical machine, select a physical machine operations performed in each of the physical machine, on the selected physical machine, said virtual machine service deployment.

[0029] 本发明实施例提供的虚拟机部署方法及装置,由于在虚拟机部署过程中,根据待部署虚拟机的业务的业务描述信息中包含的物理资源需求类型信息,结合各物理机的物理资源利用信息,选择执行该业务的物理机,并在选择出的物理机上为该业务部署虚拟机。 [0029] The virtual machine deployment method and apparatus provided by the embodiment of the present invention, since the virtual machine deployment process, according to the physical resource demand type information of the service description information to be deployed virtual machine traffic included in a combination of physical each physical machine resource utilization information, select the physical machine to perform the service, and for the service to deploy virtual machines on the selected physical machine. 由于在虚拟机部署过程中,考虑了不同业务对物理资源需求类型信息,并结合各物理机的物理资源利用信息,选择为该业务部署虚拟机的物理机,并在此基础上进行虚拟机部署,从而提到了虚拟机部署的效率和准确性,达到了均衡各物理机的物理资源负荷及提高各物理机的物理资源利用率的目的。 Since the virtual machine deployment process, taking into account the different needs of business information on the type of physical resources, combined with the physical use of information resources of each physical machine, select the physical machine for the business to deploy virtual machines and virtual machine based on this deployment , which referred to the efficiency and accuracy of virtual machines deployed to achieve the physical resources of each physical machine load balancing and improve physical resource utilization of each physical machine's purpose.

[0030] 本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。 [0030] Other features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or learned by practice of the present invention. 本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。 The objectives and other advantages of the invention may be realized and attained by the written description, claims, and drawings structure particularly pointed out. 附图说明 BRIEF DESCRIPTION

[0031] 图I为现有技术中,基于OVF的虚拟机部署方案的逻辑架构示意图; [0031] Figure I is a prior art schematic diagram of the logical structure based on the OVF deployment of virtual machines;

[0032] 图2为本发明实施例中,基于OVF的虚拟机部署方案的逻辑架构示意图; [0032] FIG. 2 embodiment, based on the logical architecture of the virtual machine OVF deployment scheme schematic embodiment of the present invention;

[0033] 图3为本发明实施例中,虚拟机部署方法的实施流程示意图; [0033] FIG. 3 embodiment of the present invention, a method embodiment of deploying the virtual machine process schematic;

[0034] 图4为本发明实施例中,虚拟机部署装置一种可能的结构示意图; [0034] Figure 4, a schematic structural diagram of a possible embodiment of a virtual machine deployment device of the present invention;

[0035] 图5为本发明实施例中,虚拟机部署系统一种可能的结构示意图; [0035] FIG. 5 embodiment of the present invention, a schematic view of the virtual machine system may be deployed configuration;

[0036] 图6为本发明实施例中,基于OVF的虚拟机部署方法的实施流程示意图。 [0036] Figure 6 embodiment, a method based on the embodiment of the virtual machine process deployment OVF schematic embodiment of the present invention.

具体实施方式 Detailed ways

[0037] 为了提高虚拟机部署的效率和准确性,以达到均衡各物理机的物理资源负荷及提高各物理机的物理资源利用率的目的,本发明实施例提供了一种虚拟机部署方法、装置及系统。 [0037] In order to improve the efficiency and accuracy of the deployed virtual machines, physical resources to achieve a balanced load on each physical machine and the purpose of improving the physical resource utilization of each physical machine, embodiments provide a method of the present invention deployed virtual machines, device and system.

[0038] 以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。 [0038] The accompanying drawings in conjunction with the following description of preferred embodiments of the present invention, it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention, and in the case of no conflict , features and embodiments of the present invention in embodiments can be combined.

[0039] 如图2所示,为本发明实施例中,基于OVF的虚拟机部署方案的逻辑架构示意图。 [0039] As shown in FIG 2, a schematic diagram of the present embodiment based on the logic architecture of the virtual machine OVF deployment of the invention. 翻译模块用于将业务层的业务描述信息翻译为底层资源层可以识别的格式;0VF生成工具将物理资源信息及翻译后的业务描述信息填入OVF描述符以生成OVF包;0VF解析模块解析OVF包后,提取包内的物理资源信息及翻译后的业务描述信息;部署模块根据业务描述信息,进行虚拟机部署。 Translation means for the service description information between a service layer underlying resource layer format recognizable; 0VF traffic generation tools described the physical resource information and translation information to generate a descriptor fill OVF OVF package; 0VF parsing module parses OVF after coating, the extracted business information and the translated physical resource description information in the packet; deployment module according to the service description information, virtual machine deployment.

[0040] 以下结合基于OVF的虚拟机部署方案的逻辑架构示意图,对本发明实施例的实施方式进行说明。 [0040] The logical architecture diagram below in conjunction with the virtual machine based on the OVF deployment scenarios, implementation of the embodiment of the present invention will be described.

[0041] 如图3所示,为本发明实施例提供的虚拟机部署方法的实施流程示意图,包括如下步骤: [0041] FIG. 3, a schematic flow chart of the present embodiment of the method of deploying the virtual machine to an embodiment of the invention, comprising the steps of:

[0042] S31、获取待部署虚拟机的业务的业务描述信息,该业务描述信息中包括该业务的物理资源需求类型信息; [0042] S31, the virtual machine to be deployed acquired service description information of the service, the service needs of the type described physical resource information included in the service;

[0043] S32、根据该物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行该业务的物理机; [0043] S32, the use of information according to the physical resources of physical resource requirements of each type of information and the physical machine, select the physical machine operations performed in each of the physical machine;

[0044] S33、在选择出的物理机上,为该业务部署虚拟机。 [0044] S33, on the selected physical machine, a virtual machine for the service deployment.

[0045] 具体实施中,为了体现业务的相关信息对物理资源的个性化需求,如业务A为CPU密集型业务或者业务B为内存密集型业务,本发明实施例在虚拟资源相关信息的基础之上,增加了待部署虚拟机的业务的业务描述信息。 [0045] In particular embodiments, traffic related information in order to reflect the individual needs of physical resources, such as CPU-intensive business service A or B is a memory intensive business service, basic information of virtual resources in the embodiment of the present invention embodiment on the increase of the service description information to be deployed virtual machine operations. 具体的,可以通过增加servicesection字段(可以为XML格式)的方式实现,该字段用于描述待部署虚拟机的业务的相关信息,可以包括业务类型,业务的相关说明,业务与其它业务之间的逻辑关系及业务的物理资源需求类型信息等。 Specifically, it is possible (in XML format may be) is achieved by increasing the field servicesection embodiment, the field is used to describe information about service to be deployed in a virtual machine, between the service type may include, service instructions, service and other services physical demand for the type of resource information and business logic. 一种可能的描述格式如下: One possible format is described as follows:

[0046] 〈servicesection〉 [0046] <servicesection>

[0047] 〈Info〉描述业务的相关信息以及业务的物理资源需求类型信息〈/Info〉 [0047] <Info> description information and service type information of physical resource demand service </ Info>

[0048] < ! -servicetype描述业务类型,包括实时业务和非实时业务、互联网业务等多类一>[0049] <servicetype></servicetype)[0050] < ! -servicecorrelation描述该业务与其它业务的逻辑关系,某些业务是独立的,此时对servicedeployment通常就没有规则上的限制;而有些业务与其它业务之间存储在逻辑关系一> [0048] <! -Servicetype service type is described, including real-time and non-real-time service, Internet service and other types of a> [0049] <servicetype> </ servicetype) [0050] <! -Servicecorrelation description of the service with other services logic, certain operations are independent, then generally no limit on the rules servicedeployment; stored between some service and other services in a logic>

[0051 ] <servicecorre lationX/servicecorrelation) [0051] <servicecorre lationX / servicecorrelation)

[0052] < ! -serviceresoucepriority描述该业务的物理资源需求类型信息,如CPU-bound 或者memory bound 等一> [0052] <! -Serviceresoucepriority described physical resource requirements of the service type of information, such as the CPU-bound or memory bound like a>

[0053] <serviceresoucepriority></serviceresoucepriority) [0053] <serviceresoucepriority> </ serviceresoucepriority)

[0054] < ! -servicelevelagreement描述该业务的相关级别信息,如响应时间等参数一> [0054] <! -Servicelevelagreement description of the relevant service level information, such as a response time parameter>

[0055] <servi ce I eve lagreementX/servicelevelagreement) [0055] <servi ce I eve lagreementX / servicelevelagreement)

[0056] < !—可扩展一> [0056] <! - a scalable>

[0057] </servicesection) [0057] </ servicesection)

[0058] 具体实施中,通过获知Servicetype信息,虚拟化平台能够根据业务类型的不同而调节虚拟机部署和调度的总体策略,比如实时性业务和非实时类业务需要保障的参数值不同;通过获知servicerecorrelaion信息虚拟化平台能够根据业务之间的逻辑关系可以根据业务之间的逻辑关系进行进一步的优化部署;通过获知serviceresoucepriority信息,虚拟化平台能够根据业务的物理资源需求类型信息,优化虚拟机部署,比如将CPU-bound和mem-bound的虚拟机可以部署于同一台物理机上,从而均衡物理机负荷并提高物理机的物理资源利用率;通过获知servicelevelagreement信息,虚拟化平台能够根据不同业务的性能参数指标提供不同级别的监控力度以及阈值。 [0058] In particular embodiments, by knowing Servicetype information virtualization platform can be adjusted overall policy virtual machine deployment and scheduling according to different service types, different parameters such as real-time services and non-real time type services need protection; by knowing information servicerecorrelaion virtualization platform can be deployed can be further optimized according to the logical relation between the logical relationship between the services according to service; by knowing serviceresoucepriority information, the virtualization platform according to the type of physical resource demand information service, optimize the deployment of the virtual machine, such as the CPU-bound and mem-bound virtual machines may be deployed on the same physical machine, thereby balancing the physical machine load and improve the physical resource utilization of physical machine; by knowing servicelevelagreement information, the virtualization platform according to the performance parameters of different services indicators provide different levels of monitoring efforts and thresholds.

[0059] 具体实施中,步骤S32中,在各物理机中选择执行该业务的物理机,包括: [0059] In particular embodiments, step S32, select the physical machine operations performed in each of the physical machine, comprising:

[0060] S321、接收开放虚拟化格式OVF生成装置发送的OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的; [0060] S321, the receiving open virtualization format OVF OVF generating means transmitted packet, the packet is OVF OVF generating means to be deployed virtual machine traffic service description information translated into a preset format, and according to the service description translated information generated;

[0061] 具体的,从分层的架构理念来说,业务层无法获知底层资源层的具体情况,比如是否采用虚拟化机制或者部署于何种物理平台;而底层资源层也无法获知业务的业务描述信息,因此,翻译模块用于将业务层的业务描述信息翻译为底层资源层可以识别的格式。 [0061] In particular, the concept of a layered architecture from, the business layer can not know the specific circumstances underlying resource layer, such as whether or deploy virtualization mechanism in which the physical platform; and the bottom layer can not learn business resources business description, therefore, the translation service means for service description information layer underlying resource layer to a format translation can be identified.

[0062] S322、解析接收到的OVF包; [0062] S322, parses the received packet OVF;

[0063] S323、从解析出的OVF包中提取出所述业务的业务描述信息。 [0063] S323, the extracted service information describing the service from the parsed OVF package.

[0064] 其中,如果servicecorrelation字段中表明该业务与其它业务之间存在逻辑关系时,在部署虚拟机时存在着某些特殊的部署需求:如某Web Server (网站服务器)虚拟机希望能够与其数据库虚拟机放置于同一台物理机上以提高访问速度(本发明实施例中将次情况下的业务之间的逻辑关系称为优先关系),或者在基于P2P (端到端)的业务中业务之间存在某种备份关系,因此在虚拟机部署过程中,备份节点不能与主节点部署在同一台物理机上(本发明实施例中将次情况下的业务之间的逻辑关系称为互斥关系)等。 [0064] where, if servicecorrelation field indicates that there is a logical relationship between the service and other services, there are some special deployment requirements when deploying a virtual machine: If a Web Server (web server) virtual machine hoping to its database virtual machine placement on the same physical machine to increase the access speed (the logical relationships between the service in the cases where the priority relationship referred embodiment of the present invention), or between P2P (end) of the business service based the existence of a backup relationship, so the deployment process in the virtual machine, the backup node in the master node can not be deployed on the same physical machine (embodiment of the present invention, the logical relationship between the services in the cases where the called mutually exclusive relationship), etc. .

[0065] 基于此,具体实施中,在待部署虚拟机的业务的业务描述信息中,包含与待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息时,步骤32中,根据物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行该业务的物理机,具体包括: When [0065] For this particular embodiment, the service description information of the service to be deployed virtual machine, comprising a service identifier information service logical relationship among the virtual machines to be deployed and is exclusive of the business relationship, Step 32 , the use of the physical resources of physical resource requirements of each type of information and the information of the physical unit, the physical machine performing the service selection in each physical machine comprises:

[0066] 分别确定执行与待部署虚拟机的业务之间的逻辑关系为互斥关系的每个业务的物理机; [0066] were performed to determine the logical relationship between the virtual machine and the service to be deployed to a physical machine each service exclusive relationship;

[0067] 在除确定出的物理机之外的各物理机中,根据物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行待部署虚拟机的业务的物理机。 [0067] In addition to each of the determined physical machine physical machine, using the physical resource information according to the type of physical resource demand information, each physical machine, select the physical machine executes a virtual machine to be deployed traffic.

[0068] 具体的,虚拟化平台根据与待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息,分别确定承载该业务的物理机,并从除确定出的物理机之外的各物理机中,根据各物理机的物理资源利用率或者可用物理资源情况,选择执行该待部署虚拟机的业务的物理机。 [0068] Specifically, the virtualization platform as the service identification information service exclusive relationship, determining a physical machine hosting the respective service based on the logical relationship between the services and the virtual machine to be deployed, in addition to the determined and from the physical machine each physical machine other than in accordance with the physical resource utilization of each physical machine or available physical resources, select the physical machine to be deployed execute the virtual machine operations.

[0069] 具体实施中,在待部署虚拟机的业务的业务描述信息中,包含与待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息时,步骤32中,根据物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行该业务的物理机,具体包括: When [0069] In particular embodiments, the service description information service to be deployed in the virtual machine, comprising a logical relationship between the services to be deployed virtual machines and service identification information for service precedence relationships, in step 32, the physical physical resource information, and resource requirements for each type of machine use a physical information, the physical machine performing the service selection in each physical machine comprises:

[0070] 分别确定执行与待部署虚拟机的业务之间的逻辑关系为互补关系的每个业务的物理机; [0070] are determined to be deployed performs the logical relationship between the virtual machine is a physical machine operations complementary relationship of each service;

[0071] 在确定出的各物理机中,根据物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行待部署虚拟机的业务的物理机。 [0071] In each of the determined physical machine, information in accordance with the type of physical resources of physical resource demand information, each physical machine, select the physical machine executes a virtual machine to be deployed traffic.

[0072] 具体的,虚拟化平台根据与待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息,分别确定承载该业务的物理机,并从确定出的各物理机中,根据各物理机的物理资源利用率或者可用物理资源情况,选择执行该待部署虚拟机的业务的物理机。 [0072] Specifically, the virtualization platform as the service identification information service precedence relationships, physical machines are determined according to the service bearer logical relationship between the services and the virtual machine to be deployed, and each of the physical machine from the determined in the physical resource utilization of each physical machine or available physical resources, select the physical machine to be deployed execute the virtual machine operations.

[0073] 同时,如果在待部署虚拟机的业务的业务描述信息中,既包含与待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息,又包含与待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息时,虚拟平台则首先根据,与待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息分别确定承载这些业务的物理机,在除确定出的物理机之外的物理机中,根据与待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息,分别确定是否有承载这些业务的物理机,如果有,则在确定出的物理机中,根据各物理机的物理资源利用率或者可用物理资源情况,选择执行该待部署虚拟机的业务的物理机。 [0073] Meanwhile, if the service description information of the service to be deployed virtual machine, comprising both the service logical relationship between the services to be deployed virtual machines and are exclusive of service identification information, and to be deployed virtual comprising the logical relationship between the service priority machine business relationship when the service identification information, the first virtual platform according to the logical relationship between the virtual machines to be deployed as a service identification and service information services are determined bearer exclusive relationship these physical machine operations, in addition to determining the physical machine physical machine, according to the service logical relationship between the virtual machines to be deployed to service identification information service precedence relationships, to determine whether there are traffic bearing these physical machine, if there is, it is determined in the physical machine, according to the physical resource utilization of each physical machine or available physical resources, select the physical machine to be deployed execute the virtual machine operations.

[0074] 基于同一发明构思,本发明实施例中还提供了一种虚拟机部署装置及系统、一种虚拟化平台,由于该装置、系统及虚拟化平台解决问题的原理与虚拟机部署方法相似,因此该装置、系统及虚拟化平台的实施可以参见方法的实施,重复之处不再赘述。 [0074] Based on the same inventive concept, the present invention provides a further embodiment of a virtual machine system deployment device and a virtualization platform, since the principle is similar to the apparatus, systems, and virtualization platform to solve the problem with the virtual machine deployment method , so that the apparatus, systems, and virtualization platform embodiment may refer to the method embodiment, repeated description of which will not be repeated.

[0075] 如图4所示,为本发明实施例提供是虚化机部署装置一种可能的结构示意图,包括: [0075] As shown in FIG 4, embodiments of the present invention is to provide a virtual machine deployment device of one possible structure diagram, comprising:

[0076] 获取模块41,用于获取待部署虚拟机的业务的业务描述信息,该业务描述信息中包括该业务的物理资源需求类型信息; [0076] The obtaining module 41, configured to acquire the virtual machine to be deployed in the service description information of the service, the service needs of the type described physical resource information included in the service;

[0077] 选择模块42,用于根据该物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行该业务的物理机; [0077] The selection module 42, for the use of information according to the physical resources of physical resource requirements of each type of information and the physical machine, select the physical machine operations performed in each of the physical machine;

[0078] 部署模块43,用于在选择出的物理机上,为该业务部署虚拟机。 [0078] The deployment module 43 is selected for the physical machine, a virtual machine for the service deployment.

[0079] 具体实施中,获取模块41包括:[0080] 接收子模块411,用于接收开放虚拟化格式OVF生成装置发送的OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的; [0079] In particular embodiments, the acquisition module 41 comprises: [0080] receiving submodule 411, configured to receive open virtualization format OVF OVF transmitted packet generating means, said generating means OVF OVF package is to be deployed virtual machine service the service description information translated into a preset format, and generated according to the service description information translated;

[0081 ] 解析子模块412,解析接收到的OVF包; [0081] parsing submodule 412, parses the received packet OVF;

[0082] 提取子模块413,从解析出的OVF包中提取出所述业务的业务描述信息。 [0082] extracting sub-module 413, extracts the traffic information describing the service from the parsed OVF package.

[0083] 具体实施中,业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息;以及 [0083] In particular embodiments, the service description information further includes service identification information of the service logical relationship among the virtual machines to be deployed to service the exclusive relationship; and

[0084] 选择模块42,包括: [0084] The selection module 42, comprising:

[0085] 第一确定子模块,用于分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的每个业务的物理机; [0085] a first determining sub-module, for respectively performing determined to be deployed with the logical relationship between the virtual machine operations are exclusive to each service to a physical machine;

[0086] 第一选择子模块,用于在除确定出的物理机之外的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 [0086] The first selection sub-module, for each of the physical machines in addition to determining the physical machine, using the physical resource information according to the physical resource needs for each type of information and the physical machine, to be deployed to perform the selected physical machine virtual machine operations.

[0087] 具体实施中,业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息;以及 [0087] In particular embodiments, the service description information further includes service identification information of the service logical relationship between the services and the virtual machine to be deployed to the priority relationship; and

[0088] 选择模块42,包括: [0088] The selection module 42, comprising:

[0089] 第二确定子单元,用于分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互补关系的每个业务的物理机; [0089] The second determining sub-unit, for determining the respective relationships between business logic to perform the virtual machine to be deployed as a complementary relationship with the physical machine each service;

[0090] 第二选择子单元,用于在确定出的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 Physical [0090] The second selecting sub-unit, for each of the determined physical machines, the use of information according to the physical resources of the physical resource requirements of each type of information and the physical machine, choose to perform the service to be deployed virtual machine machine.

[0091] 为了实现虚拟机部署方法,本发明实施例还提供一种虚拟化平台,包括上述的虚拟机部署装置。 [0091] In order to achieve virtual machine deployment method embodiments of the present invention further provides a virtualization platform, virtual machine including the above-described deployment device.

[0092] 如图5所示,为本发明实施例提供的虚拟机部署系统一种可能的结构示意图,包括OVF(开放虚拟化格式)生成装置51和虚拟化平台52,其中: [0092] As shown in FIG 5, a schematic view of one possible structure of the virtual machine deployment system according to an embodiment of the present invention, including the OVF (Open Virtualization Format) generating means virtualization platform 51 and 52, wherein:

[0093] OVF生成装置51,用于获取待部署虚拟机的业务的业务描述信息,该业务描述信息中包括所述业务的物理资源需求类型信息;根据获取的业务描述信息生成OVF包,该OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的;将生成的OVF包发送给虚拟化平台; [0093] generating means OVF 51, service description information for acquiring the service to be deployed virtual machines, the service description information includes type information of the physical resource requirements of the service; according to the service description information generation OVF package acquired the OVF packet generating means is a virtual machine OVF service to be deployed service description information translated into a preset format, and the service description information generated based on the translated; OVF the generated packet to the virtualization platform;

[0094] 虚拟化平台52,用于接收OVF生成装置51发送的OVF包,解析接收到的OVF包,从解析出的OVF包中提取出该业务的业务描述信息,根据该业务描述信中包含的物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机,在选择出的物理机上,为该业务部署虚拟机。 [0094] The virtualization platform 52, for generating OVF OVF package receiving apparatus 51 transmitted parses the received OVF package, extracting the traffic information describing the service from the parsed OVF package, the service description comprising the letter physical resource needs physical resource type information and use information in each physical machine, select a physical machine operations performed in each of the physical machine, on the selected physical machine, a virtual machine for the service deployment.

[0095] 为了更好的理解本发明的实施方式,以下以基于OVF的虚拟机部署方法为例,对本发明实施例的实施方式进行说明。 [0095] For a better understanding of embodiments of the present invention, the following methods to deploy virtual machines based on the OVF an example, embodiments of the present invention will be described way of example.

[0096] 假设当前要实现业务A的基于OVF的虚拟机部署方法的部署,业务A的物理资源的需求类型信息为CPU密集型。 [0096] To achieve business A current hypothesis based deployment method to deploy OVF virtual machine, the physical demand for the type of information resource service A CPU-bound.

[0097] 如图6所示,基于OVF的虚拟机部署方法的实施流程示意图,包括如下步骤: [0097] As illustrated, the virtual machine based on the OVF method of deploying a schematic flow chart of embodiment 6, comprising the steps of:

[0098] S61、获取模块获取业务A的业务描述信息,将获取到的业务A的业务描述信息发送给翻译模块;[0099] 具体的,业务模板中会对业务进行一定的描述(描述格式不限,可以是XML格式,也可以是其它格式);具体的,对于业务A来说,对其物理资源的需求类型信息的一种可能的描述格式为:serviceresoucepriority>CPU</serviceresoucepriority); [0098] S61, the acquiring module acquires the service description information of the service A, the service A to service acquisition description information to the translation module; [0099] Specifically, the service profile will be some service description (description format is not limit may be in XML format, other formats may be); in particular, for the service a, a description of one possible format requirements of the type of information on the physical resource is: serviceresoucepriority> CPU </ serviceresoucepriority);

[0100] S62、翻译模块将业务A的业务描述信息翻译成预设的格式后,将翻译后的业务A的业务描述信息发送给OVF生成工具; [0100] S62, the translation module A traffic service description information into the preset format translated, the translated service A service description information to the OVF generation tool;

[0101] 具体的,翻译模块将业务A的业务描述信息翻译成预设的格式,使得物理层可以获知业务A的物理资源需求类型信息(CPU密集型)。 [0101] Specifically, the translation module A traffic service description information translated into a preset format, such that the physical layer may be learned physical resource requirements of the type of information service A (CPU intensive).

[0102] S63、OVF生成工具获取该待部署虚拟机的业务的物理资源信息,并根据该物理资源信息及翻译后的待部署虚拟机业务的业务描述信息生成OVF包,并将该OVF包发送给解析模块; [0102] S63, OVF generation means acquires information of the physical resource to be deployed virtual machine business, and according to the service description information generation OVF package to be deployed virtual machine after the service information and the translated physical resource, and the packet transmission OVF to the analysis module;

[0103] S64、解析模块解析接收到的OVF包; [0103] S64, the parsing module parses the received packet OVF;

[0104] S65、提取模块提取解析后的OVF包中包含的待部署虚拟机业务的业务描述信息,并提交给部署模块; [0104] S65, the extraction module extracts OVF package to be included in the parsed service virtual machines deployed service description information, and submitted to the deployment module;

[0105] S66、部署模块根据待部署虚拟机业务的业务描述信息,为该业务部署虚拟机; [0105] S66, the deployment module description information according to the virtual machine to be deployed business services, the virtual machine for the service deployment;

[0106] 具体的,部署模块根据业务A的物理资源的需求类型信息,选择CPU利用率较低或者可用CPU资源较多的物理机进行部署。 [0106] Specifically, the deployment module according to the needs of the physical resource type information service A, or choose a lower CPU utilization of the available CPU resources more physical machine deployment.

[0107] 另外,如果在业务A的业务描述信息中,包含与业务A的逻辑关系为互斥关系的业务的业务标识信息时,部署模块将首先根据各业务标识信息,确定承载这些业务的物理机,在除确定出的物理机之外的物理机中,选择CPU利用率较低或者可用CPU资源较多的物理机进行部署;如果在业务A的业务描述信息中,包含与业务A的逻辑关系为优先关系的业务的业务标识信息时,部署模块将首先根据各业务标识信息,确定承载这些业务的物理机,在确定出的物理机中,选择CPU利用率较低或者可用CPU资源较多的物理机进行部署;如果既包含与业务A的逻辑关系为互斥关系的业务的业务标识信息,也包含与业务A的逻辑关系为优先关系的业务的业务标识信息时,则首先根据各业务标识信息,确定承载这些业务的物理机,在除确定出的物理机之外的物理机中,根据与业务 [0107] Further, if the service description information of the service A, the logical relationship comprising service A service identification information is a service exclusive relationship, deployment module according to each of the first service identification information, determining the physical bearer services machine, in addition to determining the physical machine physical machine, or select a lower CPU utilization of the available CPU resources of the physical machine more deployment; logic in the service description information if the service a, the service a comprises when the relationship between the service priority relationship of service identification information, the deployment of each module according to the first service identification information, determining the physical machine bearer service in the determined physical machine, or select a lower CPU utilization of available CPU resources more physical machine deployment; if both the logical relationship comprises exclusive service a service identification information for business relationship, also contains logic for the service a and the service identification information service precedence relationships, first, in accordance with various business identification information to determine the physical machine bearing these services, in addition to determining the physical machine physical machine, according to business A之间具有优先关系的业务的业务标识信息,确定是否有物理机承载这些业务,如果有,则优先从确定出的物理机上,选择CPU利用率较低或者可用CPU资源较多的物理机进行部署。 Service identification information having a relationship between the service priority A, determines whether there is a physical machine bearing these services, if any, the priority determined from the physical machine, choose a lower CPU utilization or more available resources of the physical machine CPU deploy.

[0108] 本发明实施例提供的虚拟机部署方法及装置,由于在虚拟机部署过程中,根据待部署虚拟机的业务的业务描述信息中包含的物理资源需求类型信息,结合各物理机的物理资源利用信息,选择执行该业务的物理机,并在选择出的物理机上为该业务部署虚拟机。 [0108] The virtual machine deployment method and apparatus provided by the embodiment of the present invention, since the virtual machine deployment process, according to the physical resource demand type information of the service description information to be deployed virtual machine traffic included in a combination of physical each physical machine resource utilization information, select the physical machine to perform the service, and for the service to deploy virtual machines on the selected physical machine. 由于在虚拟机部署过程中,考虑了不同业务对物理资源需求类型信息,并结合各物理机的物理资源利用信息,选择为该业务部署虚拟机的物理机,并在比基础上进行虚拟机部署,从而提到了虚拟机部署的效率和准确性,达到了均衡各物理机的物理资源负荷及提高各物理机的物理资源利用率的目的。 Since the virtual machine deployment process, taking into account the different needs of business information on the type of physical resources, combined with the physical use of information resources of each physical machine, select the physical machine for the business to deploy virtual machines and virtual machine than on the basis of deployment , which referred to the efficiency and accuracy of virtual machines deployed to achieve the physical resources of each physical machine load balancing and improve physical resource utilization of each physical machine's purpose.

[0109] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0109] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (10)

1. 一种虚拟机部署方法,其特征在于,包括: 获取待部署虚拟机的业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息; 根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机; 在选择出的物理机上,为所述业务部署虚拟机。 A virtual machine deployment method, comprising: obtaining a virtual machine to be deployed in the service description of the service information, the service description information comprises the physical resource information service requirement type; according to the physical resource requirements physical resource type information and use information in each physical machine, select a physical machine operations performed in each of the physical machine; on the selected physical machine, said virtual machine service deployment.
2.如权利要求I所述的方法,其特征在于,获取待部署虚拟机的业务的业务描述信息,具体包括: 接收开放虚拟化格式OVF生成装置发送的OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的;解析接收到的OVF包; 从解析出的OVF包中提取出所述业务的业务描述信息。 2. The method of claim I, wherein the service description information to be deployed acquired virtual machine traffic comprises: receiving the virtualization packet format OVF Open OVF generating means transmitted, the OVF is generated OVF package means a virtual machine to be deployed traffic service description information translated into a preset format, and information generated according to the service description of post-translational; OVF parses the received packet; extracting said service from the parsed packet traffic OVF Description.
3.如权利要求I所述的方法,其特征在于,所述业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息; 所述根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机,具体包括: 分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的每个业务的物理机; 在除确定出的物理机之外的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 3. The method of claim I, wherein the service description information further includes service identification information of the service logical relationship among the virtual machines to be deployed and is exclusive of the business relationship; according to the the physical resource requirements of each type of information and the physical resource information by using a physical machine, select the physical machine operations performed in each physical machine comprises: determining each execution of business logic between the virtual machines to be deployed relationship between physical machines are exclusive of each service; in the physical machine in addition to determining the physical machine, using the physical resource information according to the physical resource needs for each type of information and the physical machine, to perform the selected physical machine to be deployed virtual machine operations.
4.如权利要求I所述的方法,其特征在于,所述业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息; 所述根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机,具体包括: 分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互补关系的每个业务的物理机; 在确定出的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 4. The method of claim I, wherein the service description information further includes service identification information of the service logical relationship between the services and the virtual machine to be deployed for the precedence relationships; according to the using said physical resources of physical resource demand information type information as well as physical machines, executing the selected service in the physical machine physical machine comprises: determining, respectively, to be performed with the logical relationship between virtual machines deployed business physical machine complementary relationship of each service; in the physical machine is determined, the resource use information according to the physical requirements of the physical resource type information, and each of the physical machine, run the virtual machine to be deployed the physical traffic machine.
5. 一种虚拟机部署装置,其特征在于,包括: 获取模块,用于获取待部署虚拟机的业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息; 选择模块,用于根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机; 部署模块,用于在选择出的物理机上,为所述业务部署虚拟机。 A virtual machine deployment apparatus, comprising: an obtaining module, configured to acquire the virtual machine to be deployed in the service description of the service information, the service description information includes service type of the physical resource demand information; select module, according to the physical information of the physical resource utilization resource information and the requirements of each type of physical machines, each selected to perform the service in the physical machine physical machine; deployment module configured on a physical machine selected for the said business deploy virtual machines.
6.如权利要求5所述的装置,其特征在于,所述获取模块包括: 接收子模块,用于接收开放虚拟化格式OVF生成装置发送的OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的; 解析子模块,解析接收到的OVF包;提取子模块,从解析出的OVF包中提取出所述业务的业务描述信息。 6. The apparatus according to claim 5, wherein the obtaining module comprises: a receiving sub-module, configured to receive open virtualization format OVF OVF generating means transmitted packet, the packet is OVF OVF generating means to be service description information of virtual machines deployed business translated into a preset format, and the service description information generated in accordance with the translation; parsing sub-module, parsing the received packet OVF; extracting sub-module, extracted from the parsed packet OVF service of the service description information.
7.如权利要求5所述的装置,其特征在于,所述业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的业务的业务标识信息;以及所述选择模块,包括: 第一确定子模块,用于分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互斥关系的每个业务的物理机; 第一选择子模块,用于在除确定出的物理机之外的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 7. The apparatus according to claim 5, wherein the service description information further includes service identification information of the service logical relationship among the virtual machines to be deployed is mutually exclusive with business relationships; and the selection module, comprising: a first determining sub-module, for respectively determining the logical relationship of the physical machine are exclusive of each service and the service is performed between the virtual machines to be deployed; first selecting sub-module, configured to in addition to each of the determined physical machine physical machine, using the physical resource information according to the physical resource needs for each type of information and the physical machine, choose to perform the physical machine to be deployed virtual machine operations.
8.如权利要求5所述的装置,其特征在于,所述业务描述信息还包括与所述待部署虚拟机的业务之间的逻辑关系为优先关系的业务的业务标识信息;以及所述选择模块,包括: 第二确定子单元,用于分别确定执行与所述待部署虚拟机的业务之间的逻辑关系为互补关系的每个业务的物理机; 第二选择子单元,用于在确定出的各物理机中,根据所述物理资源需求类型信息以及各物理机的物理资源利用信息,选择执行所述待部署虚拟机的业务的物理机。 8. The apparatus according to claim 5, wherein the service description information further includes service identification information of the service logical relationship between the services and the virtual machine to be deployed for the precedence relationships; and the selection module comprising: a second determining sub-unit, for determining a logical relationship to be performed with the physical machine for each service complementary relationship between the virtual machine's operations are deployed; second selecting sub-unit, for determining each of the physical machine, according to information of the physical resources of physical resource requirements of each type of information and the physical machine, choose to perform the physical machine to be deployed virtual machine operations.
9. 一种虚拟化平台,其特征在于,包括权利要求5〜8所述的任一虚拟化部署装置。 A virtualization platform, wherein any one of claim 5 ~ 8 comprising a deployment device as claimed in claim virtualization.
10. 一种虚拟机部署系统,其特征在于,包括开放虚拟化格式OVF生成装置和虚拟化平台,其中: 所述OVF生成装置,用于获取待部署虚拟机的业务的业务描述信息,所述业务描述信息中包括所述业务的物理资源需求类型信息;根据获取的业务描述信息生成OVF包,所述OVF包为OVF生成装置将待部署虚拟机的业务的业务描述信息翻译为预设格式,并根据翻译后的业务描述信息生成的;将生成的OVF包发送给虚拟化平台; 虚拟化平台,用于接收OVF生成装置发送的OVF包,解析接收到的OVF包,从解析出的OVF包中提取出所述业务的业务描述信息,根据所述业务描述信中包含的物理资源需求类型信息以及各物理机的物理资源利用信息,在各物理机中选择执行所述业务的物理机,在选择出的物理机上,为所述业务部署虚拟机。 A virtual machine deployment system comprising open virtualization format OVF generating device and virtualization platform, wherein: the OVF generating means for acquiring a virtual machine to be deployed in the service description information of the service, the physical resource demand type service description information included in the service; generating OVF package description information according to the obtained service, the OVF OVF package generation device is a virtual machine service will be deployed service description information translated into a preset format, and the service description information generated in accordance with the translated; OVF the generated packet to the virtualization platform; virtualization platform, for receiving the OVF OVF generating means transmitted packet, parses the received OVF package, from the parsed packet OVF the extracted service description information service, according to the physical resource information by using a physical resource requirements of each type of information and said physical machine service description included in the letter, select the physical machine operations performed in each of the physical machine, the selected on the physical machine, said virtual machine service deployment.
CN201110039050.7A 2011-02-16 2011-02-16 For a virtual machine deployment method, apparatus and system for CN102646052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110039050.7A CN102646052B (en) 2011-02-16 2011-02-16 For a virtual machine deployment method, apparatus and system for

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110039050.7A CN102646052B (en) 2011-02-16 2011-02-16 For a virtual machine deployment method, apparatus and system for

Publications (2)

Publication Number Publication Date
CN102646052A true CN102646052A (en) 2012-08-22
CN102646052B CN102646052B (en) 2016-01-27

Family

ID=46658881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110039050.7A CN102646052B (en) 2011-02-16 2011-02-16 For a virtual machine deployment method, apparatus and system for

Country Status (1)

Country Link
CN (1) CN102646052B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929689A (en) * 2012-11-01 2013-02-13 曙光云计算技术有限公司 Method for building virtual machine in cloud computing system
CN102981831A (en) * 2012-11-02 2013-03-20 曙光云计算技术有限公司 Method of reading bottom layer resources in cloud computing environment
CN103473115A (en) * 2013-09-06 2013-12-25 华为技术有限公司 Virtual machine placing method and device
CN103580923A (en) * 2013-11-08 2014-02-12 华为技术有限公司 Software deploying method and device
CN103885831A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Host machine selecting method and device of virtual machine
CN103905226A (en) * 2012-12-26 2014-07-02 中兴通讯股份有限公司 Service platform automatic deployment method and device
CN104021027A (en) * 2013-02-28 2014-09-03 国际商业机器公司 Method and equipment for providing virtual device
CN104035808A (en) * 2013-03-04 2014-09-10 中兴通讯股份有限公司 Virtual machine set deployment method and device
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
WO2015027865A1 (en) * 2013-08-26 2015-03-05 International Business Machines Corporation Method and apparatus for deploying virtual machine in computing environment
CN105528234A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Virtual machine migration processing method and device
CN106033373A (en) * 2015-03-11 2016-10-19 苏宁云商集团股份有限公司 A method and a system for scheduling virtual machine resources in a cloud computing platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101449258A (en) * 2006-05-18 2009-06-03 微软公司 Deploying virtual machine to host based on workload characterizations
US20100229171A1 (en) * 2009-03-06 2010-09-09 Hitachi, Ltd. Management computer, computer system and physical resource allocation method
CN101937360A (en) * 2010-09-01 2011-01-05 浪潮(北京)电子信息产业有限公司 Method and device for creating virtual machines

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101449258A (en) * 2006-05-18 2009-06-03 微软公司 Deploying virtual machine to host based on workload characterizations
US20100229171A1 (en) * 2009-03-06 2010-09-09 Hitachi, Ltd. Management computer, computer system and physical resource allocation method
CN101937360A (en) * 2010-09-01 2011-01-05 浪潮(北京)电子信息产业有限公司 Method and device for creating virtual machines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DMTF DSP0243: "Open Virtualization Format Specification 1.1.0", 《HTTP://WWW.DMTF.ORG/DEFAULT/FILES/STANDARDS/DOCUMENTS/DSP0243_1.1.0.PDF》 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929689B (en) * 2012-11-01 2016-05-18 曙光云计算技术有限公司 Create a virtual machine in the cloud computing system method
CN102929689A (en) * 2012-11-01 2013-02-13 曙光云计算技术有限公司 Method for building virtual machine in cloud computing system
CN102981831A (en) * 2012-11-02 2013-03-20 曙光云计算技术有限公司 Method of reading bottom layer resources in cloud computing environment
CN102981831B (en) * 2012-11-02 2016-08-31 曙光云计算技术有限公司 Read underlying resources in the cloud computing environment Method
CN103885831A (en) * 2012-12-19 2014-06-25 中国电信股份有限公司 Host machine selecting method and device of virtual machine
CN103885831B (en) * 2012-12-19 2017-06-16 中国电信股份有限公司 The method of selecting the virtual machine host device and
CN103905226B (en) * 2012-12-26 2018-07-06 中兴通讯股份有限公司 Automatic deployment method and apparatus kinds of service platforms
CN103905226A (en) * 2012-12-26 2014-07-02 中兴通讯股份有限公司 Service platform automatic deployment method and device
CN104021027A (en) * 2013-02-28 2014-09-03 国际商业机器公司 Method and equipment for providing virtual device
CN104021027B (en) * 2013-02-28 2017-04-12 国际商业机器公司 It means providing a virtual method and apparatus
CN104035808A (en) * 2013-03-04 2014-09-10 中兴通讯股份有限公司 Virtual machine set deployment method and device
CN104035808B (en) * 2013-03-04 2018-03-27 中兴通讯股份有限公司 Method and apparatus for deploying a set of virtual machines
WO2015027865A1 (en) * 2013-08-26 2015-03-05 International Business Machines Corporation Method and apparatus for deploying virtual machine in computing environment
CN104424013B (en) * 2013-08-26 2018-03-09 国际商业机器公司 Method and apparatus for deploying virtual machines in a computing environment
US9846590B2 (en) 2013-08-26 2017-12-19 International Business Machines Corporation Deploying a virtual machine in a computing environment
CN104424013A (en) * 2013-08-26 2015-03-18 国际商业机器公司 Method and device for deploying virtual machine in computing environment
CN103473115B (en) * 2013-09-06 2017-04-05 华为技术有限公司 Virtual machine placement method and apparatus
CN103473115A (en) * 2013-09-06 2013-12-25 华为技术有限公司 Virtual machine placing method and device
CN103580923B (en) * 2013-11-08 2017-02-15 华为技术有限公司 A method and apparatus for software deployment
CN103580923A (en) * 2013-11-08 2014-02-12 华为技术有限公司 Software deploying method and device
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
CN104301404B (en) * 2014-09-29 2018-08-17 华为技术有限公司 Species-based approach to adjust the business system resources and the Virtual Machine
CN105528234A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Virtual machine migration processing method and device
CN106033373A (en) * 2015-03-11 2016-10-19 苏宁云商集团股份有限公司 A method and a system for scheduling virtual machine resources in a cloud computing platform

Also Published As

Publication number Publication date
CN102646052B (en) 2016-01-27

Similar Documents

Publication Publication Date Title
US8250572B2 (en) System and method for providing hardware virtualization in a virtual machine environment
CN104468688B (en) For network virtualization method and apparatus
CN104038401B (en) A method for systems interoperability and distributed overlay virtual environment
CN102724277B (en) Virtual machine live migration and deployment, server and cluster systems
US20160127206A1 (en) Rack awareness data storage in a cluster of host computing devices
US9450783B2 (en) Abstracting cloud management
CN102340419B (en) Method and system for network
Mauch et al. High performance cloud computing
US8271653B2 (en) Methods and systems for cloud management using multiple cloud management schemes to allow communication between independently controlled clouds
US20100287262A1 (en) Method and system for guaranteed end-to-end data flows in a local networking domain
CN104050045B (en) Io disk-based virtual resource allocation method and apparatus
US8863138B2 (en) Application service performance in cloud computing
CN103368768B (en) The method of automatically scaling a hybrid cloud environment of network coverage, apparatus and equipment
US9031081B2 (en) Method and system for switching in a virtualized platform
CN104170323B (en) Network-based virtual function fault processing method and apparatus, system
US8762999B2 (en) Guest-initiated resource allocation request based on comparison of host hardware information and projected workload requirement
CN103608773B (en) The system used to deploy a multi-node applications
CN101452406B (en) Cluster load balance method transparent for operating system
US8566822B2 (en) Method and system for distributing hypervisor functionality over multiple physical devices in a network and configuring sub-hypervisor to control the virtual machines
EP2318942A2 (en) Data center programming model
JP6060159B2 (en) System and method for automated hardware provisioning based on application characteristics
CN103891209B (en) Network Control System Controller
WO2010127017A1 (en) Methods and apparatus to get feedback information in virtual environment for server load balancing
CN1770121A (en) Updating software while it is running
WO2013049990A1 (en) Live logical partition migration with stateful offload connections using context extraction and insertion

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model