×

System, method and program to migrate a virtual machine

  • US 7,257,811 B2
  • Filed: 05/11/2004
  • Issued: 08/14/2007
  • Est. Priority Date: 05/11/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for migrating a first virtual machine and a communication queue from a first logical partition (“

  • LPAR”

    ) to a second logical partition in a same real computer, before migration, said first virtual machine having an operating system and an application in a first private memory private to said first virtual machine, before migration, said communication queue residing in a first shared memory shared and accessible by said first virtual machine and a second virtual machine in said first LPAR, said method comprising the steps of;

    stopping said first virtual machine and said second virtual machine in said first LPAR to prevent said first virtual machine and said second virtual machine from updating said communication queue in said first LPAR;

    while said first and second virtual machines are stopped, said first LPAR communicating said operating system, said application and said communication queue to said second LPAR, and said second LPAR writing said operating system and application into a second private memory in said second LPAR, and said second LPAR writing said communication queue into a second shared memory in said second LPAR;

    allocating said second private memory and other resources in said second LPAR for a migrated virtual machine corresponding to said first virtual machine, and granting said migrated virtual machine access to said communication queue in said second shared memory;

    said second virtual machine supplying a work item to said communication queue before the step of stopping said first virtual machine and said second virtual machine;

    while said first and second virtual machines are stopped, said first LPAR communicating an operating system and an application of said second virtual machine to said second LPAR, and said second LPAR writing said operating system and application of said second virtual machine into a third private memory in said second LPAR; and

    allocating said third private memory and other resources in said second LPAR for another migrated virtual machine corresponding to said second virtual machine, and granting said other migrated virtual machine access to said communication queue in said second shared memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×