CN103888417A - Network switching method and system for virtual machine system migration - Google Patents
Network switching method and system for virtual machine system migration Download PDFInfo
- Publication number
- CN103888417A CN103888417A CN201210559763.0A CN201210559763A CN103888417A CN 103888417 A CN103888417 A CN 103888417A CN 201210559763 A CN201210559763 A CN 201210559763A CN 103888417 A CN103888417 A CN 103888417A
- Authority
- CN
- China
- Prior art keywords
- network
- machine system
- dummy machine
- identification information
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000013509 system migration Methods 0.000 title claims abstract description 26
- 238000013508 migration Methods 0.000 claims abstract description 83
- 230000005012 migration Effects 0.000 claims abstract description 83
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000004044 response Effects 0.000 claims description 25
- 238000004891 communication Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 3
- 230000007774 longterm Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000036755 cellular response Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network switching method and system for virtual machine system migration. The method comprises the following step: adding new virtual network cards, the number of which is the same with that of old network cards of a virtual machine system and the network types of which are the same with those of the old network cards correspondingly, to the virtual machine system running in a source physical host; configuring the new virtual network cards according to identification information of a target network; establishing IP tunnels between the new virtual network cards and a target physical host; carrying out the operation of migrating the virtual machine system on line, wherein in the process of carrying out the operation of migrating the virtual machine system on line, the virtual machine system is controlled to utilize the IP tunnels to have network communication with the newly-added communication opposite ends, and the newly-added communication opposite ends are accessed to a network through the target network; carrying out operation of migrating the virtual machine system off line; and running the virtual machine system in the target physical host. Through the technical scheme provided in the invention, the network switching can be finished rapidly, thereby effectively reducing the interruption time during the cross-domain migration of the virtual machine.
Description
Technical field
The present invention relates to computer application field, particularly a kind of method for switching network and system of dummy machine system migration.
Background technology
Dummy machine system migration refers in the unbroken situation of service application, between two or more physical hosts, moves dummy machine system, completes the transfer of dummy machine system operating system, internal storage data and dummy machine system state.Along with the continuous change of service application demand, the demand of the online migration of dummy machine system is increased gradually.How online dummy machine system to be carried out to cross-domain migration fast, and reduce as far as possible impact business being brought because of migration, become the study hotspot of dummy machine system technology.
Existing Intel Virtualization Technology not yet provides the virtualized enough supports of network system, can not realize transparent, the isolation of virtual networking, dynamically and be convenient to the advantages such as management completely, therefore, the cross-domain migration network of existing dummy machine system handoff technique is still realized by traditional network technology.
For example, a kind of method is to realize network by dynamic domain name system DNS technology to switch, but this method depends on dynamic-dns.That in existing network, mostly dispose is static DNS, and dynamic-dns is not yet generally disposed on wide area network, in addition, is not that all application all depend on DNS, in the time that concrete application does not need to use DNS, and this method of just can not sampling.Also having a kind of method is to use centralized control, and by distributed management, dummy machine system, in the time carrying out cross-domain migration, keeps network configuration information constant, but caused long-term route to detour, and in addition, the centralized management of network is also limited in scale.Also have some changing methods, when the network after dummy machine system migration switches, cause the response of long period to interrupt, can not realize the transparent migration of dummy machine system, user can feel and the interruption of application service reduced user's use perception.
Visible, the continuity of service when although existing scheme can provide dummy machine system to move online to a certain extent, but these solutions are owing to cannot providing cross-domain migration network rapidly to switch, or there is the service disruption of long period, or causing long-term route to detour has increased the network delay of business, having reduced dummy machine system provides the availability of service.
Summary of the invention
According to the embodiment of the present invention aspect, a technical problem to be solved is: a kind of method for switching network and system of dummy machine system migration are provided, realize the cross-domain migration network of dummy machine system easily and fast and switch.
The method for switching network of a kind of dummy machine system migration that the embodiment of the present invention provides, dummy machine system is migrated to target physical main frame by source physical host, wherein, described dummy machine system has the identification information of source network on the physical host of source, on target physical main frame, have the identification information of objective network, described method comprises:
On the dummy machine system moving, increase the old Microsoft Loopback Adapter number having with dummy machine system identical on the physical host of source, and new Microsoft Loopback Adapter corresponding to network type;
According to the identification information of described objective network, configure new Microsoft Loopback Adapter;
Between new Microsoft Loopback Adapter and described target physical main frame, set up IP tunnel;
Carry out the operation of the described dummy machine system of online migration, wherein, in the operating process of the described dummy machine system of the online migration of execution, control described dummy machine system and utilize described IP tunnel and the Correspondent Node that newly increases to carry out network service, described in the Correspondent Node that newly increases by described objective network access network;
Carry out the operation of shutting down the described dummy machine system of migration;
On described target physical main frame, move described dummy machine system, delete old Microsoft Loopback Adapter and described IP tunnel that described dummy machine system has.
Preferably, utilize described in described control dummy machine system described IP tunnel and the Correspondent Node newly increasing to carry out network service, specifically comprise:
Described dummy machine system, by described new Microsoft Loopback Adapter, sends connection request to the described Correspondent Node newly increasing;
Described dummy machine system uses described new Microsoft Loopback Adapter, accesses described objective network through described IP tunnel, carries out network service with the described Correspondent Node newly increasing.
Preferably, in the process of operation of carrying out the described dummy machine system of shutdown migration, described method also comprises:
There is the network connection of setting up by described old Microsoft Loopback Adapter in response to identifying described dummy machine system;
Interrupting the described network of setting up by described old Microsoft Loopback Adapter connects;
Move described dummy machine system on described target physical main frame after, the Correspondent Node that uses described new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
Preferably, move described dummy machine system on described target physical main frame after, described method also comprises:
In response to the connection request that receives the old Microsoft Loopback Adapter that is sent to described source physical host, recipient's identification information of described connection request is revised as to the identification information of described objective network, described connection request is forwarded to the dummy machine system in target physical;
Control described dummy machine system by the transmitting side marking information of described connection request, set up network with transmit leg and be connected.
Preferably, described method also comprises:
In response to receiving the instruction message again moving, whether the identification information of the objective network that identification is moved is again identical with the identification information of described source network;
The identification information of objective network in response to migration is again identical with the identification information of described source network, using the identification information of described source network as the identification information of the objective network of migration again, using the identification information of described objective network as the identification information of the source network of migration again, and using described source physical host as the target physical main frame again moving, using described target physical as the source physical host again moving, again carry out the old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system identical on the physical host of source, and the operation of the new Microsoft Loopback Adapter that network type is corresponding identical.
Preferably, described identification information comprises IP address information, host name information, domain name addresses information.
The network switched system of a kind of dummy machine system migration that the embodiment of the present invention provides, dummy machine system is migrated to target physical main frame by source physical host, wherein, described dummy machine system has the identification information of source network on the physical host of source, on target physical main frame, have the identification information of objective network, described system comprises:
Microsoft Loopback Adapter setting unit, identical for increase the old Microsoft Loopback Adapter number having with dummy machine system on the dummy machine system moving on the physical host of source, and new Microsoft Loopback Adapter corresponding to network type; According to the identification information of described objective network, configure new Microsoft Loopback Adapter;
Unit is set up in tunnel, for set up IP tunnel between new Microsoft Loopback Adapter and described target physical main frame;
Migration performance element, for after setting up IP tunnel, carries out the operation of the described dummy machine system of online migration; And carry out and shut down the operation of moving described dummy machine system;
Connection control unit, for the operating process carrying out the described dummy machine system of online migration, control described in described dummy machine system and utilize described IP tunnel and the Correspondent Node newly increasing to carry out network service, wherein, described in the Correspondent Node that newly increases by described objective network access network;
Source agent unit, for move described dummy machine system on described target physical main frame, deletes old Microsoft Loopback Adapter and described IP tunnel that described dummy machine system has.
Preferably, described connection control unit, specifically for controlling described dummy machine system by described new Microsoft Loopback Adapter, sends connection request to the described Correspondent Node newly increasing; Control described dummy machine system and use described new Microsoft Loopback Adapter, access described objective network through described IP tunnel, carry out network service with the described Correspondent Node newly increasing.
Preferably, described source agent unit, also for the process carrying out the operation of shutting down the described dummy machine system of migration, has the network connection of setting up by described old Microsoft Loopback Adapter in response to identifying described dummy machine system; Interrupting the described network of setting up by described old Microsoft Loopback Adapter connects; Described system also comprises:
Target proxy unit, after user moves described dummy machine system on described target physical main frame, the Correspondent Node that uses described new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
Preferably, described source agent unit, also for move described dummy machine system on described target physical main frame after, in response to the connection request that receives the old Microsoft Loopback Adapter that is sent to described source physical host, recipient's identification information of described connection request is revised as to the identification information of described objective network, described connection request is forwarded to the dummy machine system in target physical;
Described target proxy unit, also, for controlling described dummy machine system by the transmitting side marking information of described connection request, sets up network with transmit leg and is connected.
Preferably, described target proxy unit, also in response to receiving the instruction message again moving, whether the identification again identification information of the objective network of migration is identical with the identification information of described source network;
The identification information of objective network in response to migration is again identical with the identification information of described source network, using the identification information of described source network as the identification information of the objective network of migration again, using the identification information of described objective network as the identification information of the source network of migration again, and using described source physical host as the target physical main frame again moving, using described target physical as the source physical host again moving, again carry out the old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system identical on the physical host of source, and the operation of the new Microsoft Loopback Adapter that network type is corresponding identical.
Preferably, it is characterized in that, described identification information comprises IP address information, host name information, domain name addresses information.
Method for switching network and the system of the dummy machine system migration providing based on the above embodiment of the present invention, by increase Microsoft Loopback Adapter on the dummy machine system moving on the physical host of source, according to the identification information of objective network, configure new Microsoft Loopback Adapter, between new Microsoft Loopback Adapter and target physical main frame, set up IP tunnel, make in the operating process of the online migration of execution dummy machine system, dummy machine system can utilize IP tunnel and the Correspondent Node newly increasing to carry out network service, thereby after migration, stop using old virtual machine network interface card completing, completing rapidly network switches, break period when effectively reduction virtual machine carries out cross-domain migration, also avoid the route problem that detours, realize the level and smooth cross-domain migration of dummy machine system.Meanwhile, due to newly-increased on dummy machine system or to delete Microsoft Loopback Adapter easy to operate, utilize the dummy machine system resource can this advantage of elastic telescopic, make technical scheme provided by the invention be convenient to implement.
By the detailed description to exemplary embodiment of the present invention referring to accompanying drawing, it is clear that further feature of the present invention and advantage thereof will become.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship meanwhile.In similar label and letter accompanying drawing below, represent similar terms, therefore, once be defined in an a certain Xiang Yi accompanying drawing, in accompanying drawing subsequently, do not need it to be further discussed.
The accompanying drawing that forms a part for specification has been described embodiments of the invention, and together with the description for explaining principle of the present invention.
With reference to accompanying drawing, according to detailed description below, can more be expressly understood the present invention, wherein:
Fig. 1 illustrates the schematic flow sheet of a kind of embodiment of method for switching network of dummy machine system migration provided by the present invention;
Fig. 2 illustrates the structural representation of a kind of embodiment of network switched system of dummy machine system migration provided by the present invention;
Fig. 3 to Fig. 5 illustrates the schematic flow sheet step by step of a kind of embodiment of method for switching network of dummy machine system migration provided by the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.It should be noted that: unless illustrate in addition, the parts of setting forth in these embodiments and the positioned opposite of step do not limit the scope of the invention.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in suitable situation, described technology, method and apparatus should be regarded as authorizing a part for specification.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
Shown in Figure 1, Fig. 1 illustrates the schematic flow sheet of a kind of embodiment of method for switching network of dummy machine system migration provided by the present invention.In Fig. 1 embodiment, dummy machine system is migrated to target physical main frame by source physical host, and wherein, dummy machine system has the identification information of source network on the physical host of source, the identification information on target physical main frame with objective network, the method embodiment comprises:
101, on the dummy machine system moving, increase the old Microsoft Loopback Adapter number having with dummy machine system identical on the physical host of source, and the new Microsoft Loopback Adapter that network type is corresponding identical, the type of network can be polytype Microsoft Loopback Adapters such as traditional, enhancement mode, keeps the new Microsoft Loopback Adapter that increases consistent with the network type of old virtual card;
102, according to the identification information of objective network, configure new Microsoft Loopback Adapter;
103, between new Microsoft Loopback Adapter and target physical main frame, set up IP tunnel;
104, carry out the operation of online migration dummy machine system, wherein, in the operating process of the online migration of execution dummy machine system, control dummy machine system and utilize IP tunnel and the Correspondent Node newly increasing to carry out network service, the Correspondent Node newly increasing is by objective network access network;
105, carry out the operation of shutting down migration dummy machine system;
106, on target physical main frame, move dummy machine system, delete old Microsoft Loopback Adapter and IP tunnel that dummy machine system has.
In the method that the above embodiment of the present invention provides, by increase Microsoft Loopback Adapter on the dummy machine system moving on the physical host of source, between new Microsoft Loopback Adapter and target physical main frame, set up IP tunnel, make in the operating process of the online migration of execution dummy machine system, dummy machine system can utilize IP tunnel and the Correspondent Node newly increasing to carry out network service, thereby after migration, stop using old virtual machine network interface card completing, complete rapidly network and switch, effectively reduce virtual machine and carry out the break period in cross-domain when migration.
Wherein, online migration dummy machine system in 104 to 105, carry out the operation of shutting down migration dummy machine system and moving dummy machine system on target physical main frame, can implement according to the mode known to those skilled in the art.
According to the inventive method embodiment concrete example, in operation 103 embodiment illustrated in fig. 1, controlling dummy machine system utilizes IP tunnel and the Correspondent Node newly increasing to carry out network service, can realize in the following way: dummy machine system, by new Microsoft Loopback Adapter, sends connection request to the Correspondent Node newly increasing; Dummy machine system uses new Microsoft Loopback Adapter, through IP tunnel access objective network, carries out network service with the Correspondent Node newly increasing.
According to the inventive method embodiment concrete example, in operation 105 embodiment illustrated in fig. 1, in the process of operation of carrying out shutdown migration dummy machine system, the method can also comprise: have the network connection of setting up by old Microsoft Loopback Adapter in response to identifying dummy machine system; The network that interrupts setting up by old Microsoft Loopback Adapter connects; Move dummy machine system on target physical main frame after, the Correspondent Node that uses new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
According to the inventive method embodiment concrete example, move dummy machine system on target physical main frame after, the method can also comprise: in response to the connection request that receives the old Microsoft Loopback Adapter that is sent to source physical host, recipient's identification information of connection request is revised as to the identification information of objective network, connection request is forwarded to the dummy machine system in target physical; Control dummy machine system by the transmitting side marking information of connection request, set up network with transmit leg and be connected.
According to the inventive method embodiment concrete example, the method can also comprise: in response to receiving the instruction message again moving, whether the identification information of the objective network that identification is moved is again identical with the identification information of source network, the identification information of objective network in response to migration is again identical with the identification information of source network, using the identification information of source network as the identification information of the objective network of migration again, using the identification information of objective network as the identification information of the source network of migration again, and using source physical host as the target physical main frame again moving, using target physical as the source physical host again moving, again carry out the operation of the identical and corresponding identical new Microsoft Loopback Adapter of network type of old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system on the physical host of source.
In above-mentioned each embodiment of the method, can comprise IP address information, host name information, domain name addresses information at the identification information of objective network and source network.
Shown in Figure 2, Fig. 2 illustrates the structural representation of a kind of embodiment of network switched system of dummy machine system migration provided by the present invention.In the system shown in Fig. 2, dummy machine system is migrated to target physical main frame by source physical host, wherein, dummy machine system has the identification information of source network on the physical host of source, on target physical main frame, have the identification information of objective network, the network switched system of the dummy machine system migration that this embodiment provides comprises:
Microsoft Loopback Adapter setting unit 201, identical for increase the old Microsoft Loopback Adapter number having with dummy machine system on the dummy machine system moving on the physical host of source, and new Microsoft Loopback Adapter corresponding to network type; According to the identification information of objective network, configure new Microsoft Loopback Adapter;
A concrete example of system according to the invention embodiment, connection control unit 204, specifically for controlling dummy machine system by new Microsoft Loopback Adapter, sends connection request to the Correspondent Node newly increasing; Control dummy machine system and use new Microsoft Loopback Adapter, through IP tunnel access objective network, carry out network service with the Correspondent Node newly increasing.
A concrete example of system according to the invention embodiment, source agent unit 205, also for the process carrying out the operation of shutting down migration dummy machine system, has the network connection of setting up by old Microsoft Loopback Adapter in response to identifying dummy machine system; The network that interrupts setting up by old Microsoft Loopback Adapter connects; This system can also comprise:
Target proxy unit 206, after user moves dummy machine system on target physical main frame, the Correspondent Node that uses new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
A concrete example of system according to the invention embodiment, source agent unit 205 also for after moving dummy machine system on target physical main frame, in response to the connection request that receives the old Microsoft Loopback Adapter that is sent to source physical host, recipient's identification information of connection request is revised as to the identification information of objective network, connection request is forwarded to the dummy machine system in target physical; Target proxy unit 206 also, for controlling dummy machine system by the transmitting side marking information of connection request, is set up network with transmit leg and is connected.
A concrete example of system according to the invention embodiment, target proxy unit 206 is also in response to receiving the instruction message again moving, and whether the identification again identification information of the objective network of migration is identical with the identification information of source network, the identification information of objective network in response to migration is again identical with the identification information of source network, using the identification information of source network as the identification information of the objective network of migration again, using the identification information of objective network as the identification information of the source network of migration again, and using source physical host as the target physical main frame again moving, using target physical as the source physical host again moving, again carry out the operation of the identical and corresponding identical new Microsoft Loopback Adapter of network type of old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system on the physical host of source.
Exemplarily, identification information comprises IP address information, host name information, domain name addresses information.
Provided by the present invention for more complete description, below by an example, specifically describe the method for switching network of dummy machine system migration provided by the present invention.
Referring to shown in Fig. 3 to 5, Fig. 3 to Fig. 5 illustrates the schematic flow sheet of a kind of embodiment of method for switching network of dummy machine system migration provided by the present invention.Between source network and objective network, can communicate by the Internet, the network switched system of dummy machine system migration can arrange management server in the drawings, also the part unit of the network switched system of dummy machine system migration can be arranged on source physical host or target physical main frame.
Physical host in two networks of management service management and with the dummy machine system being moved, two physical host A and B lay respectively at source network and objective network, and the dummy machine system VM1 of source physical host A operation is moved to target physical host B.
Can be in the time that management server be received virtual machine (vm) migration order, start the network of method provided by the present invention in moving and switch, concrete operating procedure is as follows:
First, as shown in Figure 3, for VM1 increases and original the same number of virtual machine network interface card, VM1 had network interface card NC1 originally, and IP address is 10.1.1.1, now a newly-increased network interface card NC2.According to new IP configuration information after migration, NC2 is carried out to corresponding configuration, the IP address that NC2 is set is 20.2.2.2.Between new Microsoft Loopback Adapter NC2 and target physical host B, set up IP tunnel, then carry out the operation of online migration dummy machine system;
Next, as shown in Figure 4, when VM1 is carrying out in the process of cross-domain online migration, if have newly-increased connection or find that there is the connection of being convenient to switching in transition process, being connected to of for example having in transition process, occur that non-migrating causes in have no progeny and reconnect, or the initiatively communication connection of initiation of dummy machine system, controlling dummy machine system utilizes IP tunnel and the Correspondent Node newly increasing to carry out network service, use the connection setting (20.2.2.2) of objective network to send connection request to Correspondent Node by NC2, dummy machine system passes through IP tunnel to objective network by NC2 and carries out interim communicating by letter with Correspondent Node.
Next, management server can be set up respectively source agent unit and target proxy unit at source physical host A and target physical host B, wherein, source agent unit is preserved the configuration information of source network and the configuration information of objective network of VM1, the configuration information of source network comprises the IP address 10.1.1.1 of NC1, and the configuration information of objective network comprises the IP address 20.2.2.2 of NC2.The source network configuration information of VM1 can be preserved in target proxy unit, for the release of migration and proxy resources again.
In the time that VM1 enters shutdown migration phase, completing after shutdown migration, on target physical main frame, move dummy machine system, delete old Microsoft Loopback Adapter and IP tunnel that dummy machine system has, complete a network in the cross-domain migration of dummy machine system and switch.After having moved, dummy machine system again initiates to connect by the network configuration from new.
In the time that above-mentioned VM1 enters shutdown migration phase; can start respectively the agent functionality of the upper source of physical host A, B agent unit, target proxy unit; and interrupt the original network of dummy machine system and connect; delete original network configuration; after completing, migration deletes the former Microsoft Loopback Adapter NC1 of dummy machine system; the configuration of deletion IP tunnel, discharges the resource of occupying in migration.
As Fig. 5, after migration completes, in the time that new connection request sends to the old Microsoft Loopback Adapter of source physical host A (1), by the source agent unit of source physical host A, be the network IP that VM1 is new by the object IP information Reseal of connection request bag, and carrying out Connection Service (2) newly asking to be sent to VM1, VM1 is receiving after connection request bag, is connecting processing (3) according to packet information by source IP.
In addition, in the time receiving the instruction message that again carries out cross-domain migration, first target proxy unit on target physical host B identifies whether migration is again to move back to source network, can identify by the identification information of network, and for example IP address and subnet mask are identified.
Target proxy cell response is identical with the identification information of source network in the identification information of objective network of migration again, judges that VM1 moves back source network.The source agent unit dummy machine system of target proxy unit on can notification source physical host A moved back to this locality, and using the identification information of source network as the identification information of the objective network of migration again, using the identification information of objective network as the identification information of the source network of migration again, and using source physical host as the target physical main frame again moving, using target physical as the source physical host again moving, carry out according to the method described above network switching, again carry out operation and the subsequent operation of the identical and corresponding identical new Microsoft Loopback Adapter of network type of old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system on the physical host of source.
If judge, VM1 non-migrating return source network, can set up new agent unit at the target physical main frame of migration more according to the method described above, the information of the source physical host A of its preservation is transmitted to new target proxy unit by target physical host B simultaneously, and after migration completes, discharge the target proxy element resources of target physical host B.
So far, described in detail according to method for switching network and the system of a kind of dummy machine system migration of the present invention.For fear of covering design of the present invention, details more known in the field are not described.Those skilled in the art, according to description above, can understand how to implement technical scheme disclosed herein completely.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, same or analogous part cross-references between each embodiment.For the network switched system embodiment of dummy machine system migration, because it is substantially corresponding with embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
May realize in many ways method for switching network and the system of dummy machine system migration of the present invention.For example, can realize by any combination of software, hardware, firmware or software, hardware, firmware method for switching network and the system of dummy machine system migration of the present invention.The said sequence that is used for the step of described method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program being recorded in recording medium by the invention process, these programs comprise the machine readable instructions for realizing the method according to this invention.Thereby the present invention also covers the recording medium of storing the program for carrying out the method according to this invention.
Although specific embodiments more of the present invention are had been described in detail by example, it should be appreciated by those skilled in the art, above example is only in order to describe, rather than in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.
Claims (12)
1. the method for switching network of a dummy machine system migration, it is characterized in that, dummy machine system is migrated to target physical main frame by source physical host, wherein, described dummy machine system has the identification information of source network on the physical host of source, on target physical main frame, have the identification information of objective network, described method comprises:
On the dummy machine system moving, increase the old Microsoft Loopback Adapter number having with dummy machine system identical on the physical host of source, and new Microsoft Loopback Adapter corresponding to network type;
According to the identification information of described objective network, configure new Microsoft Loopback Adapter;
Between new Microsoft Loopback Adapter and described target physical main frame, set up IP tunnel;
Carry out the operation of the described dummy machine system of online migration, wherein, in the operating process of the described dummy machine system of the online migration of execution, control described dummy machine system and utilize described IP tunnel and the Correspondent Node that newly increases to carry out network service, described in the Correspondent Node that newly increases by described objective network access network;
Carry out the operation of shutting down the described dummy machine system of migration;
On described target physical main frame, move described dummy machine system, delete old Microsoft Loopback Adapter and described IP tunnel that described dummy machine system has.
2. method according to claim 1, is characterized in that, utilizes described in described control dummy machine system described IP tunnel and the Correspondent Node newly increasing to carry out network service, specifically comprises:
Described dummy machine system, by described new Microsoft Loopback Adapter, sends connection request to the described Correspondent Node newly increasing;
Described dummy machine system uses described new Microsoft Loopback Adapter, accesses described objective network through described IP tunnel, carries out network service with the described Correspondent Node newly increasing.
3. method according to claim 2, is characterized in that, in the process of operation of carrying out the described dummy machine system of shutdown migration, described method also comprises:
There is the network connection of setting up by described old Microsoft Loopback Adapter in response to identifying described dummy machine system;
Interrupting the described network of setting up by described old Microsoft Loopback Adapter connects;
Move described dummy machine system on described target physical main frame after, the Correspondent Node that uses described new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
4. method according to claim 3, is characterized in that, move described dummy machine system on described target physical main frame after, described method also comprises:
In response to the connection request that receives the old Microsoft Loopback Adapter that is sent to described source physical host, recipient's identification information of described connection request is revised as to the identification information of described objective network, described connection request is forwarded to the dummy machine system in target physical;
Control described dummy machine system by the transmitting side marking information of described connection request, set up network with transmit leg and be connected.
5. method according to claim 4, is characterized in that, described method also comprises:
In response to receiving the instruction message again moving, whether the identification information of the objective network that identification is moved is again identical with the identification information of described source network;
The identification information of objective network in response to migration is again identical with the identification information of described source network, using the identification information of described source network as the identification information of the objective network of migration again, using the identification information of described objective network as the identification information of the source network of migration again, and using described source physical host as the target physical main frame again moving, using described target physical as the source physical host again moving, again carry out the old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system identical on the physical host of source, and the operation of the new Microsoft Loopback Adapter that network type is corresponding identical.
6. according to the method described in claim 1 to 5 any one, it is characterized in that, described identification information comprises IP address information, host name information, domain name addresses information.
7. the network switched system of a dummy machine system migration, it is characterized in that, dummy machine system is migrated to target physical main frame by source physical host, wherein, described dummy machine system has the identification information of source network on the physical host of source, on target physical main frame, have the identification information of objective network, described in it, system comprises:
Microsoft Loopback Adapter setting unit, identical for increase the old Microsoft Loopback Adapter number having with dummy machine system on the dummy machine system moving on the physical host of source, and new Microsoft Loopback Adapter corresponding to network type; According to the identification information of described objective network, configure new Microsoft Loopback Adapter;
Unit is set up in tunnel, for set up IP tunnel between new Microsoft Loopback Adapter and described target physical main frame;
Migration performance element, for after setting up IP tunnel, carries out the operation of the described dummy machine system of online migration; And carry out and shut down the operation of moving described dummy machine system;
Connection control unit, for the operating process carrying out the described dummy machine system of online migration, control described in described dummy machine system and utilize described IP tunnel and the Correspondent Node newly increasing to carry out network service, wherein, described in the Correspondent Node that newly increases by described objective network access network;
Source agent unit, for move described dummy machine system on described target physical main frame, deletes old Microsoft Loopback Adapter and described IP tunnel that described dummy machine system has.
8. system according to claim 7, is characterized in that, described connection control unit, specifically for controlling described dummy machine system by described new Microsoft Loopback Adapter, sends connection request to the described Correspondent Node newly increasing; Control described dummy machine system and use described new Microsoft Loopback Adapter, access described objective network through described IP tunnel, carry out network service with the described Correspondent Node newly increasing.
9. system according to claim 8, it is characterized in that, described source agent unit, also for the process carrying out the operation of shutting down the described dummy machine system of migration, has the network connection of setting up by described old Microsoft Loopback Adapter in response to identifying described dummy machine system; Interrupting the described network of setting up by described old Microsoft Loopback Adapter connects; Described system also comprises:
Target proxy unit, after user moves described dummy machine system on described target physical main frame, the Correspondent Node that uses described new Microsoft Loopback Adapter to be connected with interrupted network re-establishes network and connects.
10. system according to claim 9, it is characterized in that, described source agent unit, also for move described dummy machine system on described target physical main frame after, in response to the connection request that receives the old Microsoft Loopback Adapter that is sent to described source physical host, recipient's identification information of described connection request is revised as to the identification information of described objective network, described connection request is forwarded to the dummy machine system in target physical;
Described target proxy unit, also, for controlling described dummy machine system by the transmitting side marking information of described connection request, sets up network with transmit leg and is connected.
11. systems according to claim 10, it is characterized in that, described target proxy unit, also in response to receiving the instruction message again moving, whether the identification again identification information of the objective network of migration is identical with the identification information of described source network;
The identification information of objective network in response to migration is again identical with the identification information of described source network, using the identification information of described source network as the identification information of the objective network of migration again, using the identification information of described objective network as the identification information of the source network of migration again, and using described source physical host as the target physical main frame again moving, using described target physical as the source physical host again moving, again carry out the old Microsoft Loopback Adapter number that on the dummy machine system moving, increase has with dummy machine system identical on the physical host of source, and the operation of the new Microsoft Loopback Adapter that network type is corresponding identical.
12. according to the system described in claim 7 to 11 any one, it is characterized in that, described identification information comprises IP address information, host name information, domain name addresses information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559763.0A CN103888417B (en) | 2012-12-21 | 2012-12-21 | Network switching method and system for virtual machine system migration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559763.0A CN103888417B (en) | 2012-12-21 | 2012-12-21 | Network switching method and system for virtual machine system migration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103888417A true CN103888417A (en) | 2014-06-25 |
CN103888417B CN103888417B (en) | 2017-05-10 |
Family
ID=50957139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210559763.0A Active CN103888417B (en) | 2012-12-21 | 2012-12-21 | Network switching method and system for virtual machine system migration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103888417B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878082A (en) * | 2017-02-28 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of Microsoft Loopback Adapter thermomigration process and its device |
CN107544841A (en) * | 2016-06-29 | 2018-01-05 | 中兴通讯股份有限公司 | Live migration of virtual machine method and system |
CN109814978A (en) * | 2018-12-15 | 2019-05-28 | 华南理工大学 | Across cluster moving method and system based on more OpenStack platforms |
CN111147369A (en) * | 2018-11-05 | 2020-05-12 | 中国电信股份有限公司 | Routing system, routing method and server |
CN112306650A (en) * | 2019-07-31 | 2021-02-02 | 华为技术有限公司 | Virtual machine live migration method and communication equipment |
CN113326101A (en) * | 2021-08-02 | 2021-08-31 | 阿里云计算有限公司 | Thermal migration method, device and equipment based on remote direct data storage |
CN113904971A (en) * | 2021-09-14 | 2022-01-07 | 中国电信集团系统集成有限责任公司 | Method for automatically exchanging routing information across network planes |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317710A (en) * | 2017-06-30 | 2017-11-03 | 郑州云海信息技术有限公司 | A kind of method and apparatus for carrying out QoS configurations to Microsoft Loopback Adapter based on SDN |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102118458A (en) * | 2011-03-10 | 2011-07-06 | 浪潮(北京)电子信息产业有限公司 | Method and system for live migration of virtual machine |
CN102316043A (en) * | 2011-09-29 | 2012-01-11 | 中国联合网络通信集团有限公司 | Port virtualization method, switch and communication system |
WO2012100544A1 (en) * | 2011-01-24 | 2012-08-02 | 华为技术有限公司 | Method, device and cluster system for virtual machine migration based on network data flow direction |
-
2012
- 2012-12-21 CN CN201210559763.0A patent/CN103888417B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012100544A1 (en) * | 2011-01-24 | 2012-08-02 | 华为技术有限公司 | Method, device and cluster system for virtual machine migration based on network data flow direction |
CN102118458A (en) * | 2011-03-10 | 2011-07-06 | 浪潮(北京)电子信息产业有限公司 | Method and system for live migration of virtual machine |
CN102316043A (en) * | 2011-09-29 | 2012-01-11 | 中国联合网络通信集团有限公司 | Port virtualization method, switch and communication system |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544841B (en) * | 2016-06-29 | 2022-12-02 | 中兴通讯股份有限公司 | Virtual machine live migration method and system |
CN107544841A (en) * | 2016-06-29 | 2018-01-05 | 中兴通讯股份有限公司 | Live migration of virtual machine method and system |
CN106878082B (en) * | 2017-02-28 | 2020-03-31 | 郑州云海信息技术有限公司 | Virtual network card hot migration method and device |
CN106878082A (en) * | 2017-02-28 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of Microsoft Loopback Adapter thermomigration process and its device |
CN111147369A (en) * | 2018-11-05 | 2020-05-12 | 中国电信股份有限公司 | Routing system, routing method and server |
CN111147369B (en) * | 2018-11-05 | 2022-02-08 | 中国电信股份有限公司 | Routing system, routing method and server |
CN109814978A (en) * | 2018-12-15 | 2019-05-28 | 华南理工大学 | Across cluster moving method and system based on more OpenStack platforms |
CN112306650A (en) * | 2019-07-31 | 2021-02-02 | 华为技术有限公司 | Virtual machine live migration method and communication equipment |
CN112306650B (en) * | 2019-07-31 | 2024-03-26 | 华为技术有限公司 | Virtual machine thermomigration method and communication equipment |
CN113326101A (en) * | 2021-08-02 | 2021-08-31 | 阿里云计算有限公司 | Thermal migration method, device and equipment based on remote direct data storage |
CN113326101B (en) * | 2021-08-02 | 2022-04-12 | 阿里云计算有限公司 | Thermal migration method, device and equipment based on remote direct data storage |
CN113904971B (en) * | 2021-09-14 | 2023-04-28 | 中电信数智科技有限公司 | Automatic exchange method of routing information crossing network plane |
CN113904971A (en) * | 2021-09-14 | 2022-01-07 | 中国电信集团系统集成有限责任公司 | Method for automatically exchanging routing information across network planes |
Also Published As
Publication number | Publication date |
---|---|
CN103888417B (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11200079B2 (en) | System and method for virtual machine live migration | |
CN103888417A (en) | Network switching method and system for virtual machine system migration | |
US11917446B1 (en) | Mobility of cloud compute instances hosted within communications service provider networks | |
US10965737B1 (en) | Cloud computing in communications service provider networks | |
CN114902183B (en) | Latency-based placement of cloud computing instances in a communication service provider network | |
CN110088732B (en) | Data packet processing method, host and system | |
US9552233B1 (en) | Virtual machine migration using free page hinting | |
US9450885B2 (en) | System and method for supporting live migration of virtual machines in a virtualization environment | |
US7970913B2 (en) | Virtualizing sockets to enable the migration of a system environment | |
CN103384551B (en) | A kind of virtual machine communication method of Based PC IE network, server and system | |
CN102316043B (en) | Port virtualization method, switch and communication system | |
JP2015518602A (en) | System and method for supporting live migration of virtual machines based on an extended host channel adapter (HCA) model | |
JP2017108231A (en) | Communication control program, communication control method, and information processing device | |
US20170046184A1 (en) | Guest Management of Devices Assigned to a Virtual Machine | |
US10810031B2 (en) | Dirty memory tracking with assigned devices by exitless paravirtualization | |
Guay et al. | Early experiences with live migration of SR-IOV enabled InfiniBand | |
JP2015035034A (en) | Virtual host live migration method and network device | |
JP6013980B2 (en) | Address assignment device and address assignment program | |
CN104320282A (en) | Method for switching of main and standby virtual machines in virtual edge port aggregation system and physical mainframes | |
JP2013041445A (en) | Information processing device, information processing method and information processing program | |
Qin et al. | Early notification and dynamic routing: an improved SDN-based optimization mechanism for VM migration | |
JP2015061121A (en) | Router, communication system, management method, and management program | |
JP2015001827A (en) | Management device, management method, management program, and communication system |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20140625 Assignee: Tianyiyun Technology Co.,Ltd. Assignor: CHINA TELECOM Corp.,Ltd. Contract record no.: X2024110000040 Denomination of invention: Network switching method and system for virtual machine system migration Granted publication date: 20170510 License type: Common License Record date: 20240914 |
|
EE01 | Entry into force of recordation of patent licensing contract |