IP Library Granted Patent US 9,367,340
Granted Patent B2
US 9,367,340 · App. 14/446,718 · Granted Jun 14, 2016

Resource management method and apparatus for virtual machine system, and virtual machine system

Inventor: Feng Wang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F9/455G06F9/5011G06F9/5072G06F9/5083
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,367,340
App. No.
14/446,718
Granted
Jun 14, 2016
Kind
B2
Abstract

An embodiment of the present invention provides a resource management method for a virtual machine system, where the method includes: obtaining, by a virtual resource management platform, a QoS constraint parameter of a virtual machine cluster and a current operating status statistical indicator of the virtual machine cluster, and according to the QoS constraint parameter of the virtual machine cluster and the current operating status statistical indicator of the virtual machine cluster, adjusting physical resources scheduling policy of a physical device platform or performing physical resource scheduling on the physical device platform. The method may ensure QoS of a cloud application.

Claims (48)

1. A resource management method in a computer system, wherein the computer system comprises a physical device platform executing a virtual resource management, the physical device platform comprises at least one physical machine, the virtual resource management platform creates a virtual machine cluster; and the method comprises:

obtaining, by the computer system, a resource average utilization rate constraint parameter of the virtual machine cluster;

obtaining, by the computer system, a statistical value of a current resource average utilization rate of the virtual machine cluster; and

comparing, by the computer system, the statistical value of the current resource average utilization rate of the virtual machine cluster with the resource average utilization rate constraint parameter of the virtual machine cluster;

when the statistical value of the current resource average utilization rate of the virtual machine cluster is smaller than the resource average utilization rate constraint parameter of the virtual machine cluster by a difference less than a set tolerance threshold, suppressing, by the computer system, a physical machine capacity deduction operation on the physical device platform.

2. The method according to claim 1 , wherein before obtaining a resource average utilization rate constraint parameter of the virtual machine cluster, the method further comprises:

receiving a creation request for creating the virtual machine cluster, or a resource update request of the virtual machine cluster, wherein the creation request or the update request carries the resource average utilization rate constraint parameter of the virtual machine cluster; and recording the resource average utilization rate constraint parameter of the virtual machine cluster.

3. The method according to claim 1 , wherein the suppressing physical machine capacity deduction operation on the physical device platform comprises:

increasing a physical machine capacity deduction threshold on the physical device platform.

4. The method according to claim 1 , wherein the suppressing physical machine capacity deduction operation on the physical device platform comprises:

preventing a physical machine full migration and power-down operation on the physical device platform within a predetermined duration.

5. A resource management method in a computer system, wherein the computer system comprises a physical device platform executing a virtual resource management, the physical device platform comprises at least one physical machine, the virtual resource management platform creates a virtual machine cluster; and the method comprises:

obtaining, by the computer system, a resource average utilization rate constraint parameter of the virtual machine cluster;

obtaining, by the computer system, a statistical value of a current resource average utilization rate of the virtual machine cluster; and

comparing, by the computer system, the statistical value of the current resource average utilization rate of the virtual machine cluster with the resource average utilization rate constraint parameter of the virtual machine cluster;

when the statistical value of the current resource average utilization rate of the virtual machine cluster is smaller than the resource average utilization rate constraint parameter of the virtual machine cluster by a difference less than a set tolerance threshold, powering up, by the computer system, at least one physical machine on the physical device platform.

6. The method according to claim 5 , wherein before the obtaining a resource average utilization rate constraint parameter of the virtual machine cluster, the method further comprises:

receiving a creation request for creating the virtual machine cluster, or a resource update request of the virtual machine cluster, wherein the creation request or the update request carries the resource average utilization rate constraint parameter of the virtual machine cluster; and recording the resource average utilization rate constraint parameter of the virtual machine cluster.

7. The method according to claim 5 , wherein the method comprising:

obtaining an upper limit or the lower limit of total occupied resources of the virtual machine cluster;

