CN106250228B - The method and device that virtual machine entity thermophoresis network smoothly switches - Google Patents

The method and device that virtual machine entity thermophoresis network smoothly switches Download PDF

Info

Publication number
CN106250228B
CN106250228B CN201610658341.7A CN201610658341A CN106250228B CN 106250228 B CN106250228 B CN 106250228B CN 201610658341 A CN201610658341 A CN 201610658341A CN 106250228 B CN106250228 B CN 106250228B
Authority
CN
China
Prior art keywords
virtual machine
network
machine entity
physical server
thermophoresis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610658341.7A
Other languages
Chinese (zh)
Other versions
CN106250228A (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.)
Chengdu Chuxun Science and Technology Co., Ltd.
Original Assignee
Beijing Webex Technology Co Ltd Hangzhou Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Webex Technology Co Ltd Hangzhou Branch filed Critical Beijing Webex Technology Co Ltd Hangzhou Branch
Priority to CN201610658341.7A priority Critical patent/CN106250228B/en
Publication of CN106250228A publication Critical patent/CN106250228A/en
Application granted granted Critical
Publication of CN106250228B publication Critical patent/CN106250228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present invention discloses a kind of method and devices that virtual machine entity thermophoresis network smoothly switches, it include: that virtual machine entity from source physical server thermophoresis to target physical server enters final stage, before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to the datagram of virtual machine entity on the physical server of source;Virtual machine entity is got in target physical server after open state information, the virtual machine entity datagram of caching being forwarded in target physical server.The method and device that virtual machine entity thermophoresis network provided in the present invention smoothly switches overcomes the problems, such as that data message is lost in thermomigration process, and can be adapted for any type of ethernet network.

Description

