Method and system for cluster resource management in a virtualized computing environment
AssigneeVMware, Inc.
InventorsMinwen Ji, Elisha Ziskind, Anne Marie Holler
Life of this patent
Estimating the term…
Abstract
Methods and systems for cluster resource management in virtualized computing environments are described. VM spares are used to reserve (or help discover or otherwise obtain) a set of computing resources for a VM. While VM spares may be used for a variety of scenarios, particular uses of VM spares include using spares to ensure resource availability for requests to power on VMs as well as for discovering, obtaining, and defragmenting the resources and VMs on a cluster, e.g., in response to requests to reserve resources for a VM or to respond to a notification of a failure for a given VM.
Claims21
A method for managing computing resources available in a computing cluster, the method comprising:
- storing, in a snapshot, a representation of the resources allocated to a plurality of virtual machines (VM) executing on a plurality of hosts within the computing cluster;
- storing, in the snapshot, at least one VM spare, wherein the VM spare identifies a set of computing resources available in the computing cluster reserved for allocation to the VM spare;
- and
- allocating computing resources available in the cluster according to the snapshot, wherein the allocating comprises:
- receiving a request to create the one or more VM spares in the snapshot, wherein the request is to create at least a first VM spare to correspond to one of the VMs executing on a first host, of the plurality of hosts, in the cluster;
- and
- in response, creating the first VM spare, wherein the first VM spare is associated with a VM-to-VM anti-affinity rule which requires computing resources for the first VM spare to be reserved in a manner that does not include the use of computing resources available on the first host.
A non-transitory computer-readable storage medium containing a program, which, when executed on a processor, performs an operation for managing computing resources available in a computing cluster, the operation comprising:
- storing, in a snapshot, a representation of the resources allocated to a plurality of virtual machines (VM) executing on a plurality of hosts within the computing cluster;
- storing, in the snapshot, at least one VM spare, wherein the VM spare identifies a set of computing resources available in the computing cluster reserved for allocation to the VM spare;
- and
- allocating computing resources available in the cluster according to the snapshot, wherein the allocating comprises:
- receiving a request to create the one or more VM spares in the snapshot, wherein the request is to create at least a first VM spare to correspond to one of the VMs executing on a first host, of the plurality of hosts, in the cluster;
- and
- in response, creating the first VM spare, wherein the first VM spare is associated with a VM-to-VM anti-affinity rule which requires computing resources for the first VM spare to be reserved in a manner that does not include the use of computing resources available on the first host.
A system, comprising:
- a computing cluster comprising a plurality of hosts, each having at least a processor and a memory, wherein each host is configured to execute a plurality of virtual machines (VMs);
- a management console comprising at least a processor, a memory, and a cluster management program, which, when executed on the processor, performs an operation for managing computing resources available in the computing cluster, the operation comprising:
- storing, in a snapshot, a representation of the resources allocated to a plurality of virtual machines (VM) executing on a plurality of hosts within the computing cluster;
- storing, in the snapshot, at least one VM spare, wherein the VM spare identifies a set of computing resources available in the computing cluster reserved for allocation to the VM spare;
- and
- allocating computing resources available in the cluster according to the snapshot, wherein the allocating further comprises:
- receiving a request to create the one or more VM spares in the snapshot, wherein the request is to create at least a first VM spare to correspond to one of the VMs executing on a first host, of the plurality of hosts, in the cluster;
- and
- in response, creating the first VM spare, wherein the first VM spare is associated with a VM-to-VM anti-affinity rule which requires computing resources for the first VM spare to be reserved in a manner that does not include the use of computing resources available on the first host.
Dependencies are inferred from the claim text.