Patent ID: 8438565
Filing Date: 2013-05-07
Classification: G06F

Abstract:
1. A computer system comprising a plurality of real machines, wherein: each of the real machines comprises a Central Processing Unit (CPU), a storage, and a virtualizer to execute at least one virtual machine on the real machine; the real machines comprise a first real machine and a second real machine which are linked via a network to each other; the first real machine is a migration source to migrate a virtual machine being executed on the first real machine to the second real machine, and comprises a first virtualizer and a first storage to store unique information of the virtual machine to be executed by the first virtualizer; the second real machine is a migration destination to which a virtual machine being executed on the first real machine is migrated from the first real machine, and comprises a second virtualizer and a second storage to store unique information of the virtual machine to be executed by the second virtualizer; at reception of a migration request of the virtual machine, the first virtualizer sends, to the second virtualizer, first unique information which is unique information of target virtual machine of the migration request; the second virtualizer receives the first unique information from the first virtualizer, creates a virtual machine on the second virtualizer based on the first unique information, saves the first unique information and second unique information which is unique information of the virtual machine created based on the first unique information, as migration virtual machine information of the second real machine in the second storage, and sends the second unique information to the first virtualizer; and the first virtualizer receives the second unique information and saves, in the first storage, the first unique information and the second unique information received from the second virtualizer, as migration virtual machine information of the first real machine; wherein the unique information comprises address information of a virtual Host Bus Adapter (HBA) required for the virtual machine to access an external storage and address information of a virtual Interface Card (NIC) required for the virtual machine to connect to the network, wherein the first storage keeps, as first definition information, unique information of at least one virtual machine to be executed on the first real machine, the unique information including the first unique information; the second storage keeps, as second definition information, unique information of at least one virtual machine to be executed on the second real machine, the unique information including the second unique information; the first virtualizer executes first migration-source processing in which the first virtualizer sends state information of a state of the virtual machine as the migration request target to the second virtualizer, and invalidates the virtual machine as the migration request target; the second virtualizer executes first migration-destination processing in which the second virtualizer receives the state information from the first virtualizer, sets the state information to the virtual machine created based on the first unique information, validates the virtual machine to which the state information is set, updates the second unique information included in the migration virtual machine information of the second real machine to unique information of the virtual machine thus validated and saves the unique information as new second unique information, updates the second unique information included in the second definition information to the new second unique information and saves the new second unique information, and notifies the first virtualizer of an event that the new second unique information has been saved in the migration virtual machine information and the second definition information of the second real machine, the first virtualizer executes second migration-source processing in which the first virtualizer receives the notification of the saving of the new second unique information from the second virtualizer, changes the first unique information included in the first definition information to the second unique information included in the first migration virtual machine information, notifies the change of the first unique information to the second virtualizer, and deletes the migration virtual machine information of the first real machine; and the second virtualizer executes second migration-destination processing in which the second virtualizer receives the notification of the change of the first definition information from the first virtualizer, and deletes the migration virtual machine information of the second real machine.