CN102646052B - A kind of virtual machine deployment method, Apparatus and system - Google Patents

A kind of virtual machine deployment method, Apparatus and system Download PDF

Info

Publication number
CN102646052B
CN102646052B CN201110039050.7A CN201110039050A CN102646052B CN 102646052 B CN102646052 B CN 102646052B CN 201110039050 A CN201110039050 A CN 201110039050A CN 102646052 B CN102646052 B CN 102646052B
Authority
CN
China
Prior art keywords
business
physical
virtual machine
machine
ovf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110039050.7A
Other languages
Chinese (zh)
Other versions
CN102646052A (en
Inventor
许辉阳
彭晋
于青
张剑寅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of virtual machine deployment method, Apparatus and system, in order to improve efficiency and the accuracy of deploying virtual machine, wherein, described virtual machine deployment method, comprise: obtain the business description information waiting the business of disposing virtual machine, described business description information comprises the physical resource demand type information of described business; Physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine performing described business in each physical machine; In the physical machine selected, it is described service deployment virtual machine.

Description

A kind of virtual machine deployment method, Apparatus and system
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of virtual machine deployment method, Apparatus and system.
Background technology
Intel Virtualization Technology refers to that the program or software for needing operation builds the execution environment required for it.After have employed Intel Virtualization Technology, the operation of program or software not necessarily exclusively enjoys the physical computing resources of bottom, just operate in one with the identical virtual machine of true computing environment, wherein, with the identical finger of true computing environment, there is identical CPU (CentralProcessingUnit, CPU (central processing unit)) dominant frequency, internal memory and hard-disk capacity.The introducing of Intel Virtualization Technology, has broken the close-coupled relation between software restraint in true computing environment, thus can effectively improve computer resource utilization factor, also can reduce costs.
The concept of " deploying virtual machine " refers to based under the business model of virtual machine, be that virtual machine distributes certain virtual resource and starts virtual machine at the deployment phase of business, operating system and business has been pre-installed in this virtual machine, current industry is propose OVF (OpenVirtualizationFormat by Vmware company in the mainstream standard in this field, open virtualization format) standard, this standard describes a kind of open, safe, transportable, effective and extendible form, for encapsulating and distributing the business will performed in physical machine.
In prior art, the service life cycle based on the deploying virtual machine of OVF follows following pattern: development phase, encapsulation and distribution phase, deployment phase and the stage of activation.Wherein:
Development phase comprises: 1, the environmental demand of analytical applications; 2, prepare and start one or more operating system virtual image; 3, software and the program of support applications are installed; 4, optimization system and software design patterns.
Encapsulation and distribution phase comprise: 1, write OVF envelope 2, virtual image and OVF envelope etc. be packaged into OVF bag; After the development phase, business will be encapsulated as OVF form in encapsulation and distribution phase.
Deployment phase comprises: 1, on virtual platform, (such as VMwarevSphere4) disposes OVF bag; 2, OVF bag is installed, starts the virtual machine of deployment success.
Wherein, OVF bag is a kind of distributing packets, the OVF descriptor file (.ovf) comprised in OVF bag: ordinary representation OVF envelope, and OVF descriptor file defines virtual resource relevant information, adopts XML format.
The activation stage comprises: the network and the software design patterns that activate the virtual machine of deployment success, such as arranges its IP address.
As shown in Figure 1, for in prior art based on the logical architecture schematic diagram of the deploying virtual machine scheme of OVF, wherein, physical resource Information generates OVF bag by OVF Core Generator, after virtual platform resolves OVF bag, the virtual resource relevant information according to carrying in OVF bag carries out deploying virtual machine, virtual machine monitoring and scheduling virtual machine.As shown in table 1, be the description field of physical resource Information, comprise DiskSection, NetworkSection etc.
Table 1
Wherein, the information of all virtual disks in disk field description OVF bag; Network field specifies the network that OVF is suitable for; Resource allocation field specifies this OVF and wraps the resource needed, as internal memory or cpu resource etc.; Comment field specifies the annotation of free-format on a certain entity; Product field specifies the relevant information changing OVF bag, as title and version information, and the attribute etc. that can configure; Eula field specifies the usage license of software in OVF bag; Field is installed and specifies how to start virtual machine; Configuration option field specifies the dynamic change of resource requirement; Operating system field specifies the user installing this VME operating system; Installation field specifies virtual machine needs initialization so that needs are installed and configuration software.
When prior art is service deployment virtual machine, general is all for each business distributes arbitrarily the physical machine performing this business, and different business is different to the demand of physical resource, such as, business A is the intensive business of CPU, namely it is larger to the consumption of CPU, business B is memory-intensive business, namely it is larger to the consumption of internal memory, the physical resource service condition of physical machine different in addition is also different, such as, the cpu busy percentage of physical machine 1 is 80%, memory usage is 10%, the cpu busy percentage of physical machine 2 is 20%, memory usage is 70%, if scheme conventionally, for each business distributes arbitrarily the physical machine performing this business, then may be low in memory usage, in the physical machine that cpu busy percentage is high, for the intensive service deployment virtual machine of CPU, thus cause the cpu load of this physical machine overweight, physical machine fault may be caused time serious, and the utilization factor of the cpu resource of other physical machine is lower, or it is low at cpu busy percentage, in the physical machine that memory usage is high, for memory-intensive service deployment virtual machine, thus cause the internal memory overload of this physical machine, physical machine fault may be caused time serious, and the utilization factor of the memory source of other physical machine is lower.
As can be seen here, when being service deployment virtual machine according to existing virtual machine deployment method, may cause the physical resource overload of physical machine or physical resource utilization factor lower.
Summary of the invention
The embodiment of the present invention provides a kind of virtual machine deployment method, Apparatus and system, in order to improve efficiency and the accuracy of deploying virtual machine, to reach the physical resource load of balanced each physical machine and to improve the object of physical resource utilization factor of each physical machine.
The embodiment of the present invention provides a kind of virtual machine deployment method, comprising:
Obtain the business description information waiting the business of disposing virtual machine, described business description information comprises the physical resource demand type information of described business;
Physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine performing described business in each physical machine;
In the physical machine selected, it is described service deployment virtual machine.
The embodiment of the present invention provides a kind of deploying virtual machine device, comprising:
Acquisition module, for obtaining the business description information waiting the business of disposing virtual machine, described business description information comprises the physical resource demand type information of described business;
Selection unit, for utilizing information according to the physical resource of described physical resource demand type information and each physical machine, selects the physical machine performing described business in each physical machine;
Deployment module, for the physical machine selected, is described service deployment virtual machine.
The embodiment of the present invention provides a kind of virtual platform, comprises above-mentioned arbitrary deploying virtual machine device.
The embodiment of the present invention provides a kind of virtual machine deployment system, comprises open virtualization format OVF generating apparatus and virtual platform, wherein:
Described OVF generating apparatus, for obtaining the business description information of business, described business description information comprises the physical resource demand type information of described business; Generate OVF bag according to the business description information of acquisition, described OVF bag is OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation; The OVF of generation bag is sent to virtual platform;
Virtual platform, for receiving the OVF bag that OVF generating apparatus sends, resolve the OVF bag received, the business description information of described business is extracted in the OVF bag analytically gone out, physical resource according to the physical resource demand type information comprised in described business description information and each physical machine utilizes information, in each physical machine, select the physical machine performing described business, in the physical machine selected, be described service deployment virtual machine.
The virtual machine deployment method that the embodiment of the present invention provides and device, due in deploying virtual machine process, the physical resource demand type information comprised in the business description information of the business of virtual machine is disposed according to waiting, physical resource in conjunction with each physical machine utilizes information, select the physical machine performing this business, and be this service deployment virtual machine in the physical machine selected.Due in deploying virtual machine process, consider different business to physical resource demand type information, and utilize information in conjunction with the physical resource of each physical machine, be chosen as the physical machine of this service deployment virtual machine, and carry out deploying virtual machine on this basis, thus refer to efficiency and the accuracy of deploying virtual machine, the object of the physical resource load reaching balanced each physical machine and the physical resource utilization factor improving each physical machine.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Fig. 1 is in prior art, based on the logical architecture schematic diagram of the deploying virtual machine scheme of OVF;
Fig. 2 is in the embodiment of the present invention, based on the logical architecture schematic diagram of the deploying virtual machine scheme of OVF;
Fig. 3 is in the embodiment of the present invention, the implementing procedure schematic diagram of virtual machine deployment method;
Fig. 4 is in the embodiment of the present invention, a kind of possible structural representation of deploying virtual machine device;
Fig. 5 is in the embodiment of the present invention, a kind of possible structural representation of virtual machine deployment system;
Fig. 6 is in the embodiment of the present invention, based on the implementing procedure schematic diagram of the virtual machine deployment method of OVF.
Embodiment
In order to improve efficiency and the accuracy of deploying virtual machine, to reach the physical resource load of balanced each physical machine and to improve the object of physical resource utilization factor of each physical machine, embodiments provide a kind of virtual machine deployment method, Apparatus and system.
Below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein is only for instruction and explanation of the present invention, be not intended to limit the present invention, and when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
As shown in Figure 2, in the embodiment of the present invention, based on the logical architecture schematic diagram of the deploying virtual machine scheme of OVF.It is the form that underlying resource layer can identify that translation module is used for the business description information translation of operation layer; Business description information after physical resource Information and translation is inserted OVF descriptor to generate OVF bag by OVF Core Generator; After OVF parsing module resolves OVF bag, extract the physical resource Information in bag and the business description information after translation; Deployment module, according to business description information, carries out deploying virtual machine.
Below in conjunction with the logical architecture schematic diagram of the deploying virtual machine scheme based on OVF, the embodiment of the embodiment of the present invention is described.
As shown in Figure 3, be the implementing procedure schematic diagram of the virtual machine deployment method that the embodiment of the present invention provides, comprise the steps:
S31, obtain the business description information of business of waiting to dispose virtual machine, this business description information comprises the physical resource demand type information of this business;
S32, utilize information according to the physical resource of this physical resource demand type information and each physical machine, in each physical machine, select the physical machine performing this business;
S33, in the physical machine selected, be this service deployment virtual machine.
In concrete enforcement, in order to embody the individual demand of relevant information to physical resource of business, be memory-intensive business if business A is the intensive business of CPU or business B, the embodiment of the present invention, on the basis of virtual resource relevant information, adds the business description information waiting the business of disposing virtual machine.Concrete, can be realized by the mode increasing servicesection field (can be XML format), this field waits the relevant information of the business of disposing virtual machine for describing, type of service can be comprised, the related description of business, the physical resource demand type information etc. of the logical relation between business and other business and business.A kind of possible descriptor format is as follows:
<servicesection>
<Info> describes the relevant information of business and the physical resource demand type information </Info> of business
-servicetype describes type of service, comprises real time business and the multiclass such as non-real-time service, Internet service-->
<servicetype></servicetype>
-servicecorrelation describes the logical relation of this business and other business, and some business is independently, now servicedeployment is not just had usually to the restriction in rule; And be stored in logical relation between some business and other business-->
<servicecorrelation></servicecorrelation>
-serviceresoucepriority describes the physical resource demand type information of this business, as CPU-bound or memorybound etc.-->
<serviceresoucepriority></serviceresoucepriority>
-servicelevelagreement describes the relevant class information of this business, as the parameters such as response time-->
<servicelevelagreement></servicelevelagreement>
--easily extensible-->
</servicesection>
In concrete enforcement, by knowing Servicetype information, virtual platform can regulate the overall strategy of deploying virtual machine and scheduling according to the difference of type of service, such as real-time service is different with the parameter value that non real-time class service needed ensures; By knowing that servicerecorrelaion information virtualization platform can carry out further Optimization deployment according to the logical relation between business according to the logical relation between business; By knowing serviceresoucepriority information, virtual platform can according to the physical resource demand type information of business, optimize deploying virtual machine, such as the virtual machine of CPU-bound and mem-bound can be deployed in same physical machine, thus balanced physical machine load improve the physical resource utilization factor of physical machine; By knowing servicelevelagreement information, virtual platform can provide control and monitoring and the threshold value of different stage according to the performance parameter index of different business.
In concrete enforcement, in step S32, in each physical machine, select the physical machine performing this business, comprising:
S321, reception open the OVF bag that virtualization format OVF generating apparatus sends, and described OVF bag is OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation;
Concrete, from the framework theory of layering, operation layer cannot know the concrete condition of underlying resource layer, such as whether adopts virtualization mechanism or is deployed in which kind of physical platform; And underlying resource layer also cannot know the business description information of business, therefore, translation module is used for the business description information translation of operation layer is the form that underlying resource layer can identify.
The OVF bag that S322, parsing receive;
S323, the OVF analytically gone out extract the business description information of described business in wrapping.
Wherein, if when showing subsistence logic relation between this business and other business in servicecorrelation field, dispose virtual machine time there is some special deployment requirements: as certain WebServer (Website server) virtual machine wish can and its Database Virtual Machine be positioned in same physical machine to improve access speed (in the embodiment of the present invention, the logical relation between the business in secondary situation being called precedence relationship), or in the business based on P2P (end-to-end), there is certain backup relation between business, therefore in deploying virtual machine process, backup node can not and host node be deployed in same physical machine and (in the embodiment of the present invention, the logical relation between the business in secondary situation be called mutex relation).
Based on this, in concrete enforcement, in the business description information waiting the business of disposing virtual machine, comprise and logical relation between the business of disposing virtual machine is the service identification information of the business of mutex relation time, in step 32, physical resource according to physical resource demand type information and each physical machine utilizes information, selects the physical machine performing this business, specifically comprise in each physical machine:
Determine respectively perform and wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of mutex relation;
In each physical machine except the physical machine determined, the physical resource according to physical resource demand type information and each physical machine utilizes information, selects to perform the physical machine waiting the business of disposing virtual machine.
Concrete, virtual platform is according to waiting that the logical relation of disposing between the business of virtual machine is the service identification information of the business of mutex relation, determine the physical machine carrying this business respectively, and from each physical machine except the physical machine determined, according to physical resource utilization factor or the available physical resources situation of each physical machine, select to perform the physical machine that this waits the business of disposing virtual machine.
In concrete enforcement, in the business description information waiting the business of disposing virtual machine, comprise and logical relation between the business of disposing virtual machine is the service identification information of the business of precedence relationship time, in step 32, physical resource according to physical resource demand type information and each physical machine utilizes information, in each physical machine, select the physical machine performing this business, specifically comprise:
Determine respectively perform and wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of complementary relationship;
In each physical machine determined, the physical resource according to physical resource demand type information and each physical machine utilizes information, selects to perform the physical machine waiting the business of disposing virtual machine.
Concrete, virtual platform is according to waiting that the logical relation of disposing between the business of virtual machine is the service identification information of the business of precedence relationship, determine the physical machine carrying this business respectively, and from each physical machine determined, according to physical resource utilization factor or the available physical resources situation of each physical machine, select to perform the physical machine that this waits the business of disposing virtual machine.
Simultaneously, if in the business description information waiting the business of disposing virtual machine, both comprised and waited that the logical relation of disposing between the business of virtual machine was the service identification information of the business of mutex relation, comprise again and logical relation between the business of disposing virtual machine is the service identification information of the business of precedence relationship time, virtual platform then first basis, and wait that the logical relation of disposing between the business of virtual machine is the physical machine that the service identification information of the business of mutex relation determines to carry these business respectively, in the physical machine except the physical machine determined, according to waiting that the logical relation of disposing between the business of virtual machine is the service identification information of the business of precedence relationship, determine whether the physical machine carrying these business respectively, if had, then in the physical machine determined, according to physical resource utilization factor or the available physical resources situation of each physical machine, select to perform the physical machine that this waits the business of disposing virtual machine.
Based on same inventive concept, a kind of deploying virtual machine Apparatus and system, a kind of virtual platform is additionally provided in the embodiment of the present invention, the principle of dealing with problems due to this device, system and virtual platform is similar to virtual machine deployment method, therefore the enforcement of this device, system and virtual platform see the enforcement of method, can repeat part and repeats no more.
As shown in Figure 4, be a kind of possible structural representation of virtualization machine deployment devices for the embodiment of the present invention provides, comprise:
Acquisition module 41, for obtaining the business description information waiting the business of disposing virtual machine, this business description information comprises the physical resource demand type information of this business;
Selecting module 42, for utilizing information according to the physical resource of this physical resource demand type information and each physical machine, in each physical machine, selecting the physical machine performing this business;
Deployment module 43, for the physical machine selected, is this service deployment virtual machine.
In concrete enforcement, acquisition module 41 comprises:
Receive submodule 411, for receiving the OVF bag that open virtualization format OVF generating apparatus sends, described OVF bag is OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation;
Analyzing sub-module 412, resolves the OVF bag received;
Extract submodule 413, the OVF analytically gone out extracts the business description information of described business in wrapping.
In concrete enforcement, business description information also comprises and describedly waits that the logical relation of disposing between the business of virtual machine is the service identification information of the business of mutex relation; And
Select module 42, comprising:
First determines submodule, performs for determining respectively and describedly waits that the logical relation of disposing between the business of virtual machine is the physical machine of each business of mutex relation;
First chooser module, in each physical machine except the physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing.
In concrete enforcement, business description information also comprises and describedly waits that the logical relation of disposing between the business of virtual machine is the service identification information of the business of precedence relationship; And
Select module 42, comprising:
Second determines subelement, performs for determining respectively and describedly waits that the logical relation of disposing between the business of virtual machine is the physical machine of each business of complementary relationship;
Second chooser unit, in each physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing.
In order to realize virtual machine deployment method, the embodiment of the present invention also provides a kind of virtual platform, comprises above-mentioned deploying virtual machine device.
As shown in Figure 5, be a kind of possible structural representation of virtual machine deployment system that the embodiment of the present invention provides, comprise OVF (open virtualization format) generating apparatus 51 and virtual platform 52, wherein:
OVF generating apparatus 51, for obtaining the business description information waiting the business of disposing virtual machine, this business description information comprises the physical resource demand type information of described business; Generate OVF bag according to the business description information of acquisition, this OVF bag is OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation; The OVF of generation bag is sent to virtual platform;
Virtual platform 52, for receiving the OVF bag that OVF generating apparatus 51 sends, resolve the OVF bag received, the business description information of this business is extracted in the OVF bag analytically gone out, physical resource according to the physical resource demand type information comprised in this business description information and each physical machine utilizes information, in each physical machine, select the physical machine performing described business, in the physical machine selected, be this service deployment virtual machine.
Embodiment for a better understanding of the present invention, below for the virtual machine deployment method based on OVF, is described the embodiment of the embodiment of the present invention.
Suppose the current deployment that will realize the virtual machine deployment method based on OVF of business A, the demand type information of the physical resource of business A is that CPU is intensive.
As shown in Figure 6, based on the implementing procedure schematic diagram of the virtual machine deployment method of OVF, comprise the steps:
S61, acquisition module obtain the business description information of business A, and the business description information of the business A got is sent to translation module;
Concrete, certain description (descriptor format is not limit, and can be XML format, also can be other form) can be carried out to business in service template; Concrete, for business A, to a kind of possible descriptor format of the demand type information of its physical resource be: serviceresoucepriority>CPU</s erviceresoucepriority>;
After the form that the business description information translation of business A becomes to preset by S62, translation module, the business description information of the business A after translation is sent to OVF Core Generator;
Concrete, the form that the business description information translation of business A becomes to preset by translation module, makes Physical layer can know the physical resource demand type information (CPU is intensive) of business A.
S63, OVF Core Generator obtains the physical resource Information that this waits the business of disposing virtual machine, and disposes the business description information generation OVF bag of virtual machine business according to treating after this physical resource Information and translation, and this OVF bag is sent to parsing module;
S64, parsing module resolve the OVF bag received;
S65, extraction module extract the business description information of waiting to dispose virtual machine business comprised in the bag of the OVF after resolving, and submit to deployment module;
S66, deployment module, according to waiting the business description information of disposing virtual machine business, are this service deployment virtual machine;
Concrete, deployment module, according to the demand type information of the physical resource of business A, selects lower or that available CPU resource the is more physical machine of cpu busy percentage to dispose.
In addition, if in the business description information of business A, when to comprise with the logical relation of business A be the service identification information of the business of mutex relation, deployment module will first according to each service identification information, determine the physical machine carrying these business, in the physical machine except the physical machine determined, lower or that available CPU resource the is more physical machine of cpu busy percentage is selected to dispose, if in the business description information of business A, when to comprise with the logical relation of business A be the service identification information of the business of precedence relationship, deployment module will first according to each service identification information, determine the physical machine carrying these business, in the physical machine determined, lower or that available CPU resource the is more physical machine of cpu busy percentage is selected to dispose, if both comprised with the logical relation of business A the service identification information of the business being mutex relation, also when to comprise with the logical relation of business A be the service identification information of the business of precedence relationship, then first according to each service identification information, determine the physical machine carrying these business, in the physical machine except the physical machine determined, according to the service identification information of business between business A with precedence relationship, determine whether that physical machine carries these business, if had, then the preferential physical machine from determining, lower or that available CPU resource the is more physical machine of cpu busy percentage is selected to dispose.
The virtual machine deployment method that the embodiment of the present invention provides and device, due in deploying virtual machine process, the physical resource demand type information comprised in the business description information of the business of virtual machine is disposed according to waiting, physical resource in conjunction with each physical machine utilizes information, select the physical machine performing this business, and be this service deployment virtual machine in the physical machine selected.Due in deploying virtual machine process, consider different business to physical resource demand type information, and utilize information in conjunction with the physical resource of each physical machine, be chosen as the physical machine of this service deployment virtual machine, and carrying out deploying virtual machine than on basis, thus refer to efficiency and the accuracy of deploying virtual machine, the object of the physical resource load reaching balanced each physical machine and the physical resource utilization factor improving each physical machine.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (6)

1. a virtual machine deployment method, is characterized in that, comprising:
Obtain the business description information of business of waiting to dispose virtual machine, described business description information comprises the physical resource demand type information of described business and describedly waits that the logical relation of disposing between the business of virtual machine is the service identification information of the business of mutex relation or precedence relationship;
Physical resource according to described physical resource demand type information and each physical machine utilizes information, the physical machine performing described business is selected in each physical machine, wherein, wait that the logical relation of disposing between the business of virtual machine is the business of mutex relation, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of mutex relation respectively for described; In each physical machine except the physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing; Wait that the logical relation of disposing between the business of virtual machine is the business of precedence relationship, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of complementary relationship respectively for described; In each physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing;
In the physical machine selected, it is described service deployment virtual machine.
2. the method for claim 1, is characterized in that, obtains the business description information waiting the business of disposing virtual machine, specifically comprises:
Receive the OVF bag that open virtualization format OVF generating apparatus sends, described OVF bag is open virtualization format OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation;
Resolve the OVF bag received;
The business description information of described business is extracted in the OVF bag analytically gone out.
3. a deploying virtual machine device, is characterized in that, comprising:
Acquisition module, for obtaining the business description information of business of waiting to dispose virtual machine, described business description information comprises the physical resource demand type information of described business and describedly waits that the logical relation of disposing between the business of virtual machine is the service identification information of the business of mutex relation or precedence relationship;
Selecting module, for utilizing information according to the physical resource of described physical resource demand type information and each physical machine, in each physical machine, selecting the physical machine performing described business; Comprise: first determines submodule, the first chooser module, second determines submodule and the second chooser module, wherein, first determines for described, submodule is for waiting that the logical relation of disposing between the business of virtual machine is the business of mutex relation, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of mutex relation respectively; First chooser module, in each physical machine except the physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing; Second determines subelement, for waiting that the logical relation of disposing between the business of virtual machine is the business of precedence relationship, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of complementary relationship respectively for described; Second chooser unit, in each physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing;
Deployment module, for the physical machine selected, is described service deployment virtual machine.
4. device as claimed in claim 3, it is characterized in that, described acquisition module comprises:
Receive submodule, for receiving the OVF bag that open virtualization format OVF generating apparatus sends, described OVF bag is open virtualization format OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation;
Analyzing sub-module, resolves the OVF bag received;
Extract submodule, the OVF analytically gone out extracts the business description information of described business in wrapping.
5. a virtual platform, is characterized in that, comprises the arbitrary deploying virtual machine device described in claim 3 or 4.
6. a virtual machine deployment system, is characterized in that, comprises open virtualization format OVF generating apparatus and virtual platform, wherein:
Described open virtualization format OVF generating apparatus, for obtaining the business description information waiting the business of disposing virtual machine, described business description information comprises the physical resource demand type information of described business; According to the business description information generation OVF bag obtained, described OVF bag is open virtualization format OVF generating apparatus is preset format by the business description information translation of the business treating deployment virtual machine, and generate according to the business description information after translation; The OVF of generation bag is sent to virtual platform;
Virtual platform, for receiving the OVF bag that open virtualization format OVF generating apparatus sends, resolve the OVF bag received, the business description information of described business is extracted in the OVF bag analytically gone out, the physical resource demand type information comprised in information and described business description information is utilized according to the physical resource of each physical machine, the physical machine performing described business is selected in each physical machine, in the physical machine selected, for described service deployment virtual machine, also comprise in described business description information and describedly wait that the logical relation of disposing between the business of virtual machine is the service identification information of the business of mutex relation or precedence relationship, wait that the logical relation of disposing between the business of virtual machine is the business of mutex relation, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of mutex relation respectively for described, in each physical machine except the physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing, wait that the logical relation of disposing between the business of virtual machine is the business of precedence relationship, determines perform and describedly wait that the logical relation of disposing between the business of virtual machine is the physical machine of each business of complementary relationship respectively for described, in each physical machine determined, the physical resource according to described physical resource demand type information and each physical machine utilizes information, selects the physical machine waiting the business of disposing virtual machine described in performing.
CN201110039050.7A 2011-02-16 2011-02-16 A kind of virtual machine deployment method, Apparatus and system Active CN102646052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110039050.7A CN102646052B (en) 2011-02-16 2011-02-16 A kind of virtual machine deployment method, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110039050.7A CN102646052B (en) 2011-02-16 2011-02-16 A kind of virtual machine deployment method, Apparatus and system

Publications (2)

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

Family

ID=46658881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110039050.7A Active CN102646052B (en) 2011-02-16 2011-02-16 A kind of virtual machine deployment method, Apparatus and system

Country Status (1)

Country Link
CN (1) CN102646052B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929689B (en) * 2012-11-01 2016-05-18 曙光云计算技术有限公司 In cloud computing system, create the method for virtual machine
CN102981831B (en) * 2012-11-02 2016-08-31 曙光云计算技术有限公司 The method reading underlying resource under cloud computing environment
CN103885831B (en) * 2012-12-19 2017-06-16 中国电信股份有限公司 The system of selection of virtual machine host machine and device
CN103905226B (en) * 2012-12-26 2018-07-06 中兴通讯股份有限公司 The automatic deployment method and device of a kind of business platform
CN104021027B (en) * 2013-02-28 2017-04-12 国际商业机器公司 Method and equipment for providing virtual device
CN104035808B (en) * 2013-03-04 2018-03-27 中兴通讯股份有限公司 The dispositions method and device of virtual machine set
CN104424013B (en) * 2013-08-26 2018-03-09 国际商业机器公司 The method and apparatus for disposing virtual machine in a computing environment
CN103473115B (en) * 2013-09-06 2017-04-05 华为技术有限公司 virtual machine placement method and device
CN103580923B (en) * 2013-11-08 2017-02-15 华为技术有限公司 Software deploying method and device
CN104301404B (en) * 2014-09-29 2018-08-17 华为技术有限公司 A kind of method and device of the adjustment operation system resource based on virtual machine
CN105528234A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Virtual machine migration processing method and device
CN106033373B (en) * 2015-03-11 2019-09-27 苏宁易购集团股份有限公司 Resources of virtual machine dispatching method and scheduling system in a kind of cloud computing platform
CN106713500A (en) * 2017-02-03 2017-05-24 郑州云海信息技术有限公司 Method for storing ovf template of vmware
CN107273246A (en) * 2017-06-15 2017-10-20 郑州云海信息技术有限公司 A kind of server system backup method and device
CN109117243B (en) * 2017-06-23 2023-07-07 中兴通讯股份有限公司 Service deployment method, device, client device and computer readable storage medium
CN109995551B (en) * 2017-12-29 2022-11-15 北京华胜天成科技股份有限公司 Service metering method and device of cloud computing system
CN111355602B (en) * 2018-12-21 2021-11-30 华为技术有限公司 Resource object management method and device
CN111078356A (en) * 2019-11-22 2020-04-28 北京达佳互联信息技术有限公司 GPU cluster resource control system, method, device, equipment and storage medium
CN111078354A (en) * 2019-11-22 2020-04-28 紫光云技术有限公司 Rapid scheduling method in cloud computing field
CN111176792B (en) * 2019-12-31 2023-11-17 华为技术有限公司 Resource scheduling method and device and related equipment
CN115756861A (en) * 2022-11-28 2023-03-07 北京百度网讯科技有限公司 Distributed service processing method, device, electronic equipment and storage medium

Citations (2)

* 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
CN101937360A (en) * 2010-09-01 2011-01-05 浪潮(北京)电子信息产业有限公司 Method and device for creating virtual machines

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010205209A (en) * 2009-03-06 2010-09-16 Hitachi Ltd Management computer, computer system, and physical resource allocating method

Patent Citations (2)

* 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
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
Open Virtualization Format Specification 1.1.0;DMTF DSP0243;《http://www.dmtf.org/default/files/standards/documents/dsp0243_1.1.0.pdf》;20100112;正文第6、13、16-22、36-38页 *

Also Published As

Publication number Publication date
CN102646052A (en) 2012-08-22

Similar Documents

Publication Publication Date Title
CN102646052B (en) A kind of virtual machine deployment method, Apparatus and system
Acun et al. Parallel programming with migratable objects: Charm++ in practice
JP6680901B2 (en) Management method and device
CN104754008B (en) Network storage node, network store system and the device and method for network storage node
CN103064742A (en) Automatic deployment system and method of hadoop cluster
Guruprasad et al. Integrated network experimentation using simulation and emulation
WO2014140971A1 (en) Deploying parallel data integration applications to distributed computing environments
US9542225B2 (en) Method and apparatus for determining allocation design of virtual machines
CN107707687A (en) A kind of method and apparatus of virtual machine IP address configuration
CN105704188A (en) Deployment method and apparatus of applications and services
CN113127150A (en) Rapid deployment method and device of cloud native system, electronic equipment and storage medium
WO2014029239A1 (en) Configuration method and apparatus for deployment policy of virtual machine
JP2011113449A (en) Application generation system, method, and program
CN112527450B (en) Super-fusion self-adaptive method, terminal and system based on different resources
Luthra et al. Progcep: A programming model for complex event processing over fog infrastructure
Yang et al. High-performance docker integration scheme based on OpenStack
Rana et al. Minimization of the reconfiguration latency for the mapping of applications on FPGA-based systems
Ewald et al. A non-fragmenting partitioning algorithm for hierarchical models
CN113742646A (en) Compiling a single language compound function into a single entity
Khiat et al. MFHS: A modular scheduling framework for heterogeneous system
Fan et al. Online optimization of VM deployment in iaas cloud
Bhonagiri et al. Constraint based network communications in a virtual environment of a proprietary hardware
Liu et al. Application features‐based virtual machine deployment strategy in cloud environment
Yao et al. An Automatic Deployment Method for Hybrid Cloud Simulation Platform
Scriven et al. Resource evaluation and node monitoring in service oriented ad-hoc grids

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant