CN104040950A - Method and device for performing network configuration on virtual machine - Google Patents

Method and device for performing network configuration on virtual machine Download PDF

Info

Publication number
CN104040950A
CN104040950A CN201280002829.4A CN201280002829A CN104040950A CN 104040950 A CN104040950 A CN 104040950A CN 201280002829 A CN201280002829 A CN 201280002829A CN 104040950 A CN104040950 A CN 104040950A
Authority
CN
China
Prior art keywords
virtual machine
network
virtual
connection
network configuration
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
Application number
CN201280002829.4A
Other languages
Chinese (zh)
Other versions
CN104040950B (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104040950A publication Critical patent/CN104040950A/en
Application granted granted Critical
Publication of CN104040950B publication Critical patent/CN104040950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

Provided are a method and a device for performing network configuration on a virtual machine, which relate to the field of communications, so as to reduce the time delay of message interaction in a network connection process of the virtual machine. The method comprises: creating a virtual machine; sending to a virtual switch corresponding to the virtual machine a network configuration trigger message comprising information about the network connection of the virtual machine, so that the virtual switch establishes a connection between the virtual switch and the virtual machine according to the information about the network connection of the virtual machine; and receiving a confirmation message that a connection between the virtual machine and the virtual switch has been established. The embodiments of the present invention are used for performing network configuration on the virtual machine.

Description

Method and device for performing network configuration on virtual machine
A kind of method and apparatus technical field that network configuration is carried out to virtual machine
The present invention relates to IT field, more particularly to a kind of method and apparatus that network configuration is carried out to virtual machine.
Background technology
Widespread deployment and the extensive use of virtual machine technique with data center, administrative staff face the lot of challenges such as number of servers and day Ju increase, data volume is increasingly huge, management service is difficult, current common data center deployment, including Virtual Machine Manager center and network management center, the two manages computing resource and Internet resources respectively.
In the prior art, when virtual machine creating or migration, computing system and network system is needed to work in coordination, could be that virtual machine distributes and set up Internet resources, for example, could must be virtual machine configuration Internet resources by Virtual Machine Manager center and interacting with each other for network management center, so, so that the interaction flow between Virtual Machine Manager center and network management center is complicated and numerous Suo, the time delay that network during causing virtual machine creating or migrating sets up procedural information interaction is larger, it is possible to causing the interruption of business during virtual machine creating or migration.
The content of the invention
Embodiments of the invention provide a kind of method and apparatus that network configuration is carried out to virtual machine, to reduce the time delay of interacting message in virtual machine network connection procedure.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
First aspect there is provided it is a kind of to virtual machine carry out network configuration method, including:Create virtual machine;Connect the network configuration triggering message of information, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine, wherein, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration; Receive the virtual machine and set up the confirmation message being connected with the virtual switch.
In first aspect in the first possible implementation, the establishment virtual machine includes:Receive the establishment virtual machine request message that Virtual Machine Manager center is sent;
According to the establishment virtual machine request message, select the corresponding physical resource of the virtual machine and create the virtual machine.
With reference to the first possible implementation, in second of possible implementation, the network configuration triggering message of institute's information, including:
Network configuration request message or connection request message are sent to the virtual switch, the network configuration request message or connection request message include the network connection information of the virtual machine.
With reference to second of possible implementation, in the third possible implementation, if sending network configuration request message to the virtual switch, before the connection for setting up the virtual machine with the virtual switch, methods described also includes:
Receive the network configuration response message that the virtual switch is sent;
After the virtual machine creating is completed and receives the configuration response message, connection request message is sent to the virtual switch.
With reference in a first aspect, in the 4th kind of possible implementation, the establishment virtual machine includes:
Receive the virtual machine (vm) migration request message that Virtual Machine Manager center is sent;
The corresponding physical resource of the virtual machine is selected according to the virtual machine (vm) migration request message and the virtual machine is created.
With reference to the 4th kind of possible implementation, in the 5th kind of possible implementation, methods described also includes:
Network configuration request message is sent to the virtual switch, so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
With reference to the 4th kind of possible implementation or the 5th kind of possible implementation, in the 6th kind of possible implementation, methods described also includes: Data Migration request message is sent to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine;
After the completion of the Data Migration, the Data Migration completion message that the Virtual Machine Manager center is sent is received.
Second aspect there is provided it is a kind of to virtual machine carry out network configuration method, including:The network configuration triggering message that Virtual Machine Manager module is sent is received, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine;
Connection with the virtual machine is set up according to the network connection information;Connect the confirmation message set up.
In second aspect in the first possible implementation, the network configuration triggering message for receiving the Virtual Machine Manager module transmission includes:Network configuration request message or connection request message that the Virtual Machine Manager module is sent are received, the network configuration request message or connection request message include the network connection information of the virtual machine.
With reference to first aspect or first aspect the first possible implementation, in second of possible implementation, the connection set up according to the network connection information with the virtual machine, including:
After the network connection information is received, however, it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then the connection with the virtual machine is directly set up;If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, network configuration information request message then is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The virtual switch configures virtual network and foundation and the connection of the virtual machine according to the network configuration information.
With reference to the first possible implementation or second of possible implementation, in the third possible implementation, if receiving the network configuration request message that the Virtual Machine Manager module is sent, before the connection with the virtual machine is set up, methods described also includes: Network configuration response message is sent to the Virtual Machine Manager module;
After the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, the connection request message that the Virtual Machine Manager module is sent is received.
With reference to any one of second aspect to second aspect the third possible implementation, in the 4th kind of possible implementation, methods described also includes:
Successful connection message is sent to the network management center, when it is determined that to there is conflict virtual machine in the network management center, connection, which is sent, to the corresponding virtual switch of the conflict virtual machine disconnects message, to cause the corresponding virtual switch of the conflict virtual machine to disconnect the connection of message disconnection and the virtual machine that conflicts according to the connection, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
With reference to the third possible implementation or the 4th kind of possible implementation, in the 5th kind of possible implementation, under virtual-machine data migration scene, purpose virtual switch notifies Virtual Machine Manager center by the Data Migration in source virtual machine to purpose virtual machine, and the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine;The active virtual switch of the source virtual machine correspondence;It is described also to include before the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine:
The connection disconnection that source virtual switch receives the transmission of Virtual Machine Manager center disappears,;Source virtual switch disconnects message disconnection and the connection of the source virtual machine according to the connection.
The third aspect there is provided a kind of Virtual Machine Manager module, including:Processing unit, for creating virtual machine;
Processing unit, for creating virtual machine;
Transmitting element, the corresponding virtual switch of virtual machine for being created to the processing unit sends the network configuration triggering message for the network connection information for including the virtual machine, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine, wherein, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration;
Receiving unit, for receiving the confirmation message that the virtual machine is connected with virtual switch foundation. In the third aspect in the first possible implementation, the receiving unit is specifically for receiving the establishment virtual machine request message that Virtual Machine Manager center is sent;
The processing unit selects the corresponding physical resource of the virtual machine and creates the virtual machine specifically for the establishment virtual machine request message received according to the receiving unit.
The first possible implementation with reference to the third aspect, in second of possible implementation, the transmitting element to the virtual switch specifically for sending network configuration request message or connection request message, and the network configuration request message or connection request message include the network connection information of the virtual machine.
With reference to second of possible implementation, in the third possible implementation, the receiving unit is additionally operable to, and receives the network configuration response message that the virtual switch is sent;The transmitting element is additionally operable to, and after the processing unit virtual machine creating is completed and the receiving unit receives the configuration response message, connection request message is sent to the virtual switch.
With reference to the third aspect, in the 4th kind of possible implementation, the receiving unit is specifically for receiving the virtual machine (vm) migration request message that Virtual Machine Manager center is sent;
The processing unit selects the corresponding physical resource of the virtual machine specifically for the virtual machine (vm) migration request message received according to the receiving unit and creates the virtual machine.
With reference to the 4th kind of possible implementation, in the 5th kind of possible implementation, the transmitting element is additionally operable to, network configuration request message is sent to the virtual switch, so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
With reference to the 4th kind of possible implementation or the 5th kind of possible implementation, in the 6th kind of possible implementation, the transmitting element is additionally operable to, Data Migration request message is sent to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine;
The receiving unit is additionally operable to, after the completion of the Data Migration, receives the Data Migration completion message that the Virtual Machine Manager center is sent.
Fourth aspect there is provided a kind of switch, including:Receiving unit, matches somebody with somebody in Virtual Machine Manager module creation virtual machine, receiving the network that the Virtual Machine Manager module is sent Triggering message is put, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine;Processing unit, the network connection information for being received according to the receiving unit sets up the connection with the virtual machine;
Transmitting element, for returning to the confirmation message that the virtual machine has been set up with the switch network connection to the Virtual Machine Manager module.
In fourth aspect in the first possible implementation, the receiving unit specifically for, network configuration request message or connection request message that the Virtual Machine Manager module is sent are received, the network configuration request message or connection request message include the network connection information of the virtual machine.
With reference to fourth aspect or fourth aspect the first possible implementation, in second of possible implementation, the processing unit specifically for, the processing unit specifically for, after the network connection information is received, if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then directly set up the connection with the virtual machine;If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, network configuration information request message then is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The processing unit configures virtual network and foundation and the connection of the virtual machine according to the network configuration information.
With reference to the first possible implementation or second of possible implementation, in the third possible implementation, the transmitting element is additionally operable to, before the connection with the virtual machine is set up, and network configuration response message is sent to the Virtual Machine Manager module;
The receiving unit is additionally operable to, after the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, receives the connection request message that the Virtual Machine Manager module is sent.
With reference to the third possible implementation of fourth aspect to fourth aspect, in the 4th kind of possible implementation, the transmitting element is additionally operable to, successful connection message is sent to the network management center, when it is determined that to there is conflict virtual machine in the network management center, connection, which is sent, to the corresponding switch of the conflict virtual machine disconnects message, it is described to cause The corresponding switch of virtual machine that conflicts disconnects the connection of message disconnection and the virtual machine that conflicts according to the connection, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
With reference to the third possible implementation or the 4th kind of possible implementation, in the 5th kind of possible implementation, the receiving unit is additionally operable to, and receives the connection disconnection message that Virtual Machine Manager center is sent;
The processing unit, the connection for being additionally operable to be received according to the receiving unit disconnects message disconnection and the connection of the source virtual machine.
5th aspect is connected there is provided a kind of device that network configuration is carried out to virtual machine, including processor and memory, the memory storage computer executed instructions, the processor with the memory by communication bus;
When described device is run, the computer executed instructions of memory storage described in the computing device so that described device performs the method described in above-mentioned first aspect.
6th aspect is connected there is provided a kind of device that network configuration is carried out to virtual machine, including processor and memory, the memory storage computer executed instructions, the processor with the memory by communication bus;
When described device is run, the computer executed instructions of memory storage described in the computing device so that described device performs the method described in second aspect.
7th aspect includes computer executed instructions, when the central processing unit of computer performs the computer executed instructions, the method described in the above-mentioned first aspect of the computer execution or second aspect there is provided a kind of computer-readable medium.
By using such scheme, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, it should be evident that drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network system provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram that network configuration is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 3 is another method schematic diagram that network configuration is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet that network collocating method is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 5 is another schematic flow sheet that network collocating method is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 6 is another schematic flow sheet that network collocating method is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 7 is another schematic flow sheet that network collocating method is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of Virtual Machine Manager module provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of switch provided in an embodiment of the present invention;Figure 10 is a kind of schematic device that network configuration is carried out to virtual machine provided in an embodiment of the present invention;
Fig. 11 is another schematic device that network configuration is carried out to virtual machine provided in an embodiment of 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, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The technical scheme that various embodiments of the present invention are provided can be applied to a kind of to virtual machine progress net The system of network configuration, as shown in figure 1, the system includes:
Virtual Machine Manager module, it is the management module operated on every main frame, Virtual Machine Manager performs the management function on every main frame centrally through it, with in next embodiment, for receiving and forwarding the message of the virtual switch from Virtual Machine Manager center and report the state of virtual machine.
Virtual Machine Manager center, is the virtual machine management system presented to system manager, is responsible for the management and control of virtual machine, including completes the attribute of virtual machine and the monitoring and modification of state, and establishment, migration, upper point and the lower point of virtual machine etc. is operated.
Network management center, it is the NMS presented to network manager, he manages and controlled simultaneously physical network device and virtual network device, management and configuration including completing physical switches and its port, the function such as the management and control of virtual machine and its port, network connection state management, traffic monitoring between IP address management and virtual machine.
Virtual switch, it can operate on main frame, the equipment and module with function of exchange realized by software, it on physical network card by hard-wired switching equipment and the module virtual changing machine can be common virtual switch or distributed virtual switch that can also be.Network management center can carry out VLAN thereon, ACL, the configuration of the various network informations such as QoS, complete the disconnection of virtual machine and network and be connected etc. to operate while it also coordinates with Virtual Machine Manager module.
The embodiment of the present invention provides a kind of method of virtual machine configuration, as shown in Fig. 2 the executive agent of the embodiment is Virtual Machine Manager module, including:
S201, Virtual Machine Manager module creation virtual machine.
Wherein, virtual network and virtual network interface are configured with network management center.Specifically, Virtual Machine Manager module receives the establishment virtual machine request message that Virtual Machine Manager center is sent, and according to the establishment virtual machine request message, selects the corresponding physical resource of the virtual machine and create the virtual machine.
The network configuration that S 202, Virtual Machine Manager module send the network connection information for including the virtual machine to the corresponding virtual switch of the virtual machine triggers message, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine. Wherein, the virtual machine that network configuration triggering message is used to be created for the Virtual Machine Manager module carries out network configuration.
S203, Virtual Machine Manager module receive the virtual machine and set up the confirmation message being connected with virtual switch.
Further, Virtual Machine Manager module sends network configuration request message or connection request message to the virtual switch.
The network configuration request message or connection request message include the network connection information of the virtual machine.
Specifically, if Virtual Machine Manager module sends network configuration request message to virtual switch, the Virtual Machine Manager module receives the network configuration response message of virtual switch transmission after network configuration request message is sent;And after virtual machine creating is completed and receives the configuration response message, connection request message is sent to the virtual machine.After connection of the virtual machine with the virtual switch is set up, Virtual Machine Manager module receives the confirmation message of virtual switch transmission.
If Virtual Machine Manager module sends connection request message to virtual switch, after then the network connection information in the virtual switch in the connection request message sets up the connection with the virtual machine, the confirmation that Virtual Machine Manager module receives virtual switch transmission disappears.
It should be noted that the difference that above-mentioned Virtual Machine Manager module sends network configuration request message or connection request message to the virtual switch is:
If Virtual Machine Manager module sends network configuration request message to virtual switch, then virtual switch first carries out network configuration according to the network configuration request message, after the network response message for creating and receiving virtual switch transmission of the virtual machine is completed, the Virtual Machine Manager module just sends connection request to the virtual switch and disappeared,, the connection with the virtual machine is set up so as to network connection information of the virtual switch in the connection request message;That is, Virtual Machine Manager module indicates that virtual switch carries out network configuration first, after the completion of network configuration, indicate that virtual switch sets up the connection with virtual machine.
If Virtual Machine Manager module sends connection request message to virtual switch;Then the virtual switch carries out network configuration, and network connection information foundation and the connection of the virtual machine in the connection request message according to the connection request message, that is to say, that virtual switch Receive after connection request message, carry out network configuration and foundation and the connection of virtual machine.
Above-mentioned Virtual Machine Manager module sends network configuration request to the virtual switch and disappeared; or connection request message is the difference in implementation; the embodiment of the present invention is not limited thereto, but no matter which kind of mode is used, and should all be fallen within the scope of protection of the present invention.
It should be noted that above-mentioned network configuration can be directed to VLAN (Virtual Local Area Network, virtual office i or net), ACL (Access Control List, accesses control list), QoS (Quality of Service, service quality)Deng the configuration of progress, this is not limited by the present invention.
Further, the embodiment of the present invention can also be applied to the scene that virtual-machine data is migrated, under the scene, purpose virtual switch notifies Virtual Machine Manager center by the Data Migration in source virtual machine to purpose virtual machine, and the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine;The active virtual switch of source virtual machine correspondence;
Now, the Virtual Machine Manager module in the present embodiment can include purpose Virtual Machine Manager module, and above-mentioned steps S201 can be:Purpose Virtual Machine Manager module receives the virtual machine (vm) migration request message that Virtual Machine Manager center is sent, and selects the corresponding physical resource of the virtual machine according to the virtual machine (vm) migration request message and create the virtual machine.Wherein, the virtual machine can for the purpose of virtual machine.
Further, after the completion of the purpose virtual machine creating, purpose Virtual Machine Manager module sends Data Migration request message to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine;
After the completion of the Data Migration, purpose Virtual Machine Manager module receives the Data Migration completion message of Virtual Machine Manager center transmission.
After purpose Virtual Machine Manager module receives the Data Migration completion message, the embodiment of the present invention also includes following two embodiments:
Mode one:Purpose Virtual Machine Manager module sends network configuration completion message and Data Migration completion notice message to the Virtual Machine Manager center, disconnected so that the Virtual Machine Manager center sends connection to source virtual machine management module after request message, the source virtual machine management module sends connection to source virtual switch and disconnects message, to cause the source virtual switch to disconnect request message disconnection and the connection of source virtual machine according to this; Purpose Virtual Machine Manager module sends connection request message after the connection request notification message of Virtual Machine Manager center transmission is received to purpose virtual switch, so that the purpose virtual switch sets up the connection with purpose virtual machine.
Mode two:Purpose Virtual Machine Manager module sends connection request message to the purpose virtual switch, so that the purpose virtual switch sets up the connection with purpose virtual machine;
After the completion of connection is set up, purpose Virtual Machine Manager module receives the confirmation message of purpose virtual switch transmission, and sends Data Migration completion message to the Virtual Machine Manager center.
Network management center can also receive the successful connection message of purpose virtual switch transmission, and when it is determined that there is conflict virtual machine, connection, which is sent, to the corresponding virtual switch of the conflict virtual machine disconnects message, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection;It should be noted that if source virtual switch does not disconnect the connection with source virtual machine, the conflict virtual machine includes the source virtual machine.
Wherein, the network address can be MAC Address.
From the foregoing, the difference of mode one and mode two is:
Mode one is that source virtual switch disconnects connection with source virtual machine first, and purpose Virtual Machine Manager module just sends connection request message to purpose virtual switch, so that the purpose virtual switch sets up the connection with purpose virtual machine;
Second mode is after purpose virtual switch sets up the connection with purpose virtual machine, when it is determined that there is conflict virtual machine in network management center, connection is initiated to disconnect, if source virtual switch does not disconnect the connection with source virtual machine, then the conflict virtual machine includes the source virtual machine, then network management center sends connection disconnection request to the source virtual switch and disappeared, to cause the source virtual switch to disconnect the connection with the source virtual machine.
Certainly, in mode one, the purpose virtual switch is set up after the connection with purpose virtual machine, network management center can also receive the successful connection message of purpose virtual switch transmission, and it is confirmed whether there is conflict virtual machine, if in the presence of, it indicates that the corresponding virtual switch of the conflict virtual machine disconnects the connection for the virtual machine that conflicts with this.
It should be noted that the embodiment of the present invention is not limited to above-mentioned any mode, But no matter which kind of mode is used, should all fallen within the scope of protection of the present invention.
Above-mentioned executive agent is used for the method for Virtual Machine Manager module, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provides a kind of method that network configuration is carried out to virtual machine, as shown in Fig. 3, and the executive agent of this method is virtual switch, and this method includes:
S 30 1, in Virtual Machine Manager module creation virtual machine, virtual switch receive the Virtual Machine Manager module transmission network configuration triggering message.
The virtual machine that network configuration triggering message is used to be created for the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine.
Wherein, virtual network and virtual network interface are configured with network management center.Further, virtual switch receives the network configuration request message or connection request message of Virtual Machine Manager module transmission, the network configuration request message or connection request message include the network connection information of the virtual machine, i.e., above-mentioned network configuration triggering message includes network configuration request message or connection request message.
Specifically, if virtual switch receives the network configuration request message of Virtual Machine Manager module transmission, then virtual switch first carries out network configuration according to the network configuration request message, after the network configuration response message for creating and receiving virtual switch transmission of the virtual machine is completed, the Virtual Machine Manager module just sends connection request message to the virtual switch, and the connection with the virtual machine is set up so as to network connection information of the virtual switch in the connection request message;That is, Virtual Machine Manager module indicates that virtual switch carries out network configuration first, after the completion of network configuration, indicate that virtual switch sets up the connection with virtual machine.
If virtual switch receives the connection request message that Virtual Machine Manager module is sent;Shellfish ' the J virtual switches according to the connection request message carry out network configuration, and the network connection information in the connection request message sets up the connection with the virtual machine, that is, virtual switch is received after connection request message, carries out network configuration and foundation and the connection of virtual machine. The network configuration request message or connection request message that above-mentioned virtual switch receives the transmission of Virtual Machine Manager module are the difference in implementation; the embodiment of the present invention is not limited thereto; but no matter which kind of mode is used, should all fallen within the scope of protection of the present invention.
S 302, virtual switch set up the connection with the virtual machine according to the network connection information.
S 303, virtual switch return to the confirmation message that the virtual machine and the virtual switch network connection have been set up to the Virtual Machine Manager module.
Further, after the network connection information is received, virtual switch is if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then directly set up the connection with the virtual machine, so that the virtual machine is accessed into the virtual network.
Specifically, virtual switch chance obtains virtual network interface to network management center, and the virtual machine is accessed into the virtual network by the virtual network interface.
If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, then network configuration information request message is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The virtual switch configures virtual network and foundation and the connection of the virtual machine according to the network configuration information, so that the virtual machine is accessed into the virtual network.
Specifically, virtual switch chance obtains virtual network interface to network management center, and the virtual machine is accessed into the virtual network by the virtual network interface.
It should be noted that above-mentioned network configuration can be directed to the configuration of the progress such as VLAN, ACL, QoS, this is not limited by the present invention.
Further, the embodiment of the present invention can also be applied to the scene that virtual-machine data is migrated, under the scene, purpose virtual switch notifies Virtual Machine Manager center by the Data Migration in source virtual machine to purpose virtual machine, and the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine;The active virtual switch of source virtual machine correspondence.
In the present embodiment, the virtual switch can include purpose virtual switch.
Specifically, in purpose Virtual Machine Manager module creation purpose virtual machine, purpose virtual switch receives the network configuration triggering message of purpose Virtual Machine Manager module transmission, wherein, network configuration triggering message includes network connection information, the purpose virtual switch according to the network connection information set up with the network connection of the purpose virtual machine, and to the Virtual Machine Manager Module returns to the confirmation message that the virtual machine has been set up with the virtual switch network connection.After the completion of the purpose virtual machine creating, purpose Virtual Machine Manager module sends Data Migration request message to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine;After the completion of the Data Migration, purpose Virtual Machine Manager module receives the Data Migration completion message of Virtual Machine Manager center transmission.
After the Data Migration completion message that purpose Virtual Machine Manager module receives Virtual Machine Manager center transmission, the embodiment of the present invention also includes following two embodiments:
Mode one:Source virtual switch disconnects the connection with source virtual machine, and purpose virtual switch receives the connection request message that purpose Virtual Machine Manager module is sent;The connection request message includes network connection information, and purpose virtual switch sets up the connection with purpose virtual machine according to the network connection information.
Mode two:Purpose virtual switch receives the connection request message of purpose Virtual Machine Manager module transmission;Wherein, the connection request message includes network connection information, purpose virtual switch sets up the connection with purpose virtual machine according to the network connection information, network management center can also receive the successful connection message of purpose virtual switch transmission, and when it is determined that there is conflict virtual machine, connection, which is sent, to the corresponding virtual switch of the conflict virtual machine disconnects message, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine, it should be noted that, if source virtual switch does not disconnect the connection with source virtual machine, then the conflict virtual machine includes the source virtual machine.
Wherein, the network address can be MAC Address.
From the foregoing, the difference of mode one and mode two is:
Mode one is that source virtual switch disconnects connection with source virtual machine first, and purpose Virtual Machine Manager module just sends connection request message to purpose virtual switch, so that the purpose virtual switch sets up the connection with purpose virtual machine.
Second mode is after purpose virtual switch sets up the connection with purpose virtual machine, network management center is initiated connection and disconnected, if source virtual switch does not disconnect the connection with source virtual machine when it is determined that there is conflict virtual machine, then the conflict virtual machine includes the source virtual machine Then network management center sends connection disconnection request to the source virtual switch and disappeared, ^, to cause the source virtual switch to disconnect the connection with the source virtual machine.
Certainly, in mode one, the purpose virtual switch is set up after the connection with purpose virtual machine, network management center can also receive the successful connection message of purpose virtual switch transmission, and it is confirmed whether there is conflict virtual machine, if in the presence of, it indicates that the corresponding virtual switch of the conflict virtual machine disconnects the connection for the virtual machine that conflicts with this.
It should be noted that the embodiment of the present invention is not limited to above-mentioned any mode, but no matter which kind of mode is used, should all fallen within the scope of protection of the present invention.
Further, the virtual switch is also used as source virtual switch, before the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine, the source virtual switch receives the connection disconnection message that Virtual Machine Manager center is sent, and disconnects message disconnection and the connection of the source virtual machine according to the connection.
Above-mentioned executive agent is used for the method for virtual switch, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provide it is a kind of to virtual machine carry out network configuration method, as shown in Fig. 4, this method embodiment by network management center be already configured with virtual network and virtual network interface based on carry out, this method includes:
S40 1, Virtual Machine Manager center are sent to Virtual Machine Manager module creates virtual machine request message.
S402, Virtual Machine Manager module select the corresponding physical resource of the virtual machine according to the establishment virtual machine request message and create the virtual machine.
S 403, Virtual Machine Manager module send network configuration request message to the corresponding virtual switch of the virtual machine.
S404, virtual switch are after the network configuration request message is received, however, it is determined that itself do not configure the corresponding virtual network of network connection information of the virtual machine, and network configuration information solicited message is sent to network management center. Further, virtual switch can also obtain virtual network interface to network management center.It should be noted that, if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, virtual network interface only then is obtained to network management center, and network configuration response message is sent to Virtual Machine Manager module, and carries out step S407 to S41 1.
S405, network management center return to network configuration information according to the network configuration information request message.
Alternatively, network management center also sends the configuration information to physical switches.
S406, virtual switch configure virtual network according to network configuration information, and send network configuration response message to Virtual Machine Manager module.
Wherein, above-mentioned configuration virtual network can be the configuration for progress such as VLAN, ACL, Qo S, and this is not limited by the present invention.
Alternatively, if physical switches also receive the network configuration information of network management center transmission, physical switches are completed after virtual network configuration, also send network configuration response message to Virtual Machine Manager module.
S 407, in Virtual Machine Manager module complete the establishment of virtual machine and after receiving the network configuration response message, Virtual Machine Manager module sends connection request message to virtual switch.
Wherein, the connection request message includes network connection information.
S408, virtual switch set up the connection with virtual machine according to the network connection information, and upon establishment of a connection, the confirmation message that the virtual machine has been set up with the virtual switch network connection are returned to Virtual Machine Manager module.
5409th, Virtual Machine Manager module sends virtual machine creating completion message after the confirmation message is received to Virtual Machine Manager center.
5410th, virtual switch and virtual machine are set up after the completion of connection, and virtual switch sends successful connection message to network management center.
541 1, the network management center is after the successful connection message is received, if it is determined that there is conflict virtual machine, connection is sent to the corresponding virtual switch of the conflict virtual machine and disconnects message, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection.Wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine;The network address can be MAC Address. It should be noted that above-mentioned Virtual Machine Manager module and virtual switch can be closed and be located in same main frame.
In addition, for above-mentioned embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, embodiment described in this description belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
By using the above method, realize during virtual machine creating, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provide it is a kind of to virtual machine carry out network configuration method, as shown in Fig. 5, this method embodiment by network management center be already configured with virtual network and virtual network interface based on carry out, this method includes:
5501st, Virtual Machine Manager center sends to Virtual Machine Manager module and creates virtual machine request message.
5502nd, Virtual Machine Manager module selects the corresponding physical resource of the virtual machine according to the establishment virtual machine request message and creates the virtual machine.
5503rd, Virtual Machine Manager module sends connection request message to the corresponding virtual switch of the virtual machine.
Wherein, the connection request message includes network connection information.
5504th, virtual switch is after the connection request message is received, however, it is determined that itself do not configure the corresponding virtual network of network connection information of the virtual machine, and network configuration information solicited message is sent to network management center.
Further, virtual switch can also obtain virtual network interface to network management center.It should be noted that if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then only virtual network interface is obtained to network management center, and to virtual Machine management module sends network configuration response message, and carries out step S507 to S5 10.
S 505, network management center return to network configuration information according to the network configuration information request message.
Alternatively, network management center also sends the configuration information to physical switches.
5506th, virtual switch configures virtual network according to network configuration information.
Wherein, above-mentioned configuration virtual network can be the configuration for progress such as VLAN, ACL, Qo S, and this is not limited by the present invention.
Alternatively, if physical switches also receive the network configuration information of network management center transmission, physical switches also can configure virtual network according to the network configuration information.
5507th, virtual switch sets up the connection with virtual machine after configuration virtual network according to network connection information, and upon establishment of a connection, the confirmation message that the virtual machine has been set up with the virtual switch network connection is returned to Virtual Machine Manager module.
5508th, Virtual Machine Manager module sends virtual machine creating completion message after receiving the confirmation message and completing the establishment of virtual machine to Virtual Machine Manager center.
5509th, virtual switch sends successful connection message after the completion of foundation and the connection of virtual machine to network management center.
55 10, the network management center is after the successful connection message is received, if it is determined that there is conflict virtual machine, connection is sent to the corresponding virtual switch of the conflict virtual machine and disconnects message, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection.
Wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine;The network address can be MAC Address.
It should be noted that above-mentioned Virtual Machine Manager module and virtual switch can be closed and be located in same main frame.
In addition, for above-mentioned embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not Necessary to must being the present invention.
By using the above method, realize during virtual machine creating, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provides a kind of method configured to virtual machine, as shown in Figure 6, this method embodiment is applied to virtual-machine data and migrates scene, in the present embodiment, this method embodiment is carried out on the basis of source virtual machine creates completion, wherein, the establishment of source virtual machine may be referred to the embodiment shown in above-mentioned Fig. 4 or Fig. 5, no longer Redundant is stated herein, and this method includes:
560 1, Virtual Machine Manager center sends virtual machine (vm) migration request message to purpose Virtual Machine Manager module.
5602nd, purpose Virtual Machine Manager module selects the corresponding physical resource of virtual machine according to the virtual machine (vm) migration request message and creates purpose virtual machine.
5603rd, purpose Virtual Machine Manager module sends Data Migration request message after the establishment of purpose virtual machine is completed to Virtual Machine Manager center.
S 604, Virtual Machine Manager center according to the Data Migration request message by the Data Migration in source virtual machine to purpose virtual machine, and after the completion of Data Migration, Data Migration completion message is sent to purpose Virtual Machine Manager module.
5605th, purpose Virtual Machine Manager module sends network configuration request message when creating purpose virtual machine to purpose virtual switch.
5606th, purpose virtual switch is after the network configuration request message is received, however, it is determined that itself do not configure the corresponding virtual network of network connection information of the virtual machine, and network configuration information solicited message is sent to network management center.
Further, virtual switch can also obtain virtual network interface to network management center.It should be noted that, if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, virtual network interface only then is obtained to network management center, and network configuration response message is sent to Virtual Machine Manager module, and carries out step S 608 to S 620. S 607, network management center return to network configuration information according to the network configuration information request message.
Alternatively, network management center also sends the network configuration information to purpose physical switches.
5608th, purpose virtual switch configures virtual network according to the network configuration message, and sends network configuration response message to purpose Virtual Machine Manager module.
Wherein, above-mentioned configuration virtual network can be the configuration for progress such as VLAN, ACL, Qo S, and this is not limited by the present invention
Alternatively, if purpose physical switches also receive the network configuration information of network management center transmission, purpose physical switches are completed after virtual network configuration, also send network configuration response message to purpose Virtual Machine Manager module.
5609th, purpose Virtual Machine Manager module sends network configuration completion message after the network configuration response message is received to Virtual Machine Manager center.
5610th, Virtual Machine Manager center sends connection to source virtual machine management module and disconnects request message after the completion of the network configuration completion message and Data Migration is received.
S 61 1, source virtual machine management module send connection to source virtual switch and disconnect message.
5612nd, source virtual switch disconnects message disconnection and the connection of source virtual machine according to the connection.
5613rd, source virtual switch sends connection disconnection response message to source virtual machine management module.
5614th, source virtual machine management module sends connection to Virtual Machine Manager center and disconnects notification message after connection disconnection response message is received.
5615th, Virtual Machine Manager center sends connection request to purpose Virtual Machine Manager module and notifies to disappear after connection disconnection notification message is received,.
5616th, purpose Virtual Machine Manager module sends connection request message after the connection request notification message is received to purpose virtual switch.
S 617, purpose virtual switch set up the connection with purpose virtual machine according to the connection request message.
S 61 8, purpose virtual switch set up with after the completion of the connection of the purpose virtual machine, Purpose virtual switch sends the confirmation message for connecting and setting up to purpose Virtual Machine Manager module.
S 619, purpose Virtual Machine Manager module send virtual machine (vm) migration completion message after the confirmation message is received to Virtual Machine Manager center.
5620th, after the completion of purpose virtual switch sets up the connection with the purpose virtual machine, purpose virtual switch sends successful connection message to network management center.
5621st, the network management center is receiving the successful connection message family, if it is determined that there is conflict virtual machine, connection is sent to the corresponding virtual switch of the conflict virtual machine and disconnects message, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection.
Wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine;The network address can be MAC Address.
It should be noted that above-mentioned source virtual machine management module and source virtual switch can be closed and be located in source host, above-mentioned purpose Virtual Machine Manager module and purpose virtual switch can be closed and be located in destination host.
In addition, for above-mentioned embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, embodiment described in this description belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
By using the above method, realize in virtual-machine data transition process, the network configuration to virtual machine is realized by the direct interaction of purpose Virtual Machine Manager module and purpose virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provides a kind of method that network configuration is carried out to virtual machine, as shown in Fig. 7, this method embodiment is applied to virtual-machine data and migrates scene, in the present embodiment, this method embodiment is carried out on the basis of source virtual machine creates completion, wherein, the establishment of source virtual machine may be referred to the embodiment shown in above-mentioned Fig. 4 or Fig. 5, no longer Redundant is stated herein This method includes:
5701st, Virtual Machine Manager center sends virtual machine (vm) migration request message to purpose Virtual Machine Manager module.
5702nd, purpose Virtual Machine Manager module selects the corresponding physical resource of virtual machine according to the virtual machine (vm) migration request message and creates purpose virtual machine.
5703rd, purpose Virtual Machine Manager module sends Data Migration request message after the establishment of purpose virtual machine is completed to Virtual Machine Manager center.
S 704, Virtual Machine Manager center according to the Data Migration request message by the Data Migration in source virtual machine to purpose virtual machine, and after the completion of Data Migration, Data Migration completion message is sent to purpose Virtual Machine Manager module.
5705th, purpose Virtual Machine Manager module sends network configuration request message when creating purpose virtual machine to purpose virtual switch.
5706, purpose virtual switch is after the network configuration request message is received, however, it is determined that itself do not configure the corresponding virtual network of network connection information of the virtual machine, and network configuration information request message is sent to network management center.
Further, virtual switch can also obtain virtual network interface to network management center.It should be noted that, if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, virtual network interface only then is obtained to network management center, and network configuration response message is sent to Virtual Machine Manager module, and carries out step S709 to S7 14.
S707, network management center return to network configuration information according to the network configuration information request message.
Alternatively, network management center also sends the configuration information to purpose physical switches.
S708, purpose virtual switch configure virtual network according to the network configuration message, and send network configuration response message to purpose Virtual Machine Manager module.
Wherein, above-mentioned configuration virtual network can be the configuration for progress such as VLAN, ACL, Qo S, and this is not limited by the present invention
Alternatively, if purpose physical switches also receive the network configuration information of network management center transmission, purpose physical switches are completed after virtual network configuration, also send network configuration response message to purpose Virtual Machine Manager module. 5709th, purpose Virtual Machine Manager module sends connection request message after the network configuration response message is received to purpose virtual switch.
5710th, purpose virtual switch sets up the connection with purpose virtual machine according to the connection request message.
571 1, purpose virtual switch sends the confirmation message for connecting and setting up to purpose Virtual Machine Manager module after the completion of connection is set up.
5712nd, purpose Virtual Machine Manager module sends virtual machine (vm) migration completion message after the confirmation message is received to Virtual Machine Manager center.
5713rd, purpose virtual switch sends successful connection message after the completion of connection is set up to network management center.
5714th, the network management center is after the successful connection message is received, if it is determined that there is conflict virtual machine, connection is sent to the corresponding virtual switch of the conflict virtual machine and disconnects message, to cause the corresponding virtual switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection.
Wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine;The network address can be MAC Address.
It should be noted that, now, source virtual switch does not disconnect the connection with source virtual machine, then the conflict virtual machine includes the source virtual machine, then network management center sends connection disconnection request message to the source virtual switch, to cause the source virtual switch to disconnect the connection with the source virtual machine.
Wherein, if there are source physical switches and purpose physical switches in the network of network management center control, network management center notifies the source physical switches to delete network configuration information.
It should be noted that above-mentioned source virtual machine management module and source virtual switch can be closed and be located in source host, above-mentioned purpose Virtual Machine Manager module and purpose virtual switch can be closed and be located in destination host.
In addition, for above-mentioned embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be used Other orders are carried out simultaneously.Secondly, those skilled in the art should also know, embodiment described in this description belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
By using the above method, realize in virtual-machine data transition process, the network configuration to virtual machine is realized by the direct interaction of purpose Virtual Machine Manager module and purpose virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provides a kind of Virtual Machine Manager module 800, as shown in Fig. 8, including:
Processing unit 80 1, for creating virtual machine.
Transmitting element 802, the corresponding virtual switch of virtual machine for being created to the processing unit 80 1 sends the network configuration triggering message for the network connection information for including the virtual machine, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine.
Wherein, the virtual machine that network configuration triggering message is used to be created for the Virtual Machine Manager module carries out network configuration.
Receiving unit 803, for receiving the confirmation message that the virtual machine is connected with virtual switch foundation.
Alternatively, the receiving unit 803 is specifically for receiving the establishment virtual machine request message that Virtual Machine Manager center is sent;
The processing unit 80 1 selects the corresponding physical resource of the virtual machine and creates the virtual machine specifically for the establishment virtual machine request message received according to the receiving unit 803.
Alternatively, the transmitting element 802 to the virtual switch specifically for sending network configuration request message or connection request message, and the network configuration request message or connection request message include the network connection information of the virtual machine.
Specifically, if sending network configuration request message, after network configuration request message is sent, the network configuration response message of virtual switch transmission is received;And after virtual machine creating is completed and receives the configuration response message, send connection request to the virtual machine and disappear Breath.After connection of the virtual machine with the virtual switch is set up, the confirmation message of virtual switch transmission is received.
If sending connection request message, after network connection information of the virtual switch in the connection request message sets up the connection with the virtual machine, the confirmation message of virtual switch transmission is received.
It should be noted that the above-mentioned difference for sending network configuration request message or connection request message to the virtual switch is:
If sending network configuration request message to virtual switch, then virtual switch first carries out network configuration according to the network configuration request message, after the network response message for creating and receiving virtual switch transmission of the virtual machine is completed, connection request message just is sent to the virtual switch, the connection with the virtual machine is set up so as to network connection information of the virtual switch in the connection request message;That is, indicating that virtual switch carries out network configuration first, after the completion of network configuration, indicate that virtual switch sets up the connection with virtual machine.
If sending connection request message to virtual switch;Then the virtual switch carries out network configuration according to the connection request message, and the network connection information in the connection request message sets up the connection with the virtual machine, that is, virtual switch is received after connection request message, carries out network configuration and foundation and the connection of virtual machine.
Further, if transmitting element 802 sends network configuration request message to virtual switch, the receiving unit 803 is additionally operable to, and receives the network configuration response message of virtual switch transmission;
The transmitting element 802 is additionally operable to, and the completion of the virtual machine creating of unit 80 1 is managed in this place and the receiving unit is received after the configuration response message, connection request message is sent to the virtual switch.
Further, when the Virtual Machine Manager module is used under virtual-machine data migration scene, the receiving unit is specifically for receiving the virtual machine (vm) migration request message that Virtual Machine Manager center is sent.
The processing unit 80 1 selects the corresponding physical resource of the virtual machine specifically for the virtual machine (vm) migration request message received according to the receiving unit 803 and creates the virtual machine.
Alternatively, the transmitting element 802 is additionally operable to, and sending network to the virtual switch matches somebody with somebody Request message is put, so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
Alternatively, the transmitting element 802 is additionally operable to, and Data Migration request message is sent to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine.
The receiving unit 803 is additionally operable to, after the completion of the Data Migration, receives the Data Migration completion message of Virtual Machine Manager center transmission.
It should be noted that, affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the specific work process of the Virtual Machine Manager module of foregoing description and description, the corresponding process in preceding method embodiment is may be referred to, no longer Redundant is stated herein.
By using above-mentioned Virtual Machine Manager module, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and virtual switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.The embodiment of the present invention provides a kind of switch 900, for the network exchange of virtual machine, as shown in figure 9, including:
Receiving unit 901, the network configuration for receiving Virtual Machine Manager module transmission triggers message.
Wherein, the virtual machine that network configuration triggering message is used to be created for the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine.
Processing unit 902, the network connection information for being received according to receiving unit 901 sets up the connection with the virtual machine.
Transmitting element 903, for returning to the confirmation message that the virtual machine has been set up with the switch network connection to the Virtual Machine Manager module.
Alternatively, the receiving unit 901 is specifically for receiving the network configuration request message or connection request message of Virtual Machine Manager module transmission, the network configuration request message or connection request message include the network connection information of the virtual machine.
Specifically, if receiving the network configuration request message of Virtual Machine Manager module transmission, Network configuration is first then carried out according to the network configuration request message, after the network configuration response message for creating and receiving switch transmission of the virtual machine is completed, just receive the connection request message of Virtual Machine Manager module transmission, and network connection information foundation and the connection of the virtual machine in the connection request message;That is, Virtual Machine Manager module indicates that switch carries out network configuration first, after the completion of network configuration, indicate that switch sets up the connection with virtual machine.
If receiving the connection request message that Virtual Machine Manager module is sent;H ' J carry out network configuration according to the connection request message, and the network connection information in the connection request message sets up the connection with the virtual machine, that is, after connection request message is received, carrying out network configuration and foundation and the connection of virtual machine.
Network configuration request message or connection request message that above-mentioned reception Virtual Machine Manager module is sent are the difference in implementation, and the embodiment of the present invention is not limited thereto, but no matter which kind of mode are used, and should all be fallen within the scope of protection of the present invention.
Further, the processing unit 902 is specifically for after receiving unit 901 receives the network connection information, however, it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then directly sets up the connection with the virtual machine.
If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, then network configuration information request message is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The processing unit 902 configures virtual network and foundation and the connection of the virtual machine according to the network configuration information.
Further, the transmitting element 903 is additionally operable to, before the connection with the virtual machine is set up, and network configuration response message is sent to the Virtual Machine Manager module;
The receiving unit 901 is additionally operable to, and after the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, receives the connection request message of Virtual Machine Manager module transmission.
It should be noted that above-mentioned network configuration can be directed to the configuration of the progress such as VLAN, ACL, QoS, this is not limited by the present invention.
Alternatively, the transmitting element 903 is additionally operable to, and successful connection message is sent to the network management center, so that the network management center is when it is determined that have conflict virtual machine, to the punching The corresponding switch of prominent virtual machine sends connection and disconnects message, to cause the corresponding switch of conflict virtual machine to disconnect the connection that message disconnects the virtual machine that conflicts with this according to the connection.
Wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
Further, the switch can include source exchanging device, and the receiving unit 901 is additionally operable to, and receive the connection disconnection message that Virtual Machine Manager center is sent.
The processing unit 902, the connection for being additionally operable to be received according to the receiving unit 901 disconnects message disconnection and the connection of the source virtual machine.
It should be noted that, affiliated those skilled in the art can be understood that, for convenience and simplicity of description, the specific work process of the switch of foregoing description and description, the corresponding process in preceding method embodiment is may be referred to, no longer Redundant is stated herein.
By using above-mentioned switch, the network configuration to virtual machine is realized by the direct interaction of Virtual Machine Manager module and switch, effectively reduce to the flow of interacting message and time in virtual machine network configuration process, while time delay is reduced, it is ensured that the stability and continuation of business.
It should be noted that, above-mentioned Virtual Machine Manager module and above-mentioned switch, which can be closed, to be located in same main frame, and migrate scene for virtual-machine data, source virtual machine management module and source exchanging device, which can be closed, to be located in source host, and purpose Virtual Machine Manager module and purpose switch can be closed and be located in destination host.
A kind of structural representation for device that network configuration is carried out to virtual machine that Figure 10 provides for the present invention, as shown in Figure 10, the device 100 includes:
Processor (processor) 101, communication interface (Communications Interface) 102, memory(Memory) 103 and communication bus 104;Wherein, the processor 101, the communication interface 102 and the memory 103 complete mutual communication by the communication bus 104.
Processor 101 is probably a central processor CPU, either specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
Memory 103 is used to deposit program code, and described program code includes computer operation Instruction.Memory 103 may include high-speed RAM memory, it is also possible to also deposit 4 all devices (non-volatile memory), example including non-volatile:At least one disk of mouth deposits 4 all devices.
The communication interface 102, for the code stream after the compression of output image.
The configuration processor code of processor 101, for creating virtual machine, and the network configuration for sending the network connection information for including the virtual machine to the corresponding virtual switch of virtual machine of establishment triggers message, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine, and receive the confirmation message that the virtual machine is connected with virtual switch foundation.
Wherein, network configuration triggering message includes network connection information.
Alternatively, the processor 101 is additionally operable to receive the establishment virtual machine request message that Virtual Machine Manager center is sent, and according to the establishment virtual machine request message, selects the corresponding physical resource of the virtual machine and create the virtual machine.
Alternatively, the processor 101 is additionally operable to send network configuration request message or connection request message to the virtual switch, and the network configuration request message or connection request message include the network connection information of the virtual machine.
Alternatively, the processor 101 is additionally operable to receive the network configuration response message that the virtual switch is sent, and after the virtual machine creating is completed and receives the configuration response message, connection request message is sent to the virtual switch.
Further, the processor 101 is additionally operable to receive the virtual machine (vm) migration request message that Virtual Machine Manager center is sent, and just blunt select the corresponding physical resource of the virtual machine according to the virtual machine (vm) migration request message and create the virtual machine.
Alternatively, the processor 101 is additionally operable to send network configuration request message to the virtual switch, and so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
Alternatively, the processor 101 is additionally operable to send Data Migration request message to Virtual Machine Manager center, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine, and after the completion of the Data Migration, receive the Data Migration completion message of Virtual Machine Manager center transmission. A kind of structural representation for device that network configuration is carried out to virtual machine that Figure 11 provides for the present invention, as shown in figure 11, the device 110 includes:
Processor (processor) 111, communication interface (Communications Interface) 112, memory(Memory) 113 and communication bus 114;Wherein, the processor 111, the communication interface 112 and the memory 113 complete mutual communication by the communication bus 114.
Processor 111 is probably a central processor CPU, either specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
Memory 113 is used to deposit program code, and described program code includes computer-managed instruction.Memory 113 may include high-speed RAM memory, it is also possible to also deposit 4 all devices (non-volatile memory), example including non-volatile:At least one disk of mouth deposits 4 all devices.
The communication interface 112, for the code stream after the compression of output image.
The configuration processor code of processor 111, network configuration for receiving the transmission of Virtual Machine Manager module triggers message, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration, include the network connection information of the virtual machine, and the connection with the virtual machine is set up according to the network connection information, and return to the confirmation message that the virtual machine has been set up with the virtual switch network connection to the Virtual Machine Manager module.
Further, the processor 111 is additionally operable to receive network configuration request message or connection request message that the Virtual Machine Manager module is sent, and the network configuration request message or connection request message include the network connection information of the virtual machine.
Alternatively, the processor 111 is additionally operable to after the network connection information is received, however, it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then directly sets up the connection with the virtual machine;If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, network configuration information request message then is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The virtual switch configures virtual network and foundation and the connection of the virtual machine according to the network configuration information. Alternatively, if the processor 111 is additionally operable to receive the network configuration request message that the Virtual Machine Manager module is sent, before the connection with the virtual machine is set up, network configuration response message is sent to the Virtual Machine Manager module;After the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, the connection request message that the Virtual Machine Manager module is sent is received.
Alternatively, the processor 111 is additionally operable to send successful connection message to the network management center, when it is determined that to there is conflict virtual machine in the network management center, connection, which is sent, to the corresponding virtual switch of the conflict virtual machine disconnects message, to cause the corresponding virtual switch of the conflict virtual machine to disconnect the connection of message disconnection and the virtual machine that conflicts according to the connection, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
Further, the processor 111 is additionally operable under virtual-machine data migration scene, and the connection that reception Virtual Machine Manager center is sent disconnects message, and disconnects message disconnection and the connection of the source virtual machine according to the connection.
The embodiment of the present invention provides a kind of computer-readable medium, include computer executed instructions, when the central processing unit of computer performs the computer executed instructions, the computer is used to perform the program code performed by the processor 111 for the device that program code or above-mentioned Fig. 11 performed by the processor 101 of the device of above-mentioned Figure 10 descriptions are described.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, foregoing program can be stored in a computer read/write memory medium, the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above; only embodiment of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (25)

  1. Claims
    1st, a kind of method that network configuration is carried out to virtual machine, it is characterised in that including:Create virtual machine;The network configuration triggering for connecing information disappears, to cause the virtual switch to set up the connection of the virtual switch and the virtual machine according to the network connection information of the virtual machine, wherein, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration;
    Receive the virtual machine and disappear with the confirmation that virtual switch foundation is connected,.
    2nd, the method according to claim 1, it is characterised in that the establishment virtual machine includes:
    The establishment virtual machine request for receiving the transmission of Virtual Machine Manager center disappears,;
    According to the establishment virtual machine request message, select the corresponding physical resource of the virtual machine and create the virtual machine.
    3rd, method according to claim 2, it is characterised in that described virtually to put triggering message to described, including:
    Network configuration request message or connection request message are sent to the virtual switch, the network configuration request message or connection request message include the network connection information of the virtual machine.
    4th, the method according to claim 3, it is characterised in that if sending network configuration request message to the virtual switch, before the connection for setting up the virtual machine with the virtual switch, methods described also includes:
    Receive the network configuration response message that the virtual switch is sent;
    After the virtual machine creating is completed and receives the configuration response message, send connection request to the virtual switch and disappear,.
    5th, the method according to claim 1, it is characterised in that the establishment virtual machine includes:
    Receive the virtual machine (vm) migration request message that Virtual Machine Manager center is sent; The corresponding physical resource of the virtual machine is selected according to the virtual machine (vm) migration request message and the virtual machine is created.
    6th, method according to claim 5, it is characterised in that methods described also includes:Network configuration request message is sent to the virtual switch, so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
    7th, the method according to claim 5 or 6, it is characterised in that methods described also includes:
    Data Migration request is sent to Virtual Machine Manager center to disappear, so as to the Virtual Machine Manager center according to the Data Migration request message by the Data Migration of source virtual machine to purpose virtual machine;
    After the completion of the Data Migration, the Data Migration completion message that the Virtual Machine Manager center is sent is received.
    8th, a kind of method that network configuration is carried out to virtual machine, it is characterised in that including:The network configuration triggering message that Virtual Machine Manager module is sent is received, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine;
    Connection with the virtual machine is set up according to the network connection information;Connect the confirmation message set up.
    9th, method according to claim 8, it is characterised in that the network configuration triggering message that the reception Virtual Machine Manager module is sent includes:Network configuration request message or connection request message that the Virtual Machine Manager module is sent are received, the network configuration request message or connection request message include the network connection information of the virtual machine.
    10th, method according to claim 8 or claim 9, the connection set up according to the network connection information with the virtual machine, including:
    After the network connection information is received, however, it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then the connection with the virtual machine is directly set up;If it is determined that the corresponding virtual network of network connection information of the virtual machine itself is not configured, Network configuration information request message then is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The virtual switch configures virtual network and foundation and the connection of the virtual machine according to the network configuration information.
    11, the method according to claim 9 or 10, it is characterised in that if receiving the network configuration request message that the Virtual Machine Manager module is sent, before the connection with the virtual machine is set up, methods described also includes:
    Network configuration response message is sent to the Virtual Machine Manager module;
    After the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, the connection request message that the Virtual Machine Manager module is sent is received.
    12nd, the method according to any one of claim 8 to 11, it is characterised in that methods described also includes:
    Successful connection message is sent to the network management center, when it is determined that to there is conflict virtual machine in the network management center, sent to the corresponding virtual switch of the conflict virtual machine and connect the connection for disconnecting message disconnection and the virtual machine that conflicts, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
    13rd, the method according to claim 11 or 12, it is characterized in that, under virtual-machine data migration scene, purpose virtual switch notifies Virtual Machine Manager center by the Data Migration in source virtual machine to purpose virtual machine, and the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine;The active virtual switch of the source virtual machine correspondence;It is described also to include before the corresponding purpose virtual switch of the purpose virtual machine sets up the connection with the purpose virtual machine:
    Source virtual switch receives the connection disconnection message that Virtual Machine Manager center is sent;Source virtual switch disconnects message disconnection and the connection of the source virtual machine according to the connection.
    14th, a kind of Virtual Machine Manager module, it is characterised in that including:
    Processing unit, for creating virtual machine;
    Transmitting element, the network configuration triggering that the corresponding virtual switch of virtual machine for being created to the processing unit sends the network connection information for including the virtual machine disappears, so that Obtain the connection that the virtual switch sets up the virtual switch and the virtual machine according to the network connection information of the virtual machine, wherein, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration;
    Receiving unit, for receiving the confirmation message that the virtual machine is connected with virtual switch foundation.
    15th, module according to claim 14, it is characterised in that the establishment virtual machine request that the receiving unit is additionally operable to receive the transmission of Virtual Machine Manager center disappears,;
    The processing unit selects the corresponding physical resource of the virtual machine and creates the virtual machine specifically for the establishment virtual machine request message received according to the receiving unit.
    16th, module according to claim 15, it is characterized in that, the transmitting element to the virtual switch specifically for sending network configuration request message or connection request message, and the network configuration request message or connection request message include the network connection information of the virtual machine.
    17th, module according to claim 16, it is characterised in that the receiving unit is additionally operable to, receives the network configuration response message that the virtual switch is sent;
    The transmitting element is additionally operable to, and after the processing unit virtual machine creating is completed and the receiving unit receives the configuration response message, connection request message is sent to the virtual switch.
    18th, module according to claim 14, it is characterised in that the receiving unit disappears specifically for receiving the virtual machine (vm) migration request that Virtual Machine Manager center is sent,;
    The processing unit selects the corresponding physical resource of the virtual machine specifically for the virtual machine (vm) migration request message received according to the receiving unit and creates the virtual machine.
    19th, the equipment according to claim 18, it is characterized in that, the transmitting element is additionally operable to, network configuration request message is sent to the virtual switch, so that the virtual switch is after the network configuration request message is received, network configuration information request message is sent to the network management center.
    20th, according to your module described in 18 or 19 of claim, it is characterized in that, the transmitting element is additionally operable to, Data Migration request message is sent to Virtual Machine Manager center, so as in the Virtual Machine Manager ' ^ according to the Data Migration request disappear, the data of source virtual machine are moved Move to purpose virtual machine;
    The receiving unit is additionally operable to, after the completion of the Data Migration, receives the Data Migration completion message that the Virtual Machine Manager center is sent.
    21st, a kind of switch, the network exchange for virtual machine, it is characterised in that including:Receiving unit, message is triggered for receiving the network configuration that the Virtual Machine Manager module is sent, the virtual machine that the network configuration triggering message is used to be created by the Virtual Machine Manager module carries out network configuration, includes the network connection information of the virtual machine;
    Processing unit, the network connection information for being received according to the receiving unit sets up the connection with the virtual machine;
    Transmitting element, for returning to the confirmation message that the virtual machine has been set up with the switch network connection to the Virtual Machine Manager module.
    22nd, the switch according to claim 21, it is characterized in that, the receiving unit specifically for, network configuration request message or connection request message that the Virtual Machine Manager module is sent are received, the network configuration request message or connection request message include the network connection information of the virtual machine.
    23rd, the switch according to claim 21 or 22, it is characterized in that, the processing unit specifically for, after the network connection information is received, if it is determined that the corresponding virtual network of network connection information of itself configured virtual machine, then directly set up the connection with the virtual machine;
    If it is determined that itself not configuring the corresponding virtual network of network connection information of the virtual machine, network configuration information request message then is sent to network management center, so that the network management center returns to network configuration information according to the network configuration information request message;The processing unit configures virtual network and foundation and the connection of the virtual machine according to the network configuration information.
    24th, the switch according to claim 22 or 23, it is characterised in that the transmitting element is additionally operable to, before the connection with the virtual machine is set up, network configuration response message is sent to the Virtual Machine Manager module;
    The receiving unit is additionally operable to, after the virtual machine creating is completed and the Virtual Machine Manager module receives the configuration response message, receives the connection request message that the Virtual Machine Manager module is sent. 25, switch according to any one of claim 21 to 24, it is characterized in that, the transmitting element is additionally operable to, successful connection message is sent to the network management center, when it is determined that to there is conflict virtual machine in the network management center, connection, which is sent, to the corresponding switch of the conflict virtual machine disconnects message, to cause the corresponding switch of the conflict virtual machine to disconnect the connection of message disconnection and the virtual machine that conflicts according to the connection, wherein, the conflict virtual machine is the network address and the network address identical virtual machine of the virtual machine.
    26th, the switch according to claim 24 or 25, it is characterised in that the receiving unit is additionally operable to, receives the connection disconnection message that Virtual Machine Manager center is sent;
    The processing unit, the connection for being additionally operable to be received according to the receiving unit disconnects message disconnection and the connection of the source virtual machine.
    27th, a kind of device that network configuration is carried out to virtual machine, it is characterised in that including processor and memory, the memory storage computer executed instructions, the processor is connected with the memory by communication bus;
    When described device is run, the computer executed instructions of memory storage described in the computing device so that any described method of described device perform claim requirement 1 to 7.
    28th, a kind of device that network configuration is carried out to virtual machine, it is characterised in that including processor and memory, the memory storage computer executed instructions, the processor is connected with the memory by communication bus;
    When described device is run, the computer executed instructions of memory storage described in the computing device so that any described method of described device perform claim requirement 8 to 13.
    29th, a kind of computer-readable medium, it is characterised in that comprising computer executed instructions, when the central processing unit of computer performs the computer executed instructions, any described method of the computer perform claim requirement 1 to 7 or 8 to 13.
CN201280002829.4A 2012-11-12 2012-11-12 A kind of method and apparatus that network configuration is carried out to virtual machine Active CN104040950B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/084477 WO2014071637A1 (en) 2012-11-12 2012-11-12 Method and device for performing network configuration on virtual machine

Publications (2)

Publication Number Publication Date
CN104040950A true CN104040950A (en) 2014-09-10
CN104040950B CN104040950B (en) 2017-09-29

Family

ID=50683964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002829.4A Active CN104040950B (en) 2012-11-12 2012-11-12 A kind of method and apparatus that network configuration is carried out to virtual machine

Country Status (2)

Country Link
CN (1) CN104040950B (en)
WO (1) WO2014071637A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276783A (en) * 2016-04-08 2017-10-20 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing virtual machine unified management and intercommunication

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108599998B (en) * 2018-04-04 2021-11-02 刘昱 Network management and control method and device and computer readable storage medium
CN108768895B (en) 2018-05-18 2021-02-23 华为技术有限公司 Virtual machine migration method and data center

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589919B2 (en) * 2009-04-28 2013-11-19 Cisco Technology, Inc. Traffic forwarding for virtual machines
CN102412978B (en) * 2010-09-21 2014-04-16 杭州华三通信技术有限公司 Method for carrying out network configuration for VM and system thereof
EP2725737B1 (en) * 2011-08-01 2016-01-20 Huawei Technologies Co., Ltd. Network policy configuration method, management device and network management centre device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276783A (en) * 2016-04-08 2017-10-20 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing virtual machine unified management and intercommunication
CN107276783B (en) * 2016-04-08 2022-05-20 中兴通讯股份有限公司 Method, device and system for realizing unified management and intercommunication of virtual machines

Also Published As

Publication number Publication date
CN104040950B (en) 2017-09-29
WO2014071637A1 (en) 2014-05-15

Similar Documents

Publication Publication Date Title
US10452422B2 (en) Method and apparatus for deploying virtual machine instance, and device
CN102316043B (en) Port virtualization method, switch and communication system
CN107544841B (en) Virtual machine live migration method and system
JP5804189B2 (en) Information processing system, information processing method, program
CN103026660A (en) Network policy configuration method, management device and network management centre device
CN102143138A (en) Method and device for configuring virtual local area network (VLAN) in live migration process of virtual machine
CN103414626A (en) Message processing method and device based on network virtualization
CN103002065A (en) Method and device for sharing internet protocol (IP) address by host device and standby device
CN103931144A (en) Method, equipment and system for communication in virtual domain
CN109660442A (en) The method and device of multicast replication in Overlay network
CN103888417A (en) Network switching method and system for virtual machine system migration
CN102884762A (en) Method, devices and system for controlling network paths
CN104040950A (en) Method and device for performing network configuration on virtual machine
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN108512737B (en) Data center IP layer interconnection method and SDN controller
JP6604336B2 (en) Information processing apparatus, information processing method, and program
CN110311861B (en) Method and device for guiding data flow
CN106063169A (en) Data processing method and device
CN103561481A (en) Self-establishing method and device for X2 interfaces
CN116389241A (en) Local area network switch configuration method and device
CN103781138A (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN112532506B (en) Hybrid networking method, device, server and computer-readable storage medium
CN103596649B (en) A kind of method, apparatus and system communicated in VLAN
CN105763661A (en) Network protocol IP address obtaining method and communication equipment
CN106230740A (en) Message forwarding method in a kind of VXLAN and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211224

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.