# US 2015/0178119 A1 · Hypervisor-based server duplication system and method and storage medium storing server duplication computer program

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

- Number: US 2015/0178119 A1
- Document ID: US20150178119A1
- Status: Published application
- Kind: A1
- Application number: 14/629,030
- Filed: 2015-02-23
- Published: 2015-06-25
- Earliest claimed: 2012-10-31
- Assignees: Samsung Sds Co., Ltd.
- Applicants: Samsung Sds Co., Ltd.
- Inventors: Kwang-Hyun LEE; Jong-Song KIM
- Web page: https://patentgrep.com/patent/US20150178119A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 11/1484: {involving virtual machines}
- G06F 11/2038: {with a single idle spare processing component}
- G06F 11/2056: {by mirroring}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 11/2041: {with more than one idle spare processing component}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are a server duplication system and method and a storage medium storing a server duplication computer program. The server duplication system includes a primary server including a hypervisor including a hypervisor-based fault tolerance module and a first file system virtual machine (FS VM), and a first standby server including a hypervisor including a hypervisor-based fault tolerance module that exchanges data with a fault tolerance module provided on the hypervisor of the primary server and duplicates the primary server. The first FS VM provides a first file system that is shared by a user virtual machine (USER VM), and a buffer cache that is used in conjunction with the first file system is provided on virtual memory. The first FS VM is duplicated into the standby server using the hypervisor-based fault tolerance module of the primary server and the hypervisor-based fault tolerance module of the standby server.

## Claims

### Claim 1

A method for hypervisor-based server duplication comprising:
generating a first file system virtual machine (FS VM) on a hypervisor of a primary server;
installing a file system in the first FS VM, and
disposing a buffer cache operating in conjunction with the file system installed in the first FS VM, in virtual memory allocated to the first FS VM;
generating a user virtual machine (USER VM) on the hypervisor so that the USER VM shares the file system of the first file system; and
duplicating the buffer cache into a buffer cache of a second FS VM generated on a hypervisor of a standby server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
managing, by the first FS VM, the buffer cache in a write-back manner.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second FS VM is generated by duplicating the first FS VM into the standby server.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the hypervisor of the primary server and the hypervisor of the standby server comprise hypervisor-based fault tolerance modules, respectively.

### Claim 5 (depends on 4)

The method of claim 4, wherein the duplicating comprises:
duplicating the buffer cache of the first FS VM into the buffer cache of the second FS VM using the fault tolerance module of the hypervisor of the primary server and the fault tolerance module of the hypervisor of the standby server.

### Claim 6 (depends on 5)

The method of claim 5, wherein the duplicating further comprises:
when the USER VM invokes a data write call, loading write target data in the buffer cache of the first FS VM;
loading the write target data in the buffer cache of the second FS VM via the fault tolerance module of the hypervisor of the primary server and the fault tolerance module of the hypervisor of the standby server; and
once the loading of the write target data in the buffer cache of the second FS VM has been completed, returning the data write call.

### Claim 7 (depends on 1)

The method of claim 1, wherein the duplicating is performed by duplicating the FS VM generated on the primary server into the standby server.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
adjusting a size of the buffer cache depending on a number of user virtual machines (USER VMs) generated on the primary server.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
adjusting a size of the buffer cache depending on a number of data write calls made by all USER VMs generated on the primary server.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
requesting, by the first FS VM, the hypervisor of the primary server to cause data loaded in the buffer cache to be flushed based on at least one of an amount of I/O of the primary server and an amount of use of the buffer cache.

### Claim 11

A method of duplicating a primary server into a standby server that is a fault tolerance partner of a primary server, comprising:
generating a first FS VM on a hypervisor of the primary server that provides a file system that is outsourced by a USER VM generated on the hypervisor of the primary server;
generating a second FS VM on a hypervisor of the standby server that provides the file system that is outsourced by the USER VM that is duplicated on the hypervisor of the standby server; and
duplicating a buffer cache that the first FS VM manages in conjunction with the file system, into a buffer cache that the second FS VM manages in conjunction with the file system.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the respective hypervisor of the primary server and the respective hypervisor of the standby server comprise hypervisor-based fault tolerance modules, respectively; and
the duplicating of the first buffer cache comprises duplicating the first buffer cache of the first FS VM into the second buffer cache of the second FS VM using the fault tolerance module of the hypervisor of the primary server and the fault tolerance module of the hypervisor of the standby server.

### Claim 13 (depends on 11)

The method of claim 11, wherein:
the respective hypervisor of the primary server and the respective hypervisor of the standby server comprise hypervisor-based fault tolerance modules, respectively; and
the duplicating of the first buffer cache comprises duplicating, by a respective fault tolerance module of the primary server, the respective virtual memory of the first FS VM into the respective virtual memory area of the second FS VM using the respective fault tolerance module of the respective hypervisor of the standby server.

### Claim 14

A server duplication system, comprising:
a primary server comprising a hypervisor including a hypervisor-based fault tolerance module and a first file system virtual machine (FS VM); and
a first standby server comprising a hypervisor including a hypervisor-based fault tolerance module that exchanges data with a fault tolerance module provided on the hypervisor of the primary server and duplicates the primary server;
wherein the first FS VM provides a first file system that is shared by a USER VM generated on the hypervisor of the primary server, and disposes a buffer cache that is used in conjunction with the first file system on virtual memory allocated to the first FS VM; and
wherein the first FS VM is duplicated into the standby server using the hypervisor-based fault tolerance module of the primary server and the hypervisor-based fault tolerance module of the standby server.
