# US 2024/0201861 A1 · Mirrored disaggregated memory in a clustered environment

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

- Number: US 2024/0201861 A1
- Document ID: US20240201861A1
- Status: Published application
- Kind: A1
- Application number: 18/066,447
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Adam Thomas Stallman; Suresh Guduru; Ryan K. Cradick
- Web page: https://patentgrep.com/patent/US20240201861A1

## CPC

- G06F 3/0614: {Improving the reliability of storage systems}
- 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 3/0629: {Configuration or reconfiguration of storage systems}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example computer-implemented method for mirroring memory in a disaggregated memory clustered environment is provided. The method includes assigning, by a hypervisor, a disaggregated memory to a virtual machine comprising a remote disaggregated memory, the virtual machine being one node of a cluster of the disaggregated memory clustered environment. The method further includes allocating, by a disaggregated memory manager, a mirrored memory for the remote disaggregated memory to mirror the remote disaggregated memory on an alternate node of the cluster of the disaggregated memory clustered environment. The method further includes responsive to a memory access occurring, maintaining, by the disaggregated memory manager, the mirrored memory. The method further includes, responsive to detecting a memory allocation adjustment, modifying, by the disaggregated memory manager, memory usage across the cluster. The method further includes, responsive to detecting a failure resulting in loss of access to the remote disaggregated memory, implementing a corrective action.

## Claims

### Claim 1

A computer-implemented method for mirroring memory in a disaggregated memory clustered environment, the computer-implemented method comprising:
assigning, by a hypervisor, a disaggregated memory to a virtual machine comprising a remote disaggregated memory, the virtual machine being one node of a cluster of the disaggregated memory clustered environment;
allocating, by a disaggregated memory manager, a mirrored memory for the remote disaggregated memory to mirror the remote disaggregated memory on an alternate node of the cluster of the disaggregated memory clustered environment;
responsive to a memory access occurring, maintaining, by the disaggregated memory manager, the mirrored memory;
responsive to detecting a memory allocation adjustment, modifying, by the disaggregated memory manager, memory usage across the cluster; and
responsive to detecting a failure resulting in loss of access to the remote disaggregated memory, implementing a corrective action.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the virtual machine further comprises a local memory.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the alternate node is accessible through an independent path.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the failure is a loss of access to the remote disaggregated memory, and wherein the corrective action is the disaggregated memory manager responding to the failure within the cluster.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
detecting a configuration change within the cluster; and
modifying, by the disaggregated memory manager, memory usage across the cluster.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the configuration change is an addition of a node from the cluster.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein the configuration change is a removal of a node from the cluster.

### Claim 8

A system comprising:
a memory comprising computer readable instructions; and
a processing device for executing the computer readable instructions, the computer readable instructions controlling the processing device to perform operations for mirroring memory in a disaggregated memory clustered environment, the operations comprising:
assigning, by a hypervisor, a disaggregated memory to a virtual machine comprising a remote disaggregated memory, the virtual machine being one node of a cluster of the disaggregated memory clustered environment;
allocating, by a disaggregated memory manager, a mirrored memory for the remote disaggregated memory to mirror the remote disaggregated memory on an alternate node of the cluster of the disaggregated memory clustered environment;
responsive to a memory access occurring, maintaining, by the disaggregated memory manager, the mirrored memory;
responsive to detecting a memory allocation adjustment, modifying, by the disaggregated memory manager, memory usage across the cluster; and
responsive to detecting a failure resulting in loss of access to the remote disaggregated memory, implementing a corrective action.

### Claim 9 (depends on 8)

The system of claim 8, wherein the virtual machine further comprises a local memory.

### Claim 10 (depends on 8)

The system of claim 8, wherein the alternate node is accessible through an independent path.

### Claim 11 (depends on 8)

The system of claim 8, wherein the failure is a loss of access to the remote disaggregated memory, and wherein the corrective action is the disaggregated memory manager responding to the failure within the cluster.

### Claim 12 (depends on 8)