The method and device that virtual machine entity thermophoresis network smoothly switches
Technical field
The present invention relates to network technique field, in particular to a kind of method that virtual machine entity thermophoresis network smoothly switches And device.
Background technique
VM (virtual machine) and container (container) is existing frequently-used virtualization technology, and face all develops on them Thermophoresis technology.Virtual machine and container are referred to simultaneously with virtual machine entity herein.
Virtual machine entity thermophoresis is that virtual machine entity being served is migrated from a physical server to new object Manage server.
The thermophoresis technology of virtual machine entity refer to guarantee virtual machine physically service operate normally while, virtual machine Entity is migrated between different physical servers.The advantages of thermophoresis, is to simplify system maintenance management, raising system Load balancing enhances system mistake tolerance and optimization system power management.Virtual machine entity thermophoresis is widely used in computer It is shared, DB Backup, Environmental re-appearing, the applications such as system hardware maintenance.
In order to guarantee the available of virtual machine entity services in transition process, when transition process only has very of short duration shutdown Between.The earlier stage of migration, service is run in source physical server, when migration proceeds to certain phase, target physical server The necessary resource for having had been provided with operating system, by a very of short duration switching, source physical server is by control right transfer To target physical server, service continues to run in target physical server.For service itself, due to switching when Between very of short duration, the interruption of the imperceptible service of user, thus transition process is transparent to user.Online migration is suitable for pair The exigent scene of service availability.
Switching and virtual machine entity although the time of above-mentioned switching is very of short duration, and due to network routing are temporary to delay Message in the routing of machine, originally network, which may be because, can not find virtual machine entity and lose.This may cause system application Integrity problem.And caused datagram re-transmission can increase instantaneous network load after losing data message.
In the prior art, it is intended to be formed using SDN (software defined network) interchanger, SDN controller and thermophoresis platform Network solve the above problems.However, this method can only guarantee that the datagram on switching path is not lost, object not can solve but It manages datagram buffered on server internal network interface card and loses problem, it is SDN that SDN controller, which is the control plane of centralization, The bottleneck of network may cause resource contention using SDN controller come data cached packet;Especially there are multiple virtual machine entities same When migrating, resource contention may eventually lead to some virtual machine entities and be unable to get service.
Summary of the invention
The main object of the present invention is to provide a kind of method and device that virtual machine entity thermophoresis network smoothly switches, gram The problem of data message is lost in thermomigration process is taken, and can be adapted for any type of ethernet network.
The present invention proposes a kind of method that virtual machine entity thermophoresis network smoothly switches, comprising the following steps:
Virtual machine entity enters final stage, virtual machine entity from source physical server thermophoresis to target physical server Before turning off, starting network migration auxiliary program caching is sent to the datagram of virtual machine entity on the physical server of source;
It gets virtual machine entity and after open state information, the datagram of caching is forwarded in target physical server Virtual machine entity in target physical server.
Further, the network migration auxiliary program is run independently of virtual machine entity comprising process, is answered at thread With at least one of, container or another virtual machine entity.
Further, the starting network migration auxiliary program caching is sent to the number of virtual machine entity on the physical server of source Include: according to the step of report
Network interface card is configured by network migration auxiliary program and/or by filtering datagram, will be sent to the number of virtual machine entity It is redirected, is imported in buffer pool according to report.
Further, the step of virtual machine entity datagram of caching being sent in target physical server packet It includes:
Connected by network migration auxiliary program using the network established between source physical server and target physical server Connect the virtual machine entity in the datagram to target physical server of forwarding cache.
Further, the virtual machine entity is from wrapping during the physical server thermophoresis to target physical server of source It includes:
The network architecture is built using network tunnel technology, and by the memory copying process of virtual machine entity thermophoresis, net Network migrates the tunnel that auxiliary program shares source physical server and target physical server communication.
The present invention also provides a kind of devices that virtual machine entity thermophoresis network smoothly switches, comprising:
Cache unit, virtual machine entity enter final stage from source physical server thermophoresis to target physical server, Before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to the data of virtual machine entity on the physical server of source Report;
Retransmission unit gets virtual machine entity in target physical server after open state information, by the number of caching The virtual machine entity being forwarded in target physical server according to report.
Further, the network migration auxiliary program is run independently of virtual machine entity comprising process, is answered at thread With at least one of, container or another virtual machine entity.
Further, the starting network migration auxiliary program caching is sent to the number of virtual machine entity on the physical server of source It is specifically included according to report:
Network interface card is configured by network migration auxiliary program and/or by filtering datagram, will be sent to the number of virtual machine entity It is redirected, is imported in buffer pool according to report.
Further, the retransmission unit includes:
Subelement is forwarded, is built by network migration auxiliary program using between source physical server and target physical server Virtual machine entity in the datagram to target physical server of vertical network connection forwarding cache.
Further, the cache unit is also used to:
The network architecture is built using network tunnel technology, and by the memory copying process of virtual machine entity thermophoresis, net Network migrates the tunnel that auxiliary program shares source physical server and target physical server communication.
The method and device that virtual machine entity thermophoresis network provided in the present invention smoothly switches has below beneficial to effect Fruit:
The method and device that virtual machine entity thermophoresis network provided in the present invention smoothly switches, virtual machine entity is from source During physical server thermophoresis to target physical server, caching is sent to the number of virtual machine entity on the physical server of source According to report;After thermophoresis completion, the datagram of caching is forwarded to the virtual machine entity in target physical server, so that hot Data message will not be lost in transition process, and can be adapted for any type of ethernet network;It is assisted by network migration Program configures network interface card and/or by filtering datagram, and the datagram for being sent to virtual machine entity is redirected, is imported in buffer pool, So that datagram buffered on network interface card inside physical server will not lose;Network rack is built using network tunnel technology Structure, and virtual machine entity thermophoresis network is smoothly switched memory copying process, network migration auxiliary program share source object The tunnel for managing server and target physical server communication, can save the time for dynamically generating and newly routing.
Detailed description of the invention
Fig. 1 is the schematic illustration that virtual machine entity thermophoresis network smoothly switches in one embodiment of the invention;
Fig. 2 is the method and step schematic diagram that virtual machine entity thermophoresis network smoothly switches in one embodiment of the invention;
Fig. 3 is the apparatus structure schematic diagram that virtual machine entity thermophoresis network smoothly switches in one embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " " above-mentioned " and "the" may also comprise plural form.It is to be further understood that making in specification of the invention Wording " comprising " refers to that there are the feature, integer, step, operation, element, unit, module and/or components, but simultaneously Do not preclude the presence or addition of other one or more features, integer, step, operation, element, unit, module, component and/or it Group.It should be understood that when we say that an element is " connected " or " coupled " to another element, it can be directly connected to or couple To other elements, or there may also be intermediary elements.In addition, " connection " used herein or " coupling " may include wirelessly connecting It connects or wirelessly couples.Wording "and/or" used herein includes one or more associated listing the whole or any of item Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
VM (virtual machine) and container (container) is existing frequently-used virtualization technology, and face all develops on them Thermophoresis technology.Method and device provided in the present invention is suitable for virtual machine and container, in order to compose a piece of writing conveniently, with virtual machine reality Body comes while referring to virtual machine and container.
Virtual machine entity thermophoresis is that virtual machine entity being served is migrated from a physical server to new object Manage server.
Referring to Fig.1, the schematic illustration smoothly switched for virtual machine entity thermophoresis network in the embodiment of the present invention.
In the present embodiment, main purpose is by virtual machine entity from source physical server thermophoresis to target physical service Device, and guarantee that data message is not lost in transition process.
By interchanger connection server X, server X can be cloud for source physical server and target physical server Server.Prepare in thermophoresis management platform by the virtual machine entity thermophoresis on the physical server of source to target physical server When upper, server X has data communication according to the routing of former network with virtual machine entity A at this time.During thermophoresis, virtual machine For entity A on the physical server of source before delay machine, network migration auxiliary program caches the datagram for being sent to virtual machine entity A, above-mentioned The datagram for being sent to virtual machine entity A can be sent to the datagram of virtual machine entity A for server X or other terminals;Work as void After all memories of quasi- machine entity A are all copied to target physical server, virtual machine entity A is switched in target physical server (virtual machine entity A in figure '), network migration auxiliary program is by temporarily forwarding the datagram of routing forwarding caching to target physical Virtual machine entity on server, guarantee data message will not lose, server X by new network routing with virtual machine entity into Row communication, guarantees that network smoothly switches.The method proposed in the present embodiment is used in any type of ethernet network.
Referring to Fig. 2, specifically, the side that the virtual machine entity thermophoresis network proposed in the embodiment of the present invention smoothly switches Method, comprising the following steps:
Step S1, virtual machine entity enter final stage from source physical server thermophoresis to target physical server, empty Before quasi- machine entity is turned off, starting network migration auxiliary program caching is sent to the data of virtual machine entity on the physical server of source Report.
Specifically, it is managed after platform initiates the thermophoresis of virtual machine entity by thermophoresis, when thermophoresis enters final stage, Before virtual machine entity delay machine, start network migration auxiliary program on the physical server of source.Above-mentioned network migration auxiliary program It is run independently of virtual machine entity comprising at least one in process, thread, application, container or another virtual machine entity Kind, above-mentioned process, thread can be realized by simply programming;Network migration auxiliary program can possess oneself independent network Identity participates in network communication by virtual machine entity manager;Network migration auxiliary program and thermophoresis management platform carry out Communication, is controlled and status information;For example, thermophoresis management platform migrates virtual machine entity to mesh from source physical server Physical server is marked, in the final stage of migration, starts network migration auxiliary program, is cached and sent out by network migration auxiliary program The datagram of virtual machine entity on the physical server of source;When thermophoresis management platform courses virtual machine entity takes in target physical After being switched on business device, open state information is sent to network migration auxiliary program, network migrates auxiliary program and receives the shape that is switched on State information.In the final stage of migration, before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to source physics The datagram of virtual machine entity, prevents datagram from losing on server, and the network after being, which smoothly switches, to lay the foundation.
When thermophoresis enters final stage, before virtual machine entity delay machine, going the network flow of virtual machine entity seamless It imported into the buffer pool of oneself.The datagram transmitted on network is not only considered, it is also contemplated that having arrived at service Device network interface card, but also the datagram without reaching virtual machine is cached in network interface card.
Therefore, it when thermophoresis enters final stage, before virtual machine entity delay machine, is configured by network migration auxiliary program Network interface card and/or by software filter datagram, the datagram for being sent to virtual machine entity is redirected, the net for removing virtual machine entity Network flow is seamless to be imported into the buffer pool of oneself.Specifically, if network interface card hardware supported seamless switching, network migration assists journey Sequence configures network interface card, and network interface card needs have corresponding support on hardware, the datagram in network interface card is avoided to be dropped.If without network interface card Hardware supported can filter datagram on software, and the datagram for being sent to the virtual machine entity is redirected.
Further, after the flow on network interface card is redirected to the buffer pool of network migration auxiliary program, virtual machine is real Body delay machine.
It completes after virtual machine physical memory is copied to target physical server from source physical server, virtual machine entity is in mesh It is switched on mark physical server.
After the memory of virtual machine entity is copied to target physical server from source physical server, virtual machine entity is in mesh It is switched on mark physical server.At this point, thermophoresis, which manages platform, notifies network migration auxiliary program, network migration for boot-strap information The auxiliary program then available status information being switched in target physical server to virtual machine entity.
Step S2 gets virtual machine entity in target physical server after open state information, by the data of caching Report the virtual machine entity being forwarded in target physical server.
After virtual machine entity is switched in target physical server, network migration auxiliary program using source physical server and Virtual machine in the datagram to target physical server for the network connection forwarding cache established between target physical server is real Body.After virtual machine entity reset, network routing also will do it update, and newly generated datagram will not be from original network path Source physical server is removed, later, virtual machine entity receives datagram from the routing of new network.
Datagram on original network path fully enters the buffer pool of network migration auxiliary program, and is transmitted to target After virtual machine entity on physical server, network migration auxiliary program exits service.Network migration auxiliary program can wait One sufficiently long time guarantees that no datagram is dropped, and can also notify network according to event by Virtual Administrative Platform It is out of service to migrate auxiliary program.
Further, in the present embodiment, if the network of tunneling technique is not used, when virtual machine entity is in object After turning back on reason server, the network routing between virtual machine entity and network migration auxiliary program needs dynamic to generate, It will cause a fixed response time.Therefore, in the present embodiment, taken in virtual machine entity from source physical server thermophoresis to target physical Be engaged in building the network architecture using network tunnel technology during device, and by the memory copying of virtual machine entity thermophoresis into Journey, network migration auxiliary program share the tunnel of source physical server and target physical server communication, can save dynamic Generate the time newly routed.This is because the time that memory copying process is communicated is more early than network migration auxiliary program.Net Network tunnel can be qinq (also known as double vlan, double virtual local area network tags), overlay (network layer superposition), Huo Zheqi Its similar techniques.
It also proposed a kind of void in order to further be illustrated to the method in the embodiment of the present invention, in the embodiment of the present invention The device that quasi- machine entity thermophoresis network smoothly switches.
Referring to Fig. 3, a kind of device that virtual machine entity thermophoresis network smoothly switches is additionally provided in the embodiment of the present invention, It specifically includes:
Cache unit 10, virtual machine entity enter last rank from source physical server thermophoresis to target physical server Section, before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to virtual machine entity on the physical server of source Datagram.
Specifically, it is managed after platform initiates the thermophoresis of virtual machine entity by thermophoresis, when thermophoresis enters final stage, Before virtual machine entity delay machine, start network migration auxiliary program on the physical server of source.Above-mentioned network migration auxiliary program It is run independently of virtual machine entity comprising at least one in process, thread, application, container or another virtual machine entity Kind, network migration auxiliary program can possess oneself independent network identity or participate in network by virtual machine entity manager Communication;Network migration auxiliary program and thermophoresis management platform are communicated, and are controlled and status information.In the last of migration In the stage, before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to virtual machine entity on the physical server of source Datagram, prevent datagram from losing.
When thermophoresis enters final stage, before virtual machine entity delay machine, going the network flow of virtual machine entity seamless It imported into the buffer pool of oneself.The datagram transmitted on network is not only considered, it is also contemplated that having arrived at service Device network interface card, but also the datagram without reaching virtual machine is cached in network interface card.
Therefore, it when thermophoresis enters final stage, before virtual machine entity delay machine, is configured by network migration auxiliary program Network interface card and/or by software filter datagram, the datagram for being sent to virtual machine entity is redirected, the net for removing virtual machine entity Network flow is seamless to be imported into the buffer pool of oneself.Specifically, if network interface card hardware supported seamless switching, network migration assists journey Sequence configures network interface card, and network interface card needs have corresponding support on hardware, the datagram in network interface card is avoided to be dropped.If without network interface card Hardware supported can filter datagram on software, and the datagram for being sent to the virtual machine entity is redirected.
Further, after the flow on network interface card is redirected to the buffer pool of network migration auxiliary program, virtual machine is real Body delay machine.
It completes after virtual machine physical memory is copied to target physical server from source physical server, virtual machine entity is in mesh It is switched on mark physical server.
After the memory of virtual machine entity is copied to target physical server from source physical server, virtual machine entity is in mesh It is switched on mark physical server.At this point, thermophoresis, which manages platform, notifies network migration auxiliary program, network migration for boot-strap information The auxiliary program then available status information being switched in target physical server to virtual machine entity.
Retransmission unit 20 gets virtual machine entity in target physical server after open state information, by caching Datagram is forwarded to the virtual machine entity in target physical server.
Above-mentioned retransmission unit 20 includes forwarding subelement, after virtual machine entity is switched in target physical server, forwarding Subelement uses the network connection established between source physical server and target physical server by network migration auxiliary program Virtual machine entity in the datagram to target physical server of forwarding cache.After virtual machine entity reset, network routing also can It is updated, newly generated datagram will not remove source physical server from original network path again;Later, virtual machine entity The datagram that server is sent is received from the routing of new network.
Datagram on original network path fully enters the buffer pool of network migration auxiliary program, and is transmitted to target After virtual machine entity on physical server, network migration auxiliary program exits service.Network migration auxiliary program can wait One sufficiently long time guarantees that no datagram is dropped, and can also notify network according to event by Virtual Administrative Platform It is out of service to migrate auxiliary program.
Further, in the present embodiment, if the network of tunneling technique is not used, when virtual machine entity is in object After turning back on reason server, the network routing between virtual machine entity and network migration auxiliary program needs dynamic to generate, It will cause a fixed response time.Therefore, in the present embodiment, taken in virtual machine entity from source physical server thermophoresis to target physical Be engaged in building the network architecture using network tunnel technology during device, and by the memory copying of virtual machine entity thermophoresis into Journey, network migration auxiliary program share the tunnel of source physical server and target physical server communication, can save dynamic Generate the time newly routed.This is because the time that memory copying process is communicated is more early than network migration auxiliary program.Net Network tunnel can be qinq (also known as double vlan, double virtual local area network tags), overlay (network layer superposition), Huo Zheqi Its similar techniques.
In conclusion method and dress that the virtual machine entity thermophoresis network to provide in the embodiment of the present invention smoothly switches It sets, for virtual machine entity from during the physical server thermophoresis to target physical server of source, cache server is sent to source object Manage the datagram of virtual machine entity on server;After thermophoresis completion, the datagram of caching is forwarded to target physical clothes The virtual machine entity being engaged on device, so that data message will not be lost in thermomigration process, network switching is smooth, and can be adapted for Any type of ethernet network;Network interface card is configured by network migration auxiliary program and/or by filtering datagram, will be sent to void The datagram of quasi- machine entity is redirected, and is imported in buffer pool, so that datagram buffered on network interface card inside physical server It will not lose;The network architecture is built using network tunnel technology, and by the memory copying process of virtual machine entity thermophoresis, Network migration auxiliary program shares the tunnel of source physical server and target physical server communication, can save dynamic and generate newly The time of routing.
It will be understood by those skilled in the art that the present invention includes being related to for executing one in operation described herein Or multinomial equipment.These equipment can specially design and manufacture for required purpose, or also may include general-purpose computations Known device in machine.These equipment have the computer program being stored in it, these computer programs selectively activate Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) readable medium or be stored in, to be suitable for Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage Device), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, readable Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method that virtual machine entity thermophoresis network smoothly switches, which comprises the following steps:
The network architecture is built using network tunnel technology;
Virtual machine entity enters final stage from source physical server thermophoresis to target physical server, and virtual machine entity is turned off Before, starting network migration auxiliary program caching is sent to the datagram of virtual machine entity on the physical server of source;
Virtual machine entity is got in target physical server after open state information, the datagram of caching is forwarded to target Virtual machine entity on physical server.
2. the method that virtual machine entity thermophoresis network according to claim 1 smoothly switches, which is characterized in that the net Network migrates auxiliary program and runs independently of virtual machine entity comprising process, thread, application, container or another virtual machine are real At least one of body.
3. the method that virtual machine entity thermophoresis network according to claim 1 smoothly switches, which is characterized in that described to open Dynamic network migration auxiliary program caches the step of being sent to the datagram of virtual machine entity on the physical server of source
Network interface card is configured by network migration auxiliary program and/or by filtering datagram, will be sent to the datagram of virtual machine entity It is redirected, imports in buffer pool.
4. the method that virtual machine entity thermophoresis network according to claim 1 smoothly switches, which is characterized in that described to incite somebody to action The step of virtual machine entity that the datagram of caching is sent in target physical server includes:
Turned by network migration auxiliary program using the network connection established between source physical server and target physical server Send out the virtual machine entity in the datagram to target physical server of caching.
5. the method that virtual machine entity thermophoresis network according to claim 1 smoothly switches, which is characterized in that the void Quasi- machine entity includes: from source physical server thermophoresis to the step of target physical server
The network architecture is built using network tunnel technology, and the memory copying process of virtual machine entity thermophoresis, network are moved Move the tunnel that auxiliary program shares source physical server and target physical server communication.
6. a kind of device that virtual machine entity thermophoresis network smoothly switches characterized by comprising
Cache unit builds the network architecture using network tunnel technology;Virtual machine entity is from source physical server thermophoresis to mesh Mark physical server enters final stage, and before virtual machine entity is turned off, starting network migration auxiliary program caching is sent to source object Manage the datagram of virtual machine entity on server;
Retransmission unit gets virtual machine entity in target physical server after open state information, by the datagram of caching The virtual machine entity being forwarded in target physical server.
7. the device that virtual machine entity thermophoresis network according to claim 6 smoothly switches, which is characterized in that the net Network migrates auxiliary program and runs independently of virtual machine entity comprising process, thread, application, container or another virtual machine are real At least one of body.
8. the device that virtual machine entity thermophoresis network according to claim 6 smoothly switches, which is characterized in that described to open The datagram that dynamic network migration auxiliary program caching is sent to virtual machine entity on the physical server of source specifically includes:
Network interface card is configured by network migration auxiliary program and/or by filtering datagram, will be sent to the datagram of virtual machine entity It is redirected, imports in buffer pool.
9. the device that virtual machine entity thermophoresis network according to claim 6 smoothly switches, which is characterized in that described turn Bill member includes:
Subelement is forwarded, by network migration auxiliary program using establishing between source physical server and target physical server The virtual machine entity being connected to the network in the datagram to target physical server of forwarding cache.
10. the device that virtual machine entity thermophoresis network according to claim 6 smoothly switches, which is characterized in that described Cache unit is also used to:
The network architecture is built using network tunnel technology, and the memory copying process of virtual machine entity thermophoresis, network are moved Move the tunnel that auxiliary program shares source physical server and target physical server communication.
CN201610658341.7A 2016-08-11 2016-08-11 The method and device that virtual machine entity thermophoresis network smoothly switches Active CN106250228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610658341.7A CN106250228B (en) 2016-08-11 2016-08-11 The method and device that virtual machine entity thermophoresis network smoothly switches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610658341.7A CN106250228B (en) 2016-08-11 2016-08-11 The method and device that virtual machine entity thermophoresis network smoothly switches

