IP Library › Granted Patent US 12,461,766
Granted Patent B2
US 12,461,766 · App. 18/175,853 · Granted Nov 4, 2025

Online migration method and system for bare metal server

Inventor: Lei Gong (Hangzhou, CN)
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
G06F9/45541G06F9/45558G06F2009/4557G06F2009/45579G06F2009/45583
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 12,461,766
App. No.
18/175,853
Granted
Nov 4, 2025
Kind
B2
Abstract

An online migration method and system for a bare metal server, where a first hardware card receives a migration command for a first bare metal server, and where the first hardware card is inserted into the first bare metal server. The first hardware card notifies, based on the migration command, the first bare metal server to start a virtual machine manager in the first bare metal server, where the virtual machine manager records first dirty memory page location information that is for memory of the first bare metal server and that is generated by the first bare metal server, and sends the first dirty memory page location information to the first hardware card. The first hardware card online migrates a dirty memory page of the first bare metal server to a second bare metal server based on the first dirty memory page location information.

Claims (60)

1 . An online migration system for a bare metal server, wherein the online migration system comprises:

a first bare metal server comprising a first memory and configured to generate first dirty memory page location information for the first memory;

a second bare metal server;

a second hardware card; and

a first hardware card inserted into the first bare metal server, wherein the first hardware card is configured to:

receive a migration command for the first bare metal server from a cloud management platform;

notify, based on the migration command, the first bare metal server to start a virtual machine manager in the first bare metal server to record the first dirty memory page location information;

receive the first dirty memory page location information from the virtual machine manager; and

online migrate a dirty memory page of the first bare metal server to the second bare metal server based on the first dirty memory page location information.

2 . The online migration system according to claim 1 , wherein the first hardware card is further configured to:

generate second dirty memory page location information for the first memory; and

record the second dirty memory page location information.

3 . The online migration system according to claim 2 , wherein the first hardware card is further configured to:

obtain, from the first memory based on the first dirty memory page location information, at least one first memory page that generates a dirty page;

obtain, from the first memory based on the second dirty memory page location information, at least one second memory page that generates a dirty page; and

send the at least one first memory page and the at least one second memory page to the second hardware card,

wherein the second bare metal server comprises a second memory, and

wherein the second hardware card is inserted into the second bare metal server and configured to:

connect to the first hardware card through a network; and

set the second memory based on the at least one first memory page and the at least one second memory page.

4 . The online migration system according to claim 1 , wherein the first hardware card is further configured to:

obtain a first input/output (I/O) device status of a first I/O device of the first bare metal server;

obtain a second I/O device status of a second I/O device of the first hardware card; and

send the first I/O device status and the second I/O device status to the second hardware card, and

wherein the second hardware card is configured to:

set a third I/O device of the second hardware card based on the second I/O device status; and

send the first I/O device status to the second bare metal server to enable the second bare metal server to set a fourth I/O device of the second bare metal server based on the first I/O device status.

5 . The online migration system according to claim 1 , wherein the first bare metal server is configured to send a full memory page of the first bare metal server to the first hardware card, wherein the first hardware card is further configured to send the full memory page to the second hardware card, and wherein the second hardware card is configured to initialize a second memory of the second bare metal server based on the full memory page.

6 . The online migration system according to claim 1 , wherein the second hardware card is configured to:

receive the migration command;

mount, based on the migration command, a network disk mounted on the first hardware card; and

notify the second bare metal server to start a second virtual machine manager in the second bare metal server.

7 . The online migration system according to claim 1 , wherein the first hardware card is further configured to send network configuration information of a source bare metal server to the second hardware card, and wherein the second hardware card is configured to perform network configuration based on the network configuration information.

8 . The online migration system according to claim 1 , wherein the first hardware card is further configured to notify the cloud management platform that migration of the first bare metal server is completed.

9 . The online migration system according to claim 1 , wherein shared memory is set on the first hardware card, and wherein the shared memory is accessed by the virtual machine manager of the first bare metal server.

