Load balancing of cloned virtual machines
AssigneeVMware, Inc.
InventorsKalyan Saladi, Ganesha Shanmuganathan
Life of this patent
Estimating the term…
Abstract
Disclosed herein are embodiments for managing the placement of virtual machines in a virtual machine network. In an embodiment, a method involves determining whether to separate at least one virtual machine in a set of virtual machines supporting a process and running on a first host computer from other virtual machines in the set. If at least one virtual machine is to be separated, then at least one virtual machine is selected based on a number of memory pages changed. The selected virtual machine is then separated from the other virtual machines in the set.
Claims20
A method for managing placement of a set of virtual machines in a virtual machine network, comprising:
- creating a parent virtual machine on a first host computing device;
- creating a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
- determining a capability of the first host computing device to support an additional virtual machine;
- in response to determining that the first host computing device is not capable of supporting the additional virtual machine, selecting from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory;
- and
- migrating the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine from the plurality of cloned virtual machines on the first host computing device.
A system for managing placement of a set of virtual machines in a virtual machine network, comprising:
- at least one computing device comprising a processor and a memory;
- and
- machine-readable instructions stored in the memory that, when executed by the processor, cause the at least one computing device to at least:
- create a parent virtual machine on a first host computing device;
- create a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
- determine a capability of the first host computing device to support an additional virtual machine;
- in response to determining that the first host computing device is not capable of supporting the additional virtual machine, select from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory;
- and
- migrate the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine of the plurality of cloned virtual machines on the first host computing device.
A non-transitory computer-readable medium comprising machine-readable instructions for managing placement of a set of virtual machines in a virtual machine network, the machine-readable instructions, when executed by a processor of at least one computing device, causing the at least one computing device to at least:
- create a parent virtual machine on a first host computing device;
- create a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
- determine a capability of the first host computing device to support an additional virtual machine;
- in response to determining that the first host computing device is not capable of supporting the additional virtual machine, select from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory;
- and
- migrate the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine of the plurality of cloned virtual machines on the first host computing device.
Dependencies are inferred from the claim text.