# US 2021/0173710 A1 · Security-aware scheduling of virtual machines in a multi-tenant infrastructure

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

- Number: US 2021/0173710 A1
- Document ID: US20210173710A1
- Status: Published application
- Kind: A1
- Application number: 16/777,237
- Filed: 2020-01-30
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: Nutanix, Inc.
- Applicants: Nutanix, Inc.
- Inventors: Malcolm Gordon CROSSLEY; Miao CUI; Fabien HERMENIER; Aditya RAMESH
- Web page: https://patentgrep.com/patent/US20210173710A1

## CPC

- G06F 9/505: {considering the load}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- 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/45587: {Isolation or security of virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems and computer program products for computer cluster management. Multiple components are operatively interconnected to carry out operations for placing virtual machines onto a multi-tenant computing cluster, where the placement achieves adherence to a set of security requirements. Initially, data characterizing logical CPU resources of the multi-tenant computing cluster are gathered. Upon receipt of a request to place a virtual machine onto a node of the multi-tenant computing cluster, a set of security rules that are used to achieve the set of security requirements associated with the multi-tenant computing cluster are accessed. In accordance with the security rules the virtual machine is assigned to execute in a portion of the logical CPU resources. The virtual machine does not share logical CPU resources with any other tenant.

## Claims

### Claim 1

A non-transitory computer readable medium having stored thereon a sequence of instructions which, when stored in memory and executed by a processor causes the processor to perform acts comprising:
gathering data characterizing resources of a computing cluster;
receiving a request to place a virtual machine onto the resources of the computing cluster;
accessing a security rule that implements resource allocation such that the virtual machine and other virtual machines of the computing cluster do not share a logical CPU;
determining a target node from among nodes of the computing cluster based at least in part on the security rule; and
assigning a virtual CPU of the virtual machine to at least a portion of the logical CPU of the target node.

### Claim 2 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of evaluating a plurality of the nodes of the computing cluster to determine a set of placement candidate nodes based on a combination of a number of available logical cores and an amount of available CPU headroom resources at a given one of the plurality of the nodes.

### Claim 3 (depends on 2)

The non-transitory computer readable medium of claim 2, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of selecting a target node from the set of placement candidate nodes based on applying an optimization rule to at least some of the resources of the computing cluster.

### Claim 4 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of accessing a usage level associated with the logical CPU.

### Claim 5 (depends on 4)

The non-transitory computer readable medium of claim 4, wherein the usage level associated with the logical CPU is limited to 100%.

### Claim 6 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of invoking a bin-packing algorithm to assign the virtual CPU of the virtual machine to the logical CPU.

### Claim 7 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of aligning an isolation group boundary with the logical CPU.

### Claim 8 (depends on 7)

The non-transitory computer readable medium of claim 7, wherein an isolation group associated with the logical CPU corresponds to a single tenant of the computing cluster.

### Claim 9

A method comprising:
gathering data characterizing resources of a computing cluster;
receiving a request to place a virtual machine onto the resources of the computing cluster;
accessing a security rule that implements resource allocation such that the virtual machine and other virtual machines of the computing cluster do not share a logical CPU;
determining a target node from among nodes of the computing cluster based at least in part on the security rule; and
assigning a virtual CPU of the virtual machine to at least a portion of the logical CPU of the target node.

### Claim 10 (depends on 9)

The method of claim 9, further comprising evaluating a plurality of the nodes of the computing cluster to determine a set of placement candidate nodes based on a combination of a number of available logical cores and an amount of available CPU headroom resources at a given one of the plurality of the nodes.

### Claim 11 (depends on 10)

The method of claim 10, further comprising selecting a target node from the set of placement candidate nodes based on applying an optimization rule to at least some of the resources of the computing cluster.

### Claim 12 (depends on 9)

The method of claim 9, further comprising accessing a usage level associated with the logical CPU.

### Claim 13 (depends on 12)

The method of claim 12, wherein the usage level associated with the logical CPU is limited to 100%.

### Claim 14 (depends on 9)

The method of claim 9, further comprising invoking a bin-packing algorithm to assign the virtual CPU of the virtual machine to the logical CPU.

### Claim 15 (depends on 9)

The method of claim 9, further comprising aligning an isolation group boundary with the logical CPU.

### Claim 16 (depends on 15)

The method of claim 15, wherein an isolation group associated with the logical CPU corresponds to a single tenant of the computing cluster.

### Claim 17

A system comprising:
a storage medium having stored thereon a sequence of instructions; and
a processor that executes the sequence of instructions to cause the processor to perform acts comprising,
gathering data characterizing resources of a computing cluster;
receiving a request to place a virtual machine onto the resources of the computing cluster;
accessing a security rule that implements resource allocation such that the virtual machine and other virtual machines of the computing cluster do not share a logical CPU;
determining a target node from among nodes of the computing cluster based at least in part on the security rule; and
assigning a virtual CPU of the virtual machine to at least a portion of the logical CPU of the target node.

### Claim 18 (depends on 17)

The system of claim 17, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of evaluating a plurality of the nodes of the computing cluster to determine a set of placement candidate nodes based on a combination of a number of available logical cores and an amount of available CPU headroom resources at a given one of the plurality of the nodes.

### Claim 19 (depends on 18)

The system of claim 18, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of selecting a target node from the set of placement candidate nodes based on applying an optimization rule to at least some of the resources of the computing cluster.

### Claim 20 (depends on 17)

The system of claim 17, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of accessing a usage level associated with the logical CPU.

### Claim 21 (depends on 20)

The system of claim 20, wherein the usage level associated with the logical CPU is limited to 100%.

### Claim 22 (depends on 17)

The system of claim 17, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of invoking a bin-packing algorithm to assign the virtual CPU of the virtual machine to the logical CPU.

### Claim 23 (depends on 17)

The system of claim 17, further comprising instructions which, when stored in memory and executed by the processor causes the processor to perform further acts of aligning an isolation group boundary with the logical CPU.

### Claim 24 (depends on 23)

The system of claim 23, wherein an isolation group associated with the logical CPU corresponds to a single tenant of the computing cluster.
