Patent ID: 8850023

Claim:
A method for changing a deployment of a virtual machine performed by a computer, at least one virtual machine being deployed respectively in M physical machines, the method comprising: obtaining, by the computer, a remaining capacity of each physical machine from among the M physical machines, each remaining capacity indicating how many more virtual machines can be deployed in the respective physical machine; and when a number of physical machines having a remaining capacity that is equal to or greater than a predetermined capacity is less than a predetermined number by N, changing, by the computer, the deployment of a virtual machine deployed in the M physical machines to M+N−1 or less physical machines among the M physical machines, M and N being integers equal to or greater than 1; wherein the changing is performed when the number of physical machines having a remaining capacity that is equal to or greater than the predetermined capacity reaches the predetermined number among the M+N−1 or less physical machines after the changing is performed.