主权项 |
1. A data migration method for memory modules in a server, comprising:
obtaining, by a processor in response to receiving a data migration request for a first memory module, a second memory module, and sending a mirror relationship establishment instruction to a first agent apparatus, wherein the first memory module is in a running state and the second memory module is in an idle state; receiving, by the first agent apparatus, the mirror relationship establishment instruction, and establishing a mirror relationship with a second agent apparatus; sending, by the processor, a data migration instruction to the first agent apparatus; receiving, by the first agent apparatus, the data migration instruction, and sending data in the first memory module to the second agent apparatus; and writing, by the second agent apparatus, the data in the first memory module into the second memory module. |