IP Library › Granted Patent US 9,405,642
Granted Patent B2
US 9,405,642 · App. 13/753,285 · Granted Aug 2, 2016

Providing virtual machine migration reliability using an intermediary storage device

Inventor: Michael Tsirkin (Raanana, IL)
Assignee: Red Hat Israel, Ltd.
G06F11/2046G06F11/203G06F11/2028G06F2009/45583G06F2201/815G06F2212/152
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,405,642
App. No.
13/753,285
Granted
Aug 2, 2016
Kind
B2
Abstract

Systems and methods for live migration of a virtual machine are provided. A migration manager can send a request to a source host machine to migrate a virtual machine to a first destination host machine. The migration manager can determine that the migration of the virtual machine from the source host machine to the first destination host machine has failed. The migration manager can identify an intermediary storage device used during the migration to store a state of the virtual machine. The migration manager identifies a second destination host machine for the virtual machine migration. The migration manager causes the second destination host machine to obtain the state of the virtual machine from the intermediary storage device to migrate the virtual machine to the second destination host machine.

Claims (40)

1. A method, comprising:

sending, by a migration manager executed by a processing device, a request to a source host machine to migrate a virtual machine to a first destination host machine, wherein the migration is to store data associated with the virtual machine on a plurality of intermediary storage devices;

determining that the migration of the virtual machine from the source host machine to the first destination host machine has failed after the virtual machine is suspended;

in response to the determination that the migration failed:

identifying one or more intermediary storage devices of the plurality of intermediary storage devices used during the migration to store a state of the virtual machine;

identifying a second destination host machine for the virtual machine migration; and

causing the second destination host machine to obtain the stored state of the virtual machine from the one or more identified intermediary storage devices before the virtual machine is resumed at the second destination host machine.

2. The method of claim 1 wherein causing the second destination host machine to obtain the state of the virtual machine comprises:

instructing the second destination host machine to retrieve the state of the virtual machine from the one or more identified intermediary storage devices.

3. The method of claim 1 , wherein the state of the virtual machine on the one or more intermediary storage devices is at least a portion of memory of the virtual machine at the source host machine.

4. The method of claim 3 wherein causing the second destination host machine to obtain the state of the virtual machine further comprises:

sending, by the migration manager, a request to the source host machine to migrate a remaining state of the virtual machine to the destination host machine.

5. The method of claim 1 , wherein the plurality of intermediary storage devices and the source host machine are part of the same network.

6. The method of claim 1 , wherein the plurality of intermediary storage device devices and the destination host machine are part of the same network.

7. A system, comprising:

a memory; and

a processing device, operatively coupled with the memory, to:

send a request to a source host machine to migrate a virtual machine to a first destination host machine, wherein the migration is to store data associated with the virtual machine on a plurality of intermediary storage devices;

determine that the migration of the virtual machine from the source host machine to the first destination host machine has failed after the virtual machine is suspended;

in response to the determination that the migration failed:

identify one or more intermediary storage devices of the plurality of intermediary storage devices used during the migration to store a state of the virtual machine;

identify a second destination host machine for the virtual machine; and

cause the second destination host machine to obtain the stored state of the virtual machine from the one or more identified intermediary storage devices before the virtual machine is resumed at the second destination host machine.

8. The system of claim 7 , wherein to cause the second destination host machine to obtain the state of the virtual machine, the processing device is to:

instruct the second destination host machine to retrieve the state of the virtual machine from the one or more identified intermediary storage devices.

9. The system of claim 7 , wherein the state of the virtual machine on the one or more identified intermediary storage devices is at least a portion of memory of the virtual machine.

10. The system of claim 9 , wherein to cause the second destination host machine to obtain the state of the virtual machine, the processing device is to:

send a request to the source host machine to migrate a remaining state of the virtual machine to the destination host machine.

11. The system of claim 7 , wherein the plurality of intermediary storage devices and the source host machine are part of the same network.

12. The system of claim 7 , wherein the plurality of intermediary storage devices and the destination host machine are part of the same network.

13. A non-transitory computer readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:

receive a state of a virtual machine from a source host machine;

store the state of the virtual machine before the virtual machine is suspended on the source host machine;

transmit, by the processing device, the stored state of the virtual machine to a destination host machine before the virtual machine is resumed at the destination host machine;

receive an indication that migration of the virtual machine from the source host machine to the destination host machine has failed after the virtual machine is suspended; and

in response to the indication that the migration failed, provide, by the processing device, the stored state of the virtual machine to another destination host machine before the virtual machine is resumed at the other destination host machine.

14. The non-transitory computer readable storage medium of claim 13 , wherein the state of the virtual machine is at least a portion of memory of the virtual machine of the source host machine.

15. The non-transitory computer readable storage medium of claim 13 , wherein the processing device is part of an intermediary device, the intermediary device being communicably coupled to the source host machine and to the destination host machine.

16. The non-transitory computer readable storage medium of claim 15 , wherein the destination host machine and the intermediary device are part of the same network.

17. The non-transitory computer readable storage medium of claim 13 , wherein the state of a virtual machine comprises at least one of: memory of the virtual machine, a CPU register, or a register of devices accessible to the virtual machine.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2013
From: TSIRKIN, MICHAEL
To: RED HAT ISRAEL, LTD.
Reel/Frame 029717/0926 →
Continuity (1)
Related Publication 20140215172A1 · Jul 31, 2014