obtaining a statistical value of currently total occupied resources of the virtual machine cluster; and

computing a difference between the statistical value of the currently total occupied resources of the virtual machine cluster and the upper limit of the total occupied resources of the virtual machine cluster, and according to the difference, selecting the at least one physical machine of a corresponding specification to perform a power-up operation.

8. The method according to claim 5 , wherein before the powering up at least one physical machine on the physical device platform, the method further comprises:

obtaining current use state information of the physical resource on the physical device platform, and if a remaining physical resource of a currently used physical machine is not sufficient, executing the step of powering up at least one physical machine on the physical device platform.

9. An apparatus for managing resource in a computer system, wherein the apparatus comprises a processor and a memory, the memory having a plurality of instructions stored thereon, that when executed by the processor, cause the processor to:

obtain a resource average utilization rate constraint parameter of the virtual machine cluster;

obtain a statistical value of a current resource average utilization rate of the virtual machine cluster; and

compare the statistical value of the current resource average utilization rate of the virtual machine cluster with the resource average utilization rate constraint parameter of the virtual machine cluster;

when the statistical value of the current resource average utilization rate of the virtual machine cluster is smaller than the resource average utilization rate constraint parameter of the virtual machine cluster by a difference less than a set tolerance threshold, suppress a physical machine capacity deduction operation on the physical device platform.

10. The apparatus according to the claim 9 , the instructions further cause the processor to:

receive a creation request for creating the virtual machine cluster, or a resource update request of the virtual machine cluster, wherein the creation request or the update request carries the resource average utilization rate constraint parameter of the virtual machine cluster; and recording the resource average utilization rate constraint parameter of the virtual machine cluster.

11. The apparatus according to the claim 9 , the instructions further cause the processor to:

increase a physical machine capacity deduction threshold on the physical device platform.

12. The apparatus according to the claim 9 , the instructions further cause the processor to:

prevent a physical machine full migration and power-down operation on the physical device platform within a predetermined duration.

13. An apparatus for managing resource in a computer system, wherein the apparatus comprises a processor and a memory, the memory having a plurality of instructions stored thereon, that when executed by the processor, cause the processor to:

obtain a resource average utilization rate constraint parameter of the virtual machine cluster;

obtain a statistical value of a current resource average utilization rate of the virtual machine cluster; and

compare the statistical value of the current resource average utilization rate of the virtual machine cluster with the resource average utilization rate constraint parameter of the virtual machine cluster;

when the statistical value of the current resource average utilization rate of the virtual machine cluster is smaller than the resource average utilization rate constraint parameter of the virtual machine cluster by a difference less than a set tolerance threshold, power up at least one physical machine on the physical device platform.

14. The apparatus according to the claim 13 , the instructions further cause the processor to:

receive a creation request for creating the virtual machine cluster, or a resource update request of the virtual machine cluster, wherein the creation request or the update request carries the resource average utilization rate constraint parameter of the virtual machine cluster; and recording the resource average utilization rate constraint parameter of the virtual machine cluster.

15. The apparatus according to the claim 13 , the instructions further cause the processor to:

obtain an upper limit or the lower limit of total occupied resources of the virtual machine cluster;

obtain a statistical value of currently total occupied resources of the virtual machine cluster; and

compute a difference between the statistical value of the currently total occupied resources of the virtual machine cluster and the upper limit of the total occupied resources of the virtual machine cluster, and according to the difference, select the at least one physical machine of a corresponding specification to perform a power-up operation.

16. The apparatus according to the claim 13 , the instructions further cause the processor to:

obtain current use state information of the physical resource on the physical device platform, and if a remaining physical resource of a currently used physical machine is not sufficient, execute the step of powering up at least one physical machine on the physical device platform.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2014
From: WANG, FENG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 033422/0949 →
Continuity (2)
Continuation PCTCN2012087558 · Dec 26, 2012
Related Publication 20140344810A1 · Nov 20, 2014