CN102412978B - Method for carrying out network configuration for VM and system thereof - Google Patents

Method for carrying out network configuration for VM and system thereof Download PDF

Info

Publication number
CN102412978B
CN102412978B CN201010290503.9A CN201010290503A CN102412978B CN 102412978 B CN102412978 B CN 102412978B CN 201010290503 A CN201010290503 A CN 201010290503A CN 102412978 B CN102412978 B CN 102412978B
Authority
CN
China
Prior art keywords
network configuration
manager
configuration information
sign
vnet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010290503.9A
Other languages
Chinese (zh)
Other versions
CN102412978A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010290503.9A priority Critical patent/CN102412978B/en
Publication of CN102412978A publication Critical patent/CN102412978A/en
Application granted granted Critical
Publication of CN102412978B publication Critical patent/CN102412978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for carrying out network configuration for a VM and a system thereof. Before the VM is created or migrated, a VNet manager generates network configuration information aiming at the VM and sends an identification of the network configuration information to a Vm manager. During creating or migrating the VM, the Vm manager issues to a vSwitch in which the created and migrated VM is located. The vSwitch binds the identification of the network configuration information with a port which the VM is accessed to on the vSwitch. And the identification of the network configuration information is notified to an edge switch which is connected with the vSwitch. The edge switch binds the identification of the network configuration information with the port which receives the identification of the network configuration information. The vSwitch and the edge switch uses the identification of the network configuration information to acquire the corresponding network configuration information from the VNet manager and configure to the bound port.

Description

A kind of method and system that carries out network configuration for fictitious host computer
Technical field
The present invention relates to network communications technology field, particularly a kind of method and system that carries out network configuration for fictitious host computer.
Background technology
Intel Virtualization Technology is formed virtualization layer and it is managed by software or firmware management program, physical resource is mapped as to virtual resource, reach the object of fully sharing physical resource, at present general indication is exactly server virtualization technology, can on same physical server, move a plurality of independently operating system and separate application.The core of Intel Virtualization Technology is virtual switch (vSwitch) and is connected to the fictitious host computer (VM) on vSwitch.
Fig. 1 is a kind of typical virtual network diagram, wherein, vSwitch is the Layer 2 switch that uses virtualization software, be arranged in physical server, vSwitch creates virtual network interface (vPort) and connects VM, and uses physical network card to connect outside edge switch (Edge Switch).VPort on vSwitch can be combined into port set, is mainly used in dividing VLAN (VLAN), and two layers of VM network are carried out to VLAN isolation.The management of virtualization software and VM is responsible at Virtual Machine Manager center (VM Manager).Virtual network administrative center (VNet Manager) is responsible for the management of physical network and Edge Switch, and traditional gateway of comparing, has additionally possessed the adaptation ability to vSwitch and dynamic migration (vMotion).
In virtual network, allow a movable VM dynamically from a physical host, to move to another physical host, and do not need to end moving and applying in subregion, this migration is exactly vMotion.As shown in fig. 1, VM1 moves on physical host 2 from physical host 1.VM manager provides management such as the establishment of VM and vMotion, but when VM establishment or vMotion, except the resource rational management on server, the rational management that network connects is also necessary.For example, after VM1 moves on physical host 2 from physical host 1, from certain vPort of original vSwitch1, be linked into Edge Switch1, certain vPort becoming by vSwitch2 is linked into Edge Switch2.In VM establishment or transition process, need the relevant network configuration of synchronous adjustment, otherwise VM possibly cannot normally be used.For example, originally the access of VM1 was provided with to ACL with shielding unauthorized access, or is provided with QoS assurance service operation bandwidth, after VM1 moves, the network configuration after migration on on-position possibly cannot meet original configuration requirement to VM.
In prior art, the mode that the establishment of VM or migration are carried out to network configuration as shown in Figure 2, comprise: VM manager is after determining that establishment VM or VM move, the information of VM is carried in migration event message and is notified to VNet manager, VNet manager positions VM according to the information of VM (such as the IP address of VM or MAC Address etc.), determine the on-position of VM after creating or moving, this on-position comprises: the on-position on Edge Switch and the on-position on vSwitch; Pre-configured network configuration segment collection is issued to the on-position that location obtains.
Yet in above-mentioned existing mode, VNet manager need to position VM after VM creates or moves, and tends to cause very large delay, cannot guarantee the continuity of dynamic migration.In addition, often adopt the mode of Topology Discovery during location, it has certain limitation in accuracy, may cause the position of network configuration inaccurate, thereby causes VM create or move unsuccessfully.
Summary of the invention
The invention provides a kind of method and system that carries out network configuration for VM, so that reduce, VM creates or the delay of transition process, improves the positional accuracy of network configuration.
A method of carrying out network configuration for fictitious host computer VM, the method comprises:
A, VM create or migration before, VNet Manager is for described VM generating network configuration information, and the sign of this network configuration information is sent to VM Manager, by VM manager, in VM establishment or transition process, the sign of network configuration information is handed down to the vSwitch that described VM created or moved rear place;
B, described vSwitch be the port binding of the above VM access of the sign of described network configuration information and this vSwitch, and the sign of described network configuration information is noticed to the Edge Switch being connected with this vSwitch;
C, described Edge Switch are by the sign of described network configuration information and the port binding that receives the sign of described network configuration information;
The sign that D, described vSwitch and described Edge Switch utilize described network configuration information is obtained corresponding network configuration information and is configured to the port that the sign of described network configuration information is bound from described VNet Manager.
For fictitious host computer VM, carry out a system for network configuration, this system comprises: VNet Ma nager, VM Manager, vSwitch and Edge Switch;
Described VNet Manager, before creating or move at VM, for described VM generating network configuration information, and sends to described VM Manager by the sign of this network configuration information;
Described VM Manager, for being handed down to by the sign of described network configuration information the vSwitch that described VM created or moved rear place in VM establishment or transition process;
Described vSwitch, for by the port binding of the above VM access of the sign of described network configuration information and this vSwitch, and notices the sign of described network configuration information the Edge Switch connecting to this vSwitch; Utilize the sign of described network configuration information to obtain corresponding network configuration information and be configured to the port that described sign is bound from described VM Manager;
Described Edge Switch, for the port binding with the sign of the described network configuration information of reception by the sign of described network configuration information; Utilize the sign of described network configuration information to obtain corresponding network configuration information and be configured to the port that described sign is bound from described VM Manager.
As can be seen from the above technical solutions, in the present invention, VNet Manager only needs to safeguard the network configuration information that the VM for creating or moving generates, by the sign of network configuration information is sent to vSwitch and Edge Switch via vSwitch, make vSwitch and the Edge Switch can be by the port binding of this sign and VM on-position, and from VNet Manager, get network configuration information again, be configured to the port with corresponding sign binding.That is to say, without VNet Manager, VM is positioned to determine the on-position of VM on vSwitch and Edge Switch, thereby the delay of having avoided location to bring has also been avoided creating or moving unsuccessfully because of inaccurate the caused VM in position location.
Accompanying drawing explanation
Fig. 1 is a kind of typical virtual network diagram;
Fig. 2 carries out the method schematic diagram of network configuration for VM in prior art;
Fig. 3 is main method flow chart provided by the invention;
The method flow diagram that Fig. 4 provides for the embodiment of the present invention one;
The method flow diagram that Fig. 5 provides for the embodiment of the present invention two;
Fig. 6 is system configuration schematic diagram provided by the invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
Fig. 3 is main method flow chart provided by the invention, and as shown in Figure 3, method provided by the invention mainly comprises the following steps:
Step 301: before VM creates or moves, VNet Manager is for VM generating network configuration information, and the sign of this network configuration information is sent to VM Manager, by VM Manager, in VM establishment or transition process, be handed down to the vSwitch that VM created or moved rear place.
Step 302:vSwitch goes up the sign of this network configuration information and this vSwitch the port binding of VM access, and the sign of this network configuration information is noticed to the Edge Switch connecting.
Step 303:Edge Switch is by the sign of the network configuration information receiving and the port binding that receives the sign of this network configuration information.
The sign that step 304:Edge Switch and vSwitch utilize this network configuration information is obtained corresponding network configuration information and is configured to the port that the sign of this network configuration information is bound from VNet Manager.
Below by two specific embodiments, said method is described in detail.
Embodiment mono-, for subscriber administration interface, be configured in the situation on VM Manager, or non-user's manual mode causes the situation of VM migration.In both cases, only have VM Manager can know that VM will occur to create and migration, for example, by the administration interface of VM Manager, create VM or manual configuration VM migration.
The method flow diagram that Fig. 4 provides for the embodiment of the present invention one, as shown in Figure 4, the method can specifically comprise the following steps:
Step 401: in advance on VNet Manager for the virtual network configuration template (vNetConf Template) of dissimilar VM configuring static, this virtual network configuration template can comprise: the virtual network configuration template of EdgeSwitch and the virtual network configuration template of vSwitch.
In above-mentioned virtual network configuration template, comprise network configuration parameters corresponding to VM type.For example, for the VM of Web Server type, can in virtual networks configuration template, comprise ACL parameter and qos parameter etc.
Step 402:VM Manager determines when VM will occur to create or move, and according to the virtual network configuration template on the type selecting VNet Manager of VM, and corresponding configuration parameter value after this VM establishment or migration is returned to VNet Manager.
VM Manager can select virtual network configuration template by the interface with VNet Manager, and the value that sends design parameter.
Wherein, the selection of virtual network configuration template can be: VM sends to VNet Manager by request message by template identification and template parameter; Or VM Manager sends to VNet Manager by the type information of VM, VNet Manager determines the virtual network configuration template corresponding with this VM type.The type information of above-mentioned VM and the value of parameter can send by the interface protocol message between VM Manager and VNet Manager, also can create or migration event message sends by VM.
Due to the management function of VM Manager to VM establishment and migration, therefore can create the rear or definite concrete configuration parameter value of migration for VM, determining of the configuration parameter value that this is concrete can be initialization value, can be also the value that user inputs by administration interface when equipment is managed.
It is the parameter assignment in the virtual network configuration template of VM Manager selection that step 403:VNet Manager utilizes the configuration parameter value receiving, and creates network configuration example, and the instance number of this network configuration example is handed down to VM Manager.
In this step, in fact VNet Manager utilizes the value of each parameter receiving to carry out assignment to each parameter in the virtual network configuration template of VM Manager selection, obtain the network configuration example creating, in fact this network configuration example has comprised VM and has created or moved rear corresponding network configuration information (Profile), the sign of this Profile can adopt the mode of instance number (vNetConf Instance) in this embodiment, and vNetConf Instance is handed down to VM Manager.
Like this, only need to safeguard each network configuration example and instance number thereof in VNet Manager, the VM information that Maintenance free is concrete, contributes to keep the independence of VNet Manager and VM Manager function and data.
Step 404:VM Manager VM create or transition process in by VM the instance number of corresponding network configuration example send to VM to create or migration after the vSwitch at place.
On VM Manager, can only manage the instance number that VM is corresponding, not safeguard concrete network configuration example, concrete network configuration example is safeguarded on VNet Manager.
Step 405:vSwitch is the port binding of the instance number of network configuration example corresponding to VM and the upper VM access of this vSwitch, and the instance number of this network configuration example is noticed to the Edge Switch connecting.
The port of the upper VM access of this vSwitch can be vPort, can be also port set (portGroup), or the port of other form.
When the instance number of network configuration example being notified to Edge Switch, can realize by proprietary protocol, for example the Link Layer Discovery Protocol (LLDP) of expansion.
Step 406:Edge Switch binds the instance number of the network configuration example receiving and the port that receives this instance number.
In fact the port that Edge Switch receives the instance number of network configuration example is exactly the on-position of VM on Edge Switch, therefore, Edge Switch binds the instance number of the network configuration example receiving and the Edge port that receives this instance number.
Step 407:Edge Switch and vSwitch utilize the instance number of the network configuration example receiving to obtain network configuration example corresponding to this instance number from VNet Manager, and are configured to the port that instance number is bound.
The triggering mode of this step can include but not limited to following two kinds:
First kind of way: triggered the execution of this step by the verification process of vSwitch.
When vSwitch authenticates as Authentication Client, above-mentioned instance number is carried at and in message identifying, sends to certificate server, certificate server is carried at the address information of VNet Manager in authentication response message and sends to vSwitch, and vSwitch sends to Edge Swtich by the address information of the VNet Manager obtaining; Then vSwitch and Edge Swtich can utilize such as dynamical fashions such as file transfer protocol (FTP) (FTP) and from VNet Manager, obtain network configuration example corresponding to instance number, and are configured to the port that instance number is bound.
Or, VNet Manager is after generating network profile instance, just network configuration example is issued on all vSwitch and Edge Switch, when vSwitch authenticates as Authentication Client, trigger self and Edge Switch bind network configuration exemplary configuration corresponding to the instance number receiving port to instance number.
The second way: receive the execution that instance number just triggers this step.
In advance in the address of vSwitch and Edge Swtich configuration VNet Manager, once vSwitch receives the instance number that VM Manager sends and just obtain network configuration example corresponding to instance number from VNet Manager, and is configured to the port that instance number is bound; Once Edge Switch receives the next instance number of vSwitch notice and just obtain network configuration example corresponding to instance number from VNet Manager.
What vSwitch obtained from VNet Manager is the network configuration example (vSwitch profile) of vSwitch, and what Edge Swtich obtained from VNet Manager is the network configuration example (Edge Switch profile) of Edge Switch.
Embodiment bis-, for subscriber administration interface, be configured on VNet Manager, occur that VM creates or user's manual mode causes the situation of VM migration.In this case, VNet Manager can directly know that VM has occurred to create and migration.
The method flow diagram that Fig. 5 provides for the embodiment of the present invention two, as shown in Figure 5, the method can specifically comprise the following steps:
Step 501 is with step 401.
Step 502:VNet Manager determines when VM will occur to create or move, determine the virtual network configuration template on VNet Manager corresponding to the type of VM, then utilizing the configuration parameter value after this VM establishment or migration is virtual network configuration template assignment, creates network configuration example.
In the present embodiment, VM creates or migration is all that user passes through manual realization of administration interface on VNet Manager, therefore, VNet Manager can be known the VM type that establishment or migration event occur, and VM creates or the rear corresponding configuration parameter value of migration is also that user passes through administration interface manual configuration.VM Manager provides called interface, for VNet Manager, calls.
Step 503:VM Manager sends to VM Manager by the instance number of this network configuration example, by VM Manager, in VM establishment or transition process, is handed down to the vSwitch that VM created or moved rear place.
Because VM Manager possesses, VM creates and the management function of migration, and therefore, VM Manager can know that VM creates or the vSwitch at the rear place of migration, and this is the existing function of VM Manager.
Step 504 to step 506 with step 405 to 407.
Can find out, in above-described embodiment one, VM Manager, as the effector of VM establishment and transition process, completes the dynamic dispatching of network configuration information, and VNet Manager is only responsible for the maintenance of network configuration example.And in embodiment bis-, VNet Manager is not only responsible for the maintenance of network configuration example, also as the effector of VM establishment and transition process, completes the dynamic dispatching of network configuration information simultaneously, VM Manager is as the interface that issues of network configuration example, and the static maintenance of responsible VM information.Yet, no matter be embodiment mono-or embodiment bis-, VNet Manager does not all need to be concerned about the establishment of VM or the on-position after migration.
In the above-described embodiments, Edge Switch and vSwitch all need configuration and the parsing processing capacity of support based on Profile, but have been routine techniques for the support of this function, can not produce the variability issues of equipment.
Below system provided by the present invention is described in detail, as shown in Figure 6, this system can comprise: VNet Manager, VM Manager, vSwitch and Edge Switch.
VNet Manager, before creating or move at VM, for VM generating network configuration information, and sends to VM Manager by the sign of this network configuration information.
VM Manager, for being handed down to by the sign of network configuration information the vSwitch that VM created or moved rear place in VM establishment or transition process.
VSwitch, for the sign of network configuration information and this vSwitch are gone up to the port binding of VM access, and notices by the sign of network configuration information the Edge Switch connecting to this vSwitch; Utilize the sign of network configuration information to obtain corresponding network configuration information and be configured to the port that this sign is bound from VM Manager.
Edge Switch, for the port binding with the sign of reception network configuration information by the sign of network configuration information; Utilize the sign of network configuration information to obtain corresponding network configuration information and be configured to the port that this sign is bound from VM Manager.
More preferably, on above-mentioned VNet Manager, dispose statically in advance the virtual network configuration template for different VM types.
Now, network configuration information is: VNet Manager is the network configuration example generating after the parameter assignment in the virtual network configuration template that the VM of establishment or migration is corresponding.Being designated of corresponding network configuration information: the instance number of network configuration example.
In this system, for the generating mode of network configuration example, can adopt following two kinds of structures (shown in Fig. 6 is the first structure):
The first structure: VM Manager, when also will occur to create or moving for definite VM, according to the virtual network configuration template on the type selecting VNet Manager of VM, and sends to VNet Manager by VM establishment or the rear corresponding configuration parameter value of migration.
Correspondingly, it is the parameter assignment in the virtual network configuration template of VM Manager selection that VNet Manager utilizes the configuration parameter value receiving, and creates network configuration example.
The second structure: VM Manager determines when VM will occur to create or move, determine virtual network configuration template corresponding to type of VM, and utilize VM to create or migration after corresponding configuration parameter value be the parameter assignment in definite virtual network configuration template, create network configuration example.
In addition, in said system, vSwitch and Edge Switch obtain network configuration information and are configured to the mode of corresponding ports, have following several (shown in Fig. 1 are first kind of way):
First kind of way: this system can also comprise: certificate server.
When vSwitch authenticates as Authentication Client, the sign of network configuration information is carried at and in message identifying, sends to certificate server; Obtain the address information of the VNet Manager that certificate server sends, and the address information of VNet Manager is sent to Edge Switch; The address information of the VNet Manager that utilization is obtained is obtained network configuration information corresponding to sign from VNet Manager, and the network configuration information obtaining is configured to the port that sign is bound.
Certificate server, sends to vSwitch for the address information of VNet Manager is carried to authentication response message.
Edge Switch, the address information of the VNet Manager sending according to vSwitch is obtained network configuration information corresponding to sign from VNet Manager, and the network configuration information obtaining is configured to the port that sign is bound.
The second way: VNet Manager, can also, for after generating network configuration information, be issued to network configuration information on all vSwitch and Edge Switch.
When vSwitch authenticates as Authentication Client, trigger self, with Edge Switch, the network configuration information of the sign correspondence receiving is configured to the port that sign is bound.
The third mode: vSwitch receives after the sign of the network configuration information that VM Manager sends, and utilizes the address information that is pre-configured in the VNet Manager on vSwitch from VNet Manager, obtain network configuration information corresponding to sign and be configured to the port that sign is bound.
Edge Switch receives after the sign of the next network configuration information of vSwitch notice, utilizes the address information that is pre-configured in the VNet Manager on Edge Switch from VNet Manager, obtain network configuration information corresponding to sign and be configured to the port that sign is bound.
By above description, can be found out, method and system provided by the invention can possess following advantage:
1) in the present invention, VNet Manager only needs to safeguard the network configuration information that the VM for creating or moving generates, by the sign of network configuration information is sent to vSwitch and Edge Switch via vSwitch, make vSwitch and the Edge Switch can be by the port binding of this sign and VM on-position, and from VNet Manager, get network configuration information again, be configured to the port with corresponding sign binding.That is to say, without VNet Manager, VM is positioned to determine the on-position of VM on vSwitch and Edge Switch, thereby the delay of having avoided location to bring has also been avoided creating or moving unsuccessfully because of inaccurate the caused VM in position location.
2) in prior art, VNet Manager is behind location, what issue is configuration segment collection, the model difference of the network equipment may cause supported configuration segment collection different, thereby be difficult to guarantee network compatibility, if for the different configuration segment collection of the network equipments configuration of different model, can cause the increase of management complexity on VNet Manager.In the present invention, adopt and preset network configuration template, according to the type generating network profile instance of VM and by network configuration example, be issued to vSwitch and Edge Switch, under this mode, as long as vSwitch and Edge Switch equipment are the unified Profile file of supporting, avoid compatibility issue, also reduced the management complexity on VNet Manager.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. for fictitious host computer VM, carry out a method for network configuration, it is characterized in that, the method comprises:
A, VM create or migration before, virtual network administrative center VNet Manager is for described VM generating network configuration information, and the sign of this network configuration information is sent to Virtual Machine Manager center VM Manager, by VM manager, in VM establishment or transition process, the sign of network configuration information is handed down to the virtual switch vSwitch that described VM created or moved rear place;
Described network configuration information comprises the network configuration parameters for described VM;
B, described vSwitch be the port binding of the above VM access of the sign of described network configuration information and this vSwitch, and the sign of described network configuration information is noticed to the edge switch Edge Switch being connected with this vSwitch;
C, described Edge Switch are by the sign of described network configuration information and the port binding that receives the sign of described network configuration information;
The sign that D, described vSwitch and described Edge Switch utilize described network configuration information is obtained corresponding network configuration information and is configured to the port that the sign of described network configuration information is bound from described VNet Manager.
2. method according to claim 1, is characterized in that, the method also comprises: in advance on described VNet Manager for the virtual network configuration template of different VM type configuration static state;
Described network configuration information is: be the network configuration example generating after the parameter assignment in virtual network configuration template corresponding to the described VM creating or move;
Being designated of described network configuration information: the instance number of described network configuration example.
3. method according to claim 2, is characterized in that, described VNet Manager comprises for described VM generating network configuration information:
Described VM Manager determines when described VM will occur to create or move, according to the virtual network configuration template on VNet Manager described in the type selecting of VM, and after described VM is created or moved, corresponding configuration parameter value sends to described VNet Manager, it is the parameter assignment in the virtual network configuration template selected of described VM Manager that described VNet Manager utilizes the configuration parameter value receiving, and creates network configuration example; Or,
Described VNet Manager determines when described VM will occur to create or move, determine virtual network configuration template corresponding to type of described VM, and utilize described VM to create or migration after corresponding configuration parameter value be the parameter assignment in definite virtual network configuration template, create network configuration example.
4. according to the method described in claim 1,2 or 3, it is characterized in that, described step D specifically comprises:
When described vSwitch authenticates as Authentication Client, the sign of described network configuration information is carried at and in message identifying, sends to certificate server, and certificate server is carried at the address information of described VNet Manager in authentication response message, to send to described vSwitch; Described vSwitch sends to described Edge Switch by the address information of the VNet Manager obtaining; Described vSwitch and described Edge Switch obtain network configuration information corresponding to described sign according to the address information of described VNet Manager from described VNet Manager, and the network configuration information obtaining is configured to the port that described sign is bound; Or,
Described VNet Manager, after generating network configuration information, is issued to described network configuration information on all vSwitch and Edge Switch; When vSwitch authenticates as Authentication Client, trigger self, with Edge Switch, the network configuration information of the sign correspondence receiving is configured to the port that described sign is bound.
5. according to the method described in claim 1,2 or 3, it is characterized in that, described step D specifically comprises:
Described vSwitch receives after the sign of the network configuration information that described VM Manager sends, and utilizes the address information that is pre-configured in the VNet Manager on described vSwitch from VNet Manager, obtain network configuration information corresponding to described sign and be configured to the port that described sign is bound; Described Edge Switch receives after the sign of the next network configuration information of described vSwitch notice, utilizes the address information that is pre-configured in the VNet Manager on described Edge Switch from VNet Manager, obtain network configuration information corresponding to described sign and be configured to the port that described sign is bound.
6. a system of carrying out network configuration for fictitious host computer VM, it is characterized in that, this system comprises: virtual network administrative center VNet Manager, Virtual Machine Manager center VM Manager, virtual switch vSwitch and edge switch Edge Switch;
Described VNet Manager, before creating or move at VM, for described VM generating network configuration information, and sends to described VM Manager by the sign of this network configuration information;
Described network configuration information comprises the network configuration parameters for described VM;
Described VM Manager, for being handed down to by the sign of described network configuration information the vSwitch that described VM created or moved rear place in VM establishment or transition process;
Described vSwitch, for by the port binding of the above VM access of the sign of described network configuration information and this vSwitch, and notices the sign of described network configuration information the Edge Switch connecting to this vSwitch; Utilize the sign of described network configuration information to obtain corresponding network configuration information and be configured to the port that described sign is bound from described VM Manager;
Described Edge Switch, for the port binding with the sign of the described network configuration information of reception by the sign of described network configuration information; Utilize the sign of described network configuration information to obtain corresponding network configuration information and be configured to the port that described sign is bound from described VM Manager.
7. system according to claim 6, is characterized in that, disposes statically in advance the virtual network configuration template for different VM types on described VNet Manager;
Described network configuration information is: described VNet Manager is the network configuration example generating after the parameter assignment in the virtual network configuration template that the described VM of establishment or migration is corresponding;
Being designated of described network configuration information: the instance number of described network configuration example.
8. system according to claim 7, it is characterized in that, described VM Manager, when also will occur to create or moving for definite described VM, according to the virtual network configuration template on VNet Manager described in the type selecting of VM, and after described VM is created or moved, corresponding configuration parameter value sends to described VNet Manager;
It is the parameter assignment in the virtual network configuration template selected of described VM Manager that described VNet Manager utilizes the configuration parameter value receiving, and creates network configuration example.
9. system according to claim 7, it is characterized in that, described VNet Manager determines when described VM will occur to create or move, determine virtual network configuration template corresponding to type of described VM, and utilize described VM to create or migration after corresponding configuration parameter value be the parameter assignment in definite virtual network configuration template, create network configuration example.
10. according to the system described in the arbitrary claim of claim 6 to 9, it is characterized in that, this system also comprises: certificate server;
When described vSwitch authenticates as Authentication Client, the sign of described network configuration information is carried at and in message identifying, sends to described certificate server; Obtain the address information of the described VNet Manager that described certificate server sends, and the address information of VNet Manager is sent to described Edge Switch; The address information of the VNet Manager that utilization is obtained is obtained network configuration information corresponding to described sign from described VNet Manager, and the network configuration information obtaining is configured to the port that described sign is bound;
Certificate server, sends to described vSwitch for the address information of described VNet Manager is carried to authentication response message;
Described Edge Switch, the address information of the VNet Manager sending according to described vSwitch is obtained network configuration information corresponding to described sign from described VNet Manager, and the network configuration information obtaining is configured to the port that described sign is bound.
11. according to the system described in the arbitrary claim of claim 6 to 9, it is characterized in that described VNet Manager also, for after generating described network configuration information, is issued to described network configuration information on all vSwitch and Edge Switch;
When vSwitch authenticates as Authentication Client, trigger self, with Edge Switch, the network configuration information of the sign correspondence receiving is configured to the port that described sign is bound.
12. according to the system described in the arbitrary claim of claim 6 to 9, it is characterized in that, described vSwitch receives after the sign of the network configuration information that described VM Manager sends, and utilizes the address information that is pre-configured in the VNet Manager on described vSwitch from VNet Manager, obtain network configuration information corresponding to described sign and be configured to the port that described sign is bound;
Described Edge Switch receives after the sign of the next network configuration information of described vSwitch notice, utilizes the address information that is pre-configured in the VNet Manager on described Edge Switch from VNet Manager, obtain network configuration information corresponding to described sign and be configured to the port that described sign is bound.
CN201010290503.9A 2010-09-21 2010-09-21 Method for carrying out network configuration for VM and system thereof Active CN102412978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010290503.9A CN102412978B (en) 2010-09-21 2010-09-21 Method for carrying out network configuration for VM and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010290503.9A CN102412978B (en) 2010-09-21 2010-09-21 Method for carrying out network configuration for VM and system thereof

