Patent ID: 8990805
Filing Date: 2015-03-24
Classification: G06F

Abstract:
1. A method of dynamic resource allocation, which is suitable for allocating loads of a virtual machine cluster in which the cluster has a plurality of physical machines, and each of the physical machines at least has a virtual machine, comprising following steps: (a) calculating a resource usage weight of the respective virtual machine, a resource usage weight of the respective physical machine, and an average resource usage weight of the physical machines; (b) processing following steps when any one of difference values between said resource usage weight of the respective physical machines and said average resource usage weight of the physical machines is greater than a default migration value: (b1) assigning one of the physical machines with the greatest resource usage weight as a migration source machine; (b2) assigning one of the physical machines with the least resource usage weight as a migration object machine; (b3) calculating a migration difference value between the resource usage weight of the migration source machine and the average resource usage weight of the physical machines; (b4) assigning one of the virtual machines in the migration source machine with the resource usage weight thereof being closest to the migration difference value as a migration virtual machine; (b5) moving the migration virtual machine to the migration object machine; wherein the preceding steps are performed by a physical machine.