IP Library Granted Patent US 10,157,076
Granted Patent B2
US 10,157,076 · App. 15/391,802 · Granted Dec 18, 2018

Virtual machine migration device and method

Inventors: Che-Yi Lee (New Taipei, TW); Haw-Jiun Tsan (New Taipei, TW); Chih-Chin Chang (New Taipei, TW)
Assignee: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.
G06F9/45558H04L43/0876H04L45/02H04L45/122H04L47/82G06F2009/4557G06F2009/45595
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 10,157,076
App. No.
15/391,802
Granted
Dec 18, 2018
Kind
B2
Abstract

A virtual machine (VM) migration device can migrate a VM from a source location to a target location along a migration path calculated to not exceed a predetermined time limit. The migration device includes a first obtaining module, a second obtaining module, a calculation module, and a migration module. The first obtaining module obtains VM migration information and the second obtaining module obtains network status information. The calculation module calculates a migration path according to the network status information and the migration information, taking account of transmission and other delays between intermediate nodes along possible paths. The migration module migrates the VM from the source location to the target location according to the calculated migration path. A VM migration method is also provided.

Claims (35)

1. A virtual machine migration method comprising:

obtaining network status information and migration information of a virtual machine;

calculating a migration path according to the network status information and the migration information; and

migrating the virtual machine from a source location to a target location according to the migration path;

wherein calculating a migration path according to the network status information and the migration information comprises:

establishing a network topology according to the network status information and the migration information;

simplifying the network topology according to the service timeout time;

obtaining one or more feasible migration paths according to a simplified network topology; and

calculating a number of intermediate nodes of each of the feasible migration path according to a minimum hop path algorithm, and selecting a feasible migration path with minimum intermediate nodes as the migration path to migrate the virtual machine;

wherein calculating a number of intermediate nodes of each of the feasible migration path according to a minimum hop path algorithm comprises:

obtaining the feasible migration path and selecting a slowest speed node from the feasible migration path as a search origin;

extending the search origin to the left and the right to search a longest segment;

dividing the feasible migration path to generate two sub paths according to the longest segment;

repeating processing the two sub paths to search for the longest segment; and

calculating the number of intermediate nodes of the feasible migration path according to searched longest segments.

2. The virtual machine migration method of claim 1 , wherein the source location is a first server, and the target location is a second server different from the first server.

3. The virtual machine migration method of claim 1 , further comprising:

determining whether the network status information is changed; and

recalculating the migration path in response to the network status information being changed.

4. The virtual machine migration method of claim 3 , further comprising:

migrating the virtual machine according to a recalculated migration path.

5. The virtual machine migration method of claim 1 , wherein the migration information comprises the source location, the target location, and a service timeout time.

6. A virtual machine migration device, comprising:

at least one storage, configured to store a plurality of modules, which is a collection of instructions of an application run in the device;

at least one processor, configured to execute the plurality of modules, the modules comprising:

a first obtaining module, configured to obtain migration information of a virtual machine;

a second obtaining module, configured to obtain network status information;

a calculation module, configured to calculate a migration path according to the network status information and the migration information; and

a migration module, configured to migrate the virtual machine from a source location to a target location according to the migration path;

wherein the calculation module is further configured to establish a network topology according to the network status information and the migration information, and simplify the network topology; the calculation module is further configured to obtain one or more feasible migration paths according to a simplified network topology and calculate a number of intermediate nodes of each of the feasible migration path according to a minimum hop path algorithm, to select a feasible migration path with minimum intermediate nodes as the migration path to migrate the virtual machine;

wherein the calculation module selects a slowest speed node from the feasible migration path as a search origin and extends the search origin to the left and the right to search a longest segment, the calculation module further divides the feasible migration path to generate two sub paths according to the longest segment and repeats processing the two sub paths to search for the longest segment, and calculates the number of intermediate nodes of the feasible migration path according to searched longest segments.

7. The virtual machine migration device of claim 6 , wherein the source location is a first server, and the target location is a second server different from the first server.

8. The virtual machine migration device of claim 6 , wherein the second obtaining module is further configured to determine whether the network status information is changed; the calculation module is further configured to recalculate the migration path in response to the network status information being changed; and the migration module is further configured to migrate the virtual machine to the target location according to a recalculated migration path.

9. The virtual machine migration device of claim 6 , wherein the migration information comprises the source location, the target location, and a service timeout time.

10. The virtual machine migration device of claim 6 , wherein the calculation module is further configured to simplify the network topology according to the service timeout time.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 27, 2018
From: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.; HON HAI PRECISION INDUSTRY CO., LTD.
To: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.
Reel/Frame 045171/0347 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 27, 2016
From: LEE, CHE-YI; TSAN, HAW-JIUN; CHANG, CHIH-CHIN
To: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.; HON HAI PRECISION INDUSTRY CO., LTD.
Reel/Frame 040777/0169 →
Continuity (1)
Related Publication 20180181422A1 · Jun 28, 2018