Publications (2)

Publication Number Publication Date
CN102412978A CN102412978A (en) 2012-04-11
CN102412978B true CN102412978B (en) 2014-04-16

Family

ID=45914842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010290503.9A Active CN102412978B (en) 2010-09-21 2010-09-21 Method for carrying out network configuration for VM and system thereof

Country Status (1)

Country Link
CN (1) CN102412978B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664758B (en) * 2012-04-28 2015-03-25 沈阳通用软件有限公司 Method for binding and automatically recovering network configuration
CN103516628B (en) * 2012-06-25 2016-12-21 华为技术有限公司 A kind of realize network strategy update method, Apparatus and system
CN102724080B (en) * 2012-06-29 2015-01-14 杭州华三通信技术有限公司 Network management system and network management method
CN102752215B (en) * 2012-07-16 2015-03-11 杭州华三通信技术有限公司 Processing method for VDP (vertical data processing) request messages and edge switch
CN102821023B (en) * 2012-08-07 2016-12-21 杭州华三通信技术有限公司 A kind of method and device of VLAN configuration dynamic migration
CN102801636B (en) * 2012-09-05 2015-07-29 成都国腾实业集团有限公司 The method of cloud computing platform cloud mainframe network bandwidth restriction
WO2014071637A1 (en) * 2012-11-12 2014-05-15 华为技术有限公司 Method and device for performing network configuration on virtual machine
CN105359459B (en) * 2014-05-28 2019-05-28 华为技术有限公司 A kind of method, apparatus and system for realizing virtualization network management
CN105262604B (en) * 2014-06-24 2019-01-08 华为技术有限公司 Virtual machine migration method and equipment
CN105262685B (en) * 2014-07-14 2018-10-09 新华三技术有限公司 A kind of message processing method and device
CN105450430B (en) * 2014-07-17 2019-02-26 华为技术有限公司 A kind of information transferring method and device
CN104683478A (en) * 2015-03-17 2015-06-03 成都艺辰德迅科技有限公司 Online migration method for cloud computing
CN104954461A (en) * 2015-06-10 2015-09-30 浪潮电子信息产业股份有限公司 Dependable computing pool application method, dependable computing pool application system, host machine and cloud management platform
WO2019011421A1 (en) * 2017-07-12 2019-01-17 Huawei Technologies Co., Ltd. Virtual machine migration manager and method
CN108768895B (en) 2018-05-18 2021-02-23 华为技术有限公司 Virtual machine migration method and data center
CN109391514B (en) * 2018-10-11 2022-08-09 深信服科技股份有限公司 High-availability-based equipment deployment method, server, storage medium and device
CN109617720B (en) * 2018-12-11 2022-02-25 郑州云海信息技术有限公司 Method and device for distributing network resources
CN114070722A (en) * 2020-07-28 2022-02-18 阿里巴巴集团控股有限公司 Network configuration method and device
CN112328369B (en) * 2020-11-24 2024-03-08 北京京投信安科技发展有限公司 Method for processing minimization of access rules among multiple virtual machines
CN113608835A (en) * 2021-07-29 2021-11-05 深圳市鑫信腾科技股份有限公司 Communication application method and device of virtual machine, server and readable storage medium
CN114697211B (en) * 2022-05-31 2022-09-02 深圳市科力锐科技有限公司 Network configuration method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357997A (en) * 2000-12-15 2002-07-10 华为技术有限公司 Virtual local area network access method in Ethernet access network
CN101702664A (en) * 2009-11-13 2010-05-05 华为技术有限公司 Data transmission method, device and system of virtual local area network
CN102316001A (en) * 2011-10-13 2012-01-11 杭州华三通信技术有限公司 Virtual network connection configuration realizing method and network equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7548975B2 (en) * 2002-01-09 2009-06-16 Cisco Technology, Inc. Methods and apparatus for implementing virtualization of storage within a storage area network through a virtual enclosure
US8531991B2 (en) * 2006-10-16 2013-09-10 Cisco Technology, Inc. Multi-chassis emulated switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357997A (en) * 2000-12-15 2002-07-10 华为技术有限公司 Virtual local area network access method in Ethernet access network
CN101702664A (en) * 2009-11-13 2010-05-05 华为技术有限公司 Data transmission method, device and system of virtual local area network
CN102316001A (en) * 2011-10-13 2012-01-11 杭州华三通信技术有限公司 Virtual network connection configuration realizing method and network equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冬炎.戴尔虚拟化方案走向端到端 两款戴尔服务器担任虚拟平台顶梁柱.《每周电脑报》.2008,(第16期),
戴尔虚拟化方案走向端到端 两款戴尔服务器担任虚拟平台顶梁柱;冬炎;《每周电脑报》;20080519(第16期);36 *

