CN107370679A - A kind of method and device for realizing migration process - Google Patents

A kind of method and device for realizing migration process Download PDF

Info

Publication number
CN107370679A
CN107370679A CN201710594654.5A CN201710594654A CN107370679A CN 107370679 A CN107370679 A CN 107370679A CN 201710594654 A CN201710594654 A CN 201710594654A CN 107370679 A CN107370679 A CN 107370679A
Authority
CN
China
Prior art keywords
virtual machine
migration
default
triggering command
topological 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.)
Pending
Application number
CN201710594654.5A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710594654.5A priority Critical patent/CN107370679A/en
Publication of CN107370679A publication Critical patent/CN107370679A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

A kind of method and device for realizing migration process, including:Determine whether virtual machine is completed to migrate;When determining that virtual machine completes migration, the virtual machine for completing to migrate is triggered by default triggering command and sends default packet, to update network topological information.The embodiment of the present invention avoids the network interruption of virtual machine (vm) migration, improves the stability of virtual machine network.

Description

A kind of method and device for realizing migration process
Technical field
Present document relates to but be not limited to virtualization technology, espespecially a kind of method and device for realizing migration process.
Background technology
When data center carries out live migration of virtual machine, virtual machine includes following step when moving to destination host from source host Suddenly:1st, migration prepares;2nd, memory copying, migration virtual machine to destination host;3 destroy the virtual machine on source host;4th, in purpose The virtual machine of migration is restarted on main frame.
After virtual machine completes migration, the already present physical address of the network equipment (MAC) forward table is destroyed virtual Machine, cause network service outages.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not, Enclose.
The embodiment of the present invention provides a kind of method and device for realizing migration process, can avoid the network of virtual machine (vm) migration Interrupt, lift the stability of virtual machine network.
The embodiments of the invention provide a kind of method for realizing migration process, including:
Determine whether virtual machine is completed to migrate;
When determining that virtual machine completes migration, sent by the virtual machine of default triggering command triggering completion migration default Packet, to update network topological information.
Optionally, the triggering command includes:The instruction sent by virtual tool VMTOOLS.
Optionally, the default packet includes:
The Internet Control Message Protocol ICMP bags sent by the Internet packets survey meter PING.
Optionally, the network topological information includes:
Physical address (MAC) forward table.
Optionally, the default packet of transmission includes:
The default packet is sent to virtual machine gateway.
On the other hand, the embodiment of the present invention also provides a kind of device for realizing migration process, including:Determining unit and triggering Unit;Wherein,
Determining unit is used for:Determine whether virtual machine is completed to migrate;
Trigger element is used for:When determining unit determines that virtual machine completes migration, triggered and completed by default triggering command The virtual machine of migration sends default packet, to update network topological information.
Optionally, the trigger element is specifically used for:
The default triggering command is sent by virtual tool VMTOOLS, is triggered by triggering command and completes migration Virtual machine sends default packet, to update network topological information.
Optionally, the default packet includes:
The Internet Control Message Protocol ICMP bags sent by the Internet packets survey meter PING.
Optionally, the network topological information includes:
Physical address (MAC) forward table.
Optionally, the trigger element is specifically used for:The virtual machine hair for completing migration is triggered by default triggering command Default packet is sent to virtual machine gateway, to update network topological information.
Compared with correlation technique, technical scheme includes:Determine whether virtual machine is completed to migrate;Determine that virtual machine is complete Default packet is sent into the virtual machine for completing to migrate during migration, is triggered by default triggering command, is opened up with updating network Flutter information.The embodiment of the present invention avoids the network interruption of virtual machine (vm) migration, improves the stability of virtual machine network.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the flow chart for the method that the embodiment of the present invention realizes migration process;
Fig. 2 is the structured flowchart for the device that the embodiment of the present invention realizes migration process.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
Fig. 1 is the flow chart for the method that the embodiment of the present invention realizes migration process, as shown in figure 1, including:
Step 100, determine whether virtual machine is completed to migrate;
Step 101, determine virtual machine complete migration when, pass through default triggering command triggering complete migration virtual machine send out Default packet is sent, to update network topological information.
Optionally, triggering command of the embodiment of the present invention includes:The instruction sent by virtual tool (VMTOOLS).
Sent it should be noted that default triggering command can be the program stored in the physical machine where virtual machine Instruction.
Optionally, the default packet of the embodiment of the present invention includes:
The Internet Control Message Protocol (ICMP) sent by the Internet packets survey meter (PING) wraps.
It should be noted that the default packet of the embodiment of the present invention can also include in general business data packet.As long as Virtual machine gateway is set to know the migration that virtual machine in network be present, to update network topological information.
Optionally, network topological information of the embodiment of the present invention includes:Physical address (MAC) forward table.
Optionally, the embodiment of the present invention sends default packet and included:
The default packet is sent to virtual machine gateway.
Compared with correlation technique, technical scheme includes:Determine whether virtual machine is completed to migrate;Determine that virtual machine is complete Default packet is sent into the virtual machine for completing to migrate during migration, is triggered by default triggering command, is opened up with updating network Flutter information.The embodiment of the present invention avoids the network interruption of virtual machine (vm) migration, improves the stability of virtual machine network.
Fig. 2 is the structured flowchart for the device that the embodiment of the present invention realizes migration process, as shown in Fig. 2 including:Determining unit And trigger element;Wherein,
Determining unit is used for:Determine whether virtual machine is completed to migrate;
Trigger element is used for:When determining unit determines that virtual machine completes migration, triggered and completed by default triggering command The virtual machine of migration sends default packet, to update network topological information.
Optionally, trigger element of the embodiment of the present invention is specifically used for:
The default triggering command is sent by virtual tool (VMTOOLS), is triggered by triggering command and completes migration Virtual machine send default packet, to update network topological information.
Sent it should be noted that default triggering command can be the program stored in the physical machine where virtual machine Instruction.
Optionally, the default packet of the embodiment of the present invention includes:
The ICMP bags sent by PING.
Optionally, network topological information of the embodiment of the present invention includes:
Physical address (MAC) forward table.
Optionally, trigger element of the embodiment of the present invention is specifically used for:Triggered by default triggering command and complete migration Virtual machine sends default packet to virtual machine gateway, to update network topological information.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with computer-readable storage medium to be held Row instruction, computer executable instructions are used to perform the above-mentioned method for realizing migration process.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage, Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as be stored in by computing device Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form With reference to.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. method for realizing migration process, it is characterised in that including:
    Determine whether virtual machine is completed to migrate;
    When determining that virtual machine completes migration, the virtual machine for completing to migrate is triggered by default triggering command and sends default data Bag, to update network topological information.
  2. 2. according to the method for claim 1, it is characterised in that the triggering command includes:Pass through virtual tool VMTOOLS The instruction of transmission.
  3. 3. method according to claim 1 or 2, it is characterised in that the default packet includes:
    The Internet Control Message Protocol ICMP bags sent by the Internet packets survey meter PING.
  4. 4. method according to claim 1 or 2, it is characterised in that the network topological information includes:
    Physical address MAC forward tables.
  5. 5. method according to claim 1 or 2, it is characterised in that the default packet of transmission includes:
    The default packet is sent to virtual machine gateway.
  6. A kind of 6. device for realizing migration process, it is characterised in that including:Determining unit and trigger element;Wherein,
    Determining unit is used for:Determine whether virtual machine is completed to migrate;
    Trigger element is used for:When determining unit determines that virtual machine completes migration, triggered by default triggering command and complete migration Virtual machine send default packet, to update network topological information.
  7. 7. device according to claim 6, it is characterised in that the trigger element is specifically used for:
    The default triggering command is sent by virtual tool VMTOOLS, is triggered by triggering command and completes the virtual of migration Machine sends default packet, to update network topological information.
  8. 8. the device according to claim 6 or 7, it is characterised in that the default packet includes:
    The Internet Control Message Protocol ICMP bags sent by the Internet packets survey meter PING.
  9. 9. the device according to claim 6 or 7, it is characterised in that the network topological information includes:
    Physical address MAC forward tables.
  10. 10. the device according to claim 6 or 7, it is characterised in that the trigger element is specifically used for:By default The virtual machine that migration is completed in triggering command triggering sends default packet to virtual machine gateway, to update network topological information.
