IP Library Granted Patent US 11,720,455
Granted Patent B2
US 11,720,455 · App. 17/554,520 · Granted Aug 8, 2023

Method, apparatus, and non-transitory computer readable medium for migrating virtual machines

Inventors: Yu-Sheng Chu (Taipei, TW); Yi-Feng Chen (Taipei, TW)
Assignee: Fulian Precision Electronics (Tianjin) Co., LTD.
G06F11/203G06F11/0712G06F11/2041G06F11/3419
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 11,720,455
App. No.
17/554,520
Granted
Aug 8, 2023
Kind
B2
Abstract

A method and an apparatus for migrating virtual machine includes monitoring a status of a compute node; determining whether the compute node meets a trigger condition; wherein the trigger condition comprising a time period of lost connection of the compute node reaches a predetermined time period, or an unstable status of the compute node; and if the compute node meets the trigger condition, transmitting a message to a control node to migrate the VM.

Claims (56)

1. A method of migrating virtual machine (VM) comprising:

monitoring a status of at least one compute node;

determining whether the at least one compute node meets a trigger condition; wherein the trigger condition comprising a time period of lost connection of the at least one compute node reaching a predetermined time period, or an unstable status of the at least one compute node; and

if the at least one compute node meets the trigger condition, transmitting a message to a control node to migrate the VM;

wherein if there are multiple compute nodes determined to meet the trigger condition, the method further comprises:

when starting to migrate the VM of one of the multiple compute nodes, switching to an insurance status to stop migrating the VM of other compute nodes of the multiple compute nodes; and

after finishing the migration of the VM of the compute node, switching to a working status to continuously monitoring the status of the at least one compute node.

2. The method according to claim 1 , wherein the lost connection of the at least one compute node comprises:

a lost connection of a 10G network, and a lost connection of a 1G network.

3. The method according to claim 1 , wherein the unstable status of the at least one compute node comprises:

a lost connection of 10G networks, and a quantity of the 10G networks in lost connection status is 1.

4. The method according to claim 3 , wherein when the quantity of the 10G networks in lost connection status is 1, and a frequency of the lost connection of the 10G networks reaches a second determined frequency, the unstable status of the compute node is determined.

5. The method according to claim 1 , further comprising:

calculating and displaying a migrating time of the VM.

6. The method according to claim 1 , further comprising:

storing a migrating record of the VM.

7. A method of migrating virtual machine (VM) comprising:

examining a status of a system for managing a cloud platform;

feeding back a message of migrating the VM to a monitor node;

examining whether a status of the VM is corresponding to the status before migration; and

if the status of the VM is not corresponding to the status before migration, repairing the VM;

wherein the examining the status of the system for managing the cloud platform comprises:

examining whether any unoccupied compute node exists; and

examining whether a status of a power source of the system is normal.

8. The method according to claim 7 , further comprising:

if unoccupied compute node exists, and if the status of the power source is normal, starting a migrating program to migrate the VM.

9. The method according to claim 8 , further comprising:

if no unoccupied compute node exists, or if the status of the power source is abnormal, stopping the migrating program to stop migrating the VM.

10. The method according to claim 7 , further comprising:

if the status of the VM is corresponding to the status before migration, feeding back a message of successfully migrating the VM to the monitor node.

11. An apparatus for migrating virtual machine (VM) comprising:

a communication module;

at least one processor;

a memory coupled to the at least one processor and storing program instructions, the memory and the program instructions are configured to, with the at least one processor, cause the apparatus to perform:

monitoring a status of a compute node;

determining whether the compute node meets a trigger condition; wherein the trigger condition comprising a time period of lost connection of the compute node reaching a predetermined time period, or an unstable status of the compute node; and

if the compute node meets the trigger condition, transmitting a message to a control node to migrate the VM;

wherein when there are several compute nodes meet the trigger condition, the memory and the program instructions configured to, with the at least one processor, cause the apparatus further to perform:

when starting to migrate the VM of one of the compute nodes, switching to an insurance status to stop migrating the VM of other compute nodes; and

after finishing the migration of the VM of one of the compute nodes, switching to a working status to continuously monitoring the status of the compute nodes.

12. The apparatus according to claim 11 , wherein the lost connection of the compute node comprises:

a lost connection of a 10G network, and a lost connection of a 1G network.

13. The apparatus according to claim 11 , wherein the unstable status of the compute node comprises:

a lost connection of 10G networks, and a quantity of the 10G networks in lost connection status is 1.

14. The apparatus according to claim 13 , wherein when the quantity of the 10G networks in lost connection status is 1, and a frequency of the lost connection of the 10G networks reaches a second determined frequency, the unstable status of the compute node is determined.

15. The apparatus according to claim 11 , further comprising a display, wherein the memory and the program instructions configured to, with the at least one processor, cause the apparatus further to perform:

calculating and displaying a migrating time of the VM; and

storing a migrating record of the VM.

16. The apparatus according to claim 11 , wherein the memory and the program instructions configured to, with the at least one processor, cause the apparatus further to perform:

examining a status of a system for managing a cloud platform;

feeding back a message of migrating the VM to a monitor node;

examining whether a status of the VM is corresponding to the status before migration; and

if the status of the VM is not corresponding to the status before migration, repairing the VM.

17. The apparatus according to claim 16 , wherein the examining the status of the system for managing the cloud platform comprises:

examining whether any unoccupied compute node exists; and

examining whether a status of a power source of the system is normal.

Assignments (2)
CHANGE OF NAME Recorded Mar 10, 2022
From: HONGFUJIN PRECISION ELECTRONICS(TIANJIN)CO.,LTD.
To: FULIAN PRECISION ELECTRONICS (TIANJIN) CO., LTD.
Reel/Frame 059620/0142 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 17, 2021
From: CHU, YU-SHENG; CHEN, YI-FENG
To: HONGFUJIN PRECISION ELECTRONICS(TIANJIN)CO.,LTD.
Reel/Frame 058418/0916 →
Priority Claims (1)
CN 202110984354.4 · Aug 25, 2021 · national
Continuity (1)
Related Publication 20230062733A1 · Mar 2, 2023