CN104298553A - Virtual machine migration method, VRMS (Virtual Resource Management System) and system - Google Patents

Virtual machine migration method, VRMS (Virtual Resource Management System) and system Download PDF

Info

Publication number
CN104298553A
CN104298553A CN201310298866.0A CN201310298866A CN104298553A CN 104298553 A CN104298553 A CN 104298553A CN 201310298866 A CN201310298866 A CN 201310298866A CN 104298553 A CN104298553 A CN 104298553A
Authority
CN
China
Prior art keywords
management system
application software
vrms
address information
migration
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.)
Granted
Application number
CN201310298866.0A
Other languages
Chinese (zh)
Other versions
CN104298553B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310298866.0A priority Critical patent/CN104298553B/en
Publication of CN104298553A publication Critical patent/CN104298553A/en
Application granted granted Critical
Publication of CN104298553B publication Critical patent/CN104298553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention provides a virtual machine migration method, which comprises the following steps: when a VRMS (Virtual Resource Management System) determines that a VM (Virtual Machine) needs to be migrated, obtaining the address information of the VM and application software operating on the VM; sending a migration notification message to a management system of the application software; and notifying the management system of the application software to forbid o start a backup server by aiming at the VM according to address information, which is carried in the migration notification message, of the VM when the VM is migrated. Therefore, a phenomenon that a backup node is started by a management system corresponding to the application software operating on the VM when the VM is migrated can be avoided, and node conflict after migration is finished is avoided.

Description

