Hypervisor-based server duplication system and method and storage medium storing server duplication computer program
First Claim
1. A non-transitory computer-readable storage medium storing a computer program that enables a computer system to perform operations comprising:
- generating a first file system virtual machine (FS VM) on a respective hypervisor of a primary server;
installing a file system in the first FS VM;
disposing a buffer cache, operating in conjunction with the file system installed in the first FS VM, in a virtual memory allocated to the first FS VM;
generating a user virtual machine (USER VM) on the respective hypervisor of the primary server so that the USER VM shares the file system of the first FS VM; and
duplicating the buffer cache into a buffer cache of a second FS VM generated on a respective hypervisor of a standby server,wherein the disposing of the buffer cache, in the virtual memory, comprises;
receiving information about resources allocated to the file system;
allocating resources to the first FS VM according to the information about the resources; and
allocating a storage area of the virtual memory, to the buffer cache, of a size allocated to the first FS VM based on a predetermined ratio and on the information about the resources.
1 Assignment
0 Petitions
Accused Products
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.
21 Citations
18 Claims
-
1. A non-transitory computer-readable storage medium storing a computer program that enables a computer system to perform operations comprising:
-
generating a first file system virtual machine (FS VM) on a respective hypervisor of a primary server; installing a file system in the first FS VM; disposing a buffer cache, operating in conjunction with the file system installed in the first FS VM, in a virtual memory allocated to the first FS VM; generating a user virtual machine (USER VM) on the respective hypervisor of the primary server so that the USER VM shares the file system of the first FS VM; and duplicating the buffer cache into a buffer cache of a second FS VM generated on a respective hypervisor of a standby server, wherein the disposing of the buffer cache, in the virtual memory, comprises; receiving information about resources allocated to the file system; allocating resources to the first FS VM according to the information about the resources; and allocating a storage area of the virtual memory, to the buffer cache, of a size allocated to the first FS VM based on a predetermined ratio and on the information about the resources. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. 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 respective hypervisor of the primary server; generating a second FS VM on a respective hypervisor of the standby server that provides the same file system that is outsourced by the USER VM that is duplicated on the respective hypervisor of the standby server; disposing a first buffer cache, that the first FS VM manages in conjunction with the file system, in a virtual memory allocated to the first FS VM; and duplicating the buffer cache into a second buffer cache that the second FS VM manages in conjunction with the file system, wherein the disposing of the first buffer cache in the virtual memory comprises; receiving information about resources allocated to the file system; allocating resources to the first FS VM according to the information about the resources; and allocating a storage area of the virtual memory, to the first buffer cache, of a size allocated to the first FS VM based on a predetermined ratio and on the information about the resources. - View Dependent Claims (11, 12, 13)
-
-
14. A server duplication system, comprising:
-
a primary server comprising a respective hypervisor including a respective hypervisor-based fault tolerance module and a first file system virtual machine (FS VM); and a first standby server comprising a respective hypervisor including a respective hypervisor-based fault tolerance module that exchanges data with a fault tolerance module provided on the respective 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 respective 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; the first FS VM is duplicated into the standby server using the respective hypervisor-based fault tolerance module of the primary server and the respective hypervisor-based fault tolerance module of the standby server; and the first FS VM disposes the buffer cache on the virtual memory by receiving information about resources allocated to the first file system, allocating resources to the first FS VM according to the information about the resources, and allocating a storage area of the virtual memory, to the buffer cache, of a size allocated to the first FS VM based on a predetermined ratio and on the information about the resources. - View Dependent Claims (15, 16, 17, 18)
-
Specification