CN103051479B - The emigration processing method of virtual machine network control strategy and system - Google Patents

The emigration processing method of virtual machine network control strategy and system Download PDF

Info

Publication number
CN103051479B
CN103051479B CN201210567450.XA CN201210567450A CN103051479B CN 103051479 B CN103051479 B CN 103051479B CN 201210567450 A CN201210567450 A CN 201210567450A CN 103051479 B CN103051479 B CN 103051479B
Authority
CN
China
Prior art keywords
virtual machine
rule
physical host
data
virtual switch
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.)
Expired - Fee Related
Application number
CN201210567450.XA
Other languages
Chinese (zh)
Other versions
CN103051479A (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.)
Beijing Venus Information Security Technology Co Ltd
Beijing Venus Information Technology Co Ltd
Original Assignee
Beijing Venus Information Security Technology Co Ltd
Beijing Venus Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Venus Information Security Technology Co Ltd, Beijing Venus Information Technology Co Ltd filed Critical Beijing Venus Information Security Technology Co Ltd
Priority to CN201210567450.XA priority Critical patent/CN103051479B/en
Publication of CN103051479A publication Critical patent/CN103051479A/en
Application granted granted Critical
Publication of CN103051479B publication Critical patent/CN103051479B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of emigration processing method and system of virtual machine network control strategy, this emigration processing method comprises: receive and process the current virtual machine of moving out on the virtual switch of physical host and to move out message; , the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine in the data retransmission rule of moving out described in process on the virtual switch of physical host; Receive and process the current virtual machine of moving on the virtual switch of physical host and to move into message; Move into described in process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host.The present invention passes through the monitoring of virtual machine (vm) migration message and the amendment to virtual switch data retransmission rule, when virtual machine is moved on different physical hosts, the network strategy of its correspondence can be kept constant, thus provide continuously consistent network control traffic for virtual machine.

Description