Publications (2)

Publication Number Publication Date
CN106250228A CN106250228A (en) 2016-12-21
CN106250228B true CN106250228B (en) 2019-07-16

Family

ID=58078253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610658341.7A Active CN106250228B (en) 2016-08-11 2016-08-11 The method and device that virtual machine entity thermophoresis network smoothly switches

Country Status (1)

Country Link
CN (1) CN106250228B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911534A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of live migration of virtual machine method and its system
CN106961487B (en) * 2017-04-19 2020-10-27 南京大学 Data stream self-adaptive adjusting system and method in virtual machine live migration process
CN107239323A (en) * 2017-08-03 2017-10-10 郑州云海信息技术有限公司 A kind of method and system of container thermophoresis
CN110858851B (en) * 2018-08-24 2022-06-14 阿里巴巴集团控股有限公司 Data connection restarting method, data processing method and device in live broadcast service
CN110874264B (en) * 2018-08-30 2023-05-02 阿里巴巴集团控股有限公司 Instance thermomigration method and device, storage medium and processor
CN114679461B (en) * 2022-03-30 2023-02-14 浙江大学 Cloud network session connectivity guarantee method and system for virtual machine live migration scene
CN115499385B (en) * 2022-09-21 2023-09-12 中电云数智科技有限公司 Method for preventing packet loss during thermal migration of vDPA virtual machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103201721A (en) * 2012-08-29 2013-07-10 华为技术有限公司 Virtual machine thermal migration system and method
CN103812823A (en) * 2012-11-07 2014-05-21 华为技术有限公司 Method, device and system for configuration information migration in thermal migration of virtual machine
CN105700944A (en) * 2015-12-31 2016-06-22 赛尔网络有限公司 Online migration method and device for virtual machine not in shared storage condition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173653A1 (en) * 2010-12-30 2012-07-05 International Business Machines Corporation Virtual machine migration in fabric attached memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103201721A (en) * 2012-08-29 2013-07-10 华为技术有限公司 Virtual machine thermal migration system and method
CN103812823A (en) * 2012-11-07 2014-05-21 华为技术有限公司 Method, device and system for configuration information migration in thermal migration of virtual machine
CN105700944A (en) * 2015-12-31 2016-06-22 赛尔网络有限公司 Online migration method and device for virtual machine not in shared storage condition

