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
business
physical
machine
virtual 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.)
Granted
Application number
CN2011100390507A
Other languages
Chinese (zh)
Other versions
CN102646052B (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

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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

A kind of deploying virtual machine method, Apparatus and system
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of deploying virtual machine method, Apparatus and system.
Background technology
Intel Virtualization Technology is meant and is the program of needs operation or its needed execution environment of software construction.After having adopted Intel Virtualization Technology; The operation of program or software not necessarily exclusively enjoys the physical computing resource of bottom; Just operate in one with the true identical virtual machine of computing environment in, wherein, have identical CPU (Central Processing Unit with the identical finger of true computing environment; CPU) dominant frequency, internal memory and hard-disk capacity.The introducing of Intel Virtualization Technology has been broken the relation of the close-coupled between the software and hardware in the true computing environment, thereby can effectively have been improved the computer resource utilization factor, also can reduce cost.
The notion of " deploying virtual machine " is meant under the business model based on virtual machine; Deployment phase in business is that virtual machine distributes certain virtual resource and starts virtual machine; Operating system and business have been pre-installed in this virtual machine; The mainstream standard of industry in this field is to propose OVF (OpenVirtualization Format by Vmware company at present; Open virtual form) standard, this standard to describe a kind of opening, safe, transportable, effective and extendible form, be used to encapsulate and distribute the business that will on physical machine, carry out.
In the prior art, follow following pattern based on the service life cycle of the deploying virtual machine of OVF: development phase, encapsulation and distribution phase, deployment phase and activation stage.Wherein:
Development phase comprises: 1, the environmental demand of analytical applications; 2, prepare and start one or more operating system virtual images; 3, the software and the program of support applications are installed; 4, optimization system and software setting.
Encapsulation and distribution phase comprise: 1, write OVF envelope 2, virtual image and OVF envelope etc. is packaged into the OVF bag; Through after the development phase, business will be encapsulated as the OVF form in encapsulation and distribution phase.
Deployment phase comprises: 1, (such as VMware vSphere 4) disposes the OVF bag on virtual platform; 2, the OVF bag is installed, is started the virtual machine of deployment success.
Wherein, the OVF bag is a kind of distributing packets, an OVF descriptor file (.ovf) that comprises in the OVF bag: ordinary representation OVF envelope, the OVF descriptor file has defined the virtual resource relevant information, adopts the XML form.
The activation stage comprises: activate the network and the software setting of the virtual machine of deployment success, such as its IP address is set.
As shown in Figure 1; For in the prior art based on the logical architecture synoptic diagram of the deploying virtual machine scheme of OVF; Wherein, Physical resource information generates the OVF bag through the OVF Core Generator, after virtual platform is resolved the OVF bag, carries out deploying virtual machine, virtual machine monitoring and scheduling virtual machine according to the virtual resource relevant information of carrying in the OVF bag.As shown in table 1, be the description field of physical resource information, comprise Disk Section, Network Section etc.
Table 1
Wherein, the disk field description information of all virtual disks in the OVF bag; The network that network field has specified OVF to be suitable for; The resource that resource allocation field has specified this OVF bag to need is as internal memory or cpu resource etc.; Comment field has been specified the note of free-format on a certain entity; The product field has been specified the relevant information that changes the OVF bag, as title and version information, and the attribute that can dispose etc.; The Eula field has been specified the usage license of software in the OVF bag; Field is installed has specified how to start virtual machine; Configuration option field has been specified the dynamic change of resource requirement; The operating system field has been specified the user that this VME operating system is installed; Field is installed has specified virtual machine to need initialization so that needs are installed and configuration software.
They when prior art is the service deployment virtual machine, generally all be to distribute arbitrarily for each is professional to carry out this professional physical machine, and different service is different to the demand of physical resource; For example, professional A is that CPU is intensive professional, and promptly its consumption to CPU is bigger; Professional B is that the memory-intensive type is professional, i.e. its consumption to internal memory is bigger, and the physical resource operating position of different in addition physical machine also is different; For example, the cpu busy percentage of physical machine 1 is 80%, and memory usage is 10%; The cpu busy percentage of physical machine 2 is 20%, and memory usage is 70%, as if the scheme according to prior art; Be to carry out this professional physical machine each professional distribution arbitrarily, then maybe be low, on the physical machine that cpu busy percentage is high, be the intensive service deployment virtual machine of CPU in memory usage; Thereby cause the cpu load of this physical machine overweight, possibly cause the physical machine fault when serious, and the utilization factor of the cpu resource of other physical machine is lower; On the physical machine perhaps low, that memory usage is high, be memory-intensive type service deployment virtual machine, thereby cause the internal memory load of this physical machine overweight at cpu busy percentage; Possibly cause the physical machine fault when serious, and the utilization factor of the memory source of other physical machine is lower.
This shows, when being the service deployment virtual machine, possibly cause the physical resource overload of physical machine or physical resource utilization factor lower according to existing deploying virtual machine method.
Summary of the invention
The embodiment of the invention provides a kind of deploying virtual machine method, Apparatus and system, in order to improve the efficient and the accuracy of deploying virtual machine, with physical resource load that reaches balanced each physical machine and the purpose that improves the physical resource utilization factor of each physical machine.
The embodiment of the invention provides a kind of deploying virtual machine method, comprising:
Obtain the business description information of the business of waiting to dispose virtual machine, comprise the physical resource demand type information of said business in the said business description information;
Physical resource according to said physical resource demand type information and each physical machine utilizes information, in each physical machine, selects to carry out the physical machine of said business;
On the physical machine of selecting, be said service deployment virtual machine.
The embodiment of the invention provides a kind of deploying virtual machine device, comprising:
Acquisition module is used to obtain the business description information of the business of waiting to dispose virtual machine, comprises the physical resource demand type information of said business in the said business description information;
Selected cell is used for utilizing information according to the physical resource of said physical resource demand type information and each physical machine, in each physical machine, selects to carry out the physical machine of said business;
Deployment module is used in the physical machine of selecting, and is said service deployment virtual machine.
The embodiment of the invention provides a kind of virtual platform, comprises above-mentioned arbitrary virtual deployment devices.
The embodiment of the invention provides a kind of deploying virtual machine system, comprises open virtual form OVF generating apparatus and virtual platform, wherein:
Said OVF generating apparatus is used to obtain professional business description information, comprises the physical resource demand type information of said business in the said business description information; Generate the OVF bag according to the business description information obtained, the business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation; The OVF bag that generates is sent to virtual platform;
Virtual platform; Be used to receive the OVF bag that the OVF generating apparatus sends, resolve the OVF bag that receives, from the OVF bag that parses, extract the business description information of said business; Utilize information according to the physical resource demand type information that comprises in the said business description letter and the physical resource of each physical machine; In each physical machine, select to carry out the physical machine of said business, on the physical machine of selecting, be said service deployment virtual machine.
Deploying virtual machine method and device that the embodiment of the invention provides; Because in the deploying virtual machine process; The physical resource demand type information that comprises in the business description information according to the business of waiting to dispose virtual machine; Physical resource in conjunction with each physical machine utilizes information, selects to carry out this professional physical machine, and on the physical machine of selecting, is this service deployment virtual machine.Because in the deploying virtual machine process; Considered that different business is to physical resource demand type information; And combine the physical resource of each physical machine to utilize information, be chosen as the physical machine of this service deployment virtual machine, and carry out deploying virtual machine on this basis; Thereby mentioned the efficient and the accuracy of deploying virtual machine, reached the physical resource load of balanced each physical machine and improved the purpose of the physical resource utilization factor of each physical machine.
Other features and advantages of the present invention will be set forth in instructions subsequently, and, partly from instructions, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the instructions of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Fig. 1 is in the prior art, based on the logical architecture synoptic diagram of the deploying virtual machine scheme of OVF;
Fig. 2 is in the embodiment of the invention, based on the logical architecture synoptic diagram of the deploying virtual machine scheme of OVF;
Fig. 3 is in the embodiment of the invention, the implementing procedure synoptic diagram of deploying virtual machine method;
Fig. 4 is in the embodiment of the invention, a kind of possible structural representation of deploying virtual machine device;
Fig. 5 is in the embodiment of the invention, a kind of possible structural representation of deploying virtual machine system;
Fig. 6 is in the embodiment of the invention, based on the implementing procedure synoptic diagram of the deploying virtual machine method of OVF.
Embodiment
For efficient and the accuracy that improves deploying virtual machine, with physical resource load that reaches balanced each physical machine and the purpose that improves the physical resource utilization factor of each physical machine, the embodiment of the invention provides a kind of deploying virtual machine 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 only is used for explanation and explains the present invention; And be not used in qualification the present invention, and under the situation of not conflicting, embodiment and the characteristic among the embodiment among the present invention can make up each other.
As shown in Figure 2, in the embodiment of the invention, based on the logical architecture synoptic diagram of the deploying virtual machine scheme of OVF.Translation module is used for the business description information of operation layer is translated as the form that the underlying resource layer can be discerned; The business description information of OVF Core Generator after with physical resource information and translation is inserted the OVF descriptor to generate the OVF bag; After the OVF parsing module is resolved the OVF bag, physical resource information in the extraction bag and the business description information after the translation; Deployment module is carried out deploying virtual machine according to business description information.
Below in conjunction with logical architecture synoptic diagram, the embodiment of the embodiment of the invention is described based on the deploying virtual machine scheme of OVF.
As shown in Figure 3, the implementing procedure synoptic diagram of the deploying virtual machine method that provides for the embodiment of the invention comprises the steps:
S31, obtain the business description information of the business of waiting to dispose virtual machine, comprise the physical resource demand type information that this is professional in this business description information;
S32, utilize information, in each physical machine, select to carry out this professional physical machine according to the physical resource of this physical resource demand type information and each physical machine;
S33, on the physical machine of selecting, be this service deployment virtual machine.
In the practical implementation; In order to embody the individual demand of professional relevant information to physical resource; Like professional A is that the intensive professional perhaps professional B of CPU is that the memory-intensive type is professional; The embodiment of the invention has increased the business description information of the business of waiting to dispose virtual machine on the basis of virtual resource relevant information.Concrete; Can realize through the mode that increases servicesection field (can be the XML form); This field is used to describe the relevant information of the business of waiting to dispose virtual machine; Can comprise type of service, professional related description, the physical resource demand type information of logical relation between business and other business and business etc.A kind of possible descriptor format is following:
<servicesection>
<info>Professional relevant information and professional physical resource demand type information are described</Info>
!-servicetype describes type of service, comprises real time business and multiclass such as non-real-time service, Internet service-->
<servicetype></servicetype>
!-servicecorrelation describes this business and other professional logical relation, and some business is independently, and usually just do not have restriction rule on to servicedeployment this moment; And be stored in logical relation between some business and other business--
<servicecorrelation></servicecorrelation>
!-serviceresoucepriority describes this professional physical resource demand type information, like CPU-bound or memory bound etc.--
<serviceresoucepriority></serviceresoucepriority>
!-servicelevelagreement describes the relevant class information of this business, like parameters such as response times--
<servicelevelagreement></servicelevelagreement>
!--can expand-->
</servicesection>
In the practical implementation, through knowing Servicetype information, virtual platform can be regulated the overall strategy of deploying virtual machine and scheduling according to the difference of type of service, and is different with the parameter value that non real-time class service needed ensures such as real-time service; Can further optimize deployment according to the logical relation between the business according to the logical relation between the business through knowing servicerecorrelaion information virtual platform; Through knowing serviceresoucepriority information; Virtual platform can be according to the physical resource demand type information of business; Optimize deploying virtual machine; Can be deployed on same the physical machine such as virtual machine CPU-bound and mem-bound, thus the physical resource utilization factor of balanced physical machine load and raising physical machine; Through knowing servicelevelagreement information, virtual platform can provide the control and monitoring and the threshold value of different stage according to the performance parameter index of different business.
In the practical implementation, among the step S32, in each physical machine, select to carry out this professional physical machine, comprising:
S321, receive the OVF bag that open virtual form OVF generating apparatus sends, the business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation;
Concrete, whether from the framework theory of layering, operation layer can't be known the concrete condition of underlying resource layer, such as adopting virtualization mechanism or be deployed in which kind of physical platform; And the underlying resource layer also can't be known professional business description information, and therefore, translation module is used for the business description information of operation layer is translated as the form that the underlying resource layer can be discerned.
The OVF bag that S322, parsing receive;
S323, from the OVF that parses bag, extract the business description information of said business.
Wherein, If show in the servicecorrelation field when having logical relation between this business and other business; When disposing virtual machine, exist some special deployment requirements: as certain Web Server (Website server) virtual machine hope can and its database virtual machine be positioned on same the physical machine to improve access speed (in the embodiment of the invention logical relation between the business under the inferior situation being called precedence relationship); Perhaps in based on the business of P2P (end-to-end), there is certain backup relation between the business; Therefore in the deploying virtual machine process, backup node can not and host node be deployed in and (in the embodiment of the invention logical relation between the business under the inferior situation be called mutex relation) on same the physical machine etc.
Based on this; In the practical implementation, in the business description information of the business of waiting to dispose virtual machine, comprise and wait to dispose logical relation between the business of virtual machine when being the service identification information of business of mutex relation; In the step 32; Physical resource according to physical resource demand type information and each physical machine utilizes information, in each physical machine, selects to carry out this professional physical machine, specifically comprises:
The logical relation of confirm carrying out respectively and waiting to dispose between the business of virtual machine is each professional physical machine of mutex relation;
In each physical machine except that the physical machine of determining, utilize information according to the physical resource of physical resource demand type information and each physical machine, select to carry out the physical machine of the business of waiting to dispose virtual machine.
Concrete; The logical relation that virtual platform basis and waiting is disposed between the business of virtual machine is the service identification information of the business of mutex relation; Confirm to carry this professional physical machine respectively; And from each physical machine except that the physical machine of determining,, select to carry out the physical machine that this waits to dispose the business of virtual machine according to the physical resource utilization factor or the available physical resources situation of each physical machine.
In the practical implementation; In the business description information of the business of waiting to dispose virtual machine; Comprise and wait to dispose logical relation between the business of virtual machine when being the service identification information of business of precedence relationship, in the step 32, utilize information according to the physical resource of physical resource demand type information and each physical machine; In each physical machine, select to carry out this professional physical machine, specifically comprise:
The logical relation of confirm carrying out respectively and waiting to dispose between the business of virtual machine is each professional physical machine of complementary relationship;
In each physical machine of determining, utilize information according to the physical resource of physical resource demand type information and each physical machine, select to carry out the physical machine of the business of waiting to dispose virtual machine.
Concrete; The logical relation that virtual platform basis and waiting is disposed between the business of virtual machine is the service identification information of the business of precedence relationship; Confirm to carry this professional physical machine respectively; And from each physical machine of determining,, select to carry out the physical machine that this waits to dispose the business of virtual machine according to the physical resource utilization factor or the available physical resources situation of each physical machine.
Simultaneously; If in the business description information of the business of waiting to dispose virtual machine; The logical relation that had both comprised and waited to dispose between the business of virtual machine is the service identification information of the business of mutex relation, comprises again and waits to dispose logical relation between the business of virtual machine when being the service identification information of business of precedence relationship, and virtual platform is basis at first then; And the service identification information of waiting to dispose logical relation between the business of virtual machine and be the business of mutex relation confirms to carry these professional physical machine respectively; In the physical machine except that the physical machine of determining, according to and the logical relation waiting to dispose between the business of virtual machine be the service identification information of the business of precedence relationship, determine whether to carry these professional physical machine respectively; If have; Then in the physical machine of determining,, select to carry out the physical machine that this waits to dispose the business of virtual machine according to the physical resource utilization factor or the available physical resources situation of each physical machine.
Based on same inventive concept; A kind of deploying virtual machine Apparatus and system, a kind of virtual platform also are provided in the embodiment of the invention; Because the principle that this device, system and virtual platform are dealt with problems is similar with the deploying virtual machine method; Therefore the enforcement of this device, system and virtual platform can repeat part and repeat no more referring to the enforcement of method.
As shown in Figure 4, be a kind of possible structural representation of virtualization machine deployment devices for the embodiment of the invention provides, comprising:
Acquisition module 41 is used to obtain the business description information of the business of waiting to dispose virtual machine, comprises the physical resource demand type information that this is professional in this business description information;
Select module 42, be used for utilizing information, in each physical machine, select to carry out this professional physical machine according to the physical resource of this physical resource demand type information and each physical machine;
Deployment module 43 is used in the physical machine of selecting, and is this service deployment virtual machine.
In the practical implementation, acquisition module 41 comprises:
Receive submodule 411; Be used to receive the OVF bag that open virtual form OVF generating apparatus sends; The business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation;
Analyzing sub-module 412 is resolved the OVF bag that receives;
Extract submodule 413, from the OVF bag that parses, extract the business description information of said business.
In the practical implementation, business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of mutex relation; And
Select module 42, comprising:
First confirms submodule, be used for confirming respectively carrying out and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of mutex relation;
The first chooser module is used in each physical machine except that the physical machine of determining, and utilizes information according to the physical resource of said physical resource demand type information and each physical machine, selects to carry out the said physical machine of waiting to dispose the business of virtual machine.
In the practical implementation, business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of precedence relationship; And
Select module 42, comprising:
Second confirms subelement, be used for confirming respectively carrying out and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of complementary relationship;
The second chooser unit is used in each physical machine of determining, utilizes information according to the physical resource of said physical resource demand type information and each physical machine, selects to carry out the said physical machine of waiting to dispose the business of virtual machine.
In order to realize the deploying virtual machine method, the embodiment of the 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 deploying virtual machine system that the embodiment of the invention provides, comprise OVF (open virtual form) generating apparatus 51 and virtual platform 52, wherein:
OVF generating apparatus 51 is used to obtain the business description information of the business of waiting to dispose virtual machine, comprises the physical resource demand type information of said business in this business description information; Generate the OVF bag according to the business description information obtained, the business description information that this OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation; The OVF bag that generates is sent to virtual platform;
Virtual platform 52; Be used to receive the OVF bag that OVF generating apparatus 51 sends, resolve the OVF bag that receives, from the OVF bag that parses, extract this professional business description information; Utilize information according to the physical resource demand type information that comprises in this business description letter and the physical resource of each physical machine; In each physical machine, select to carry out the physical machine of said business, on the physical machine of selecting, be this service deployment virtual machine.
Embodiment for a better understanding of the present invention below is an example with the deploying virtual machine method based on OVF, and the embodiment of the embodiment of the invention is described.
Suppose the current deployment based on the deploying virtual machine method of OVF that will realize professional A, the demand type information of the physical resource of professional A is that CPU is intensive.
As shown in Figure 6, the implementing procedure synoptic diagram based on the deploying virtual machine method of OVF comprises the steps:
S61, acquisition module obtain the business description information of professional A, and the business description information of the professional A that gets access to is sent to translation module;
Concrete, can carry out certain description (descriptor format is not limit, and can be the XML form, can be other form yet) to business in the service template; Concrete, for professional A, to a kind of possible descriptor format of the demand type information of its physical resource be: serviceresoucepriority; CPU</serviceresoucepriority>
After S62, translation module are translated into preset form with the business description information of professional A, the business description information of professional A after the translation is sent to the OVF Core Generator;
Concrete, translation module is translated into preset form with the business description information of professional A, makes Physical layer can know the physical resource demand type information (CPU is intensive) of professional A.
S63, OVF Core Generator obtain this physical resource information of waiting to dispose the business of virtual machine, and dispose the professional business description information of virtual machine according to treating after this physical resource information and the translation and generate the OVF bag, and this OVF bag is sent to parsing module;
S64, parsing module are resolved the OVF bag that receives;
S65, extraction module extract waiting of comprising in the OVF bag after resolving and dispose the professional business description information of virtual machine, and submit to deployment module;
S66, deployment module are disposed the professional business description information of virtual machine according to waiting, are this service deployment virtual machine;
Concrete, deployment module selects the low perhaps more physical machine of available cpu resource of cpu busy percentage to dispose according to the demand type information of the physical resource of professional A.
In addition; If in the business description information of professional A; When comprising logical relation with professional A and be the service identification information of business of mutex relation, deployment module will be at first according to each service identification information, confirms to carry these professional physical machine; In the physical machine except that the physical machine of determining, select the low perhaps more physical machine of available cpu resource of cpu busy percentage to dispose; If in the business description information of professional A; When comprising logical relation with professional A and be the service identification information of business of precedence relationship; Deployment module will be at first according to each service identification information; Confirm to carry these professional physical machine, in the physical machine of determining, select cpu busy percentage to dispose than low or the more physical machine of available cpu resource; If the logical relation that had both comprised with professional A is the service identification information of the business of mutex relation; When also comprising logical relation with professional A and be the service identification information of business of precedence relationship,, confirm to carry these professional physical machine then at first according to each service identification information; In the physical machine except that the physical machine of determining; According to and professional A between have the service identification information of the business of precedence relationship, determined whether that physical machine carries these business, if having; Then preferential on the physical machine of determining, select the low perhaps more physical machine of available cpu resource of cpu busy percentage to dispose.
Deploying virtual machine method and device that the embodiment of the invention provides; Because in the deploying virtual machine process; The physical resource demand type information that comprises in the business description information according to the business of waiting to dispose virtual machine; Physical resource in conjunction with each physical machine utilizes information, selects to carry out this professional physical machine, and on the physical machine of selecting, is this service deployment virtual machine.Because in the deploying virtual machine process; Considered that different business is to physical resource demand type information; And combine the physical resource of each physical machine to utilize information, be chosen as the physical machine of this service deployment virtual machine, and on than the basis, carry out deploying virtual machine; Thereby mentioned the efficient and the accuracy of deploying virtual machine, reached the physical resource load of balanced each physical machine and improved the purpose of the physical resource utilization factor of each physical machine.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. a deploying virtual machine method is characterized in that, comprising:
Obtain the business description information of the business of waiting to dispose virtual machine, comprise the physical resource demand type information of said business in the said business description information;
Physical resource according to said physical resource demand type information and each physical machine utilizes information, in each physical machine, selects to carry out the physical machine of said business;
On the physical machine of selecting, be said service deployment virtual machine.
2. the method for claim 1 is characterized in that, obtains the business description information of the business of waiting to dispose virtual machine, specifically comprises:
Receive the OVF bag that open virtual form OVF generating apparatus sends, the business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation;
The OVF bag that parsing receives;
From the OVF bag that parses, extract the business description information of said business.
3. the method for claim 1 is characterized in that, said business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of mutex relation;
Said physical resource according to said physical resource demand type information and each physical machine utilizes information, in each physical machine, selects to carry out the physical machine of said business, specifically comprises:
Confirm to carry out respectively and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of mutex relation;
In each physical machine except that the physical machine of determining, utilize information according to the physical resource of said physical resource demand type information and each physical machine, select to carry out the said physical machine of waiting to dispose the business of virtual machine.
4. the method for claim 1 is characterized in that, said business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of precedence relationship;
Said physical resource according to said physical resource demand type information and each physical machine utilizes information, in each physical machine, selects to carry out the physical machine of said business, specifically comprises:
Confirm to carry out respectively and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of complementary relationship;
In each physical machine of determining, utilize information according to the physical resource of said physical resource demand type information and each physical machine, select to carry out the said physical machine of waiting to dispose the business of virtual machine.
5. a deploying virtual machine device is characterized in that, comprising:
Acquisition module is used to obtain the business description information of the business of waiting to dispose virtual machine, comprises the physical resource demand type information of said business in the said business description information;
Select module, be used for utilizing information, in each physical machine, select to carry out the physical machine of said business according to the physical resource of said physical resource demand type information and each physical machine;
Deployment module is used in the physical machine of selecting, and is said service deployment virtual machine.
6. device as claimed in claim 5 is characterized in that, said acquisition module comprises:
Receive submodule; Be used to receive the OVF bag that open virtual form OVF generating apparatus sends; The business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation;
Analyzing sub-module is resolved the OVF bag that receives;
Extract submodule, from the OVF bag that parses, extract the business description information of said business.
7. device as claimed in claim 5 is characterized in that, said business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of mutex relation; And
Said selection module comprises:
First confirms submodule, be used for confirming respectively carrying out and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of mutex relation;
The first chooser module is used in each physical machine except that the physical machine of determining, and utilizes information according to the physical resource of said physical resource demand type information and each physical machine, selects to carry out the said physical machine of waiting to dispose the business of virtual machine.
8. device as claimed in claim 5 is characterized in that, said business description information also comprise and the said business of waiting to dispose virtual machine between logical relation be the service identification information of the business of precedence relationship; And
Said selection module comprises:
Second confirms subelement, be used for confirming respectively carrying out and the said business of waiting to dispose virtual machine between logical relation be each professional physical machine of complementary relationship;
The second chooser unit is used in each physical machine of determining, utilizes information according to the physical resource of said physical resource demand type information and each physical machine, selects to carry out the said physical machine of waiting to dispose the business of virtual machine.
9. a virtual platform is characterized in that, comprises the described arbitrary virtual deployment devices of claim 5~8.
10. a deploying virtual machine system is characterized in that, comprises open virtual form OVF generating apparatus and virtual platform, wherein:
Said OVF generating apparatus is used to obtain the business description information of the business of waiting to dispose virtual machine, comprises the physical resource demand type information of said business in the said business description information; Generate the OVF bag according to the business description information obtained, the business description information that said OVF bag will wait to dispose the business of virtual machine for the OVF generating apparatus is translated as preset form, and according to the generation of the business description information after the translation; The OVF bag that generates is sent to virtual platform;
Virtual platform; Be used to receive the OVF bag that the OVF generating apparatus sends, resolve the OVF bag that receives, from the OVF bag that parses, extract the business description information of said business; Utilize information according to the physical resource demand type information that comprises in the said business description letter and the physical resource of each physical machine; In each physical machine, select to carry out the physical machine of said business, on the physical machine of selecting, be said service deployment virtual machine.
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 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 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)

