# US 2021/0173698 A1 · Hosting virtual machines on a secondary storage system

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

- Number: US 2021/0173698 A1
- Document ID: US20210173698A1
- Status: Published application
- Kind: A1
- Application number: 17/115,214
- Filed: 2020-12-08
- Published: 2021-06-10
- Earliest claimed: 2019-02-04
- Assignees: Cohesity, Inc.
- Applicants: Cohesity, Inc.
- Inventors: Anand Bhat; Anil Kumar Boggarapu; Arvind Jagannath
- Web page: https://patentgrep.com/patent/US20210173698A1

## CPC

- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- 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 9/5088: {involving task migration}
- G06F 11/202: {where processing functionality is redundant (redundant communication control functionality G06F11/2005, redundant storage control functionality G06F11/2089)}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

At least a portion of a virtual machine is hosted on at least one node of a first subset of a plurality of nodes of a secondary storage system. The virtual machine comprises a plurality of portions that can be distributed between the plurality of nodes and is configured into a first state of a plurality of states, such that, in the first state, the plurality of portions is distributed between a first subset of the plurality of nodes and each of the first subset of nodes stores a portion of the virtual machine in its corresponding storage device. A node from the second subset of the plurality of nodes to host the virtual machine in a second state of the plurality of states is selected based on at least one of storage, memory or processing resources of one or more nodes of a second subset of the plurality of nodes.

## Claims

### Claim 1

A method, comprising:
determining that a virtual machine is offline, wherein the virtual machine is associated with a first subset of a plurality of nodes of a storage system;
cloning a volume associated with the offline virtual machine;
associating the cloned volume with a second subset of the plurality of nodes of the storage system; and
removing the volume associated with the offline virtual machine.

### Claim 2 (depends on 1)

The method of claim 1, wherein the virtual machine comprises a plurality of portions that are distributed between the first subset of the plurality of nodes of the storage system.

### Claim 3 (depends on 1)

The method of claim 1, wherein the virtual machine is determine to be offline based on at least one of an out-of-memory condition, a heartbeat signal, a file operation failure, or a threshold number of file operation failures.

### Claim 4 (depends on 1)

The method of claim 1, wherein cloning the volume associated with the offline virtual machine includes cloning a root node of a tree data structure corresponding to the offline virtual machine.

### Claim 5 (depends on 1)

The method of claim 1, wherein the cloned volume includes a data portion and an executable portion.

### Claim 6 (depends on 1)

The method of claim 1, wherein the cloned volume is a distributed volume that is stored across the second subset of the plurality of nodes of the storage system.

### Claim 7 (depends on 1)

The method of claim 1, wherein an executable portion of the cloned volume is run on a selected node of the second subset.

### Claim 8 (depends on 7)

The method of claim 7, wherein the executable portion is moved from the first subset to the selected node of the second subset.

### Claim 9 (depends on 8)

The method of claim 8, wherein the executable portion is loaded into a memory of the selected node.

### Claim 10 (depends on 1)

The method of claim 1, wherein removing the volume associated with the offline virtual machine includes removing a root node of a sub-tree data structure corresponding to the offline virtual machine.

### Claim 11

A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for:
determining that a virtual machine is offline, wherein the virtual machine is associated with a first subset of a plurality of nodes of a storage system;
cloning a volume associated with the offline virtual machine;
associating the cloned volume with a second subset of the plurality of nodes of the storage system; and
removing the volume associated with the offline virtual machine.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the virtual machine comprises a plurality of portions that are distributed between the first subset of the plurality of nodes of the storage system.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the virtual machine is determine to be offline based on at least one of an out-of-memory condition, a heartbeat signal, a file operation failure, or a threshold number of file operation failures.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein cloning the volume associated with the offline virtual machine includes cloning a root node of a tree data structure corresponding to the offline virtual machine.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein the cloned volume includes a data portion and an executable portion.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the cloned volume is a distributed volume that is stored across the second subset of the plurality of nodes of the storage system.

### Claim 17 (depends on 11)

The computer program product of claim 11, wherein an executable portion of the cloned volume is run on a selected node of the second subset.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the executable portion is moved from the first subset to the selected node of the second subset.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the executable portion is loaded into a memory of the selected node.

### Claim 20

A system, comprising:
a processor configured to:
determine that a virtual machine is offline, wherein the virtual machine is associated with a first subset of a plurality of nodes of a storage system;
clone a volume associated with the offline virtual machine;
associate the cloned volume with a second subset of the plurality of nodes of the storage system; and
remove the volume associated with the offline virtual machine; and
a memory coupled to the processor and configured to provide the processor with instructions.