Also Published As

Publication number Publication date
CN106250228A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106250228B (en) The method and device that virtual machine entity thermophoresis network smoothly switches
CN103647849B (en) Method and device for migrating businesses and disaster recovery system
CN108475251B (en) Virtual network, hot swapping, hot scaling and disaster recovery for containers
US9513970B2 (en) Optimizing handling of virtual machine mobility in data center environments
CN108964948A (en) Principal and subordinate's service system, host node fault recovery method and device
CN104735098B (en) The control method and control system of session information
US20210144216A1 (en) Methods Circuits Devices Systems and Functionally Associated Computer Executable Code for Facilitating Edge Computing on a Mobile Data Communication Network
CN103544043A (en) Hierarchical system for managing a plurality of virtual machines, method and computer program
CN108351860A (en) The distributed storage devices based on RDMA of low latency
CN107209710A (en) Node system, server apparatus, zoom control method and program
US11360799B2 (en) Virtual machine live migration with seamless network connectivity
CN104468397B (en) The method and apparatus that a kind of live migration of virtual machine forwards not packet loss
CN102932409B (en) The method and system that a kind of virtual machine moves online
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
WO2013140522A1 (en) Information processing system, information processing method, and program
CN103414712A (en) Management system and method of distributed virtual desktop
CN109462511A (en) The method for building up and device of network
CN109039790A (en) A kind of inter-cluster communication method and relevant apparatus
US10742489B2 (en) Validating network configuration using shadow databases
CN105208060A (en) Service data synchronization method, service data synchronization device and service data synchronization system
CN103631652A (en) Method and system for achieving virtual machine migration
CN107682411A (en) A kind of extensive SDN controllers cluster and network system
CN108228812A (en) Adaptive host node switching method and device
CN103546556B (en) One kind online moving method of virtual machine in future network XIA
CN104780068B (en) A kind of method for switching network, the apparatus and system of computer room migration

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
TR01 Transfer of patent right

Effective date of registration: 20190709

Address after: 610000 Shujin Road, Chengdu High-tech District, Sichuan Province, 88, 1 Building, 2 Units, 46 Floors, 06

Patentee after: Chengdu Chuxun Science and Technology Co., Ltd.

Address before: 310016 Huaxing Times Square A507, 478 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Beijing WebEx Technology Co., Ltd. Hangzhou branch

TR01 Transfer of patent right