×

Method and apparatus for efficient memory replication for high availability (HA) protection of a virtual machine (VM)

  • US 8,413,145 B2
  • Filed: 09/30/2010
  • Issued: 04/02/2013
  • Est. Priority Date: 09/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for providing high availability (HA) protection to a virtual machine (VM) executing on an active host, the method comprising:

  • at a checkpoint interval time, a first processor of an active host executing a copy thread;

    the copy thread copying a dirty memory page into a ring buffer;

    after the copy thread has copied the dirty memory page into the ring buffer, the first processor of the active host executing a send thread; and

    the send thread sending the dirty memory page in the ring buffer to a standby host, wherein the copy thread and the send thread execute on the ring buffer simultaneously;

    after initially synchronizing a disk image of the VM by copying the disk image of the VM from a disk storage at the active host to the standby host and while maintaining the synchronization of the disk image of the VM, the first processor synchronizing a memory image of the VM between the active host and the standby host, wherein, after memory synchronization, the memory image of the VM and the disk image of the VM are synchronized;

    once disk synchronization and memory synchronization are completed and the disk image and the memory image of the VM are synchronized, a second processor enabling a dynamic disk barrier process to be applied at a later checkpoint time interval; and

    at a checkpoint interval time after the later checkpoint time interval, the first processor and the second processor synchronizing the disk image and the memory of the VM between the active host and the standby host for all changes, wherein the standby host controls a synchronization control process at the standby host that utilizes the dynamic disk barrier to keep the memory and the disk image of the VM synchronized at the checkpoint interval for the VM on the active host and the standby host.

View all claims
  • 20 Assignments
Timeline View
Assignment View
    ×
    ×