# US 2022/0283836 A1 · Dynamic configuration of virtual objects

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283836 A1
- Document ID: US20220283836A1
- Status: Published application
- Kind: A1
- Application number: 17/190,325
- Filed: 2021-03-02
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Avinash GOUD; Aniket SAKHARDANDE; Praveen VEGULLA; Rajesh VENKATASUBRAMANIAN; Maarten WIGGERS; Keith FARKAS; Derek BEARD
- Web page: https://patentgrep.com/patent/US20220283836A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure provides an approach for the dynamic configuration of virtualized objects. A virtual object may be associated with a desired state defining a first plurality of resources for allocating to the virtual object. The first plurality of resources correspond to one or more resource types. Techniques include determining that each of a plurality of hosts does not have sufficient available resources to allocate the first plurality of resources to the virtual object according to the desired state. Techniques include selecting, a first host of the plurality of hosts to run the virtual object. Techniques include allocating a second plurality of resources to the virtual object from the first host, wherein the second plurality of resources is less than the first plurality of resources, and running the virtual object in the first host.

## Claims

### Claim 1

A method for dynamic configuration of virtual objects in a networking environment comprising:
detecting a triggering event for configuring a virtual object, the virtual object being associated with a desired state defining a first plurality of resources for allocating to the virtual object;
determining that each of a plurality of hosts does not have sufficient available resources to allocate the first plurality of resources to the virtual object according to the desired state;
selecting a first host of the plurality of hosts to run the virtual object;
allocating a second plurality of resources to the virtual object from the first host, wherein the second plurality of resources is less than the first plurality of resources; and
running the virtual object in the first host using the allocated second plurality of resources.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first plurality of resources correspond to one or more resource types and determining that each of the plurality of hosts does not have sufficient available resources comprises determining that each of the plurality of hosts does not have sufficient available resources corresponding to the one or more resource types of the first plurality of resources.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
a distributed resource scheduler (DRS) determines sufficiency of available resources of the plurality of hosts and sets a policy for allocating the resources to the virtual object; and
the DRS or another component in the networking environment allocates the second plurality of resources to the virtual object based, at least in part, on the policy set by the DRS.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining that at least one host of the plurality of hosts has sufficient available resources to allocate a third plurality of resources associated with a minimum state for the virtual object, wherein the second plurality of resources are more than or equal to the third plurality of resources.

### Claim 5 (depends on 4)

The method of claim 4, wherein the at least one host of the plurality of hosts having sufficient available resources to allocate the third plurality of resources is more than one host, and wherein selecting the first host of the plurality of hosts to run the virtual object includes selecting a host of the more than one host with a greatest amount of available resources matching the first plurality of resources.

### Claim 6 (depends on 4)

The method of claim 4, wherein the at least one host of the plurality of hosts having sufficient available resources to allocate the third plurality of resources is more than one host, and wherein selecting the first host of the plurality of hosts to run the virtual object includes selecting a host of the more than one host with available resources matching a greatest amount of the one or more resource types of the first plurality of resources.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining that each of the plurality of hosts does not have sufficient available resources to allocate a third plurality of resources associated with a minimum state for the virtual object;
determining whether the virtual object is capable of running with less resources than the third plurality of resources; and
when the virtual object is not capable of running with less resources than the third plurality of resources, refraining from allocating resources to the virtual object until a change in available resources occurs.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining that at least one of the plurality of hosts has sufficient available resources to allocate a fourth plurality of resources greater than the second plurality of resources; and
allocating the fourth plurality of resources to the virtual object from the at least one host.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
determining a sufficiency of the available resources of the plurality of hosts for a plurality of virtual objects in the networking environment; and
determining resources available to allocate to the virtual object based, at least in part, on a on a relative priority of the virtual object compared to other virtual objects.

### Claim 10 (depends on 1)

The method of claim 1, wherein the triggering event comprises:
a host failure;
a host initial boot or reboot;
a virtual object failure;
a virtual object initial boot or reboot;
migration of a virtual object from at least one host to another host in the plurality of hosts;
a change in policies or priorities among one or more virtual objects;
a change in configuration of one or more virtual objects;
a change in minimum state of one or more virtual objects; or
an outage in the networking environment.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining whether the virtual object is capable of running with less resources than the first plurality of resources associated with the desired state of the virtual object; and
deciding to allocate the second plurality of resources to the virtual object based, at least in part, on the determination.

### Claim 12 (depends on 11)

The method of claim 11, wherein determining the virtual object is capable of running with less resources than the first plurality of resources associated with the desired state of the virtual object is based on:
a policy of the virtual object created by an administrator;
a determination by an application running in a guest operating system (OS) of the virtual object;
a determination by a hypervisor of the first host; or
a combination thereof.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
migrating the virtual object from a previous host to the first host or initiating the virtual object on the first host prior to allocating the second plurality of resources to the virtual object.

### Claim 14 (depends on 1)

The method of claim 1, wherein the virtual object comprises a virtual machine (VM), a virtual computing instance (VCI), or a virtual disk.

### Claim 15

A non-transitory computer readable medium comprising instructions that, when executed by one or more processors of a computing system, cause the computing system to perform a method for dynamic configuration of virtual objects in a networking environment, the method comprising:
detecting a triggering event for configuring a virtual object, the virtual object being associated with a desired state defining a first plurality of resources for allocating to the virtual object;
determining that each of a plurality of hosts does not have sufficient available resources to allocate the first plurality of resources to the virtual object according to the desired state;
selecting a first host of the plurality of hosts to run the virtual object;
allocating a second plurality of resources to the virtual object from the first host, wherein the second plurality of resources is less than the first plurality of resources; and
running the virtual object in the first host using the allocated second plurality of resources.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the first plurality of resources correspond to one or more resource types and determining that each of the plurality of hosts does not have sufficient available resources comprises determining that each of the plurality of hosts does not have sufficient available resources corresponding to the one or more resource types of the first plurality of resources.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the method further comprises:
determining that at least one host of the plurality of hosts has sufficient available resources to allocate a third plurality of resources associated with a minimum state for the virtual object, wherein the second plurality of resources are more than or equal to the third plurality of resources.

### Claim 18 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the method further comprises:
determining that at least one of the plurality of hosts has sufficient available resources to allocate a fourth plurality of resources greater than the second plurality of resources; and
allocating the fourth plurality of resources to the virtual object from the at least one host.

### Claim 19

A system comprising one or more processors and a non-transitory computer readable medium comprising instructions that, when executed by the one or more processors, cause the system to perform a method for dynamic configuration of virtual objects in a networking environment, the method comprising:
detecting, by a high availability (HA) module, a triggering event for configuring a virtual object, the virtual object being associated with a desired state defining a first plurality of resources for allocating to the virtual object;
determining, by a distributed resource scheduler (DRS), that each of a plurality of hosts does not have sufficient available resources to allocate the first plurality of resources to the virtual object according to the desired state;
selecting, by the DRS, a first host of the plurality of hosts to run the virtual object;
allocating, by a hypervisor of the first host, a second plurality of resources to the virtual object from the first host, wherein the second plurality of resources is less than the first plurality of resources; and
running, by the HA module, the virtual object in the first host using the allocated second plurality of resources.

### Claim 20 (depends on 19)

The system of claim 19, wherein the first plurality of resources correspond to one or more resource types and determining that each of the plurality of hosts does not have sufficient available resources comprises determining that each of the plurality of hosts does not have sufficient available resources corresponding to the one or more resource types of the first plurality of resources.
