Virtual-machine-specific failover protection
AssigneeVMware, Inc.
InventorsCharan Singh K, Fei Guo
Life of this patent
Estimating the term…
Abstract
Disclosed are various examples for virtual-machine-specific failover protection. In some examples, a power-on request is received for a protected virtual machine. Virtual-machine-specific failover protection is enabled for the protected virtual machine. The protected virtual machine is executed on a first host of a cluster, and a dynamic virtual machine slot for the protected virtual machine is created on a second host of the cluster. The dynamic virtual machine slot is created to match a hardware resource configuration of the protected virtual machine. An anti-affinity rule is maintained between the protected virtual machine and the dynamic virtual machine slot.
Claims14
A system, comprising:
- a cluster comprising a plurality of hosts;
- a plurality of virtual machines executing in the cluster;
- and
- a data store comprising executable instructions, wherein the instructions, when executed by at least one processor, cause at least one computing device to at least:
- receive a power-on request associated with a protected virtual machine of the plurality of virtual machines, a configuration of the protected virtual machine indicating that virtual-machine-specific failover protection is enabled;
- execute the protected virtual machine on a first host of the cluster;
- create, on a second host of the cluster, a dynamic virtual machine slot for the protected virtual machine, the dynamic virtual machine slot being created to match a hardware resource configuration of the protected virtual machine;
- maintain an anti-affinity rule between the protected virtual machine and the dynamic virtual machine slot, the anti-affinity rule prohibiting the dynamic virtual machine slot and the protected virtual machine from residing on a same host;
- create, on a third host of the cluster, a second dynamic virtual machine slot for the protected virtual machine matching the hardware resource configuration of the protected virtual machine based on a number of failures to tolerate being greater than one, wherein the second dynamic virtual machine slot is created on the third host of the cluster in response to the anti-affinity rule;
- identify a provisioning operation that modifies the protected virtual machine to require an updated hardware resource configuration, the updated hardware resource configuration comprising a memory or a CPU configuration;
- and
- update the dynamic virtual machine slot and the second dynamic virtual machine slot to match the updated hardware resource configuration.
A non-transitory computer-readable medium comprising executable instructions, wherein the instructions, when executed by at least one processor, cause at least one computing device to at least:
- receive a power-on request associated with a protected virtual machine, a configuration of the protected virtual machine indicating that virtual-machine-specific failover protection is enabled;
- execute the protected virtual machine on a first host of a cluster;
- create, on a second host of the cluster, a dynamic virtual machine slot for the protected virtual machine, the dynamic virtual machine slot being created to match a hardware resource configuration of the protected virtual machine;
- maintain an anti-affinity rule between the protected virtual machine and the dynamic virtual machine slot, the anti-affinity rule prohibiting the dynamic virtual machine slot and the protected virtual machine from residing on a same host;
- create, on a third host of the cluster, a second dynamic virtual machine slot for the protected virtual machine matching the hardware resource configuration of the protected virtual machine based on a number of failures to tolerate being greater than one, wherein the second dynamic virtual machine slot is created on the third host of the cluster in response to the anti-affinity rule;
- identify a provisioning operation that modifies the protected virtual machine to require an updated hardware resource configuration, the updated hardware resource configuration comprising a memory or a CPU configuration;
- and
- update the dynamic virtual machine slot and the second dynamic virtual machine slot to match the updated hardware resource configuration.
A method comprising:
- receiving a power-on request associated with a protected virtual machine, a configuration of the protected virtual machine indicating that virtual-machine-specific failover protection is enabled;
- executing the protected virtual machine on a first host of a cluster;
- creating, on a second host of the cluster, a dynamic virtual machine slot for the protected virtual machine, the dynamic virtual machine slot being created to match a hardware resource configuration of the protected virtual machine;
- maintaining an anti-affinity rule between the protected virtual machine and the dynamic virtual machine slot, the anti-affinity rule prohibiting the dynamic virtual machine slot and the protected virtual machine from residing on a same host;
- create, on a third host of the cluster, a second dynamic virtual machine slot for the protected virtual machine matching the hardware resource configuration of the protected virtual machine based on a number of failures to tolerate being greater than one, wherein the second dynamic virtual machine slot is created on the third host of the cluster in response to the anti-affinity rule;
- identify a provisioning operation that modifies the protected virtual machine to require an updated hardware resource configuration, the updated hardware resource configuration comprising a memory or a CPU configuration;
- and
- update the dynamic virtual machine slot and the second dynamic virtual machine slot to match the updated hardware resource configuration.
Dependencies are inferred from the claim text.