Also Published As

Publication number Publication date
CN102412978A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN102412978B (en) Method for carrying out network configuration for VM and system thereof
US10375015B2 (en) Methods and system for allocating an IP address for an instance in a network function virtualization (NFV) system
CN102316001B (en) Virtual network connection configuration realizing method and network equipment
US11223541B2 (en) Virtual network function network element management method, apparatus, and system
EP3337097B1 (en) Network element upgrading method and device
US10616133B2 (en) Resource configuration method and network device thereof
US9999030B2 (en) Resource provisioning method
CN103607430A (en) Network processing method and system, and network control center
US8255496B2 (en) Method and apparatus for determining a network topology during network provisioning
CN106664216B (en) VNF switching method and device
CN106464534B (en) Sheet for provisioning and managing customer premises equipment devices
US9088503B2 (en) Multi-tenant information processing system, management server, and configuration management method
US20150106913A1 (en) Method, Apparatus, Host, and Network System for Processing Packet
CN102821023B (en) A kind of method and device of VLAN configuration dynamic migration
CN111865514A (en) Control plane isolation for software defined network routing services
CN114070723B (en) Virtual network configuration method and system of bare metal server and intelligent network card
CN112637105B (en) Method, system, device and computer readable storage medium for switching firewall
CN112311669B (en) Network service switching method, device, system and storage medium
CN106411575B (en) Cloud environment lower network configures method of calibration and relevant device
WO2021147358A1 (en) Network interface establishing method, apparatus, and system
KR20220104241A (en) Network working methods, devices, equipment and storage media
JP5063726B2 (en) Configuration control method for virtual node device
WO2018145894A1 (en) Method for migrating a network service and network service arrangement
KR20170099702A (en) NFV system and method for managing VNFM
CN106506238A (en) A kind of network element management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address