The emigration processing method of virtual machine network control strategy and system
Technical field
The invention belongs to field of network management, particularly relate to a kind of emigration processing method and system of virtual machine network control strategy.
Background technology
Virtual server significantly can promote server computational resource utilance, but has still only played a very little part for virtual advantage.The virtual extension to network enables virtual machine realize drift between physical server while application program is run, and provides capacity as required, without the need to increasing costliness and its platform to the greatest extent.The more important thing is, establishment and the movement of dynamic virtual machine allow keeper can respond rapidly new request, thus improve production efficiency and the customer satisfaction of user.But the network equipment traditional at present can not meet the demand of this dynamic migration, this becomes the bottleneck in virtualization process, and solves the real arrival that this bottleneck just means the virtual epoch.
Daily virtual machine (vm) migration is a kind of practical application of virtual-machine drift technology.When servers off-line carries out safeguarding or breaking down, virtual machine also can carry out the continuity of drift motion supporting business.In order to utilize these advantages, though the relevant network configuration of the virtual machine that drifts about between hardware platform uncomplicated, most important and very consuming time.In addition, when virtual machine in the data intracardiac drift time, the network layer strategy relevant to every platform virtual machine must drift about thereupon.These policy control the factor such as safety, service quality (QoS), and different from the concrete condition of user and application.Therefore, for each service application, to maintain the network strategy adapted most important for service operation.
Before virtual machine drifts to another from a physical server, associated network port configuration and security strategy must carry out correct setting for destination server, to meet demand for security.If data center exists a large amount of servers and virtual machine (vm) migration, so manual configuration can consume a large amount of time and resource.
Summary of the invention
For solving the problem, the invention provides a kind of emigration processing method and system of virtual machine network control strategy, thus when virtual machine can be made to move on different physical hosts, keep the automatically adjoint of its network strategy, thus save the resource consumption reconfiguring virtual machine network strategy and cause.
The invention provides a kind of emigration processing method of virtual machine network control strategy, the method comprises:
Receive and process the current virtual machine of moving out on the virtual switch of physical host and to move out message;
, the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine in the data retransmission rule of moving out described in process on the virtual switch of physical host;
Receive and process the current virtual machine of moving on the virtual switch of physical host and to move into message; And
Move into described in process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host.
Preferably, described data retransmission rule comprises data transmission rule and data receiver rule; And/or
Described reception is message and the process current virtual machine of moving out on the virtual switch of physical host is moved out, and comprising:
Receive described current virtual machine to move out message, from described current virtual machine moves out message, extract the former port at described current virtual machine place, record described former port; And/or
Described reception is message and the process current virtual machine of moving on the virtual switch of physical host is moved into, and comprising:
Receive described current virtual machine to move into message, from described current virtual machine moves into message, extract the new port at described current virtual machine place, record described new port.
Preferably, the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine, comprises in the data retransmission rule of moving out described in described process on the virtual switch of physical host:
Read from the virtual switch of described physical host of moving out and preserve the described data transmission rule of described current virtual machine, and deleting the described data transmission rule of described current virtual machine from the virtual switch of described physical host of moving out;
The described data except described current virtual machine of the virtual switch of moving out described in amendment on physical host send the data retransmission rule except rule.
Preferably, the described data except described current virtual machine of the virtual switch of moving out described in described amendment on physical host send the data retransmission rule except rule, comprising:
Other data retransmission rules on the virtual switch of moving out described in searching on physical host;
If described in other data retransmission rules on the virtual switch of moving out on physical host are described data receiver rules of described current virtual machine, then by first line of a couplet port that the forwarding port modifications in the rule of correspondence becomes to be connected with described virtual switch of moving on physical host.
Preferably, move into described in described process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host, comprising:
The described data of the described current virtual machine that amendment is preserved send rule;
The data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
The described data except described current virtual machine of moving into described in amendment on the virtual switch of physical host send the data retransmission rule except rule.
Preferably, the described data of the described current virtual machine that described amendment is preserved send rule, comprising:
The described data of searching described current virtual machine send rule;
If the forwarding port that the described data of described current virtual machine send rule be not described in the first line of a couplet port of virtual switch of moving out on physical host, then will forward described in this port modifications become described in the first line of a couplet port of virtual switch of moving on physical host; Otherwise, move into the virtual switch of physical host on described in being connected in if moved into described in the described data target virtual machine sent in rule is present in physical host, then the forwarding port modifications data of described current virtual machine being sent rule becomes the port at target virtual machine place.
Preferably, the described data except described current virtual machine of moving into described in described amendment on the virtual switch of physical host send the data retransmission rule except rule, comprising:
The described data except described current virtual machine of moving into described in searching on the virtual switch of physical host send the data retransmission rule except rule;
If described in the forwarding port of data retransmission rule that sends except rule of the described data except described current virtual machine of moving on the virtual switch of physical host be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is described current virtual machine, then the forwarding port modifications of described data retransmission rule except the described data transmission rule of described current virtual machine of moving on the virtual switch of physical host is become described new port.
Present invention also offers a kind of migration process system of virtual machine network control strategy, this system comprises:
Virtual machine (vm) migration message processing module, to move into message for receiving and processing move out message and the current virtual machine of moving on the virtual switch of physical host of the current virtual machine of moving out on the virtual switch of physical host; And
Data retransmission rule process module, for calling according to described virtual machine (vm) migration message processing module, data retransmission rule and data retransmission rule on the virtual switch of moving on physical host on the virtual switch that alignment processing is moved out on physical host, move out described in making physical host virtual switch on do not exist current virtual machine data retransmission rule, and make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host.
Preferably, described virtual machine (vm) migration message processing module comprises:
Virtual machine is moved out message processing unit, to move out message for receiving described current virtual machine, extracts and preserves the former port at current virtual machine place; And
Virtual machine is moved into message processing unit, to move into message for receiving described current virtual machine, extracts and preserves the new port at current virtual machine place.
Preferably, described data retransmission rule process module comprises:
Current virtual machine rule process unit, sends rule for the data reading described current virtual machine from the virtual switch of described physical host of moving out, and the data of deleting described current virtual machine send rule; If the forwarding port that the data of described current virtual machine send rule be not described in the first line of a couplet port of virtual switch of moving out on physical host, then the first line of a couplet port of the virtual switch of moving on physical host described in the forwarding port modifications data of described current virtual machine being sent rule becomes; Otherwise, move into the virtual switch of physical host on described in being connected in if moved into described in the described data target virtual machine sent in rule is present in physical host, then the forwarding port modifications data of described current virtual machine being sent rule becomes the port at target virtual machine place; The data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
Main frame rule process of moving out unit, the described data except described current virtual machine on the virtual switch of moving out described in searching on physical host send the data retransmission rule except rule; If described in the forwarding port of the data retransmission rule sent except rule except the described data of described current virtual machine on the virtual switch of moving out on physical host be the described former port of described current virtual machine, then by first line of a couplet port that the described forwarding port modifications in the rule of correspondence becomes to be connected with described virtual switch of moving on physical host; And
Main frame rule process of moving into unit, sends the data retransmission rule except rule for the described data except described current virtual machine of moving into described in searching on the virtual switch of physical host; If described in the forwarding port of data retransmission rule that sends except rule of the described data except described current virtual machine of moving on the virtual switch of physical host be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is described current virtual machine, then the forwarding port modifications of described data retransmission rule except the described data transmission rule of described current virtual machine of moving on the virtual switch of physical host is become described new port.
The present invention passes through the monitoring of virtual machine (vm) migration message and the amendment to virtual switch data retransmission rule, when virtual machine is moved on different physical hosts, the network strategy of its correspondence can be kept constant, thus provide continuously consistent network control traffic for virtual machine.
Accompanying drawing explanation
Fig. 1 is the flow chart of the emigration processing method of virtual machine network control strategy of the present invention;
Fig. 2 is the flow chart of step S1 in Fig. 1;
Fig. 3 is the flow chart of step S2 in Fig. 1;
Fig. 4 is the flow chart of step S22 in Fig. 3;
Fig. 5 is the flow chart of step S3 in Fig. 1;
Fig. 6 is the flow chart of step S4 in Fig. 1;
Fig. 7 is the flow chart of step S41 in Fig. 6;
Fig. 8 is the flow chart of step S43 in Fig. 6;
Fig. 9 is the structural representation of the migration management system of virtual machine network control strategy of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
As shown in Figure 1, be the flow chart of virtual machine network control strategy emigration processing method of the present invention, comprise the following steps:
Step S1, receives and processes the current virtual machine of moving out on the virtual switch of physical host and to move out message;
Step S2, the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine in the data retransmission rule of moving out described in process on the virtual switch of physical host;
Step S3, receives and processes the current virtual machine of moving on the virtual switch of physical host and to move into message;
Step S4, move into described in process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host.
Wherein, described data retransmission rule comprises data and sends rule and data receiver rule, and described data retransmission rule comprises source host information, destination host information, inbound port and forwarding port; Send rule for described data, described inbound port is the access interface of corresponding virtual machine; For described data receiver rule, described forwarding port is the access interface of corresponding virtual machine.
As shown in Figure 2, step S1 comprises further:
Step S11, sink virtual machine is moved out message;
Step S12, extracts by the former port at migration virtual machine place from virtual machine moves out message;
Current virtual machine is by migration virtual machine;
Step S13, records by the former port at migration virtual machine place.
As shown in Figure 3, step S2 comprises further:
Step S21, reads from the virtual switch of described physical host of moving out and preserves the described data transmission rule of described current virtual machine, and deleting the described data transmission rule of described current virtual machine from the virtual switch of described physical host of moving out;
Step S22, revises other data retransmission rule of the virtual switch of moving out on physical host.
As shown in Figure 4, step S22 comprises further:
Step S221, other data retransmission rules on the virtual switch of moving out described in searching on physical host;
Step S222, if described in the forwarding port of other data retransmission rules on the virtual switch of moving out on physical host are described former ports, then correspondence is forwarded the first line of a couplet port that the described former port modifications in rule becomes to be connected with described virtual switch of moving on physical host, otherwise, keep data retransmission rule constant.
As shown in Figure 5, step S3 comprises further:
Step S31, receives described virtual machine and to move into message;
Step S32, extracts by the new port at migration virtual machine place from described virtual machine moves into message;
Step S33, records described by the new port at migration virtual machine place.
As shown in Figure 6, step S4 comprises further:
Step S41, reads in modify steps S21 and the described data by migration virtual machine of preserving send rule;
Step S42, the data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
Step S43, other data retransmission rule of moving into described in amendment on the virtual switch of physical host.
As shown in Figure 7, step S41 comprises further:
Step S411, searches described by migration virtual-machine data forwarding rule;
Step S412, judge the forwarding port of described data retransmission rule be whether described in the first line of a couplet port of virtual switch of moving out on physical host, if not, then the first line of a couplet port of the virtual switch of moving on physical host described in described forwarding port modifications being become, otherwise, perform step S413;
Step S413, judge whether the target virtual machine forwarded in rule is present in physical host of moving into described in this and moves on the virtual switch of physical host described in being connected in, if so, then the forwarding port modifications in this forwarding rule is become the port at target virtual machine place, terminate; Otherwise step S414;
Step S414, keeps data retransmission rule constant.
As shown in Figure 8, step S43 comprises further:
Step S431, other data retransmission rule on the virtual switch of moving into described in searching on physical host;
Step S432, if the forwarding port of described data retransmission rule be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is moved virtual machine, then this forwarding port modifications is become described by the new port at migration virtual machine place, otherwise, keep data retransmission rule constant.
It should be noted that, " other data retransmission rule " in above-described embodiment refers to " the described data except described current virtual machine send the data retransmission rule except rule ".
Embodiment
Below by an application example, above-mentioned flow process is described further.
One embodiment of the present of invention are, the virtual switch on physical host adopts OpenFlow switch (such as OpenvSwitch), and " PortStatus " message sent by receiving virtual switch extracts virtual machine (vm) migration message.If the value in " reason " territory in " PortStatus " message is " OFPPR_DELETE ", then represents and remove a virtual machine, if the value in " reason " territory is " OFPPR_ADD ", represent increase virtual machine.Then from the value in " ofp_portdesc " territory " PortStatus " message, virtual machine port information is extracted.
When virtual switch employing OpenFlow switch (such as OpenvSwitch) of physical host, " ofp_flow_mod_command " can be adopted to order the amendment of data retransmission rule and realize.Can be inquired about to virtual switch by " ofp_flow_stats_request " instruction by the reading of the data retransmission rule of migration virtual machine, and be extracted by the response message " ofp_flow_stats " of OpenFlow switch.
The present invention, by the virtual migration message of monitoring, revises the data retransmission rule on physical host of moving out and move on virtual switch, makes virtual machine before and after migration, keep the consistency of its networking rule.
Present invention also offers a kind of migration process system of virtual machine network control strategy, as shown in Figure 9, this system comprises:
Virtual machine (vm) migration message processing module 101, to move into message for receiving and processing move out message and the current virtual machine of moving on the virtual switch of physical host of the current virtual machine of moving out on the virtual switch of physical host; And
Data retransmission rule process module 102, for calling according to described virtual machine (vm) migration message processing module, data retransmission rule and data retransmission rule on the virtual switch of moving on physical host on the virtual switch that alignment processing is moved out on physical host, move out described in making physical host virtual switch on do not exist current virtual machine data retransmission rule, and make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host.
Wherein, virtual machine (vm) migration message processing module comprises further:
Virtual machine is moved out message processing unit, to move out message for receiving described current virtual machine, extracts and preserves the former port at current virtual machine place; And
Virtual machine is moved into message processing unit, to move into message for receiving described current virtual machine, extracts and preserves the new port at current virtual machine place.
In addition, data retransmission rule process module comprises further:
Current virtual machine rule process unit, sends rule for the data reading described current virtual machine from the virtual switch of described physical host of moving out, and the data of deleting described current virtual machine send rule; If the forwarding port that the data of described current virtual machine send rule be not described in the first line of a couplet port of virtual switch of moving out on physical host, then the first line of a couplet port of the virtual switch of moving on physical host described in the forwarding port modifications data of described current virtual machine being sent rule becomes; Otherwise, move into the virtual switch of physical host on described in being connected in if moved into described in the described data target virtual machine sent in rule is present in physical host, then the forwarding port modifications data of described current virtual machine being sent rule becomes described new port; The data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
Main frame rule process of moving out unit, the described data except described current virtual machine on the virtual switch of moving out described in searching on physical host send the data retransmission rule except rule; If described in the forwarding port of the data retransmission rule sent except rule except the described data of described current virtual machine on the virtual switch of moving out on physical host be the described former port of described current virtual machine, then by first line of a couplet port that the described forwarding port modifications in the rule of correspondence becomes to be connected with described virtual switch of moving on physical host; And
Main frame rule process of moving into unit, sends the data retransmission rule except rule for the described data except described current virtual machine of moving into described in searching on the virtual switch of physical host; If described in the forwarding port of data retransmission rule that sends except rule of the described data except described current virtual machine of moving on the virtual switch of physical host be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is described current virtual machine, then the forwarding port modifications of described data retransmission rule except the described data transmission rule of described current virtual machine of moving on the virtual switch of physical host is become described new port.
Said system, by to the monitoring of virtual machine (vm) migration message and the amendment to virtual switch data retransmission rule, when virtual machine is moved on different physical hosts, the network strategy of its correspondence can be kept constant, thus provide continuously consistent network control traffic for virtual machine.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and said procedure can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above embodiment only in order to technical scheme of the present invention and unrestricted to be described, only with reference to preferred embodiment to invention has been detailed description.Those of ordinary skill in the art should be appreciated that and can modify to technical scheme of the present invention or equivalent replacement, and does not depart from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of right of the present invention.