The system of claim 8, wherein the operations further comprise:
detecting a configuration change within the cluster; and
modifying, by the disaggregated memory manager, memory usage across the cluster.

### Claim 13 (depends on 12)

The system of claim 12, wherein the configuration change is an addition of a node from the cluster.

### Claim 14 (depends on 12)

The system of claim 12, wherein the configuration change is a removal of a node from the cluster.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations for mirroring memory in a disaggregated memory clustered environment, the operations comprising:
assigning, by a hypervisor, a disaggregated memory to a virtual machine comprising a remote disaggregated memory, the virtual machine being one node of a cluster of the disaggregated memory clustered environment;
allocating, by a disaggregated memory manager, a mirrored memory for the remote disaggregated memory to mirror the remote disaggregated memory on an alternate node of the cluster of the disaggregated memory clustered environment;
responsive to a memory access occurring, maintaining, by the disaggregated memory manager, the mirrored memory;
responsive to detecting a memory allocation adjustment, modifying, by the disaggregated memory manager, memory usage across the cluster; and
responsive to detecting a failure resulting in loss of access to the remote disaggregated memory, implementing a corrective action.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the virtual machine further comprises a local memory.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the alternate node is accessible through an independent path.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the failure is a loss of access to the remote disaggregated memory, and wherein the corrective action is the disaggregated memory manager responding to the failure within the cluster.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
detecting a configuration change within the cluster; and
modifying, by the disaggregated memory manager, memory usage across the cluster.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the configuration change is an addition of a node from the cluster.

### Claim 21 (depends on 19)

The computer program product of claim 19, wherein the configuration change is a removal of a node from the cluster.

### Claim 22

A computer-implemented method for mirroring memory in a disaggregated memory clustered environment, the computer-implemented method comprising:
assigning, by a hypervisor, a disaggregated memory to a virtual machine of a cluster;
allocating, by a disaggregated memory manager, a mirrored memory for remote disaggregated memory allocations;
maintaining, by the disaggregated memory manager, the mirrored memory as memory accesses occur;
responsive to memory allocation adjustments, adjusting, by the disaggregated memory manager, the allocations to maintain mirroring;
responsive to changes to the cluster, determining, by the disaggregated memory manager, whether allocation changes are to be made for improved performance and resiliency and adjusting the allocations accordingly;
determining that a failure occurs in a primary node of the disaggregated memory; and
responsive to determining that the failure occurred in the primary node, switching to using a secondary node as a primary memory source and re-establishing an alternate secondary node for the mirrored memory.

### Claim 23 (depends on 22)

The computer-implemented method of claim 22, further comprising:
determining that a failure occurs in the secondary node of the disaggregated memory; and
responsive to determining that the failure occurred in the secondary node, re-establishing another alternate secondary node for the mirrored memory.

### Claim 24

A system comprising:
a memory comprising computer readable instructions; and
a processing device for executing the computer readable instructions, the computer readable instructions controlling the processing device to perform operations for mirroring memory in a disaggregated memory clustered environment, the operations comprising:
assigning, by a hypervisor, a disaggregated memory to a virtual machine of a cluster;
allocating, by a disaggregated memory manager, a mirrored memory for remote disaggregated memory allocations;
maintaining, by the disaggregated memory manager, the mirrored memory as memory accesses occur;
responsive to memory allocation adjustments, adjusting, by the disaggregated memory manager, the allocations to maintain mirroring;
responsive to changes to the cluster, determining, by the disaggregated memory manager, whether allocation changes are to be made for improved performance and resiliency and adjusting the allocations accordingly;
determining that a failure occurs in a primary node of the disaggregated memory; and
responsive to determining that the failure occurred in the primary node, switching to using a secondary node as a primary memory source and re-establishing an alternate secondary node for the mirrored memory.

### Claim 25 (depends on 24)

The system of claim 24, wherein the operations further comprise:
determining that a failure occurs in the secondary node of the disaggregated memory; and
responsive to determining that the failure occurred in the secondary node, re-establishing another alternate secondary node for the mirrored memory.