A kind of method of virtual machine (vm) migration, VRMS and system
Technical field
The present invention relates to communication technical field, especially a kind of method of virtual machine (vm) migration, VRMS and system.
Background technology
In recent years, along with the continuous rise of the technology such as cloud computing, data center, distributed environment, server virtualization technology more and more becomes the focus of IT field.Server virtualization refers to and server physical resource is abstracted into logical resource, a station server is allowed to become several even up to a hundred mutually isolated virtual servers, allowing the hardware such as CPU, internal memory, disk, I/O become can " resource pool " of dynamic management, thus improve the utilization factor of resource, simplification system manages, realize Server Consolidation, allow the change of IT to business have more adaptive faculty.Now, the virtualization system such as Xen, VMware has become the commercial virtualization product of comparative maturity.
Virtual machine (vm) migration
Virtual machine migration technology is that server virtualization provides method easily.Virtual machine (vm) migration refers to when in the situation such as need to adjust the Resourse Distribute of virtual machine, certain host needs repairing in data center between host, a dummy machine system is moved to the process of another physical host from a physical host.The essence of the migration of virtual machine is the migration of complete state, as the content in CPU state, internal memory and disk.
Internal memory pre-copy method is adopted to carry out virtual machine (vm) migration flow process in prior art as follows:
Step 0: host A runs after having virtual machine, in order to the virtual machine (vm) migration possible to future is ready in advance, the target what a main frame resource management system RMS will select as migration in advance, as host B.
Step 1: resource management system RMS gives an order, a virtual machine on decision migration host A is if VM1 is to host B, and host B feedback information (as whether oneself can hold another virtual machine) determines whether prepare migration to RMS, RMS according to feedback information.Also may determine resource abundance in step 0, can move.
Step 2: suppose that the result of step 1 to be moved, on host A, migration management module performs virtual machine (vm) migration.If adopt dynamic migration technology, then VM still runs on source host A, the page of VM copies on host B by host A in an iterative manner, the first round copies all pages, later each takes turns the page only copying and be modified in previous round iterative process, by that analogy, until iterations reaches maximum iteration time or remaining dirty page is reduced to a predetermined value, the Stop-and-Copy stage is then entered into.If adopt static migrating technology, then the VM on source host A shuts down, and directly enters into the Stop-and-Copy stage.
Step 3: enter into the Stop-and-Copy stage, the VMM on host A hangs up source virtual machine, and network redirection to target virtual machine, then migration management module moves to host B remaining dirty page and CPU state at this one-phase.
Step 4: host B sends message to host A and represents successful sink virtual machine, and host A carries out confirming and destroying source virtual machine, and host B enables the virtual machine of migration.
Step 5: the virtual machine moved on host B uses the device drives on B, and issues new ARP message.
Two-node cluster hot backup plane mechanism
Two-node cluster hot backup mechanism is main towards key business, can provide the high availability of data, the automatic switchover of operational system and minimum release time.Two-node cluster hot backup mechanism uses mutually redundant server, the same service of common execution.When a station server breaks down, can by other server assumes service roles, thus when not needing manual intervention, automatically ensure that systems stay provides service, avoid the long service disruption because the reasons such as equipment failure, power-off, software error occur.Application two-node cluster hot backup generally has dual-mode, master slave mode, two-shipper standby pattern, cluster server pattern etc. mutually, and wherein dual-mode refers to that two-server runs same application simultaneously, runs independently of one another, ensures to there is not switching time when fault occurs.The essence of master-slave mode and the mutual standby mode of two-shipper is all only have a main frame operation service at one time, is diagnosed between mutually redundant server by heartbeat, monitoring the other side running status.When the main frame of operation service breaks down, control from machine adapter, guarantee system can be recovered at short notice.Cluster server pattern refers to the cluster for multiple stage machine composition, adopts the running status of clustered software monitoring machine, when fault occurs, by task switch on the other machines of specifying.Hot standby mechanism need use clustered software or the duplex software of specialty.
Cold standby mechanism refers to when fault occurs, start another station server adapter service, but take over server not back up in realtime with failed server, therefore may also need to carry out the synchronous of various data, comprise real-time data synchronization, Action Events is synchronous, clock synchronous, historical data are synchronous.Failure recovery time is long, also may need manual intervention.
High-availability mechanism all needs to adopt host monitor mechanism, may be centralization monitoring, as the hot standby mechanism under cluster server pattern, also may adopt distributed monitoring, as the hot standby mechanism under active-standby mode.Usually, monitoring mechanism adopts timing heartbeat signaling, sends periodic heartbeat message between monitoring host computer and monitored main frame, and to confirm the running status of the other side, the application demand that transmission frequency is carried by upper strata determines.When monitoring host computer does not receive heartbeat message for a long time, then think that monitored main frame occurs abnormal, above-mentioned high-availability mechanism need be adopted to carry out disaster recovery.
Realizing in process of the present invention; inventor finds that the stop-and-copy stage in existing virtual machine (vm) migration process can produce of short duration shutdown; may impact upper layer application; when the high-availability mechanism of application layer carries out heartbeat inspecting; may think that the virtual machine moved occurs abnormal; carry out disaster recovery, cause conflict.
Summary of the invention
The invention provides a kind of method of virtual machine (vm) migration, VRMS and system, management system corresponding to the application software because virtual machine (vm) migration triggering virtual machine runs can be avoided to enable backup node for this virtual machine, avoid the node conflict after having moved.
To achieve these goals, the invention provides a kind of virtual machine migration method, comprising:
Virtual resource management system VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Described VRMS sends announcing removal message to the management system of described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
Preferably, described VRMS also comprises before sending announcing removal message to the management system of described application software:
Described VRMS obtains the address information of the management system of described application software;
Described VRMS sends announcing removal message to the management system of described application software, specifically comprises:
Described VRMS is according to the address information of the management system of the described application software obtained, and the management system to described application software sends announcing removal message.
Preferably, described method also comprises:
Described VRMS is when defining virtual machine VM and needing migration, determine the downtime of described VM, and described downtime is carried in announcing removal message, to make the management system of described application software enter backup lock-out state in described downtime, and exit backup lock-out state at the end of described downtime.
Preferably, described method also comprises:
When described VRMS determines that described VM has moved, the management system to described application software sends migration and completes message, notifies that the management system of described application software exits backup lock-out state.
Present invention also offers a kind of VMRS, comprising:
First acquisition module, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Notification module, announcing removal message is sent for the management system to described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
Preferably, described system also comprises:
Second acquisition module, specifically for obtaining the address information of the management system of described application software.
Described notification module, specifically for the address information of the management system of the described application software according to described second acquisition module acquisition, the management system to described application software sends announcing removal message.
Preferably, described system also comprises:
Determination module, for define at described VRMS virtual machine VM need migration time, determine the downtime in described VM transition process, and downtime is carried in described announcing removal message, to make the management system of described application software enter backup lock-out state in described downtime, and exit backup lock-out state at the end of described downtime.
Preferably, described notification module also for, when described VRMS determines that described VM has moved, to described application software management system send migration complete message, notify that the management system of described application software exits backup lock-out state.
Present invention also offers a kind of virtual machine (vm) migration system, comprising:
Virtual resource management system VRMS, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and the application software that described VM runs, and to the management system transmission announcing removal message of described application software; Wherein, the address information of described VM is carried in described announcing removal message;
The management system of described application software, for after the announcing removal message receiving described VRMS transmission, the downtime of address information in described VM transition process according to described VM enters backup lock-out state, forbids starting backup server for described VM.
Preferably, described VRMS also for, define virtual machine VM need migration time, determine the downtime of described VM transition process, and downtime be carried in announcing removal message;
The management system of described application software also for, after receiving the announcing removal message that described VRMS sends, enter backup lock-out state according to described downtime, and exit backup lock-out state at the end of described downtime.
Preferably, described VRMS also for, when determining that described VM has moved, to described application software management system send migration complete message, notify that described management system exits backup lock-out state;
The management system of described application software also for, receiving after described migration completes message, exit backup lock-out state.
Preferably, the management system of described application software also for, when described VM migration, flow corresponding for described VM is drained on other nodes.
Preferably, the management system of described application software also for, when determining that described VM has moved, flow corresponding for described VM is moved back on described VM.
In the embodiment of the present invention, virtual resource management system VRMS defines virtual machine VM when needing migration, to obtain described VM on the application software of operation and the address information of described VM; And send announcing removal message to the management system of described application software, notify that described management system forbids when described VM moves starting backup server for described VM according to the address information of the described VM carried in announcing removal message.Thus the management system corresponding to application software that VM runs can be avoided to enable backup node when VM moves, avoid the node conflict after having moved.
Accompanying drawing explanation
The schematic flow sheet of a kind of virtual machine migration method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of virtual machine migration method that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of a kind of virtual machine migration method that Fig. 3 provides for the embodiment of the present invention three;
The schematic flow sheet of a kind of virtual machine migration method that Fig. 4 provides for the embodiment of the present invention four;
The schematic flow sheet of a kind of virtual machine migration method that Fig. 5 provides for the embodiment of the present invention five;
The configuration diagram of a kind of VRMS that Fig. 6 provides for the embodiment of the present invention six;
The configuration diagram of a kind of VRMS that Fig. 7 provides for the embodiment of the present invention seven;
The configuration diagram of a kind of VRMS that Fig. 8 provides for the embodiment of the present invention seven;
The structural representation of a kind of virtual machine (vm) migration system that Fig. 9 provides for the embodiment of the present invention eight;
The structural representation of a kind of virtual machine (vm) migration system that Figure 10 provides for the embodiment of the present invention eight;
The structural representation of a kind of virtual machine (vm) migration system that Figure 11 provides for the embodiment of the present invention eight.
Embodiment
Be described below in conjunction with the method for specific embodiment to virtual machine (vm) migration provided by the invention.
The invention provides a kind of method of virtual machine (vm) migration, said method comprising the steps of:
Step 101, virtual resource management system VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software.
In practical application, the migration of virtual machine is generally determined by keeper, and according to the order that keeper issues, VRMS determines whether virtual machine moves, this process is consistent with prior art, does not repeat them here.And VRMS is as the management system of virtual resource, wherein store the address information of all VM, comprise the IP address information of VM, the address information of the physical server at place, and the software that each VM runs.
Step 102, described VRMS sends announcing removal message to the management system of described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when described management system enters backup lock-out state according to the address information of described VM starting backup server for described VM.
In the embodiment of the present invention one, by when there is migration in virtual machine, management system corresponding to the application carried on virtual machine sends management system described in announcing removal message informing and enters backup lock-out state according to the address information of described VM when described VM delays machine, forbid enabling backup node for described VM, although the management system of described like this application software can not receive the heartbeat message that described VM sends during described VM delays machine, still can not enable backup node for described VM, thus VM conflict after migration can be avoided to complete.
Based on above-described embodiment one, the embodiment of the present invention two additionally provides another virtual machine migration method, as shown in Figure 2, can comprise the steps:
Step 201, VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software.
Step 202, VRMS obtains the address information of the management system of described application software.
Practical application can configure the address information of management system corresponding to application software that each virtual machine runs in advance in VRMS, VRMS after the application software determining VM runs, according to the above-mentioned pre-configured address information determining corresponding management system.
Preferably, in this step, VRMS can obtain the address information of the management system of described application software in the following way: the address information of carrying in the message of the particular type that described VRMS sends according to described VM or receives, obtains the address information of the management system of described application software; Wherein, described VM by the message of described particular type and the management system of described application software mutual.
Certain application software and its management system of the upper operation of VM can be undertaken alternately by the message of particular type, notice described application software normal operation to the management system transmission heartbeat message of this application software to described management system as by VM, VRMS determines the address information of the management system of this application software by the destination address of the message obtaining this particular type.Doing so avoids the artificial address information configuring the management system of each application software on VRMS.
Step 203, VRMS sends announcing removal message to the management system of described application software, carries the address information of described VM in described announcing removal message.
Step 204, the downtime of address information in described VM transition process of the described VM that the management system of described application software is carried according to announcing removal message enters backup lock-out state, forbids starting backup server for described VM.
Based on above-described embodiment one or two, the embodiment of the present invention three additionally provides another virtual machine migration method, as shown in Figure 3, can comprise the steps:
Step 301, VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software.
Step 302, described VRMS calculates the downtime in described VM transition process.
In practical application, the downtime of the described VM that VRMS calculates can start the time of the machine of delaying and lasting time period for described VM, or described VM starts the time point of the machine of delaying and terminates the time point of machine of delaying.
Step 303, described VRMS sends announcing removal message to the management system of described application software, wherein carries the address information of described downtime and described VM.
Step 304, the management system of described application software enters backup lock-out state according to the address information of the downtime of carrying in described announcing removal message and described VM, forbids starting backup server in the downtime of described VM for described VM.
Step 305, at the end of the management system of described application software determines described downtime, exits backup lock-out state.
In the embodiment of the present invention, by carrying VM downtime required in transition process in announcing removal message, the management system of each application software can be made in this VM downtime to enter backup lock-out state, if virtual machine (vm) migration failure like this, then the management system of each application software can enable backup node according to original mechanism for corresponding VM after downtime terminates to exit backup lock-out state, realizes backup functionality.
Based on above-described embodiment one or two, the embodiment of the present invention four additionally provides another virtual machine migration method, as shown in Figure 4, can comprise the steps:
Step 401, VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software.
Step 402, VRMS sends announcing removal message to the management system of described application software, carries the address information of described VM in described announcing removal message.
Step 403, the address information of the described VM that the management system of described application software is carried according to announcing removal message enters backup lock-out state when described VM migration, forbids starting backup server for described VM.
Step 404, when described VRMS determines that described VM has moved, the management system to described application software sends migration and completes message
Step 405, the management system of described application software exits backup lock-out state.
In the embodiment of the present invention, when determining that VM has moved by making VRMS, the management system of each application software run on VM sends migration and completes message, can make the management system of each application software after migration completes, exit backup lock-out state in time, ensure the continuation of the business of each application software that VM runs.
In above-mentioned any embodiment, can also make the management system of each application software after receiving announcing removal message, during corresponding VM migration, flow corresponding for corresponding VM be drained on other nodes, to ensure continuing of corresponding business.Accordingly, when corresponding VM has moved, flow corresponding for corresponding VM can also be moved back on this VM, to realize sharing the flow of other servers.The move back realization of process of actual drainage process or flow is consistent with prior art, does not repeat them here.
Below in conjunction with embody rule scene, the method of virtual machine (vm) migration provided by the invention is described in detail, suppose in the embodiment of the present invention five, VM1 on physical server A needs migration, VM1 runs multiple application software, the management system that wherein a kind of application software S1 is corresponding is OAM1, VM1 sends heartbeat message according to predetermined period t to OAM1 and notices OAM1 application software S1 normal operation, if OAM1 exceedes its patient time T(patient time T here apart from the last time receiving heartbeat message refer to the patient distance of the OAM1 institute last time receiving the heartbeat message of VM1 transmission, its size normally heartbeat message sends the integral multiple in cycle, in the embodiment of the present invention with the size of initial patient time T corresponding to VM1 for t is described), then think that S1 can not normally run, then start backup server for this VM1, the address information of the management system of the application software that upper each VM pre-configured of VRMS runs, as shown in Figure 5, when VRMS define virtual machine VM1 need migration time, the method of the virtual machine (vm) migration that the embodiment of the present invention five provides can comprise the steps:
Step 501, VRMS obtains the address information of VM1, and the application software that VM1 runs.
In practical application, VRMS needs to obtain all application software that this VM1 runs and states the process of step as follows, for convenience of description, is only described with application software S1 in following steps.
Step 502, VRMS searches the address information of the management system OAM1 of application software S1, and calculates this VM in this transition process, shut down required duration t2.
Step 503, VRMS sends announcing removal message to OAM1, and the address information and this VM that carry VM1 in this announcing removal message shut down required time t2 in this transition process.
Step 504, OAM1 adjusts patient time T corresponding to S1, makes this patient time be not less than time t2, and is drained on other servers of self-management by flow corresponding for VM1.
The patient time T corresponding to S1 due to OAM1 adjusts, and makes this patient time be greater than t2, even if then occurred that time span is the shutdown of t2 in VM1 transition process, OAM1 also can not think that S1 is abnormal, can not start backup server for this VM1.
Step 505, VRMS, when determining that VM1 has moved, sends migration to OAM1 and completes message.
Step 506, patient time T corresponding for VM1 is adjusted to t1 by OAM1, and is moved back on VM1 by flow corresponding for VM1.
In the embodiment of the present invention, by when VM1 moves, the management system OAM1 of the application software S1 run on VM1 sends announcing removal message, OAM1 can be avoided during VM1 migration to enable backup server corresponding to VM1, occur conflicting with backup server after VM1 can be avoided to have moved.
Based on same thought, the embodiment of the present invention six additionally provides a kind of VRMS, as shown in Figure 6, comprising:
First acquisition module 601, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Notification module 602, announcing removal message is sent for the management system to described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
Preferably, described system can also comprise:
Second acquisition module 603, specifically for obtaining the address information of the management system of described application software.
Described notification module 602, specifically for the address information of the management system of the described application software according to described second acquisition module acquisition, the management system to described application software sends announcing removal message.
Based on above-described embodiment six, the embodiment of the present invention seven additionally provides another VRMS, as shown in Figure 7, comprising:
First acquisition module 701, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Notification module 702, announcing removal message is sent for the management system to described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
Determination module 703, for define at described VRMS virtual machine VM need migration time, determine the downtime in described VM transition process, and downtime is carried in described announcing removal message, to make the management system of described application software enter backup lock-out state in described downtime, and exit backup lock-out state at the end of described downtime.
Based on above-described embodiment six, another VRMS that the embodiment of the present invention eight provides, as shown in Figure 8, comprising:
First acquisition module 801, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Notification module 802, announcing removal message is sent for the management system to described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
Preferably, notification module 802, also for when described VRMS determines that described VM has moved, the management system to described application software sends migration and completes message, notifies that the management system of described application software exits backup lock-out state.
Based on same thought, the embodiment of the present invention nine additionally provides a kind of virtual machine (vm) migration system, as shown in Figure 9, comprising:
Virtual resource management system VRMS901, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and the application software that described VM runs, and to the management system transmission announcing removal message of described application software; Wherein, the address information of described VM is carried in described announcing removal message;
The management system 902 of application software, for after the announcing removal message receiving described VRMS transmission, the downtime of address information in described VM transition process according to described VM enters backup lock-out state, forbids starting backup server for described VM.
Preferably, the management system 902 of described application software, also drains into other nodes by flow corresponding for described VM when in described VM migration.
Preferably, the management system 902 of application software, also for when determining that described VM has moved, moves back flow corresponding for described VM on described VM.
Based on above-described embodiment nine, the embodiment of the present invention ten additionally provides another virtual machine (vm) migration system, as shown in Figure 10, comprising:
Virtual resource management system VRMS1001, for define at VRMS virtual machine VM need migration time, obtain the address information of described VM, and the application software that described VM runs, and to the management system transmission announcing removal message of described application software; Wherein, the address information of described VM is carried in described announcing removal message;
The management system 1002 of application software, for after the announcing removal message receiving described VRMS transmission, the downtime of address information in described VM transition process according to described VM enters backup lock-out state, forbids starting backup server for described VM.
VRMS1001, specifically for when defining virtual machine VM and needing migration, determines the downtime in described VM transition process, and is carried in announcing removal message by described downtime;
The management system 1002 of application software, also for after the announcing removal message receiving described VRMS transmission, enters backup lock-out state according to described downtime, and exit backup lock-out state at the end of described downtime.
Based on above-described embodiment nine, the embodiment of the present invention 11 additionally provides another virtual machine (vm) migration system, as shown in figure 11, comprising:
Virtual resource management system VRMS1101, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and the application software that described VM runs, and to the management system transmission announcing removal message of described application software; Wherein, the address information of described VM is carried in described announcing removal message;
The management system 1102 of described application software, for after the announcing removal message receiving described VRMS transmission, the downtime of address information in described VM transition process according to described VM enters backup lock-out state, forbids starting backup server for described VM.
Described VRMS1101, also for when determining that described VM has moved, the management system to described application software sends migration and completes message, notifies that described application software management system 1102 exits backup lock-out state;
The management system 1102 of described application software, also for receiving after described migration completes message, exits backup lock-out state.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (13)

