CN104298553B - A kind of method of virtual machine (vm) migration, VRMS and system - Google Patents
A kind of method of virtual machine (vm) migration, VRMS and system Download PDFInfo
- Publication number
- CN104298553B CN104298553B CN201310298866.0A CN201310298866A CN104298553B CN 104298553 B CN104298553 B CN 104298553B CN 201310298866 A CN201310298866 A CN 201310298866A CN 104298553 B CN104298553 B CN 104298553B
- Authority
- CN
- China
- Prior art keywords
- management system
- application software
- vrms
- migration
- address information
- 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
Links
Abstract
The invention provides a kind of virtual machine migration method, when virtual resource management system VRMS determines to have virtual machine VM to need migration, the address information of the VM, and the application software run on the VM are obtained;And announcing removal message is sent to the management system of the application software, notify the management system of the application software to be forbidden starting backup server for the VM when the VM is migrated according to the VM carried in announcing removal message address information.So as to avoid the management system corresponding to the application software run on VM from enabling backup node when VM is migrated, the node conflict after the completion of migration is avoided.
Description
Technical field
The present invention relates to communication technical field, the especially a kind of method of virtual machine (vm) migration, VRMS and system.
Background technology
In recent years, with the continuous rise of the technologies such as cloud computing, data center, distributed environment, server virtualization skill
Art increasingly becomes the focus of IT field.Server virtualization refers to server physical resource being abstracted into logical resource, allows one
Platform server becomes several even up to a hundred mutually isolated virtual servers, allows the hardware such as CPU, internal memory, disk, I/O to become
" resource pool " that can dynamically manage, so as to improve the utilization rate of resource, simplify system administration, realize Server Consolidation, allow IT
Change to business has more adaptive faculty.Now, the virtualization system such as Xen, VMware has become the commercialization of comparative maturity virtually
Change product.
Virtual machine (vm) migration
Virtual machine migration technology provides easily method for server virtualization.Virtual machine (vm) migration refers to work as data center
Need to adjust the resource allocation of virtual machine between middle host, when certain host needs repairing, a virtual machine
System moves to the process of another physical host from a physical host.The essence of the migration of virtual machine is complete state
Migration, such as the content in CPU state, internal memory and disk.
It is as follows that virtual machine (vm) migration flow is carried out using internal memory pre-copy method in the prior art:
Step 0:After operation has virtual machine on host A, in order to be ready in advance to following possible virtual machine (vm) migration, provide
Target of what a main frame as migration, such as host B will be pre-selected in management system RMS.
Step 1:Resource management system RMS sends order, determines a virtual machine such as VM1 on migration host A to main frame
B, host B feedback information(As whether oneself can accommodate another virtual machine)Standard is decided whether according to feedback information to RMS, RMS
Standby migration.Resource abundance may also be determined in step 0, can migrate.
Step 2:Assuming that the result of step 1 is to migrate, migration management module performs virtual machine (vm) migration on host A.Such as
Fruit uses dynamic migration technology, then VM is still run on source host A, and host A is in an iterative manner by VM internal memory page copy
Onto host B, the first round copies all pages, and later each round only copies what is be modified in previous round iterative process
Page, by that analogy, until iterations reaches maximum iteration or remaining containing dirty pages are reduced to a predetermined value, Ran Houjin
Enter to the Stop-and-Copy stages.If using static migrating technology, the VM on source host A is shut down, and is entered directly into
The Stop-and-Copy stages.
Step 3:Entering the Stop-and-Copy stages, the VMM on host A hangs up source virtual machine, and network redirection
To target virtual machine, then remaining containing dirty pages and CPU state are moved to host B by migration management module in this stage.
Step 4:Host B sends message to host A and represents to be successfully received virtual machine, and host A is confirmed and destroyed
Source virtual machine, host B enable the virtual machine of migration.
Step 5:The virtual machine on host B is moved to using the device drives on B, and issues new ARP message.
Two-node cluster hot backup plane mechanism
Two-node cluster hot backup mechanism is mainly directed towards key business, can provide the high availability of data, runtime it is automatic
Switching and minimum recovery time.Two-node cluster hot backup mechanism uses mutually redundant server, performs same service jointly.When a clothes
When business device breaks down, service role can be undertaken by other servers, so that in the case where not needing manual intervention, automatically
Ensure that systems stay provides service, avoid because in the prolonged service that the reasons such as equipment fault, power-off, software error occur
It is disconnected.Typically there are dual-mode, master slave mode, two-shipper using two-node cluster hot backup mutually for pattern, cluster server pattern etc., wherein duplex
Pattern refers to two-server while runs same application, independently of one another operation, when ensureing to be not present switching when failure occurs
Between.Master-slave mode and two-shipper are mutually there was only a main frame operation service in the same time for the essence of mode, mutually redundant
Diagnosed between server by heartbeat, monitor other side's running status.When the main frame of operation service breaks down, slave adapter control
System, guarantee system can be recovered in a short time.Cluster server pattern refers to the cluster for more machine compositions, using cluster
The running status of software supervision machine, when failure occurs, task is switched on the other machines specified.Hot standby mechanism need to make
With the clustered software or duplex software of specialty.
Cold standby mechanism refers to when failure occurs, and starts the adapter service of another server, but take over server not with failure
Server is backed up in realtime, it is thus possible to also needs to carry out the synchronization of various data, including real-time data synchronization, Action Events are same
Step, clock are synchronous, historical data is synchronous etc..Failure recovery time is grown, and may also need to manual intervention.
High-availability mechanism is required to use host monitor mechanism, it may be possible to which centralization monitors, such as cluster server pattern
Under hot standby mechanism, it is also possible to using distributed monitoring, such as the hot standby mechanism under active-standby mode.Usually, monitoring mechanism uses
Timing heartbeat signaling, sends periodic heartbeat message between monitoring host computer and monitored main frame, to confirm the operation shape of other side
State, the application demand that transmission frequency is carried by upper strata determine.When monitoring host computer does not receive heartbeat message for a long time, then it is assumed that
Exception occurs for monitored main frame, above-mentioned high-availability mechanism need to be used to carry out disaster recovery.
During the present invention is realized, inventor has found the stop-and-copy during existing virtual machine (vm) migration
Stage can produce of short duration shutdown, and upper layer application may be impacted, and the high-availability mechanism of application layer carries out heartbeat prison
During survey, it is abnormal to may think that the virtual machine migrated occurs, carries out disaster recovery, causes to conflict.
The content of the invention
The invention provides a kind of method of virtual machine (vm) migration, VRMS and system, can avoid because virtual machine (vm) migration triggers
Management system corresponding to the application software run on virtual machine enables backup node for the virtual machine, after the completion of avoiding migration
Node conflict.
To achieve these goals, the invention provides a kind of virtual machine migration method, including:
When virtual resource management system VRMS determines to have virtual machine VM to need migration, the address information of the VM is obtained, with
And the application software run on the VM;
The VRMS sends announcing removal message to the management system of the application software, is taken in the announcing removal message
Address information with the VM, for notifying the management system of the application software according to the address information of the VM described
Downtime in VM transition processes enters backup lock-out state, and the management system of the application software is according to the address of the VM
Information forbids starting backup server for the VM when entering backup lock-out state.
Preferably, before the VRMS sends announcing removal message to the management system of the application software, in addition to:
The VRMS obtains the address information of the management system of the application software;
The VRMS sends announcing removal message to the management system of the application software, specifically includes:
The VRMS is according to the address information of the management system of the application software of acquisition, to the pipe of the application software
Reason system sends announcing removal message.
Preferably, methods described also includes:
The VRMS determines the downtime of the VM when it is determined that there is virtual machine VM to need migration, and by the machine of delaying
Time is carried in announcing removal message, so that the management system of the application software enters backup lock in the downtime
Determine state, and backup lock-out state is exited at the end of the downtime.
Preferably, methods described also includes:
When the VRMS determines that the VM migrations are completed, send migration completion to the management system of the application software and disappear
Breath, notifies the management system of the application software to exit backup lock-out state.
Present invention also offers a kind of VMRS, including:
First acquisition module, for when the VRMS determines to have virtual machine VM to need migration, obtaining the address of the VM
The application software run in information, and the VM;
Notification module, for sending announcing removal message to the management system of the application software, the announcing removal disappears
The address information of the VM is carried in breath, for notifying the management system of the application software according to the address information of the VM
Downtime in the VM transition processes enters backup lock-out state, and the management system of the application software is according to the VM
Address information enter backup lock-out state when forbid for the VM startup backup server.
Preferably, the system also includes:
Second acquisition module, the address information of the management system specifically for obtaining the application software.
The notification module, specifically for the management system of the application software obtained according to second acquisition module
Address information, to the application software management system send announcing removal message.
Preferably, the system also includes:
Determining module, for when the VRMS determines to have virtual machine VM to need migration, determining in the VM transition processes
Downtime, and by downtime carry in the announcing removal message so that the management system of the application software exists
The downtime enters backup lock-out state, and backup lock-out state is exited at the end of the downtime.
Preferably, the notification module is additionally operable to, soft to the application when the VRMS determines that the VM migrations are completed
The management system of part sends migration completion message, notifies the management system of the application software to exit backup lock-out state.
Present invention also offers a kind of virtual machine (vm) migration system, including:
Virtual resource management system VRMS, for when the VRMS determines to have virtual machine VM to need migration, described in acquisition
The application software run in VM address information, and the VM, and send migration to the management system of the application software and lead to
Know message;Wherein, the address information of the VM is carried in the announcing removal message;
The management system of the application software, for after the announcing removal message that the VRMS is sent is received, according to
Downtime of the address information of the VM in the VM transition processes enters backup lock-out state, forbids opening for the VM
Dynamic backup server.
Preferably, the VRMS is additionally operable to, and when it is determined that there is virtual machine VM to need migration, determines the VM transition processes
Downtime, and downtime is carried in announcing removal message;
The management system of the application software is additionally operable to, after the announcing removal message that the VRMS is sent is received, root
Enter backup lock-out state according to the downtime, and backup lock-out state is exited at the end of the downtime.
Preferably, the VRMS is additionally operable to, when it is determined that VM migrations are completed, to the management system of the application software
Migration completion message is sent, notifies the management system to exit backup lock-out state;
The management system of the application software is additionally operable to, and after the migration completion message is received, exits backup locking
State.
Preferably, the management system of the application software is additionally operable to, when the VM migrates by flow corresponding to the VM
Drain on other nodes.
Preferably, the management system of the application software is additionally operable to, when it is determined that VM migrations are completed, by described VM pairs
The flow answered is moved back onto the VM.
In the embodiment of the present invention, when virtual resource management system VRMS determines to have virtual machine VM to need migration, described in acquisition
The application software and the address information of the VM run on VM;And send announcing removal to the management system of the application software and disappear
Breath, notifies the management system to be forbidden according to the VM carried in announcing removal message address information when the VM is migrated
Start backup server for the VM.So as to avoid the management system corresponding to the application software run on VM from entering in VM
Backup node is enabled during row migration, avoids the node conflict after the completion of migration.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for virtual machine migration method that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet for virtual machine migration method that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic flow sheet for virtual machine migration method that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic flow sheet for virtual machine migration method that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic flow sheet for virtual machine migration method that the embodiment of the present invention five provides;
Fig. 6 is a kind of configuration diagram for VRMS that the embodiment of the present invention six provides;
Fig. 7 is a kind of configuration diagram for VRMS that the embodiment of the present invention seven provides;
Fig. 8 is a kind of configuration diagram for VRMS that the embodiment of the present invention seven provides;
Fig. 9 is a kind of structural representation for virtual machine (vm) migration system that the embodiment of the present invention eight provides;
Figure 10 is a kind of structural representation for virtual machine (vm) migration system that the embodiment of the present invention eight provides;
Figure 11 is a kind of structural representation for virtual machine (vm) migration system that the embodiment of the present invention eight provides.
Embodiment
The method of virtual machine (vm) migration provided by the invention is illustrated with reference to specific embodiment.
The invention provides a kind of method of virtual machine (vm) migration, the described method comprises the following steps:
Step 101, when virtual resource management system VRMS determines to have virtual machine VM to need migration, the address of the VM is obtained
The application software run in information, and the VM.
In practical application, virtual machine migrates what is usually determined by keeper, the order that VRMS issues according to keeper
Determine whether virtual machine migrates, the process is consistent with prior art, will not be repeated here.And management of the VRMS as virtual resource
System, wherein storing all VM address information, include VM IP address information, the address letter of the physical server at place
Breath, and the software run on each VM.
Step 102, the VRMS sends announcing removal message, the announcing removal to the management system of the application software
The address information of the VM is carried in message, for notifying the management system of the application software to believe according to the address of the VM
Cease the downtime in the VM transition processes and enter backup lock-out state, the management system is believed according to the address of the VM
Breath is forbidden starting backup server for the VM when entering backup lock-out state.
In the embodiment of the present invention one, by when virtual machine migrates, to virtual machine on the application that carries it is corresponding
Management system described in management system transmission announcing removal message informing is entered according to the address information of the VM when the VM delays machine
Enter to back up lock-out state, forbid enabling backup node for the VM, although the management system of so described application software is in institute
The heartbeat message that the VM is sent can not be received during machine by stating VM and delaying, and still will not enable backup node for the VM, so that
VM conflicts after the completion of migration can be avoided.
Based on above-described embodiment one, the embodiment of the present invention two additionally provides another virtual machine migration method, such as Fig. 2 institutes
Show, may include steps of:
Step 201, when VRMS determines to have virtual machine VM to need migration, the address information of the VM, and the VM are obtained
The application software of upper operation.
Step 202, VRMS obtains the address information of the management system of the application software.
Practical application can configure management system corresponding to the application software run on each virtual machine in VRMS in advance
Address information, VRMS determines corresponding management system it is determined that after the application software run on VM according to above-mentioned be pre-configured with
Address information.
Preferably, in this step, VRMS can obtain the address of the management system of the application software in the following way
Information:The VRMS obtains described answer according to the address information carried in the certain types of message that the VM is sent or is received
With the address information of the management system of software;Wherein, the VM passes through the certain types of message and the application software
Management system interacts.
Some application software run on VM can be interacted with its management system by certain types of message, such as logical
Cross VM and notice the application software normal operation to the management system to the management system transmission heartbeat message of the application software,
The address information that VRMS determines the management system of the application software by obtaining the destination address of this certain types of message.This
Sample avoids the address information of the artificial management system that each application software is configured on VRMS.
Step 203, VRMS sends announcing removal message, the announcing removal message to the management system of the application software
In carry the address information of the VM.
Step 204, the address information for the VM that the management system of the application software carries according to announcing removal message
Downtime in the VM transition processes enters backup lock-out state, forbids starting backup server for the VM.
Based on above-described embodiment one or two, the embodiment of the present invention three additionally provides another virtual machine migration method, such as
Shown in Fig. 3, it may include steps of:
Step 301, when VRMS determines to have virtual machine VM to need migration, the address information of the VM, and the VM are obtained
The application software of upper operation.
Step 302, the VRMS calculates the downtime in the VM transition processes.
In practical application, the downtime for the VM that VRMS is calculated can be that the VM starts the time for the machine of delaying and held
The continuous period, or the VM starts the time point for the machine of delaying and end is delayed time point of machine.
Step 303, the VRMS sends announcing removal message to the management system of the application software, wherein carrying institute
State downtime and the VM address information.
Step 304, the management system of the application software according to the downtime that is carried in the announcing removal message and
The address information of the VM enters backup lock-out state, forbids the downtime in the VM to start backup services for the VM
Device.
Step 305, at the end of the management system of the application software determines the downtime, backup locking shape is exited
State.
In the embodiment of the present invention, by announcing removal message carry VM in transition process required for delay machine when
Between, the management system of each application software can be made to enter backup lock-out state in the VM downtimes, it is so if virtual
Machine migration failure, then the management system of each application software can be according to original after downtime terminates to exit backup lock-out state
There is mechanism to enable backup node for corresponding VM, realize backup functionality.
Based on above-described embodiment one or two, the embodiment of the present invention four additionally provides another virtual machine migration method, such as
Shown in Fig. 4, it may include steps of:
Step 401, when VRMS determines to have virtual machine VM to need migration, the address information of the VM, and the VM are obtained
The application software of upper operation.
Step 402, VRMS sends announcing removal message, the announcing removal message to the management system of the application software
In carry the address information of the VM.
Step 403, the address information for the VM that the management system of the application software carries according to announcing removal message
Enter backup lock-out state when the VM is migrated, forbid starting backup server for the VM.
Step 404, when the VRMS determines that the VM migrations are completed, send and move to the management system of the application software
Move completion message
Step 405, the management system of the application software exits backup lock-out state.
In the embodiment of the present invention, when determining that VM migrations are completed by making VRMS, to VM on each application software run
Management system sends migration completion message, and the management system of each application software can be made to be exited in time standby after the completion of migration
Part lock-out state, has ensured the continuation of the business for each application software run on VM.
In any of the above-described embodiment, the management system of each application software can also be made to receive announcing removal message
Afterwards, during corresponding VM is migrated, flow corresponding to corresponding VM is drained on other nodes, to ensure holding for corresponding business
It is continuous.Accordingly, flow corresponding to corresponding VM can also be moved back when corresponding VM migrates completion onto the VM, with realization pair
The flow of other servers is shared.Actual drainage process or flow move back process realization with consistent in the prior art,
It will not be repeated here.
With reference to concrete application scene, the method for virtual machine (vm) migration provided by the invention is described in detail, it is assumed that
In the embodiment of the present invention five, the VM1 on physical server A is needed to migrate, and a variety of application software, one of which have been run on VM1
Management system corresponding to application software S1 is OAM1, and VM1 sends heartbeat message notice OAM1 to OAM1 according to predetermined period t and applied
Software S1 normal operations, if OAM1 exceedes its patient time T away from the last time for receiving heartbeat message(Here tolerance
Time T refer to OAM1 the last heartbeat message for receiving VM1 transmissions of patient distance time, its size is typically the heart
The integral multiple that message sends the cycle is jumped, is said in the embodiment of the present invention using the size of initial patient time T corresponding to VM1 as t
It is bright), then it is assumed that S1 is not normally functioning, then starts backup server for the VM1, institute on each VM has been pre-configured with VRMS
The address information of the management system of the application software of operation, as shown in figure 5, when VRMS determines to have virtual machine VM1 to need migration,
The method for the virtual machine (vm) migration that the embodiment of the present invention five provides may include steps of:
Step 501, VRMS obtains VM1 address information, and the application software run on VM1.
In practical application, VRMS needs to obtain all application software run on the VM1 and carries out the following place for stating step
Reason, for convenience of explanation, is only illustrated in following steps with application software S1.
Step 502, VRMS searches application software S1 management system OAM1 address information, and calculates the VM and moved at this
Required duration t2 is shut down during shifting.
Step 503, VRMS sends announcing removal message to OAM1, and VM1 address letter is carried in the announcing removal message
Breath and the VM shut down required time t2 in this transition process.
Step 504, patient time T corresponding to OAM1 adjustment S1, makes the patient time be not less than time t2, and by VM1 pairs
The flow answered is drained on other servers of self-management.
Because OAM1 is adjusted to patient time T corresponding to S1, the patient time is set to be more than t2, even if then VM1 is moved
Occurs the shutdown that time span is t2 during shifting, OAM1 not will be considered that S1 exceptions yet, will not be directed to the VM1 and start backup clothes
Business device.
Step 505, VRMS sends migration completion message when it is determined that VM1 migrations are completed to OAM1.
Step 506, patient time T corresponding to VM1 is adjusted to t1 by OAM1, and flow corresponding to VM1 is moved back to VM1
On.
In the embodiment of the present invention, by when VM1 is migrated, to VM1 on the application software S1 management system run
OAM1 sends announcing removal message, and OAM1 can be avoided to enable backup server corresponding to VM1 during VM1 is migrated, can be kept away
Exempt from backup server to conflict after the completion of VM1 migrations.
Based on same thought, the embodiment of the present invention six additionally provides a kind of VRMS, as shown in fig. 6, including:
First acquisition module 601, for when the VRMS determines to have virtual machine VM to need migration, obtaining the ground of the VM
The application software run in location information, and the VM;
Notification module 602, for sending announcing removal message, the announcing removal to the management system of the application software
The address information of the VM is carried in message, for notifying the management system of the application software to believe according to the address of the VM
The downtime ceased in the VM transition processes enters backup lock-out state, and the management system of the application software is according to
VM address information forbids starting backup server for the VM when entering backup lock-out state.
Preferably, the system can also include:
Second acquisition module 603, the address information of the management system specifically for obtaining the application software.
The notification module 602, specifically for the management of the application software obtained according to second acquisition module
The address information of system, announcing removal message is sent to the management system of the application software.
Based on above-described embodiment six, the embodiment of the present invention seven additionally provides another VRMS, as shown in fig. 7, comprises:
First acquisition module 701, for when the VRMS determines to have virtual machine VM to need migration, obtaining the ground of the VM
The application software run in location information, and the VM;
Notification module 702, for sending announcing removal message, the announcing removal to the management system of the application software
The address information of the VM is carried in message, for notifying the management system of the application software to believe according to the address of the VM
The downtime ceased in the VM transition processes enters backup lock-out state, and the management system of the application software is according to
VM address information forbids starting backup server for the VM when entering backup lock-out state.
Determining module 703, for when the VRMS determines to have virtual machine VM to need migration, determining the VM transition processes
In downtime, and by downtime carry in the announcing removal message so that the management system of the application software
Enter backup lock-out state in the downtime, and backup lock-out state is exited at the end of the downtime.
Another VRMS provided based on above-described embodiment six, the embodiment of the present invention eight, as shown in figure 8, including:
First acquisition module 801, for when the VRMS determines to have virtual machine VM to need migration, obtaining the ground of the VM
The application software run in location information, and the VM;
Notification module 802, for sending announcing removal message, the announcing removal to the management system of the application software
The address information of the VM is carried in message, for notifying the management system of the application software to believe according to the address of the VM
The downtime ceased in the VM transition processes enters backup lock-out state, and the management system of the application software is according to
VM address information forbids starting backup server for the VM when entering backup lock-out state.
Preferably, notification module 802, it is additionally operable to when the VRMS determines that the VM migrations are completed, it is soft to the application
The management system of part sends migration completion message, notifies the management system of the application software to exit 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, bag
Include:
Virtual resource management system VRMS901, for when the VRMS determines to have virtual machine VM to need migration, obtaining institute
The application software run in VM address information, and the VM is stated, and migration is sent to the management system of the application software
Notification message;Wherein, the address information of the VM is carried in the announcing removal message;
The management system 902 of application software, for after the announcing removal message that the VRMS is sent is received, according to institute
State downtime of the VM address information in the VM transition processes and enter backup lock-out state, forbid starting for the VM
Backup server.
Preferably, the management system 902 of the application software, it is additionally operable to stream corresponding to the VM when the VM migrates
Amount is drained on other nodes.
Preferably, the management system 902 of application software, it is additionally operable to when it is determined that VM migrations are completed, by described VM pairs
The flow answered is moved back onto the VM.
Based on above-described embodiment nine, the embodiment of the present invention ten additionally provides another virtual machine (vm) migration system, such as Figure 10
It is shown, including:
Virtual resource management system VRMS1001, for when VRMS determines to have virtual machine VM to need migration, described in acquisition
The application software run in VM address information, and the VM, and send migration to the management system of the application software and lead to
Know message;Wherein, the address information of the VM is carried in the announcing removal message;
The management system 1002 of application software, for after the announcing removal message that the VRMS is sent is received, according to
Downtime of the address information of the VM in the VM transition processes enters backup lock-out state, forbids opening for the VM
Dynamic backup server.
VRMS1001, specifically for when it is determined that there is virtual machine VM to need migration, determining delaying in the VM transition processes
The machine time, and the downtime is carried in announcing removal message;
The management system 1002 of application software, it is additionally operable to after the announcing removal message that the VRMS is sent is received, root
Enter backup lock-out state according to the downtime, and backup lock-out state is exited at the end of the downtime.
Based on above-described embodiment nine, the embodiment of the present invention 11 additionally provides another virtual machine (vm) migration system, such as schemes
Shown in 11, including:
Virtual resource management system VRMS1101, for when the VRMS determines to have virtual machine VM to need migration, obtaining
The application software run in the address information of the VM, and the VM, and send and move to the management system of the application software
Move notification message;Wherein, the address information of the VM is carried in the announcing removal message;
The management system 1102 of the application software, for after the announcing removal message that the VRMS is sent is received,
Backup lock-out state is entered according to downtime of the address information of the VM in the VM transition processes, forbidden for described
VM starts backup server.
The VRMS1101, it is additionally operable to when it is determined that VM migrations are completed, send out to the management system of the application software
Migration completion message is sent, notifies the application software management system 1102 to exit backup lock-out state;
The management system 1102 of the application software, it is additionally operable to after the migration completion message is received, exits backup
Lock-out state.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words
Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including
It is dry to instruct to cause a computer equipment(Can be personal computer, server, or network equipment etc.)Perform this hair
Method described in bright each embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or stream in accompanying drawing
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment
It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think change should all fall into protection scope of the present invention.
Claims (13)
- A kind of 1. virtual machine migration method, it is characterised in that including:When virtual resource management system VRMS determines to have virtual machine VM to need migration, the address information of the VM, Yi Jisuo are obtained State the application software run on VM;The VRMS sends announcing removal message to the management system of the application software, is carried in the announcing removal message The address information of the VM, for notifying the management system of the application software to be moved according to the address information of the VM in the VM Downtime during shifting enters backup lock-out state, and the management system of the application software is according to the address information of the VM Forbid starting backup server for the VM during into backup lock-out state.
- 2. the method as described in claim 1, it is characterised in that the VRMS sends to the management system of the application software and moved Move before notification message, in addition to:The VRMS obtains the address information of the management system of the application software;The VRMS sends announcing removal message to the management system of the application software, specifically includes:The VRMS is according to the address information of the management system of the application software of acquisition, the management system to the application software System sends announcing removal message.
- 3. the method as described in claim 1, it is characterised in that methods described also includes:The VRMS determines the downtime of the VM when it is determined that there is virtual machine VM to need migration, and by the downtime Carry in announcing removal message, so that the management system of the application software enters backup locking shape in the downtime State, and backup lock-out state is exited at the end of the downtime.
- 4. the method as described in claim 1, it is characterised in that methods described also includes:When the VRMS determines that the VM migrations are completed, migration completion message is sent to the management system of the application software, The management system of the application software is notified to exit backup lock-out state.
- A kind of 5. virtual resource management system VRMS, it is characterised in that including:First acquisition module, for when the VRMS determines to have virtual machine VM to need migration, obtaining the address information of the VM, And the application software run on the VM;Notification module, for sending announcing removal message to the management system of the application software, in the announcing removal message The address information of the VM is carried, for notifying the management system of the application software according to the address information of the VM in institute State downtime in VM transition processes and enter backup lock-out state, the management system of the application software is according to the ground of the VM Location information forbids starting backup server for the VM when entering backup lock-out state.
- 6. system as claimed in claim 5, it is characterised in that also include:Second acquisition module, the address information of the management system for obtaining the application software;The notification module, specifically for the ground of the management system of the application software obtained according to second acquisition module Location information, announcing removal message is sent to the management system of the application software.
- 7. system as claimed in claim 5, it is characterised in that also include:Determining module, for when the VRMS determines to have virtual machine VM to need migration, determining delaying in the VM transition processes The machine time, and downtime is carried in the announcing removal message, so that the management system of the application software is described Downtime enters backup lock-out state, and backup lock-out state is exited at the end of the downtime.
- 8. system as claimed in claim 5, it is characterised in thatThe notification module is additionally operable to, when the VRMS determines that the VM migrations are completed, the management system to the application software System sends migration completion message, notifies the management system of the application software to exit backup lock-out state.
- A kind of 9. virtual machine (vm) migration system, it is characterised in that including:Virtual resource management system VRMS, for when the VRMS determines to have virtual machine VM to need migration, obtaining the VM's The application software run in address information, and the VM, and send announcing removal to the management system of the application software and disappear Breath;Wherein, the address information of the VM is carried in the announcing removal message;The management system of the application software, for after the announcing removal message that the VRMS is sent is received, according to described Downtime of the VM address information in the VM transition processes enters backup lock-out state, forbids standby for VM startups Part server.
- 10. migratory system as claimed in claim 9, it is characterised in thatThe VRMS is additionally operable to, and when it is determined that there is virtual machine VM to need migration, determines the downtime in the VM transition processes, And the downtime is carried in announcing removal message;The management system of the application software is additionally operable to, after the announcing removal message that the VRMS is sent is received, according to institute State downtime and enter backup lock-out state, and backup lock-out state is exited at the end of the downtime.
- 11. migratory system as claimed in claim 9, it is characterised in thatThe VRMS is additionally operable to, and when it is determined that VM migrations are completed, is sent and has been migrated to the management system of the application software Into message, the management system is notified to exit backup lock-out state;The management system of the application software is additionally operable to, and after the migration completion message is received, exits backup lock-out state.
- 12. migratory system as claimed in claim 9, it is characterised in that the management system of the application software is additionally operable to, in institute Flow corresponding to the VM is drained on other nodes when stating VM migrations.
- 13. migratory system as claimed in claim 9, it is characterised in that the management system of the application software is additionally operable to, true When the fixed VM migrations are completed, flow corresponding to the VM is moved back onto the VM.
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 CN104298553A (en) | 2015-01-21 |
CN104298553B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3200073B1 (en) * | 2015-12-03 | 2020-02-05 | Huawei Technologies Co., Ltd. | Method, apparatus and system for migrating virtual machine backup information |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594652A (en) * | 2011-01-13 | 2012-07-18 | 华为技术有限公司 | Migration method of virtual machine, switch and virtual machine system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7840963B2 (en) * | 2004-10-15 | 2010-11-23 | Microsoft Corporation | Marking and utilizing portions of memory state information during a switch between virtual machines to minimize software service interruption |
US20130034015A1 (en) * | 2011-08-05 | 2013-02-07 | International Business Machines Corporation | Automated network configuration in a dynamic virtual environment |
-
2013
- 2013-07-16 CN CN201310298866.0A patent/CN104298553B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594652A (en) * | 2011-01-13 | 2012-07-18 | 华为技术有限公司 | Migration method of virtual machine, switch and virtual machine system |
Non-Patent Citations (2)
Title |
---|
《基于虚拟机的动态迁移技术的研究及应用》;于洪梅;《中国优秀硕士学位论文全文数据库》;20110531;第16-19页 * |
《虚拟机动态迁移技术的研究》;杨寒冰;《中国硕士学位论文全文数据库》;20130630;第14-21页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104298553A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11307943B2 (en) | Disaster recovery deployment method, apparatus, and system | |
EP3252608B1 (en) | Node system, server device, scaling control method, and program | |
CN103176831B (en) | A kind of dummy machine system and management method thereof | |
KR101547719B1 (en) | Maintaining data integrity in data servers across data centers | |
CN103631633B (en) | Virtual machine total-system online migration method, device and system | |
WO2017067484A1 (en) | Virtualization data center scheduling system and method | |
CN105159798A (en) | Dual-machine hot-standby method for virtual machines, dual-machine hot-standby management server and system | |
JP2008052407A (en) | Cluster system | |
CN105335254B (en) | Virtualize backup tolerant system and method | |
WO2017097006A1 (en) | Real-time data fault-tolerance processing method and system | |
CN111935244B (en) | Service request processing system and super-integration all-in-one machine | |
US20100332659A1 (en) | System and Method for Implementing a Dead Man Dependency Technique for Cluster Resources | |
JP3808874B2 (en) | Distributed system and multiplexing control method | |
CN111045602B (en) | Cluster system control method and cluster system | |
CN108469996A (en) | A kind of system high availability method based on auto snapshot | |
WO2006005251A1 (en) | Method and system for carrying out the function of switching in a communication system | |
CN110377487A (en) | A kind of method and device handling high-availability cluster fissure | |
US11036530B2 (en) | Application continuous high availability solution | |
CN104298553B (en) | A kind of method of virtual machine (vm) migration, VRMS and system | |
CN107005434B (en) | Method, device and equipment for synchronizing Virtual Network Function (VNF) state | |
CN115225642B (en) | Elastic load balancing method and system of super fusion system | |
CN110554933A (en) | Cloud management platform, and cross-cloud high-availability method and system for cloud platform service | |
CN107181608A (en) | A kind of method and operation management system for recovering service and performance boost | |
CN102279882B (en) | Method and system for controlling access in cluster system | |
US11349964B2 (en) | Selective TCP/IP stack reconfiguration |
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 |