10 . The online migration system according to claim 1 , wherein the first hardware card is further configured to generate an interrupt signal based on the migration command, and wherein the first bare metal server is configured to:

receive the interrupt signal; and

start the virtual machine manager based on the interrupt signal.

11 . The online migration system according to claim 10 , wherein the interrupt signal is a system management interrupt of an x86 processor.

12 . The online migration system according to claim 10 , wherein the interrupt signal is a secure monitor call (SMC) of an ARM processor.

13 . The online migration system according to claim 10 , wherein the interrupt signal is a secure interrupt of an ARM processor.

14 . A bare metal server system, comprising:

a first bare metal server; and

a first hardware card inserted into the first bare metal server, wherein the first hardware card is configured to:

receive a migration command for the first bare metal server from a cloud management platform;

notify, based on the migration command, the first bare metal server to start a virtual machine manager in the first bare metal server, wherein the virtual machine manager records first dirty memory page location information that is for a first memory of the first bare metal server and that is generated by the first bare metal server:

receive the first dirty memory page location information from the virtual machine manager; and

online migrate a dirty memory page of the first bare metal server to a second bare metal server based on the first dirty memory page location information.

15 . A hardware card comprising:

a processor; and

a memory configured to store instructions executable by the processor to cause the hardware card to:

receive, from a cloud management platform, a migration command for a first bare metal server in which the hardware card is inserted;

notify the first bare metal server to start a virtual machine manager in the first bare metal server based on the migration command, wherein the virtual machine manager records first dirty memory page location information that is for a first memory of the first bare metal server and that is generated by the first bare metal server;

receive the first dirty memory page location information from the virtual machine manager; and

online migrate a dirty memory page of the first bare metal server to a second bare metal server based on the first dirty memory page location information.

16 . The hardware card according to claim 15 , wherein after receiving the a migration command, the hardware card is further caused to record second dirty memory page location information that is for the first memory of the first bare metal server and that is generated by the hardware card.

17 . The hardware card according to claim 15 , wherein the hardware card is further caused to generate an interrupt signal based on the migration command.

18 . The hardware card according to claim 17 , wherein the interrupt signal is a system management interrupt of an x86 processor.

19 . The hardware card according to claim 17 , wherein the interrupt signal is a secure monitor call (SMC) of an ARM processor.

20 . The hardware card according to claim 17 , wherein the interrupt signal is a secure interrupt of an ARM processor.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 22, 2025
From: GONG, LEI
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 071789/0146 →
Priority Claims (2)
CN 202010890874.4 · Aug 29, 2020 · national
CN 202011337002.1 · Nov 25, 2020 · national
Continuity (2)
Continuation PCTCN2021092962 · May 11, 2021
Related Publication 20230214245A1 · Jul 6, 2023
References Cited (19)
US 6122629A · Walker · 2000 [cited by examiner]
US 6643672B1 · Lebel · 2003 [cited by examiner]
US 9733980B1 · Khan · 2017 [cited by examiner]
US 10534629B1 · St. Pierre · 2020 [cited by examiner]
US 20020166118A1 · Kovan · 2002 [cited by examiner]
US 20080098185A1 · Mohideen · 2008 [cited by examiner]
US 20080222633A1 · Kami · 2008 [cited by examiner]
US 20110208908A1 · Chou · 2011 [cited by examiner]
US 20120179874A1 · Chang · 2012 [cited by examiner]
US 20130024598A1 · Serebrin · 2013 [cited by examiner]
US 20130254521A1 · Bealkowski · 2013 [cited by examiner]
US 20140089447A1 · Uchida · 2014 [cited by examiner]
US 20180373553A1 · Connor · 2018 [cited by examiner]
US 20190361728A1 · Kumar · 2019 [cited by examiner]
US 20200257519A1 · Shen · 2020 [cited by examiner]
US 20210089347A1 · Gaonkar · 2021 [cited by examiner]
US 20210406050A1 · Huang · 2021 [cited by examiner]
CN 110879741A · 2020 [cited by applicant]
EP 2879053A1 · 2015 [cited by applicant]