CN201710594654.5A 2017-07-20 2017-07-20 A kind of method and device for realizing migration process Pending CN107370679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710594654.5A CN107370679A (en) 2017-07-20 2017-07-20 A kind of method and device for realizing migration process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710594654.5A CN107370679A (en) 2017-07-20 2017-07-20 A kind of method and device for realizing migration process

Publications (1)

Publication Number Publication Date
CN107370679A true CN107370679A (en) 2017-11-21

Family

ID=60308431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710594654.5A Pending CN107370679A (en) 2017-07-20 2017-07-20 A kind of method and device for realizing migration process

Country Status (1)

Country Link
CN (1) CN107370679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673930A (en) * 2019-12-04 2020-01-10 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333037A (en) * 2011-10-20 2012-01-25 中兴通讯股份有限公司 Method and device for migrating virtual machine
CN102821023A (en) * 2012-08-07 2012-12-12 杭州华三通信技术有限公司 Method and device for dynamically migrating VLAN (virtual local area network) configuration
CN105208048A (en) * 2014-05-30 2015-12-30 株式会社日立制作所 Global migration manager, gateway, virtual machine migration system and method thereof
CN105430049A (en) * 2015-10-29 2016-03-23 西安交通大学 Virtual streaming cluster cooperative migration method based on DCN
CN105634955A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Method and apparatus for updating flow table
CN106911534A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of live migration of virtual machine method and its system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333037A (en) * 2011-10-20 2012-01-25 中兴通讯股份有限公司 Method and device for migrating virtual machine
CN102821023A (en) * 2012-08-07 2012-12-12 杭州华三通信技术有限公司 Method and device for dynamically migrating VLAN (virtual local area network) configuration
CN105208048A (en) * 2014-05-30 2015-12-30 株式会社日立制作所 Global migration manager, gateway, virtual machine migration system and method thereof
CN105634955A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Method and apparatus for updating flow table
CN105430049A (en) * 2015-10-29 2016-03-23 西安交通大学 Virtual streaming cluster cooperative migration method based on DCN
CN106911534A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of live migration of virtual machine method and its system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673930A (en) * 2019-12-04 2020-01-10 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device
CN110673930B (en) * 2019-12-04 2020-07-17 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device