Claims (10)

1. an emigration processing method for virtual machine network control strategy, is characterized in that, the method comprises:
Receive and process the current virtual machine of moving out on the virtual switch of physical host and to move out message;
, the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine in the data retransmission rule of moving out described in process on the virtual switch of physical host;
Receive and process the current virtual machine of moving on the virtual switch of physical host and to move into message; And
Move into described in process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host;
Wherein, described data retransmission rule comprises data transmission rule and data receiver rule.
2. method according to claim 1, is characterized in that:
Described reception is message and the process current virtual machine of moving out on the virtual switch of physical host is moved out, and comprising:
Receive described current virtual machine to move out message, from described current virtual machine moves out message, extract the former port at described current virtual machine place, record described former port; And/or
Described reception is message and the process current virtual machine of moving on the virtual switch of physical host is moved into, and comprising:
Receive described current virtual machine to move into message, from described current virtual machine moves into message, extract the new port at described current virtual machine place, record described new port.
3. method according to claim 2, is characterized in that:
, the virtual switch of physical host of moving out described in making there is not the data retransmission rule of current virtual machine, comprises in the data retransmission rule of moving out described in described process on the virtual switch of physical host:
Read from the virtual switch of described physical host of moving out and preserve the described data transmission rule of described current virtual machine, and deleting the described data transmission rule of described current virtual machine from the virtual switch of described physical host of moving out;
The described data except described current virtual machine of the virtual switch of moving out described in amendment on physical host send the data retransmission rule except rule.
4. method according to claim 3, is characterized in that:
The described data except described current virtual machine of the virtual switch of moving out described in described amendment on physical host send the data retransmission rule except rule, comprising:
Other data retransmission rules on the virtual switch of moving out described in searching on physical host;
If described in other data retransmission rules on the virtual switch of moving out on physical host are described data receiver rules of described current virtual machine, then by first line of a couplet port that the forwarding port modifications in the rule of correspondence becomes to be connected with described virtual switch of moving on physical host.
5. method according to claim 4, is characterized in that:
Move into described in described process on the virtual switch of physical host data retransmission rule, make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host, comprising:
The described data of the described current virtual machine that amendment is preserved send rule;
The data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
The described data except described current virtual machine of moving into described in amendment on the virtual switch of physical host send the data retransmission rule except rule.
6. method according to claim 5, is characterized in that:
The described data of the described current virtual machine that described amendment is preserved send rule, comprising:
The described data of searching described current virtual machine send rule;
If the forwarding port that the described data of described current virtual machine send rule be not described in the first line of a couplet port of virtual switch of moving out on physical host, then will forward described in this port modifications become described in the first line of a couplet port of virtual switch of moving on physical host; Otherwise, move into the virtual switch of physical host on described in being connected in if moved into described in the described data target virtual machine sent in rule is present in physical host, then the forwarding port modifications data of described current virtual machine being sent rule becomes the port at target virtual machine place.
7. method according to claim 5, is characterized in that:
The described data except described current virtual machine of moving into described in described amendment on the virtual switch of physical host send the data retransmission rule except rule, comprising:
The described data except described current virtual machine of moving into described in searching on the virtual switch of physical host send the data retransmission rule except rule;
If described in the forwarding port of data retransmission rule that sends except rule of the described data except described current virtual machine of moving on the virtual switch of physical host be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is described current virtual machine, then the forwarding port modifications of described data retransmission rule except the described data transmission rule of described current virtual machine of moving on the virtual switch of physical host is become described new port.
8. a migration process system for virtual machine network control strategy, is characterized in that, this system comprises:
Virtual machine (vm) migration message processing module, to move into message for receiving and processing move out message and the current virtual machine of moving on the virtual switch of physical host of the current virtual machine of moving out on the virtual switch of physical host; And
Data retransmission rule process module, for calling according to described virtual machine (vm) migration message processing module, data retransmission rule and data retransmission rule on the virtual switch of moving on physical host on the virtual switch that alignment processing is moved out on physical host, move out described in making physical host virtual switch on do not exist current virtual machine data retransmission rule, and make the data retransmission of described current virtual machine rule adjourn described in move on the virtual switch of physical host;
Wherein, described data retransmission rule comprises data transmission rule and data receiver rule.
9. system according to claim 8, is characterized in that, described virtual machine (vm) migration message processing module comprises:
Virtual machine is moved out message processing unit, to move out message for receiving described current virtual machine, extracts and preserves the former port at current virtual machine place; And
Virtual machine is moved into message processing unit, to move into message for receiving described current virtual machine, extracts and preserves the new port at current virtual machine place.
10. system according to claim 9, is characterized in that, described data retransmission rule process module comprises:
Current virtual machine rule process unit, sends rule for the data reading described current virtual machine from the virtual switch of described physical host of moving out, and the data of deleting described current virtual machine send rule; If the forwarding port that the data of described current virtual machine send rule be not described in the first line of a couplet port of virtual switch of moving out on physical host, then the first line of a couplet port of the virtual switch of moving on physical host described in the forwarding port modifications data of described current virtual machine being sent rule becomes; Otherwise, move into the virtual switch of physical host on described in being connected in if moved into described in the described data target virtual machine sent in rule is present in physical host, then the forwarding port modifications data of described current virtual machine being sent rule becomes the port at target virtual machine place; The data writing amended described current virtual machine on the virtual switch of described physical host of moving into send rule;
Main frame rule process of moving out unit, the described data except described current virtual machine on the virtual switch of moving out described in searching on physical host send the data retransmission rule except rule; If described in the forwarding port of the data retransmission rule sent except rule except the described data of described current virtual machine on the virtual switch of moving out on physical host be the described former port of described current virtual machine, then by first line of a couplet port that the described forwarding port modifications in the rule of correspondence becomes to be connected with described virtual switch of moving on physical host; And
Main frame rule process of moving into unit, sends the data retransmission rule except rule for the described data except described current virtual machine of moving into described in searching on the virtual switch of physical host; If described in the forwarding port of data retransmission rule that sends except rule of the described data except described current virtual machine of moving on the virtual switch of physical host be described in the first line of a couplet port of virtual switch of moving on physical host, and destination host is described current virtual machine, then the forwarding port modifications of described data retransmission rule except the described data transmission rule of described current virtual machine of moving on the virtual switch of physical host is become described new port.
CN201210567450.XA 2012-12-24 2012-12-24 The emigration processing method of virtual machine network control strategy and system Expired - Fee Related CN103051479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210567450.XA CN103051479B (en) 2012-12-24 2012-12-24 The emigration processing method of virtual machine network control strategy and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210567450.XA CN103051479B (en) 2012-12-24 2012-12-24 The emigration processing method of virtual machine network control strategy and system

