CN107783826B - Virtual machine migration method, device and system - Google Patents

Virtual machine migration method, device and system Download PDF

Info

Publication number
CN107783826B
CN107783826B CN201610737726.2A CN201610737726A CN107783826B CN 107783826 B CN107783826 B CN 107783826B CN 201610737726 A CN201610737726 A CN 201610737726A CN 107783826 B CN107783826 B CN 107783826B
Authority
CN
China
Prior art keywords
physical machine
volume
data
source
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610737726.2A
Other languages
Chinese (zh)
Other versions
CN107783826A (en
Inventor
樊超
归文胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201610737726.2A priority Critical patent/CN107783826B/en
Publication of CN107783826A publication Critical patent/CN107783826A/en
Application granted granted Critical
Publication of CN107783826B publication Critical patent/CN107783826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

The embodiment of the invention provides a virtual machine migration method, a device and a system, wherein the virtual machine migration method comprises the following steps: receiving an empty volume creation request sent by a source physical machine, and creating a target data empty volume in a target physical machine; receiving a data backup file transmitted by a source physical machine and restoring the data backup file to a target data empty volume to obtain a target data volume with effective data; receiving a binary character string corresponding to a source system volume, and generating a target system volume in a target physical machine; and establishing the target virtual machine on the basis of the target system volume and the target data volume to finish the migration of the virtual machine to be migrated. When the scheme provided by the embodiment of the invention is applied to the migration of the virtual machine, the complete binary character string corresponding to the source data volume is not transmitted to the target physical machine, but the target data empty volume is firstly created in the target physical machine, then the data backup file transmitted by the source physical machine is received and is restored to the created target data empty volume, and the time required by the offline migration of the virtual machine is greatly shortened.

Description

Virtual machine migration method, device and system
Technical Field
The present invention relates to the field of virtual machine migration technologies, and in particular, to a virtual machine migration method, apparatus, and system.
Background
With the development of virtual technology, virtual machines are widely applied. In practical applications, migration of a deployed virtual machine in a physical machine is often required for some reason, for example, service execution of the virtual machine is affected when a load of the physical machine is too high, and in this case, migration of the virtual machine in the physical machine is required. Generally, a virtual machine is composed of a system volume and a data volume, and the system volume and the data volume in the virtual machine are only a virtual disk, and such a virtual disk can be understood as a binary string that does not represent valid data content (e.g., can be represented by binary strings of all 0 s, can also be represented by binary strings of all 1 s, etc.). When valid data is written in a data volume, the binary representation of the valid data is needed to overwrite the original binary string fragments in the data volume.
Generally, migration of a virtual machine can be divided into online migration and offline migration according to the running state of the virtual machine in the migration process. The online migration is to migrate the virtual machine in the running state in the source physical machine to the destination physical machine, and the offline migration is to migrate the virtual machine in the shutdown state in the source physical machine to the destination physical machine. In addition, since the online migration has a particularly high requirement on the destination physical machine, for example, the kernel version of the destination physical machine needs to be consistent with that of the source physical machine, and the manufacturer and model of a Central Processing Unit (CPU) also need to be strictly matched, the online migration method is not suitable in many scenarios.
In the prior art, an offline migration scheme is provided: when the data volume is migrated, the source physical machine transmits a complete binary character string corresponding to the data volume of the virtual machine to be migrated to the target physical machine; when the system volume is migrated, the source physical machine transmits the binary string corresponding to the system volume to the target physical machine by calling a bottom layer interface of the virtual machine technology; at this time, the destination physical machine creates a new virtual machine based on the binary character strings corresponding to the system volume and the data volume transmitted by the source physical machine, and then completes the migration of the virtual machine to be migrated.
Although the above offline migration scheme can implement migration of a virtual machine, the above scheme needs to transmit a complete binary string corresponding to a data volume of a virtual machine to be migrated to a destination physical machine, and actually, only a small amount of valid data may be written in the data volume, that is, a binary string representing valid data may be only a binary string segment with a small data amount, so when the above scheme is used to perform offline migration of a virtual machine, an offline migration time of the virtual machine is likely to be long, and particularly when the data amount of the binary string corresponding to the data volume is large, an interruption time of a service provided by the virtual machine to be migrated is also likely to be too long.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a system for migrating a virtual machine, so as to shorten time required for offline migration of the virtual machine and shorten service interruption time.
In order to achieve the above object, an embodiment of the present invention discloses a virtual machine migration method, which is applied to a target physical machine to which a virtual machine needs to be migrated, and the method includes:
receiving an empty volume creation request aiming at a source data volume and sent by a source physical machine;
after receiving the empty volume creation request, creating a target data empty volume in the target physical machine;
receiving a data backup file transmitted by the source physical machine, and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
receiving a binary string corresponding to a source system volume transmitted by the source physical machine, and generating a target system volume in the target physical machine; wherein the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume;
and creating a target virtual machine on the basis of the target system volume and the target data volume, and completing the migration of the virtual machine to be migrated.
Optionally, the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
Optionally, the method further includes: after the target data empty volume is established, sending a feedback signal of the established target data empty volume to the source physical machine;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
Optionally, the destination physical machine is determined by the management server from each managed physical machine based on a preset destination physical machine determination rule after the virtual machine in the source physical machine satisfies a preset migration condition and the source physical machine sends an obtaining request for obtaining the destination physical machine to the management server.
Optionally, the preset migration condition is determined to be satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine.
Optionally, the determining, by the management server, from each managed physical machine based on a preset destination physical machine determination rule includes:
and the management server determines a target physical machine according to the current available resources of each physical machine except the source physical machine and/or the CPU utilization rate of the central processing unit.
Optionally, the receiving a binary string corresponding to the source system volume transmitted by the source physical machine includes:
receiving a binary string corresponding to a source system volume transmitted by an underlying interface of the source physical machine calling a virtualization technique.
Optionally, the creating a destination virtual machine based on the destination system volume and the destination data volume, and after completing the migration of the virtual machine to be migrated, the method further includes:
starting the created target virtual machine in the target physical machine;
and after the target virtual machine is successfully started, sending a signal for indicating that the target virtual machine is successfully started to the source physical machine, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
In order to achieve the above object, an embodiment of the present invention discloses a virtual machine migration apparatus, which is applied to a target physical machine to which a virtual machine needs to be migrated, and the apparatus includes:
the request receiving module is used for receiving an empty volume creation request aiming at a source data volume and sent by a source physical machine;
the empty volume creating module is used for creating a target data empty volume in the target physical machine after the request receiving module receives the empty volume creating request;
the data volume generation module is used for receiving the data backup file transmitted by the source physical machine and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
the system volume generating module is used for receiving the binary character string corresponding to the source system volume transmitted by the source physical machine and generating a target system volume in the target physical machine; wherein the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume;
and the virtual machine migration module is used for creating a target virtual machine on the basis of the target system volume and the target data volume and finishing the migration of the virtual machine to be migrated.
Optionally, the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
Optionally, the method further includes: the signal feedback module is used for sending a feedback signal that the target data empty volume is established to the source physical machine after the target data empty volume is established;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
Optionally, the destination physical machine is determined by the management server from each managed physical machine based on a preset destination physical machine determination rule after the virtual machine in the source physical machine satisfies a preset migration condition and the source physical machine sends an obtaining request for obtaining the destination physical machine to the management server.
Optionally, the preset migration condition is determined to be satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine.
Optionally, the determining, by the management server, from each managed physical machine based on a preset destination physical machine determination rule includes:
and the management server determines a target physical machine according to the current available resources of each physical machine except the source physical machine and/or the CPU utilization rate of the central processing unit.
Optionally, the system volume generation module is specifically configured to:
and receiving a binary character string corresponding to the source system volume transmitted by the bottom layer interface of the calling virtualization technology of the source physical machine, and generating a target system volume in the target physical machine.
Optionally, the method further includes: the virtual machine starting module is used for starting the target virtual machine created in the target physical machine after the virtual machine migration module completes the migration of the virtual machine to be migrated;
and the virtual machine deleting module is used for sending a signal for indicating that the target virtual machine is successfully started to the source physical machine after the target virtual machine is successfully started, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
In order to achieve the above object, an embodiment of the present invention discloses a virtual machine migration system, including: a source physical machine where a virtual machine to be migrated is located and a destination physical machine to which the virtual machine to be migrated needs to be migrated; wherein the content of the first and second substances,
the source physical machine is used for sending an empty volume creating request aiming at a source data volume to the target physical machine; transmitting a data backup file to the target physical machine; transmitting the binary character string corresponding to the source system volume to the target physical machine;
the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
the destination physical machine is configured to receive the empty volume creation request sent by the source physical machine, and create a destination data empty volume in the destination physical machine after receiving the empty volume creation request; receiving a data backup file transmitted by the source physical machine, and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; receiving a binary string corresponding to a source system volume transmitted by the source physical machine, and generating a target system volume in the target physical machine; creating a target virtual machine on the basis of the target system volume and the target data volume, and completing the migration of the virtual machine to be migrated;
wherein the binary string corresponding to the destination system volume is identical to the binary string corresponding to the source system volume.
Optionally, the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
Optionally, the destination physical machine is further configured to send a feedback signal that the destination data empty volume has been created to the source physical machine after the destination data empty volume has been created;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
Optionally, the method further includes: the management server is used for managing a plurality of physical machines; when the virtual machine in the source physical machine meets a preset migration condition, receiving an obtaining request for obtaining a target physical machine sent by the source physical machine, and after receiving the obtaining request, determining one physical machine from the managed physical machines as the target physical machine based on a preset target physical machine determination rule.
Optionally, the preset migration condition is determined to be satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine.
Optionally, the management server is specifically configured to:
and determining the destination physical machine according to the current available resources of the physical machines except the source physical machine and/or the CPU utilization rate.
Optionally, the destination physical machine is specifically configured to:
receiving a binary string corresponding to a source system volume transmitted by an underlying interface of the source physical machine calling a virtualization technique.
Optionally, the destination physical machine is further configured to start the destination virtual machine created in the destination physical machine after the migration of the virtual machine to be migrated is completed; after the target virtual machine is successfully started, sending a signal for indicating that the target virtual machine is successfully started to the source physical machine;
the source physical machine is further configured to delete the virtual machine to be migrated in the source physical machine after receiving the signal indicating that the destination virtual machine is successfully started.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, a complete binary character string corresponding to a source data volume is not transmitted to a target physical machine, but a target data empty volume is firstly created in the target physical machine, then a data backup file transmitted by the source physical machine is received and restored to the created target data empty volume, so that a target data volume with effective data is obtained.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a virtual machine migration method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another virtual machine migration method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a virtual machine migration apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another virtual machine migration apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a virtual machine migration system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another virtual machine migration system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to shorten the time required by the offline migration of the virtual machine and shorten the service interruption time, embodiments of the present invention provide a virtual machine migration method, apparatus, and system.
It should be noted that the virtual machine migration scheme provided by the embodiment of the present invention may be applied to the field of cloud computing. The virtual machine technology is a key technology in the field of cloud computing, a plurality of virtual machines can be operated on one physical machine through the virtual machine technology, and each virtual machine is an independent system and does not influence each other. At present, a cloud computing data center is mainly constructed based on a virtual machine technology, and in the construction process of the cloud computing data center, resources such as computing resources, storage resources and networks in each physical machine can be virtualized into a resource pool, so that each virtual machine can use various resources in the virtual pool as required, which is obviously beneficial to resource expansion and resource utilization rate improvement.
First, a virtual machine migration method provided in an embodiment of the present invention is described below.
It should be noted that the virtual machine migration method provided in the embodiment of the present invention is applied to a destination physical machine to which a virtual machine needs to be migrated.
In computer science, a virtual machine refers to a special software that can operate as a real physical machine, and specifically, a virtual machine can create an environment between a computer platform and an end user, and the end user can operate based on the environment created by the software.
The target physical machine is determined from each managed physical machine by the management server based on a preset target physical machine determination rule after the virtual machine in the source physical machine meets a preset migration condition and the source physical machine sends an obtaining request for obtaining the target physical machine to the management server; the source physical machine is the physical machine where the virtual machine to be migrated is located.
Specifically, when a virtual machine located in a source physical machine meets the preset migration condition, the virtual machine is determined as a virtual machine to be migrated; before migration of a virtual machine to be migrated is carried out, the virtual machine needs to send an obtaining request to a management server, wherein the obtaining request aims at obtaining address information of a target physical machine; after receiving the request, the management server may determine, according to the preset destination physical machine determination rule, one physical machine from the multiple managed physical machines as a destination physical machine, and feed back address information of the determined destination physical machine to the source physical machine, so that the source physical machine may perform communication connection with the destination physical machine based on the obtained address information, thereby performing data transmission of a subsequent virtual machine to be migrated in a migration process. The management server may manage a plurality of physical machines including a destination physical machine and a source physical machine, and the management server stores operating state parameters of the respective physical machines. For example, the operating state parameter may be available resources, CPU usage, etc.
Wherein the predetermined migration condition is determined to be satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is larger than the preset number of virtual machines;
(2) a source physical machine failure;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine.
In one implementation, the management server may determine the destination physical machine based on the currently available resources and/or CPU usage of each physical machine managed, other than the source physical machine. For example, the physical machine with the most available resources may be determined as the destination physical machine, the physical machine with the lowest CPU utilization may be determined as the destination physical machine, and two factors of the available resources and the CPU may be considered together to determine the destination physical machine, for example, the physical machine with the most available resources and the CPU utilization not exceeding 30% may be determined as the destination physical machine. It should be noted that, the above list only lists some specific examples of determining the destination physical machine according to the available resources and/or the CPU utilization, and when the management server determines the destination physical machine, the list is not limited to the above listed specific examples.
Specifically, the virtual machine migration method shown in fig. 1 may include the following steps:
s101: an empty volume creation request for a source data volume sent by a source physical machine is received.
Specifically, after the source physical machine establishes a communication connection with the destination physical machine determined by the management server, a migration process of the virtual machine to be migrated may be entered, where first the source physical machine needs to send an empty volume creation request to the destination physical machine, and then the destination physical machine executes a subsequent step of creating an empty volume of the destination data volume after receiving the empty volume creation request.
S102: and after receiving the empty volume creation request, creating the destination data empty volume in the destination physical machine.
Specifically, the empty volume creation request transmitted by the source physical machine may carry the size of the data amount of the binary string that can be represented by the active data volume, or of course, may not carry the size of the data amount of the binary string that can be represented by the source data volume. For the former, the data size of the binary string that can be represented by the destination data empty volume created in the destination physical machine is not less than the data size of the binary string that can be represented by the source data volume carried in the empty volume creation request; in the latter case, the data size of the binary string that can be represented by the destination data empty volume created in the destination physical machine is not less than the preset data size, which can be set empirically by those skilled in the art and is usually greater than the data size of the binary string that can be represented by the source data volume. It should be noted that, in the embodiment of the present invention, it is not limited to whether the source physical machine carries the size of the data volume of the binary string that can be represented by the source data volume, and a person skilled in the art may perform reasonable setting according to the specific situation in the actual application.
Specifically, after receiving the empty volume wearing request sent by the source physical machine, the destination physical machine locally creates an empty volume of the destination data volume, where it should be noted that the empty volume of the destination data volume is a binary string that does not represent valid data content, and the created empty volume of the destination data volume can be understood as a virtual disk to which valid data is not written.
S103: and receiving the data backup file transmitted by the source physical machine, and restoring the data backup file to the target data empty volume to obtain the target data volume with effective data.
The data backup file is a file generated by the source physical machine to the source data volume according to an incremental data backup mode, and the data backup file stores a target position of data written in the source data volume and current valid data of the target position.
In one implementation, after the creation of the destination data empty volume is completed, a feedback signal that the destination data empty volume has been created is sent to the source physical machine; accordingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal. Specifically, after the creation of the empty volume of the target data is completed, the target physical machine needs to send a feedback signal for indicating that the empty volume of the target data has been created to the source physical machine; after receiving the feedback signal, the source physical machine transmits a data backup file for the source data volume to the destination physical machine, and then the destination physical machine can restore the data backup file to an empty destination data volume according to the existing reloading technology, so that a destination data volume with valid data is obtained.
The data backup file is a file generated by the source physical machine according to an incremental data backup mode, the incremental data backup is one of data backups, and when the data backup is performed, only all modified files after the last backup are backed up; for example, if the source data volume is backed up at time t1, assuming that only the file 1 is modified from time t1 to time t2, when the source data volume is backed up again at time t2, only the modified file 1 in the time period corresponding to time t1 to time t2 needs to be backed up.
In addition, the data size of the data backup file is usually much smaller than the data size of the binary string that can be represented by the source data volume, so the time required for generating the destination data volume according to steps S101 to S103 is much shorter than the time required for directly transmitting the complete binary string corresponding to the source data volume to the destination physical machine, which is beneficial to shortening the time required for the offline migration of the virtual machine.
It should be noted that there is no strict sequential execution order between the two steps of creating the empty target data volume by the target physical machine and receiving the data backup file by the target physical machine, but the target physical machine must be created after receiving the space creation request sent by the source physical machine, and the data backup file must be received before data recovery to the empty target data volume, and only when the empty target data volume and the data backup file are both owned, the data backup file can be recovered to the empty target data volume, so as to obtain the target data volume with valid data.
S104: and receiving the binary character string corresponding to the source system volume transmitted by the source physical machine, and generating the target system volume in the target physical machine.
And the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume.
In one implementation, a binary string corresponding to a source system volume transmitted by a source physical machine may be received as follows:
a binary string corresponding to a source system volume transmitted by a source physical machine invoking an underlying interface of a virtualization technique is received.
It should be noted that there is no strict sequence between the request sending time of the source physical machine sending the empty volume creation request to the destination physical machine and the transmission time of the binary string corresponding to the system volume transmitted by the source physical machine to the destination physical machine, that is, the source physical machine may send the empty volume creation request to the destination physical machine first, or may transmit the binary string corresponding to the system volume to the destination physical machine first.
Correspondingly, the embodiment of the present invention also does not need to strictly limit the execution sequence between steps S101 to S103 and step S104, that is, when the source physical machine first sends an empty volume creation request to the destination physical machine, the destination physical machine may first execute steps S101 to S103 to create the destination data volume; when the source physical machine first transmits the binary string corresponding to the system volume to the destination physical machine, the destination physical machine may first perform step S104 to create the destination system volume.
S105: and establishing the target virtual machine on the basis of the target system volume and the target data volume to finish the migration of the virtual machine to be migrated.
It should be noted that, after the creation of the destination system volume and the destination data volume is completed, the virtual machines corresponding to the destination system volume and the destination data volume may be created on the destination physical machine, and the created virtual machines are consistent with the service functions completed by the virtual machines to be migrated in the source physical machine, thereby implementing the migration of the virtual machines to be migrated in the source physical machine.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, a complete binary character string corresponding to a source data volume is not transmitted to a target physical machine, but a target data empty volume is firstly created in the target physical machine, then a data backup file transmitted by the source physical machine is received and restored to the created target data empty volume, so that a target data volume with effective data is obtained.
As shown in fig. 2, another virtual machine migration method provided in the embodiment of the present invention may further include, after step S105, the following steps based on the embodiment of the method shown in fig. 1:
s106: and starting the created destination virtual machine in the destination physical machine.
Specifically, after the destination virtual machine is created on the destination physical machine, virtual machine tool software (e.g., VMware borui virtual machine software) can be utilized to start the created destination virtual machine.
S107: and after the target virtual machine is successfully started, sending a signal for indicating that the target virtual machine is successfully started to the source physical machine, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
After the target virtual machine is successfully started, it is indicated that the virtual machine to be migrated has been successfully migrated to the target physical machine, so that the target physical machine can send a signal for indicating that the target virtual machine has been successfully started to the source physical machine; therefore, after the source physical machine receives the signal, the virtual machine to be migrated can be determined to be successfully migrated to the destination physical machine, so that the source physical machine can perform corresponding deletion operation on the virtual machine to be migrated, and resources in the source physical machine occupied by the virtual machine to be migrated are released.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, in addition to the beneficial effects of the method embodiment shown in fig. 1, the target physical machine sends a signal to the source physical machine after the target physical machine is successfully started, so that the source physical machine can delete the virtual machine to be migrated, which has been completed, from the source physical machine in time, and further release the resources in the source physical machine occupied by the virtual machine to be migrated, thereby being beneficial to the reasonable use of the resources in the source physical machine.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a virtual machine migration apparatus. The following describes a virtual machine migration apparatus according to an embodiment of the present invention.
As shown in fig. 3, the virtual machine migration apparatus provided in the present invention is applied to a destination physical machine to which a virtual machine needs to be migrated.
In an embodiment of the present invention, the destination physical machine is determined by the management server from the managed physical machines based on a preset destination physical machine determination rule after the virtual machine in the source physical machine satisfies the preset migration condition and the source physical machine sends an obtaining request for obtaining the destination physical machine to the management server.
Specifically, it is determined that the preset migration condition is satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is larger than the preset number of virtual machines;
(2) a source physical machine failure;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine.
In one implementation, the management server determines the destination physical machine according to the currently available resources and/or CPU utilization of each physical machine other than the source physical machine.
Specifically, the virtual machine migration apparatus shown in fig. 3 may include the following modules:
a request receiving module 210, configured to receive an empty volume creation request for a source data volume sent by a source physical machine; the source physical machine is a physical machine where the virtual machine to be migrated is located, and the source data volume is a data volume of the virtual machine to be migrated.
The empty volume creating module 220 is configured to create an empty volume of the destination data in the destination physical machine after the request receiving module 210 receives the empty volume creation request.
And the data volume generating module 230 is configured to receive the data backup file transmitted by the source physical machine, and restore the data backup file to an empty destination data volume to obtain a destination data volume with valid data.
The data backup file is a file generated by the source physical machine to the source data volume according to an incremental data backup mode, and the data backup file stores a target position of data written in the source data volume and current valid data of the target position.
And the system volume generating module 240 is configured to receive the binary string corresponding to the source system volume transmitted by the source physical machine, and generate the destination system volume in the destination physical machine.
And the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume.
And a virtual machine migration module 250, configured to create a destination virtual machine based on the destination system volume and the destination data volume, and complete migration of the virtual machine to be migrated.
In one implementation, the empty volume creation request carries the size of the data size of the binary string that can be represented by the active data volume; and the data quantity of the binary character strings which can be represented by the created target data empty volume is not less than the data quantity of the binary character strings which can be represented by the source data volume and is carried in the empty volume creation request.
Specifically, the virtual machine migration apparatus may further include: the signal feedback module is used for sending a feedback signal that the target data empty volume is established to the source physical machine after the target data empty volume is established; accordingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
In one implementation, the system volume generation module 240 is specifically configured to:
and receiving a binary character string corresponding to the source system volume transmitted by the bottom layer interface of the calling virtualization technology of the source physical machine, and generating the destination system volume in the destination physical machine.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, a complete binary character string corresponding to a source data volume is not transmitted to a target physical machine, but a target data empty volume is firstly created in the target physical machine, then a data backup file transmitted by the source physical machine is received and restored to the created target data empty volume, so that a target data volume with effective data is obtained.
As shown in fig. 4, another virtual machine migration apparatus provided in the embodiment of the present invention may further include the following modules based on the apparatus embodiment shown in fig. 3:
the virtual machine starting module 260 is configured to start the destination virtual machine created in the destination physical machine after the virtual machine migration module 250 completes the migration of the virtual machine to be migrated.
The virtual machine deleting module 270 is configured to send a signal indicating that the destination virtual machine is successfully started to the source physical machine after the destination virtual machine is successfully started, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, in addition to the beneficial effects of the device embodiment shown in fig. 3, the target physical machine sends a signal to the source physical machine after the target physical machine is successfully started, so that the source physical machine can delete the virtual machine to be migrated, which has been completed, from the source physical machine in time, and further release the resources in the source physical machine occupied by the virtual machine to be migrated, thereby being beneficial to the reasonable use of the resources in the source physical machine.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a virtual machine migration system. A virtual machine migration system provided in an embodiment of the present invention is described below.
As shown in fig. 5, a virtual machine migration system provided for an embodiment of the present invention may include: the source physical machine 310 where the virtual machine to be migrated is located and the destination physical machine 320 to which the virtual machine to be migrated needs to be migrated.
The source physical machine 310 is configured to send an empty volume creation request for the source data volume to the destination physical machine 320; transmitting the data backup file to the destination physical machine 320; and transmitting the binary string corresponding to the source system volume to the destination physical machine 320.
The source data volume is a data volume of the virtual machine to be migrated; the data backup file is a file generated by the source physical machine 310 according to the incremental data backup method for the source data volume, and the data backup file stores a target position of the written data in the source data volume and current valid data of the target position.
The destination physical machine 320 is configured to receive an empty volume creation request sent by the source physical machine 310, and create an empty volume of destination data in the destination physical machine 320 after receiving the empty volume creation request; receiving a data backup file transmitted by the source physical machine 310, and restoring the data backup file to a destination data empty volume to obtain a destination data volume with valid data; receiving a binary string corresponding to the source system volume transmitted by the source physical machine 310, and generating a destination system volume in the destination physical machine 320; and establishing the target virtual machine on the basis of the target system volume and the target data volume to finish the migration of the virtual machine to be migrated.
The data volume of the binary character strings which can be represented by the target data empty volume is not less than the data volume of the binary character strings which can be represented by the source data volume and is carried in the empty volume creation request; wherein the binary string corresponding to the destination system volume is identical to the binary string corresponding to the source system volume.
In one implementation, the empty volume creation request carries the size of the data size of the binary string that can be represented by the active data volume; and the data quantity of the binary character strings which can be represented by the created target data empty volume is not less than the data quantity of the binary character strings which can be represented by the source data volume and is carried in the empty volume creation request.
Specifically, the destination physical machine 320 is further configured to send a feedback signal that the destination data empty volume has been created to the source physical machine after the destination data empty volume has been created; accordingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, a complete binary character string corresponding to a source data volume is not transmitted to a target physical machine, but a target data empty volume is firstly created in the target physical machine, then a data backup file transmitted by the source physical machine is received and restored to the created target data empty volume, so that a target data volume with effective data is obtained.
As shown in fig. 6, another virtual machine migration system provided for the embodiment of the present invention may further include, based on the embodiment of the system shown in fig. 5:
a management server 330 for managing a plurality of physical machines; when the virtual machine in the source physical machine 310 meets the preset migration condition, an obtaining request for obtaining the destination physical machine 320 sent by the source physical machine 310 is received, and after the obtaining request is received, one physical machine is determined as the destination physical machine 320 from the managed physical machines based on the preset determination rule of the destination physical machine 320.
Specifically, it is determined that the preset migration condition is satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines created on the source physical machine 310 is greater than the preset number of virtual machines;
(2) source physical machine 310 failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine 310.
The management server 330 is specifically configured to:
the destination physical machine 320 is determined based on the current available resources and/or CPU utilization of each physical machine managed, other than the source physical machine 310.
The destination physical machine 320 is specifically configured to:
the binary string corresponding to the source system volume transmitted by the underlying interface of the receiving source physical machine 310 call the virtualization technique.
In one implementation, the destination physical machine 320 is further configured to start the destination virtual machine created in the destination physical machine 320 after the migration of the virtual machine to be migrated is completed; after the destination virtual machine is successfully started, a signal indicating that the destination virtual machine has been successfully started is sent to the source physical machine 310;
the source physical machine 310 is further configured to delete the virtual machine to be migrated in the source physical machine 310 after receiving the signal indicating that the destination virtual machine has been successfully started.
When the scheme provided by the embodiment of the invention is applied to virtual machine migration, in addition to the beneficial effects of the system embodiment shown in fig. 5, the target physical machine sends a signal to the source physical machine after the target physical machine is successfully started, so that the source physical machine can delete the virtual machine to be migrated, which has been completed, from the source physical machine in time, and further release the resources in the source physical machine occupied by the virtual machine to be migrated, thereby being beneficial to the reasonable use of the resources in the source physical machine.
For system or apparatus embodiments, since they are substantially similar to method embodiments, they are described in relative simplicity, and reference may be made to some descriptions of method embodiments for related points.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (15)

1. A virtual machine migration method is applied to a destination physical machine to which a virtual machine needs to be migrated, and comprises the following steps:
receiving an empty volume creation request aiming at a source data volume and sent by a source physical machine;
after receiving the empty volume creation request, creating a target data empty volume in the target physical machine; the target physical machine is determined by the management server according to the current available resources of each physical machine except the source physical machine and/or the CPU utilization rate of the central processing unit after the virtual machine in the source physical machine meets the preset migration condition and the source physical machine sends an obtaining request for obtaining the target physical machine to the management server;
determining that the preset migration condition is satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine;
receiving a data backup file transmitted by the source physical machine, and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
receiving a binary string corresponding to a source system volume transmitted by the source physical machine, and generating a target system volume in the target physical machine; wherein the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume;
and creating a target virtual machine on the basis of the target system volume and the target data volume, and completing the migration of the virtual machine to be migrated.
2. The method according to claim 1, wherein the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
3. The method of claim 1, further comprising:
after the target data empty volume is established, sending a feedback signal of the established target data empty volume to the source physical machine;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
4. The method according to any one of claims 1-3, wherein the receiving a binary string corresponding to a source system volume transmitted by the source physical machine comprises:
receiving a binary string corresponding to a source system volume transmitted by an underlying interface of the source physical machine calling a virtualization technique.
5. The method according to any one of claims 1 to 3, wherein the creating a destination virtual machine based on the destination system volume and the destination data volume further comprises, after the migration of the virtual machine to be migrated is completed:
starting the created target virtual machine in the target physical machine;
and after the target virtual machine is successfully started, sending a signal for indicating that the target virtual machine is successfully started to the source physical machine, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
6. A virtual machine migration apparatus is applied to a destination physical machine to which a virtual machine needs to be migrated, and the apparatus includes:
the request receiving module is used for receiving an empty volume creation request aiming at a source data volume and sent by a source physical machine;
the empty volume creating module is used for creating a target data empty volume in the target physical machine after the request receiving module receives the empty volume creating request; the target physical machine is determined by the management server according to the current available resources of each physical machine except the source physical machine and/or the CPU utilization rate of the central processing unit after the virtual machine in the source physical machine meets the preset migration condition and the source physical machine sends an obtaining request for obtaining the target physical machine to the management server;
determining that the preset migration condition is satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine;
the data volume generation module is used for receiving the data backup file transmitted by the source physical machine and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
the system volume generating module is used for receiving the binary character string corresponding to the source system volume transmitted by the source physical machine and generating a target system volume in the target physical machine; wherein the binary character string corresponding to the target system volume is consistent with the binary character string corresponding to the source system volume;
and the virtual machine migration module is used for creating a target virtual machine on the basis of the target system volume and the target data volume and finishing the migration of the virtual machine to be migrated.
7. The apparatus according to claim 6, wherein the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
8. The apparatus of claim 6, further comprising:
the signal feedback module is used for sending a feedback signal that the target data empty volume is established to the source physical machine after the target data empty volume is established;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
9. The apparatus according to any one of claims 6 to 8, wherein the system volume generation module is specifically configured to:
and receiving a binary character string corresponding to the source system volume transmitted by the bottom layer interface of the calling virtualization technology of the source physical machine, and generating a target system volume in the target physical machine.
10. The apparatus of any of claims 6-8, further comprising:
the virtual machine starting module is used for starting the target virtual machine created in the target physical machine after the virtual machine migration module completes the migration of the virtual machine to be migrated;
and the virtual machine deleting module is used for sending a signal for indicating that the target virtual machine is successfully started to the source physical machine after the target virtual machine is successfully started, so that the source physical machine deletes the virtual machine to be migrated in the source physical machine after receiving the signal.
11. A virtual machine migration system, comprising: the virtual machine migration method comprises the steps that a source physical machine where a virtual machine to be migrated is located, a target physical machine to which the virtual machine to be migrated needs to be migrated, and a management server; wherein the content of the first and second substances,
the management server is used for managing a plurality of physical machines; when a virtual machine in the source physical machine meets a preset migration condition, receiving an obtaining request for obtaining a target physical machine sent by the source physical machine, and after receiving the obtaining request, determining the target physical machine according to the current available resources of each physical machine except the source physical machine and/or the CPU utilization rate of a Central Processing Unit (CPU);
determining that the preset migration condition is satisfied when at least one of the following enumerated conditions is met:
(1) the number of virtual machines established on the source physical machine is greater than the preset number of virtual machines;
(2) the source physical machine failed;
(3) at least 2 virtual machines established for the purpose of high availability of virtual machines are created in the source physical machine;
the source physical machine is used for sending an empty volume creating request aiming at a source data volume to the target physical machine; transmitting a data backup file to the target physical machine; transmitting the binary character string corresponding to the source system volume to the target physical machine;
the data backup file is generated by the source physical machine according to an incremental data backup mode on the source data volume, and a target position where data are written in the source data volume and current valid data of the target position are stored in the data backup file;
the destination physical machine is configured to receive the empty volume creation request sent by the source physical machine, and create a destination data empty volume in the destination physical machine after receiving the empty volume creation request; receiving a data backup file transmitted by the source physical machine, and restoring the data backup file to the target data empty volume to obtain a target data volume with effective data; receiving a binary string corresponding to a source system volume transmitted by the source physical machine, and generating a target system volume in the target physical machine; creating a target virtual machine on the basis of the target system volume and the target data volume, and completing the migration of the virtual machine to be migrated;
wherein the binary string corresponding to the destination system volume is identical to the binary string corresponding to the source system volume.
12. The system according to claim 11, wherein the empty volume creation request carries a size of a data amount of a binary string that can be represented by the source data volume;
wherein the created data volume of the binary character string which can be represented by the destination data empty volume is not less than the data volume of the binary character string which can be represented by the source data volume and is carried in the empty volume creation request.
13. The system of claim 11, wherein the destination physical machine is further configured to send a feedback signal to the source physical machine that the destination data empty volume has been created after the creation of the destination data empty volume is completed;
correspondingly, the data backup file is transmitted by the source physical machine after receiving the feedback signal.
14. The system according to any one of claims 11 to 13, characterized in that the destination physical machine is specifically configured to:
receiving a binary string corresponding to a source system volume transmitted by an underlying interface of the source physical machine calling a virtualization technique.
15. The system according to any one of claims 11-13,
the destination physical machine is further configured to start the destination virtual machine created in the destination physical machine after the migration of the virtual machine to be migrated is completed; after the target virtual machine is successfully started, sending a signal for indicating that the target virtual machine is successfully started to the source physical machine;
the source physical machine is further configured to delete the virtual machine to be migrated in the source physical machine after receiving the signal indicating that the destination virtual machine is successfully started.
CN201610737726.2A 2016-08-26 2016-08-26 Virtual machine migration method, device and system Active CN107783826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610737726.2A CN107783826B (en) 2016-08-26 2016-08-26 Virtual machine migration method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610737726.2A CN107783826B (en) 2016-08-26 2016-08-26 Virtual machine migration method, device and system

Publications (2)

Publication Number Publication Date
CN107783826A CN107783826A (en) 2018-03-09
CN107783826B true CN107783826B (en) 2021-07-09

Family

ID=61440225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610737726.2A Active CN107783826B (en) 2016-08-26 2016-08-26 Virtual machine migration method, device and system

Country Status (1)

Country Link
CN (1) CN107783826B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445908B (en) * 2018-10-30 2021-04-27 杭州炎魂网络科技有限公司 Virtual machine backup method and system
CN113051026B (en) * 2019-12-27 2022-12-13 中移(苏州)软件技术有限公司 Virtual machine creating method and device and storage medium
CN112596948B (en) * 2020-12-21 2024-04-02 深圳市科力锐科技有限公司 Database cluster data backup method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN102821158A (en) * 2012-08-20 2012-12-12 广州杰赛科技股份有限公司 Method and cloud system for realizing virtual machine migration
CN104536816A (en) * 2014-12-17 2015-04-22 中电科华云信息技术有限公司 Method for improving migration efficiency of virtual machine
CN105117274A (en) * 2015-09-16 2015-12-02 北京百度网讯科技有限公司 Method and device for transferring virtual machines

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724277B (en) * 2012-05-04 2016-01-06 华为技术有限公司 The method of live migration of virtual machine and deployment, server and group system
US9609086B2 (en) * 2013-03-15 2017-03-28 International Business Machines Corporation Virtual machine mobility using OpenFlow
CN104750554B (en) * 2013-12-31 2018-03-23 ***通信集团公司 The method and apparatus of Data Migration between a kind of virtual machine
US9563569B2 (en) * 2014-01-28 2017-02-07 Red Hat Israel, Ltd. Memory transformation in virtual machine live migration
CN105138394A (en) * 2015-09-21 2015-12-09 上海爱数软件有限公司 Method for thermally migrating K virtual machine (KVM) and system
CN105700945B (en) * 2016-01-12 2019-01-11 中南大学 A kind of secure virtual machine moving method based on clean

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN102821158A (en) * 2012-08-20 2012-12-12 广州杰赛科技股份有限公司 Method and cloud system for realizing virtual machine migration
CN104536816A (en) * 2014-12-17 2015-04-22 中电科华云信息技术有限公司 Method for improving migration efficiency of virtual machine
CN105117274A (en) * 2015-09-16 2015-12-02 北京百度网讯科技有限公司 Method and device for transferring virtual machines

Also Published As

Publication number Publication date
CN107783826A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN109558215B (en) Backup method, recovery method and device of virtual machine and backup server cluster
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
US20190384678A1 (en) System and method for managing backup and restore of objects over cloud platforms
CN104461744A (en) Resource allocation method and device
US10445186B1 (en) Associating a guest application within a virtual machine to create dependencies in backup/restore policy
CN110247984B (en) Service processing method, device and storage medium
JP2011118557A (en) Migration management method for virtual machine, computer using the same, virtualization mechanism using the same and computer system using the same
US10204021B2 (en) Recovery of an infected and quarantined file in a primary storage controller from a secondary storage controller
US10067836B1 (en) Configuration based intelligent protection modeling
CN108763405A (en) A kind of business datum moving method, device, system and readable storage medium storing program for executing
CN107783826B (en) Virtual machine migration method, device and system
CN114090179A (en) Migration method and device of stateful service and server
CN111625498B (en) Data migration method, system, electronic equipment and storage medium
CN112328365A (en) Virtual machine migration method, device, equipment and storage medium
CN105867962A (en) System upgrading method and device
KR20180122593A (en) How to delete a cloud host in a cloud computing environment, devices, servers, and storage media
CN111078119A (en) Data reconstruction method, system, device and computer readable storage medium
CN107402839A (en) A kind of method and system of Backup Data
US20230376357A1 (en) Scaling virtualization resource units of applications
EP3316518B1 (en) Method and device for upgrading virtual network element, and computer storage medium
CN112631994A (en) Data migration method and system
US10942821B1 (en) Method and apparatus for dynamic binding and unbinding thin logical storage volumes to snapshots of a file system
CN111722909A (en) Virtual machine migration method, system, equipment and storage medium
CN115277398A (en) Cluster network configuration method and device
CN112445571A (en) Virtual machine migration and management method, server and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant