CN102214117B - Virtual machine management method, system and server - Google Patents

Virtual machine management method, system and server Download PDF

Info

Publication number
CN102214117B
CN102214117B CN201010142935.5A CN201010142935A CN102214117B CN 102214117 B CN102214117 B CN 102214117B CN 201010142935 A CN201010142935 A CN 201010142935A CN 102214117 B CN102214117 B CN 102214117B
Authority
CN
China
Prior art keywords
virtual machine
server
machine instance
instance
application system
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
CN201010142935.5A
Other languages
Chinese (zh)
Other versions
CN102214117A (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.)
ZTE Corp
Original Assignee
ZTE Corp Nanjing Branch
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 ZTE Corp Nanjing Branch filed Critical ZTE Corp Nanjing Branch
Priority to CN201010142935.5A priority Critical patent/CN102214117B/en
Priority to PCT/CN2010/079651 priority patent/WO2011124077A1/en
Publication of CN102214117A publication Critical patent/CN102214117A/en
Application granted granted Critical
Publication of CN102214117B publication Critical patent/CN102214117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Landscapes

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

Abstract

The invention discloses a virtual machine management method, system and server, belonging to the technical field of computers. The virtual machine management method comprises the steps of: acquiring the number of online users of an application system by a virtual machine management server; and increasing or decreasing the instances of the virtual machines of the application system by the virtual machine management server according to the acquired number of the online users and by combining a preset rule. According to the embodiment of the invention, the number of the instances of the virtual machines can be automatically regulated according to the load of the application system, so that the utilization ratio of a physical machine is increased. The technical scheme provided by the invention can be widely applied to the application systems of the virtual machines.

Description