Publications (2)

Publication Number Publication Date
CN103051479A CN103051479A (en) 2013-04-17
CN103051479B true CN103051479B (en) 2016-01-20

Family

ID=48063984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210567450.XA Expired - Fee Related CN103051479B (en) 2012-12-24 2012-12-24 The emigration processing method of virtual machine network control strategy and system

Country Status (1)

Country Link
CN (1) CN103051479B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224426A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Physical host fault detection method, device and empty machine management method, system
CN105227499B (en) * 2014-07-03 2019-01-18 新华三技术有限公司 Virtual edge port aggregator control method and VEPA controller
CN105991440B (en) * 2015-02-12 2019-03-15 新华三技术有限公司 The method and apparatus of flow interrupt caused by preventing virtual machine VM from migrating
US20170171298A1 (en) * 2015-12-09 2017-06-15 Intel Corporation Enhanced virtual switch for network function virtualization
CN106982244B (en) * 2016-12-30 2020-10-23 中国银联股份有限公司 Method and device for realizing message mirroring of dynamic flow under cloud network environment
CN113835822A (en) * 2020-06-23 2021-12-24 中兴通讯股份有限公司 Cross-cloud-platform virtual machine migration method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine
CN102594652A (en) * 2011-01-13 2012-07-18 华为技术有限公司 Migration method of virtual machine, switch and virtual machine system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788665B2 (en) * 2006-02-28 2010-08-31 Microsoft Corporation Migrating a virtual machine that owns a resource such as a hardware device
WO2012093495A1 (en) * 2011-01-07 2012-07-12 富士通株式会社 Profile processing program, data relay device, and profile control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594652A (en) * 2011-01-13 2012-07-18 华为技术有限公司 Migration method of virtual machine, switch and virtual machine system
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine

Also Published As

Publication number Publication date
CN103051479A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN103051479B (en) The emigration processing method of virtual machine network control strategy and system
US11070520B2 (en) Hierarchical network managers
US10686733B2 (en) System and method for virtual machine address association
CN106301876B (en) Physical machine upgrade method, business migration method and device
CN105407117B (en) The methods, devices and systems of distributed backup data
TWI742131B (en) Method and device for upgrading virtual switch
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
CN107493180B (en) Upgrading method and device of virtual switch
CN106302076B (en) Method and system for establishing VXLAN tunnel and SDN controller
CN114003349B (en) Virtual machine migration method and equipment
CN103532731A (en) method and device for preventing network configuration of virtual machine from losing
CN110830574B (en) Method for realizing intranet load balance based on docker container
CN107547364A (en) Route sending-down method, device and the network equipment
WO2016124105A1 (en) Media access control address learning method, device and system
CN104601470A (en) Flow table processing method and device
CN106878072A (en) A kind of message transmitting method and device
CN101841483B (en) Hardware routing table management method and device and communication equipment
CN112148219A (en) Design method and device for ceph type distributed storage cluster
CN107704206B (en) Method, device, equipment and storage medium for online migration of heterogeneous system data
CN107547400B (en) Virtual machine migration method and device
CN102413183A (en) Cloud intelligence switch and processing method and system thereof
CN108781189B (en) Load balancing method and related equipment
CN103023704B (en) Virtual network service equipment access method and system
CN106878052A (en) A kind of customer shift method and device
CN104461779A (en) Distributed data storage method, device and 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160120

Termination date: 20211224