1. a virtual machine migration method, is characterized in that, comprising:
Virtual resource management system VRMS define virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Described VRMS sends announcing removal message to the management system of described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
2. the method for claim 1, is characterized in that, described VRMS also comprises before sending announcing removal message to the management system of described application software:
Described VRMS obtains the address information of the management system of described application software;
Described VRMS sends announcing removal message to the management system of described application software, specifically comprises:
Described VRMS is according to the address information of the management system of the described application software obtained, and the management system to described application software sends announcing removal message.
3. the method for claim 1, is characterized in that, described method also comprises:
Described VRMS is when defining virtual machine VM and needing migration, determine the downtime of described VM, and described downtime is carried in announcing removal message, to make the management system of described application software enter backup lock-out state in described downtime, and exit backup lock-out state at the end of described downtime.
4. the method for claim 1, is characterized in that, described method also comprises:
When described VRMS determines that described VM has moved, the management system to described application software sends migration and completes message, notifies that the management system of described application software exits backup lock-out state.
5. a virtual resource management system VRMS, is characterized in that, comprising:
First acquisition module, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and described VM on operation application software;
Notification module, announcing removal message is sent for the management system to described application software, the address information of described VM is carried in described announcing removal message, for notifying that the management system of described application software enters backup lock-out state according to the downtime of the address information of described VM in described VM transition process, forbid when the management system of described application software enters backup lock-out state according to the address information of described VM starting backup server for described VM.
6. system as claimed in claim 5, is characterized in that, also comprise:
Second acquisition module, for obtaining the address information of the management system of described application software.
Described notification module, specifically for the address information of the management system of the described application software according to described second acquisition module acquisition, the management system to described application software sends announcing removal message.
7. system as claimed in claim 5, is characterized in that, also comprise:
Determination module, for define at described VRMS virtual machine VM need migration time, determine the downtime in described VM transition process, and downtime is carried in described announcing removal message, to make the management system of described application software enter backup lock-out state in described downtime, and exit backup lock-out state at the end of described downtime.
8. method as claimed in claim 5, is characterized in that,
Described notification module also for, when described VRMS determines that described VM has moved, to described application software management system send migration complete message, notify that the management system of described application software exits backup lock-out state.
9. a virtual machine (vm) migration system, is characterized in that, comprising:
Virtual resource management system VRMS, for define at described VRMS virtual machine VM need migration time, obtain the address information of described VM, and the application software that described VM runs, and to the management system transmission announcing removal message of described application software; Wherein, the address information of described VM is carried in described announcing removal message;
The management system of described application software, for after the announcing removal message receiving described VRMS transmission, the downtime of address information in described VM transition process according to described VM enters backup lock-out state, forbids starting backup server for described VM.
10. migratory system as claimed in claim 9, is characterized in that,
Described VRMS also for, define virtual machine VM need migration time, determine the downtime in described VM transition process, and described downtime be carried in announcing removal message;
The management system of described application software also for, after receiving the announcing removal message that described VRMS sends, enter backup lock-out state according to described downtime, and exit backup lock-out state at the end of described downtime.
11. migratory systems as claimed in claim 9, is characterized in that,
Described VRMS also for, when determining that described VM has moved, to described application software management system send migration complete message, notify that described management system exits backup lock-out state;
The management system of described application software also for, receiving after described migration completes message, exit backup lock-out state.
12. migratory systems as claimed in claim 9, is characterized in that, the management system of described application software also for, when described VM migration, flow corresponding for described VM is drained on other nodes.
13. migratory systems as claimed in claim 9, is characterized in that, the management system of described application software also for, when determining that described VM has moved, flow corresponding for described VM is moved back on described VM.
CN201310298866.0A 2013-07-16 2013-07-16 A kind of method of virtual machine (vm) migration, VRMS and system Active CN104298553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310298866.0A CN104298553B (en) 2013-07-16 2013-07-16 A kind of method of virtual machine (vm) migration, VRMS and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310298866.0A CN104298553B (en) 2013-07-16 2013-07-16 A kind of method of virtual machine (vm) migration, VRMS and system