Virtual machine management method, system and Virtual Machine Manager server
Technical field
The present invention relates to field of computer technology, refer to especially a kind of virtual machine management method, system and Virtual Machine Manager server.
Background technology
Along with the development of Intel Virtualization Technology, people can move multiple operating system on a physical machine simultaneously.Intel Virtualization Technology providers have also proposed virtual management software separately, as the HyperV Server of VMwareESX, Microsoft, think outstanding Xen Server etc., the feature of this class software is that a virtual opetrating system mirror image can move multiple operation system examples on physical machine cluster, this makes in the situation that keeping physical machine quantity constant, can follow according to actual needs and dynamically increase and decrease virtual machine instance, in the time that application system load is lower, can close part physical machine, with saving resource; Can also follow the load condition according to each application system, pro-rata virtual machine instance, has improved the utilization factor of physical resource.
But in the prior art, need manual intervention could create a virtual machine instance, and make this virtual machine instance participate in an operating application system; And destroying after a virtual machine instance, also need manual intervention could discharge the physical machine resource that this virtual machine instance takies, such as the virtual machine instance of the A application on a physical machine is closed, prior art automatically quick just physical machine is used for the virtual machine instance that B applies, so not only can not respond fast user's demand, and reduce the utilization factor of physical machine.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of virtual machine management method, system and Virtual Machine Manager server, can automatically adjust virtual machine instance quantity according to application system load, improves the utilization factor of physical machine.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme as follows:
On the one hand, provide a kind of virtual machine management method, comprising:
Virtual Machine Manager server obtains the online user number of application system;
Described Virtual Machine Manager server, according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules.
Wherein, the online user number that described Virtual Machine Manager server obtains application system comprises:
Described Virtual Machine Manager server is every the online user number of an application system of predetermined time interval acquiring; Or
The online user number that described Virtual Machine Manager server balancing received load server sends.
Wherein, described Virtual Machine Manager server comprises every the online user number of an application system of predetermined time interval acquiring:
Described Virtual Machine Manager server every predetermined time interval send query statement to load-balanced server, the inquiry online user number of described application system once;
Described Virtual Machine Manager server receives the online user number that described load-balanced server returns.
Wherein, described Virtual Machine Manager server is according to obtained online user number, and the virtual machine instance that increases or reduce described application system in conjunction with preset rules comprises:
If the virtual machine instance quantity that the online user number of obtaining needs is greater than current virtual machine instance quantity, described Virtual Machine Manager server increases the virtual machine instance of described application system;
If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, described Virtual Machine Manager server reduces the virtual machine instance of described application system.
Wherein, the virtual machine instance that described Virtual Machine Manager server increases described application system comprises:
Described Virtual Machine Manager server is determined a physical machine according to the resource detail of obtained online user number and the physical machine cluster of self storing from physical machine cluster;
Described Virtual Machine Manager server sends and creates instruction to the Virtual Machine Manager client on described physical machine, indicates described Virtual Machine Manager client to create new virtual machine instance;
Described Virtual Machine Manager server sends address assignment instruction to DHCP (DynamicHost arranges agreement) server, and indicating described Dynamic Host Configuration Protocol server is new virtual machine instance distributing IP (procotol) address creating;
Described Virtual Machine Manager server sends and adds instruction to described load-balanced server, the online user of described application system indicate described load-balanced server that the IP address of described new establishment virtual machine instance is added in list, so that can access the virtual machine instance of described new establishment.
Wherein, the virtual machine instance that described Virtual Machine Manager server reduces described application system comprises:
Described Virtual Machine Manager server is determined the virtual machine instance that will close;
Described Virtual Machine Manager server sends the first out code to described load-balanced server, indicate described load-balanced server no longer new user to be pointed to the described virtual machine instance that will close, and user corresponding to the described virtual machine instance that will close switched to other virtual machine instance;
Reduce at 0 o'clock at number of users corresponding to virtual machine instance that will close described in access, described Virtual Machine Manager server sends the second out code to Virtual Machine Manager client corresponding to the described virtual machine instance that will close, indicates described Virtual Machine Manager client to close described virtual machine instance.
The embodiment of the present invention also provides a kind of Virtual Machine Manager server, comprising:
Acquisition module, for obtaining the online user number of application system;
Processing module, for according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules.
Wherein, if the virtual machine instance quantity that described processing module needs specifically for the online user number of obtaining is greater than current virtual machine instance quantity, increase the virtual machine instance of described application system; If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, reduce the virtual machine instance of described application system.
The embodiment of the present invention also provides a kind of virtual machine management system, comprising:
Virtual Machine Manager server, for obtaining the online user number of application system, and according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules.
Wherein, described Virtual Machine Manager server specifically for every predetermined time interval send query statement to load-balanced server, the inquiry online user number of described application system once;
Described system also comprises:
Described load-balanced server, for returning to online user number to described Virtual Machine Manager server.
Wherein, if the virtual machine instance quantity that described Virtual Machine Manager server needs specifically for the online user number of obtaining is greater than current virtual machine instance quantity, increase the virtual machine instance of described application system; If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, reduce the virtual machine instance of described application system.
Further, described system also comprises:
Mirrored storage server, for storage virtual machine image file data;
Virtual Machine Manager client, for creating or close virtual machine instance according to the instruction of the described Virtual Machine Manager server receiving;
Dynamic Host Configuration Protocol server, the instruction of the described Virtual Machine Manager server receiving for basis is virtual machine instance distributing IP address.
Embodiments of the invention have following beneficial effect:
In such scheme, Virtual Machine Manager server increases or reduces the virtual machine instance of application system automatically according to the online user number of the application system of obtaining.The embodiment of the present invention can be adjusted automatically according to application system load the quantity of virtual machine instance, improves the utilization factor of physical equipment.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of embodiments of the invention virtual machine management method;
Fig. 2 is the structural representation of embodiments of the invention Virtual Machine Manager server;
Fig. 3 is the structural representation of embodiments of the invention virtual machine management system;
Fig. 4 is another schematic flow sheet of embodiments of the invention virtual machine management method.
Embodiment
For technical matters, technical scheme and advantage that embodiments of the invention will be solved are clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention are for needing manual intervention can create or destroy the problem of virtual machine instance in prior art, a kind of virtual machine management method, system and Virtual Machine Manager server are provided, can automatically adjust virtual machine instance quantity according to application system load, improve the utilization factor of physical machine.
The embodiment of the present invention provides a kind of virtual machine management method, and as shown in Figure 1, the method comprises:
Step 101: Virtual Machine Manager server obtains the online user number of application system;
Step 102: Virtual Machine Manager server, according to obtained online user number, increases or reduce the virtual machine instance of application system in conjunction with preset rules.
The virtual machine management method of the present embodiment, Virtual Machine Manager server can increase or reduce according to the online user number of the application system of obtaining the virtual machine instance of application system automatically, the present embodiment can be adjusted automatically according to application system load the quantity of virtual machine instance, improves the utilization factor of physical machine.
The embodiment of the present invention also provides a kind of Virtual Machine Manager server, and as shown in Figure 2, this Virtual Machine Manager server comprises:
Acquisition module 20, for obtaining the online user number of application system;
Processing module 21, for according to obtained online user number, increases or reduces the virtual machine instance of application system in conjunction with preset rules.
Wherein, if the virtual machine instance quantity that processing module 21 needs specifically for the online user number of obtaining is greater than current virtual machine instance quantity, increase the virtual machine instance of application system; If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, reduce the virtual machine instance of application system.
Wherein, processing module 21 comprises:
Determining unit 22 in the time increasing the virtual machine instance of application system, is determined a physical machine from physical machine cluster according to obtained online user number;
Transmitting element 23, sends and creates instruction for the Virtual Machine Manager client on this physical machine, and instruction Virtual Machine Manager client creates new virtual machine instance;
Transmitting element 23 is also for to DHCP (Dynamic Host Configuration Protocol, DynamicHost arranges agreement) instruction of server transmission address assignment, instruction Dynamic Host Configuration Protocol server is the new virtual machine instance distributing IP address creating, and send and add instruction to load-balanced server, instruction load-balanced server adds the IP address that newly creates virtual machine instance in list to, so that the online user of application system can access the virtual machine instance of new establishment.
Wherein, in the time reducing the virtual machine instance of application system, determining unit 22 is also for determining the virtual machine instance that will close;
Transmitting element 23 is also for send the first out code to load-balanced server, and instruction load-balanced server no longer points to by new user the virtual machine instance that will close, and user corresponding to the virtual machine instance that will close switches to other virtual machine instance; Number of users corresponding to virtual machine instance that will close in access reduces at 0 o'clock, and transmitting element 23 sends the second out code to Virtual Machine Manager client corresponding to the virtual machine instance that will close, and instruction Virtual Machine Manager client is closed virtual machine instance.
The Virtual Machine Manager server of the present embodiment obtains the online user number of application system, and according to the automatic virtual machine instance that increases or reduce application system of the online user number of application system, the present embodiment can be adjusted automatically according to application system load the quantity of virtual machine instance, improves the utilization factor of physical machine.
The embodiment of the present invention also provides a kind of virtual machine management system, and as shown in Figure 3, this virtual machine management system comprises:
Virtual Machine Manager server 30, for obtaining the online user number of application system, and according to obtained online user number, increases or reduces the virtual machine instance of application system in conjunction with preset rules.
Wherein, this system also comprises load-balanced server 31, and Virtual Machine Manager server 30 can send query statement to load-balanced server 31 every predetermined time interval, the online user number of an application system of inquiry; Load-balanced server 31 is for returning to online user number to Virtual Machine Manager server 30.
Can also by load-balanced server 31 every predetermined time interval report the online user number of an application system to Virtual Machine Manager server 30.
If the virtual machine instance quantity that the online user number that Virtual Machine Manager server 30 obtains needs is greater than current virtual machine instance quantity, Virtual Machine Manager server 30 increases the virtual machine instance of application system; If the virtual machine instance quantity that the online user number that Virtual Machine Manager server 30 obtains needs is less than current virtual machine instance quantity, Virtual Machine Manager server 30 reduces the virtual machine instance of application system.
Further, this system also comprises:
Mirrored storage server 32, for storage virtual machine image file data;
Virtual Machine Manager client 33, for creating or close virtual machine instance according to the instruction of the Virtual Machine Manager server 30 receiving;
Dynamic Host Configuration Protocol server 34, the instruction of the Virtual Machine Manager server 30 receiving for basis is virtual machine instance distributing IP address;
Physical machine cluster 35, for providing the physical resource of operation virtual machine instance.Physical cluster 35 can comprise more than one physical machine.
Wherein, load-balanced server 31 is the entrance of extraneous user's access application system, and each request of access is distributed in a virtual machine instance and processes, and load-balanced server 31 can feed back to Virtual Machine Manager server 30 by the online user number of application system.
Below in conjunction with the system shown in Fig. 3, virtual machine management method of the present invention is further described, first need to make virtual machine image, in mirror image, install application system, and be set to automatically move after os starting; And on each physical machine in physical machine cluster 35, Virtual Machine Manager client 33 is installed, on Virtual Machine Manager server 30, register information and the virtual machine image information of physical machine cluster 35, and virtual machine image is uploaded to mirrored storage server 32.
As shown in Figure 4, the virtual machine management method of the present embodiment comprises:
Step 401: Virtual Machine Manager server 30 is every the online user number of an application system of predetermined time interval acquiring;
Virtual Machine Manager server 30 can send query statement to load-balanced server 31 every predetermined time interval, obtain the online user number of application system, also can by load-balanced server 31 every predetermined time interval initiatively report the online user number of application system to Virtual Machine Manager server 30, wherein, interval can be 1~10 minute predetermined time;
Step 402: Virtual Machine Manager server 30 is according to obtained online user number, increase or reduce the virtual machine instance of application system in conjunction with preset rules judgement, if Virtual Machine Manager server 30 need to increase a virtual machine instance, turn to step 403, Virtual Machine Manager server 30 need to reduce by a virtual machine instance, turns to step 408;
Every 500 users that can be application system such as preset rules need a virtual machine instance, if the online user number that Virtual Machine Manager server 30 obtains is 1500, current virtual machine instance quantity is 2, and Virtual Machine Manager server 30 need to increase a virtual machine instance; If the online user number that Virtual Machine Manager server 30 obtains is 1500, current virtual machine instance quantity is 4, and Virtual Machine Manager server 30 need to reduce by a virtual machine instance;
Step 403: Virtual Machine Manager server 30 is determined a physical machine from physical machine cluster 35;
In Virtual Machine Manager server 30, have the resource detail of each physical machine, the detailed and virtual machine instance quantity of operation thereon of the resource that uses, whether the information such as the Virtual Machine Manager server 30 CPU quantity that configuring virtual machine example uses as required, memory size, MAC Address, IP address and the remaining resource of physical machine meet the new virtual machine creating uses and picks out qualified physical machine;
Step 404: Virtual Machine Manager server 30 sends and creates instruction and the new configuration that creates virtual machine to the Virtual Machine Manager client 33 on this physical machine, and instruction creates new virtual machine instance;
Step 405: Virtual Machine Manager client 33 creates new virtual machine instance;
Virtual Machine Manager client 33 is downloaded mirror image according to the configuration of the new establishment virtual machine receiving from mirrored storage server 32, calls virtualization software and creates and start a virtual machine instance;
Step 406: Virtual Machine Manager server 30 sends and distributes address instruction to Dynamic Host Configuration Protocol server 34, instruction Dynamic Host Configuration Protocol server 34 is the new virtual machine instance distributing IP address creating;
In Dynamic Host Configuration Protocol server 34, can, in advance by MAC Address and the pairing of IP address, as long as the MAC Address of virtual machine instance is definite, just be defined as the IP address that its distributes like this;
Step 407: Virtual Machine Manager server 30 sends and adds instruction to load-balanced server 31, instruction load-balanced server 31 adds the IP address of the virtual machine instance newly creating in the list of load-balanced server 31 to.
The user of application system just can access the virtual machine instance of new establishment like this, and load-balanced server 31 can arrange certain distribution policy, the new user of application system is pointed to the virtual machine instance of new establishment.
Step 408: Virtual Machine Manager server 30 is determined the virtual machine instance that will close;
The general minimum virtual machine instance of number of users of selecting of Virtual Machine Manager server 30 is as the virtual machine instance that will close, because just this virtual machine instance can be closed after will waiting until the complete off-line of these users or they being switched to other virtual machine instance;
Step 409: Virtual Machine Manager server 30 sends the first out code to load-balanced server 31, the virtual machine instance that instruction will be closed;
Step 410: load-balanced server 31 no longer points to by new user the virtual machine instance that will close, and the user of the virtual machine instance that will close is switched to other virtual machine instance;
Load-balanced server 31 can be deleted the IP address of this virtual machine instance from list, and user will not visit again this virtual machine instance like this;
Step 411: in the time that the number of users of this virtual machine instance of access reduces to 0 gradually, load-balanced server 31 notifies Virtual Machine Manager server 30 these virtual machine instance to close;
Load-balanced server 31 is deleted this virtual machine instance from application, and notifies Virtual Machine Manager server 30 these virtual machine instance to close;
Step 412: Virtual Machine Manager server 30 sends the second out code to Virtual Machine Manager client 33 corresponding to this virtual machine instance, instruction Virtual Machine Manager client 33 is closed this virtual machine instance.
So just can discharge in time the physical resource that this virtual machine instance takies, improve the utilization factor of physical machine
In the present embodiment, Virtual Machine Manager server is every the online user number of an application system of predetermined time interval acquiring, and according to the automatic virtual machine instance that increases or reduce application system of the online user number of application system, the present embodiment can be adjusted automatically according to application system load the quantity of virtual machine instance, response user's request fast, the utilization factor of raising physical machine.
Described embodiment of the method is corresponding with described device embodiment, the description of relevant portion in the part comparable device embodiment not describing in detail in embodiment of the method, the description of relevant portion in the part reference method embodiment not describing in detail in device embodiment.
One of ordinary skill in the art will appreciate that, the all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a computer read/write memory medium, this program is in the time carrying out, comprise the step as above-mentioned embodiment of the method, described storage medium, as: magnetic disc, CD, read-only store-memory body (Read-Only Memory, or random store-memory body (Random Access Memory, RAM) etc. ROM).
In the each embodiment of the method for the present invention; the sequence number of described each step can not be used for limiting the sequencing of each step; for those of ordinary skill in the art, do not paying under the prerequisite of creative work, the priority of each step is changed also within protection scope of the present invention.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a virtual machine management method, is characterized in that, comprising:
Virtual Machine Manager server obtains the online user number of application system;
Described Virtual Machine Manager server, according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules;
Wherein, the virtual machine instance that described Virtual Machine Manager server increases described application system comprises:
Described Virtual Machine Manager server is determined a physical machine according to the resource information of obtained online user number and the physical machine cluster of self storing from physical machine cluster;
Described Virtual Machine Manager server sends and creates instruction to the Virtual Machine Manager client on described physical machine, indicates described Virtual Machine Manager client to create new virtual machine instance;
Described Virtual Machine Manager server arranges protocol DHCP server to DynamicHost and sends address assignment instruction, and indicating described Dynamic Host Configuration Protocol server is the new virtual machine instance distribution network protocol IP address creating;
Described Virtual Machine Manager server sends and adds instruction to load-balanced server, the online user of described application system indicate described load-balanced server that the IP address of described new establishment virtual machine instance is added in list, so that can access the virtual machine instance of described new establishment;
The virtual machine instance that described Virtual Machine Manager server reduces described application system comprises:
Described Virtual Machine Manager server is determined the virtual machine instance that will close;
Described Virtual Machine Manager server sends the first out code to described load-balanced server, indicate described load-balanced server no longer new user to be pointed to the described virtual machine instance that will close, and user corresponding to the described virtual machine instance that will close switched to other virtual machine instance;
Reduce at 0 o'clock at number of users corresponding to virtual machine instance that will close described in access, described Virtual Machine Manager server sends the second out code to Virtual Machine Manager client corresponding to the described virtual machine instance that will close, indicates described Virtual Machine Manager client to close described virtual machine instance.
2. virtual machine management method according to claim 1, is characterized in that, the online user number that described Virtual Machine Manager server obtains application system comprises:
Described Virtual Machine Manager server is every the online user number of an application system of predetermined time interval acquiring; Or
The online user number that described Virtual Machine Manager server balancing received load server sends.
3. virtual machine management method according to claim 2, is characterized in that, described Virtual Machine Manager server comprises every the online user number of an application system of predetermined time interval acquiring:
Described Virtual Machine Manager server every predetermined time interval send query statement to load-balanced server, the inquiry online user number of described application system once;
Described Virtual Machine Manager server receives the online user number that described load-balanced server returns.
4. virtual machine management method according to claim 1, is characterized in that, described Virtual Machine Manager server is according to obtained online user number, and the virtual machine instance that increases or reduce described application system in conjunction with preset rules comprises:
If the virtual machine instance quantity that the online user number of obtaining needs is greater than current virtual machine instance quantity, described Virtual Machine Manager server increases the virtual machine instance of described application system;
If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, described Virtual Machine Manager server reduces the virtual machine instance of described application system.
5. a Virtual Machine Manager server, is characterized in that, comprising:
Acquisition module, for obtaining the online user number of application system;
Processing module, for according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules;
Wherein, described processing module comprises:
Determining unit in the time increasing the virtual machine instance of application system, is determined a physical machine from physical machine cluster according to obtained online user number;
Transmitting element, sends and creates instruction for the Virtual Machine Manager client on this physical machine, and instruction Virtual Machine Manager client creates new virtual machine instance;
Transmitting element also sends address assignment instruction for protocol DHCP server is set to DynamicHost, instruction Dynamic Host Configuration Protocol server is the new virtual machine instance distributing IP address creating, and send and add instruction to load-balanced server, instruction load-balanced server adds the IP address that newly creates virtual machine instance in list to, so that the online user of application system can access the virtual machine instance of new establishment;
Wherein, in the time reducing the virtual machine instance of application system, determining unit is also for determining the virtual machine instance that will close;
Transmitting element is also for send the first out code to load-balanced server, and instruction load-balanced server no longer points to by new user the virtual machine instance that will close, and user corresponding to the virtual machine instance that will close switches to other virtual machine instance; Number of users corresponding to virtual machine instance that will close in access reduces at 0 o'clock, and transmitting element sends the second out code to Virtual Machine Manager client corresponding to the virtual machine instance that will close, and instruction Virtual Machine Manager client is closed virtual machine instance.
6. Virtual Machine Manager server according to claim 5, is characterized in that,
If the virtual machine instance quantity that described processing module needs specifically for the online user number of obtaining is greater than current virtual machine instance quantity, increase the virtual machine instance of described application system; If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, reduce the virtual machine instance of described application system.
7. a virtual machine management system, is characterized in that, comprising:
Virtual Machine Manager server, for obtaining the online user number of application system, and according to obtained online user number, increases or reduces the virtual machine instance of described application system in conjunction with preset rules;
Wherein, in the time that needs increase virtual machine instance, Virtual Machine Manager server is determined a physical machine from physical machine cluster, Virtual Machine Manager server sends and creates instruction to the Virtual Machine Manager client on this physical machine, instruction Virtual Machine Manager client creates new virtual machine instance, Virtual Machine Manager server arranges protocol DHCP server to DynamicHost and sends distribution address instruction, instruction Dynamic Host Configuration Protocol server is the new virtual machine instance distributing IP address creating, Virtual Machine Manager server sends and adds instruction to load-balanced server, instruction load-balanced server adds the IP address of the virtual machine instance newly creating in the list of load-balanced server to,
In the time that needs reduce virtual machine instance, Virtual Machine Manager server is determined the virtual machine instance that will close, Virtual Machine Manager server sends the first out code to load-balanced server, the virtual machine instance that instruction will be closed, instruction load-balanced server no longer points to by new user the virtual machine instance that will close, and the user of the virtual machine instance that will close is switched to other virtual machine instance; In the time that the number of users of this virtual machine instance of access reduces to 0 gradually, described Virtual Machine Manager server sends the second out code to Virtual Machine Manager client corresponding to the virtual machine instance that will close, and instruction Virtual Machine Manager client is closed this virtual machine instance.
8. virtual machine management system according to claim 7, is characterized in that,
Described Virtual Machine Manager server specifically for every predetermined time interval send query statement to load-balanced server, the inquiry online user number of described application system once;
Described system also comprises:
Described load-balanced server, for returning to online user number to described Virtual Machine Manager server.
9. virtual machine management system according to claim 7, is characterized in that,
If the virtual machine instance quantity that described Virtual Machine Manager server needs specifically for the online user number of obtaining is greater than current virtual machine instance quantity, increase the virtual machine instance of described application system; If the virtual machine instance quantity that the online user number of obtaining needs is less than current virtual machine instance quantity, reduce the virtual machine instance of described application system.
10. virtual machine management system according to claim 7, is characterized in that, described system also comprises:
Mirrored storage server, for storage virtual machine image file data;
Virtual Machine Manager client, for creating or close virtual machine instance according to the instruction of the described Virtual Machine Manager server receiving;
Dynamic Host Configuration Protocol server, the instruction of the described Virtual Machine Manager server receiving for basis is virtual machine instance distributing IP address.
CN201010142935.5A 2010-04-07 2010-04-07 Virtual machine management method, system and server Active CN102214117B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010142935.5A CN102214117B (en) 2010-04-07 2010-04-07 Virtual machine management method, system and server
PCT/CN2010/079651 WO2011124077A1 (en) 2010-04-07 2010-12-10 Method and system for virtual machine management, virtual machine management server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010142935.5A CN102214117B (en) 2010-04-07 2010-04-07 Virtual machine management method, system and server