Cited By (21)

* 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
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
CN109117243A (en) * 2017-06-23 2019-01-01 中兴通讯股份有限公司 Service deployment method, apparatus, client device and computer readable storage medium
CN109995551A (en) * 2017-12-29 2019-07-09 北京华胜天成科技股份有限公司 The business metering method and device of cloud computing system
CN111078354A (en) * 2019-11-22 2020-04-28 紫光云技术有限公司 Rapid scheduling method in cloud computing field
CN111078356A (en) * 2019-11-22 2020-04-28 北京达佳互联信息技术有限公司 GPU cluster resource control system, method, device, equipment and storage medium
CN111176792A (en) * 2019-12-31 2020-05-19 华为技术有限公司 Resource scheduling method, device and related equipment
WO2020125698A1 (en) * 2018-12-21 2020-06-25 华为技术有限公司 Resource object management method and apparatus
CN115756861A (en) * 2022-11-28 2023-03-07 北京百度网讯科技有限公司 Distributed service processing method, device, electronic equipment and storage medium

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 (39)

* 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
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 曙光云计算技术有限公司 The method reading underlying resource under cloud computing environment
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 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
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 国际商业机器公司 Method and equipment for providing virtual device
CN104035808A (en) * 2013-03-04 2014-09-10 中兴通讯股份有限公司 Virtual machine set deployment method and device
CN104035808B (en) * 2013-03-04 2018-03-27 中兴通讯股份有限公司 The dispositions method and device of virtual machine set
US10303500B2 (en) 2013-08-26 2019-05-28 International Business Machines Corporation Deploying a virtual machine in a computing environment
CN104424013B (en) * 2013-08-26 2018-03-09 国际商业机器公司 The method and apparatus for disposing virtual machine in a computing environment
US10831517B2 (en) 2013-08-26 2020-11-10 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
WO2015027865A1 (en) * 2013-08-26 2015-03-05 International Business Machines Corporation Method and apparatus for deploying virtual machine in computing environment
US9846590B2 (en) 2013-08-26 2017-12-19 International Business Machines Corporation Deploying a virtual machine in a computing environment
CN103473115B (en) * 2013-09-06 2017-04-05 华为技术有限公司 virtual machine placement method and device
CN103473115A (en) * 2013-09-06 2013-12-25 华为技术有限公司 Virtual machine placing method and device
CN103580923B (en) * 2013-11-08 2017-02-15 华为技术有限公司 Software deploying method and device
CN103580923A (en) * 2013-11-08 2014-02-12 华为技术有限公司 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
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
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
CN106033373A (en) * 2015-03-11 2016-10-19 苏宁云商集团股份有限公司 A method and a system for scheduling virtual machine resources in a 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
CN109117243A (en) * 2017-06-23 2019-01-01 中兴通讯股份有限公司 Service deployment method, apparatus, client device and computer readable storage medium
CN109995551A (en) * 2017-12-29 2019-07-09 北京华胜天成科技股份有限公司 The business metering method and device of cloud computing system
CN109995551B (en) * 2017-12-29 2022-11-15 北京华胜天成科技股份有限公司 Service metering method and device of cloud computing system
WO2020125698A1 (en) * 2018-12-21 2020-06-25 华为技术有限公司 Resource object management method and apparatus
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
CN111176792A (en) * 2019-12-31 2020-05-19 华为技术有限公司 Resource scheduling method, device and related equipment
WO2021136137A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Resource scheduling method and apparatus, and related device
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