Publications (2)

Publication Number Publication Date
CN104298553A true CN104298553A (en) 2015-01-21
CN104298553B CN104298553B (en) 2017-11-21

Family

ID=52318292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310298866.0A Active CN104298553B (en) 2013-07-16 2013-07-16 A kind of method of virtual machine (vm) migration, VRMS and system

Country Status (1)

Country Link
CN (1) CN104298553B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017092017A1 (en) * 2015-12-03 2017-06-08 华为技术有限公司 Method, apparatus and system for migrating virtual machine backup information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047548A1 (en) * 2004-10-15 2011-02-24 Microsoft Corporation Systems and Methods for a Disaster Recovery System Utilizing Virtual Machines Running on at Least Two Host Computers in Physically Different Locations
CN102594652A (en) * 2011-01-13 2012-07-18 华为技术有限公司 Migration method of virtual machine, switch and virtual machine system
US20130034015A1 (en) * 2011-08-05 2013-02-07 International Business Machines Corporation Automated network configuration in a dynamic virtual environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047548A1 (en) * 2004-10-15 2011-02-24 Microsoft Corporation Systems and Methods for a Disaster Recovery System Utilizing Virtual Machines Running on at Least Two Host Computers in Physically Different Locations
CN102594652A (en) * 2011-01-13 2012-07-18 华为技术有限公司 Migration method of virtual machine, switch and virtual machine system
US20130034015A1 (en) * 2011-08-05 2013-02-07 International Business Machines Corporation Automated network configuration in a dynamic virtual environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
于洪梅: "《基于虚拟机的动态迁移技术的研究及应用》", 《中国优秀硕士学位论文全文数据库》 *
杨寒冰: "《虚拟机动态迁移技术的研究》", 《中国硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017092017A1 (en) * 2015-12-03 2017-06-08 华为技术有限公司 Method, apparatus and system for migrating virtual machine backup information
US10678648B2 (en) 2015-12-03 2020-06-09 Huawei Technologies Co., Ltd. Method, apparatus, and system for migrating virtual machine backup information