Publications (2)

Publication Number Publication Date
CN102214117A CN102214117A (en) 2011-10-12
CN102214117B true CN102214117B (en) 2014-06-18

Family

ID=44745438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010142935.5A Active CN102214117B (en) 2010-04-07 2010-04-07 Virtual machine management method, system and server

Country Status (2)

Country Link
CN (1) CN102214117B (en)
WO (1) WO2011124077A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594881B (en) * 2012-02-08 2017-10-17 中兴通讯股份有限公司 A kind of virtual machine load-balancing method, management module and virtual machine cluster system
WO2013120243A1 (en) * 2012-02-13 2013-08-22 华为技术有限公司 System and method for processing virtual machine in cloud platform
CN103259813A (en) * 2012-02-17 2013-08-21 鸿富锦精密工业(深圳)有限公司 Method of automatically expanding virtual machines
TWI459296B (en) * 2012-02-21 2014-11-01 Hon Hai Prec Ind Co Ltd Method for increasing virtual machines
CN103368785A (en) * 2012-04-09 2013-10-23 鸿富锦精密工业(深圳)有限公司 Server operation monitoring system and method
TWI456944B (en) * 2012-05-02 2014-10-11 Quanta Comp Inc Management method and system using the same
TWI471734B (en) * 2012-06-28 2015-02-01 Galaxy Software Services Corp Cloud service sytems and cloud sevice methods
CN103631651B (en) * 2012-08-28 2018-08-03 中兴通讯股份有限公司 Closing application program method and system
CN102868744A (en) * 2012-09-10 2013-01-09 北京用友政务软件有限公司 Automated integrated management method for realizing SaaS (Software as a Service) and IaaS (Infrastructure as a Service)
CN103685431A (en) * 2012-09-26 2014-03-26 鸿富锦精密工业(深圳)有限公司 Virtual host control system and method
CN104007997A (en) * 2013-02-22 2014-08-27 中兴通讯股份有限公司 Virtual machine security group configuration method and device
CN104426694B (en) * 2013-08-28 2018-10-12 新华三技术有限公司 A kind of method and apparatus of adjustment resources of virtual machine
CN104424015B (en) * 2013-09-11 2018-10-09 华为技术有限公司 A kind of virtual machine management method and device
CN105302641B (en) * 2014-06-04 2019-03-22 杭州海康威视数字技术股份有限公司 The method and device of node scheduling is carried out in virtual cluster
CN104065738A (en) * 2014-07-04 2014-09-24 云南电网公司 Business system load balance method in intelligent automatic control
CN104243285B (en) * 2014-09-19 2018-02-23 广州华多网络科技有限公司 A kind of method and server of message push
WO2016095162A1 (en) * 2014-12-18 2016-06-23 华为技术有限公司 Device and method for determining operation for adjusting number of virtual machines
CN104598297B (en) * 2015-01-30 2018-05-11 新华三技术有限公司 virtual machine management method and device
CN105162823B (en) * 2015-06-30 2019-07-09 广东轩辕网络科技股份有限公司 A kind of virtual machine management method and device
CN105159775A (en) * 2015-08-05 2015-12-16 浪潮(北京)电子信息产业有限公司 Load balancer based management system and management method for cloud computing data center
CN105162859B (en) * 2015-08-20 2019-04-12 湖南亿谷科技发展股份有限公司 Server dynamic capacity-expanding system and method
CN106933671B (en) * 2015-12-29 2019-09-20 华为技术有限公司 A kind of methods, devices and systems carrying out flexible processing
WO2017214986A1 (en) * 2016-06-17 2017-12-21 华为技术有限公司 Cloud application scaling method and apparatus
CN106412075A (en) * 2016-10-14 2017-02-15 郑州云海信息技术有限公司 Resource allocation method and device based on cloud computing
CN106559485B (en) * 2016-11-15 2019-08-06 杭州迪普科技股份有限公司 A kind of method and device of control server shutdown
CN110991676B (en) * 2019-12-18 2023-05-19 创新奇智(上海)科技有限公司 Operation and maintenance management platform based on modularized design
CN111651170B (en) * 2020-05-29 2022-11-08 深圳平安医疗健康科技服务有限公司 Instance dynamic adjustment method and device and related equipment
CN114691283A (en) * 2020-12-31 2022-07-01 华为云计算技术有限公司 Method and device for managing instances and cloud application engine
CN116089020B (en) * 2023-04-06 2023-09-08 阿里云计算有限公司 Virtual machine operation method, capacity expansion method and capacity expansion system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465812A (en) * 2009-01-06 2009-06-24 北京航空航天大学 Redirection method for virtual machine network connection when on-line migrating striding sub network
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司 Load balancing method, apparatus and system of virtual cluster system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060184935A1 (en) * 2005-02-11 2006-08-17 Timothy Abels System and method using virtual machines for decoupling software from users and services
US20070162594A1 (en) * 2006-01-12 2007-07-12 Microsoft Corporation Controlled disconnection of a network device
US20070271560A1 (en) * 2006-05-18 2007-11-22 Microsoft Corporation Deploying virtual machine to host based on workload characterizations

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465812A (en) * 2009-01-06 2009-06-24 北京航空航天大学 Redirection method for virtual machine network connection when on-line migrating striding sub network
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司 Load balancing method, apparatus and system of virtual cluster system

