主权项 |
1. A method of allocating a physical computing resource of a computer system comprising a plurality of virtual machines, the method comprising:
storing, by a storage module, load information of each of the plurality of virtual machines obtained by classifying a load on each of the plurality of virtual machines into a plurality of groups depending on a load fluctuation characteristic; predicting, by an allocation schedule creation module, the load on each of the plurality of virtual machines during a predetermined period based on the load information and a rule defined for each of the plurality of groups; determining, for each of the plurality of groups, an allocation amount of the physical computing resource to be allocated to at least one of the plurality of virtual machines classified into the each of the plurality of groups and a time slot for allocation based on the predicted load on each of the plurality of virtual machines; creating a schedule comprising information of the allocation amount and the time slot that has been determined; allocating, by a schedule execution module, the physical computing resource to each of the plurality of virtual machines based on the schedule, wherein the storage module further stores setting information indicating whether or not performance of the physical computing resource to be allocated to each of the plurality of virtual machines is guaranteed and further stores a value of the guaranteed performance if performance is guaranteed, wherein the method further comprises preferentially determining, by the allocation schedule creation module, the allocation amount of the physical computing resource and the time slot for the allocation for each of the plurality of groups for the at least one of the plurality of virtual machines to guarantee the performance indicated in the setting information, wherein the storage module further stores constraint information, which is information of a physical arrangement of the plurality of virtual machines and includes information indicating whether virtual machines can and cannot share a same physical computer, wherein the method further comprises the step of determining, by the allocation schedule creation module, the plurality of virtual machines to which the same physical computer is to be allocated and the plurality of virtual machines to which different physical computers are to be allocated based on the constraint information, and wherein the schedule is created based on the determination. |