Also Published As

Publication number Publication date
CN104298553B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN103631633B (en) Virtual machine total-system online migration method, device and system
US8909884B2 (en) Migrating virtual machines across sites
CN109828868B (en) Data storage method, device, management equipment and double-active data storage system
CN103618627B (en) A kind of manage the method for virtual machine, Apparatus and system
CN105159798A (en) Dual-machine hot-standby method for virtual machines, dual-machine hot-standby management server and system
CN105141456A (en) Method for monitoring high-availability cluster resource
CN106528327A (en) Data processing method and backup server
WO2017097006A1 (en) Real-time data fault-tolerance processing method and system
CN103580915A (en) Method and device for determining main control node of trunking system
CN102932409B (en) The method and system that a kind of virtual machine moves online
CN104320274A (en) Disaster tolerance method and device
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN105335254B (en) Virtualize backup tolerant system and method
CN105577408A (en) Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN111935244B (en) Service request processing system and super-integration all-in-one machine
CN111045602A (en) Cluster system control method and cluster system
CN105487946A (en) Fault computer automatic switching method and device
CN113794765A (en) Gate load balancing method and device based on file transmission
CN104052799B (en) A kind of method that High Availabitity storage is realized using resource ring
WO2015196692A1 (en) Cloud computing system and processing method and apparatus for cloud computing system
CN103442033A (en) Running state information synchronizing method and device
TWI669605B (en) Fault tolerance method and system for virtual machine group
CN107005434B (en) Method, device and equipment for synchronizing Virtual Network Function (VNF) state
CN104298553A (en) Virtual machine migration method, VRMS (Virtual Resource Management System) and system
CN102983997A (en) Method and device for migrating master services

Legal Events

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