Also Published As

Publication number Publication date
WO2011124077A1 (en) 2011-10-13
CN102214117A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN102214117B (en) Virtual machine management method, system and server
US11553034B2 (en) Server computer management system for supporting highly available virtual desktops of multiple different tenants
CN107690622B (en) Method, equipment and system for realizing hardware acceleration processing
US10264063B2 (en) Method and apparatus for scheduling cloud server
US8782233B2 (en) Embedding a cloud-based resource request in a specification language wrapper
US20160011997A1 (en) Enhanced I/O Performance in a Multi-Processor System Via Interrupt Affinity Schemes
US8244827B2 (en) Transferring a logical partition (‘LPAR’) between two server computing devices based on LPAR customer requirements
US20060143617A1 (en) Method, apparatus and system for dynamic allocation of virtual platform resources
US20110055588A1 (en) Methods and systems for securely terminating processes in a cloud computing environment
US20050289388A1 (en) Dynamic cluster configuration in an on-demand environment
CN111800506B (en) Edge computing node deployment method and related device
KR20210095690A (en) Resource management method and apparatus, electronic device and recording medium
WO2017063512A1 (en) Storage service platform applicable to virtual desktop scenario and realization method thereof
US8954765B2 (en) Energy based resource allocation across virtualized machines and data centers
CN104572372A (en) System and method for building server performance testing environment
CN103281203A (en) Ecos (Embedded Configurable Operating System) system-based DHCP (Dynamic Host Configuration Protocol) address assignment management method
CN102932408A (en) Management method and platform of server cluster
CN111092921B (en) Data acquisition method, device and storage medium
CN102647456A (en) Method and system for building desktop cloud
CN111104219A (en) Binding method, device, equipment and storage medium of virtual core and physical core
CN102270153A (en) Method and device for sharing encrypted card in virtual environment
CN112235373A (en) Cloud desktop scheduling system based on application AI and scheduling method thereof
CN114461380A (en) Virtual hardware configuration allocation method of cloud desktop system
US10686677B1 (en) Flexible capacity reservations for network-accessible resources
CN107015859A (en) Device allocation controller and device allocation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: NANJING BRANCH OF ZTE CORPORATION

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20131212

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 210012 NANJING, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20131212

Address after: 210012 Zhongxing communication, No. 68, Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Applicant after: Nanjing Branch of Zhongxing Communication Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150625

Address after: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee after: ZTE Corporation

Address before: 210012 Zhongxing communication, No. 68, Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Nanjing Branch of Zhongxing Communication Co., Ltd.