-
公开(公告)号:US20210216360A1
公开(公告)日:2021-07-15
申请号:US17217519
申请日:2021-03-30
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jing LIN , Mohua LI , Sibiao LUO , Hai DENG
Abstract: A virtual machine migration method and apparatus, that the method includes: downloading an image file of a to-be-migrated virtual machine from an object storage; starting a preset command to process the downloaded image file, to obtain a private image corresponding to the image file of the to-be-migrated virtual machine, and provisioning, by using the private image, a virtual machine that runs on a destination virtualization platform, where the preset command is configured based on a difference between a source virtualization platform and the destination virtualization platform. According to the foregoing method, the image file of the to-be-migrated virtual machine is processed by executing the preset command, so that automatic migration of the image file of the to-be-migrated virtual machine can be implemented, and a user does not need to perform a manual operation. This effectively improves migration efficiency and meets a user requirement.