Similar Documents

Publication Publication Date Title
US9535871B2 (en) Dynamic routing through virtual appliances
US9454392B2 (en) Routing data packets between virtual machines using shared memory without copying the data packet
US9588807B2 (en) Live logical partition migration with stateful offload connections using context extraction and insertion
US9363172B2 (en) Managing a configurable routing scheme for virtual appliances
US8830870B2 (en) Network adapter hardware state migration discovery in a stateful environment
JP6195900B2 (en) System and method for supporting live migration of virtual machines in a virtualized environment
CN103763121B (en) The method and device that a kind of network configuration information quickly issues
US20120291024A1 (en) Virtual Managed Network
US20120290695A1 (en) Distributed Policy Service
CN109981493B (en) Method and device for configuring virtual machine network
WO2020001442A1 (en) Data processing method and related device
US20180025049A1 (en) Server and Data Processing Method
CN113326101B (en) Thermal migration method, device and equipment based on remote direct data storage
EP2866393A1 (en) Method and apparatus for determining virtual machine drifting
CN107682275B (en) Message monitoring method and device
CN106878072A (en) A kind of message transmitting method and device
EP3021223A1 (en) Method for enhancing memory fault tolerance
KR20130051820A (en) Software migration apparatus in mobile environment and the method thereof
CN106844012A (en) A kind of method and system of unshared storage dynamic migration virtual machine
CN103795770B (en) The method and apparatus that cache service is provided in network infrastructure
CN109412925A (en) Forwarding-table item update method and VTEP based on VTEP
CN107370679A (en) A kind of method and device for realizing migration process
CN103856502A (en) Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
CN106921577A (en) MAC address learning method and device
WO2016173196A1 (en) Method and apparatus for learning address mapping relationship

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171121

RJ01 Rejection of invention patent application after publication