Also Published As

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

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
CN107924383B (en) System and method for network function virtualized resource management
JP5598762B2 (en) Virtual machine package generation system, virtual machine package generation method, and virtual machine package generation program
CN103064742A (en) Automatic deployment system and method of hadoop cluster
US9268588B2 (en) Optimizing virtual machine migration via identification and treatment of virtual memory swap file
CN104754008B (en) Network storage node, network store system and the device and method for network storage node
KR102674017B1 (en) Network resource management method, system, network device and readable storage medium
Guruprasad et al. Integrated network experimentation using simulation and emulation
CN105704188A (en) Deployment method and apparatus of applications and services
EP2731009A1 (en) Deployment design program and method, and information processing device
CN103747107A (en) Compatible cloud operating platform and realizing method thereof
CN113127150A (en) Rapid deployment method and device of cloud native system, electronic equipment and storage medium
CN111857951A (en) Containerized deployment platform and deployment method
US20150169337A1 (en) Intelligent virtual machine (vm) re-location
CN103034526A (en) Realization method and device of virtualized service
CN114546587A (en) Capacity expansion and reduction method of online image recognition service and related device
CN113407257A (en) Mysql cluster deployment method and device, electronic equipment and storage medium
CN105141691A (en) System and method for automatically expanding virtual machine cluster under cloud computing
Merzky et al. Application level interoperability between clouds and grids
CN109302314B (en) Controlled node simulation method and related device
Yang et al. High-performance docker integration scheme based on OpenStack
CN114816665B (en) Hybrid arrangement system and virtual machine container resource hybrid arrangement method under super-fusion architecture
CN115016862A (en) Kubernetes cluster-based software starting method, device, server and storage medium
CN109271179B (en) Virtual machine application program management method, device, equipment and readable storage medium

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