[go: up one dir, main page]

CN101980490B - Link establishment method for virtual switch and physical switch and device thereof - Google Patents

Link establishment method for virtual switch and physical switch and device thereof Download PDF

Info

Publication number
CN101980490B
CN101980490B CN201010567519A CN201010567519A CN101980490B CN 101980490 B CN101980490 B CN 101980490B CN 201010567519 A CN201010567519 A CN 201010567519A CN 201010567519 A CN201010567519 A CN 201010567519A CN 101980490 B CN101980490 B CN 101980490B
Authority
CN
China
Prior art keywords
information
microsoft loopback
loopback adapter
virtual
virtual server
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
CN201010567519A
Other languages
Chinese (zh)
Other versions
CN101980490A (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 CN201010567519A priority Critical patent/CN101980490B/en
Publication of CN101980490A publication Critical patent/CN101980490A/en
Application granted granted Critical
Publication of CN101980490B publication Critical patent/CN101980490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a link establishment method for a virtual switch and a physical switch and a device thereof. The method comprises the following steps of: when interface description information from a virtual server system to an external link is configured, searching virtual network card information according to the interface description information and searching corresponding virtual switch information according to the searched virtual network card information by a virtual server management system; establishing a link between the corresponding virtual switch and the physical switch according to the searched virtual switch information; when the interface description information from the virtual server system to the external link is not configured, acquiring a virtual network card IP address of the virtual server system and judging whether the acquired virtual network card IP address is a management IP address by the virtual server management system, if so, acquiring the virtual switch information corresponding to the virtual network card; and establishing the link between the corresponding virtual switch and the physical switch according to the searched virtual switch information.

Description

The link establishing method of virtual switch and physical switches and device thereof
Technical field
The present invention relates to the communications field, relate in particular to the link establishing method and the device thereof of a kind of virtual switch and physical switches.
Background technology
Intel Virtualization Technology is a kind of technology that fictionalizes physical resource, and at present main virtual physical resource is a main frame, because it can fully improve resource utilization, environmental protection reduces space hold, and therefore virtualized application becomes more and more widely.
Virtual server (Virtual Server) is to use special software and hardware technology; A real physical host is divided into a plurality of logical block (being virtual server); Each unit does not all have physical entity; But can both work on network as real physical host in each unit, has independent domain name, IP address (or the IP address of sharing) and complete Internet server capability.Independent fully between the virtual server, in the external world, the performance of each virtual server and an independent main frame is identical.
Because many virtual servers are shared the resource of a physical host, the expense of the hardware costs that each user bears, network operation expense, communication line all reduces significantly.Virtual server technology has been widely used in Internet at present.
Usually, different according to function, the virtual server system can be divided into several types, for example, can comprise following several types:
Personal user's level virtual server system: desktop virtual mainly is provided, need on the operating system basis, installs;
Level virtual server system of working group: need on the operating system basis, install, after the installation, can original operating system also be managed as virtual machine;
Enterprise-level virtual server system: on bare machine, install, remote management capability can be provided.
Along with the extensive use of Intel Virtualization Technology, it is more and more important that the management of virtual resource also becomes.
The enterprise-level virtual server ESX/ESXi of system with the VMWare of virtualization software manufacturer is an example, and its system architecture can be as shown in Figure 1.Be virtual machine (VM) on ESX/ESXi, the last virtual opetrating system (OS) of having installed of VM is various application (APP) on the virtual opetrating system.VCenter Server manages ESX/ESXi.The user can log on the ESX/ESXi through Web Access (web access) or SSH (Secure Shell promptly is based upon the security protocol on application layer and the transport layer basis, improves the fail safe of Telnet), thereby ESX/ESXi is managed.The vSphere SDK interface that third party's instrument can use VMWare to provide is managed ESX/ESXi, and ESX/ESXi provides the WebService interface to supply the vShpere interface accessing.Third party's instrument can directly be visited ESX/ESXi and also can be visited through vCenter Server.Some function among the ESX need rely on a kind of (SuSE) Linux OS that is called service console (like the Service Console among Fig. 1) and carry out.ESXi has then cancelled service console.
Fig. 2 shows the internal structure of ESX/ESXi.As shown in the figure; VM (virtual machine) is connected on the vSwitch (virtual switch); When VM sends message; The last Microsoft Loopback Adapter (vNIC) of VM sends to vSwitch earlier, and vSwitch is transmitted to inner VM or physical network card (NIC) according to the destination address of message with message, and physical network card is transmitted to the external physical switch with message again.Can not direct communication between the vSwitch.
The inventor finds that there is following problem at least in prior art in realizing process of the present invention:
At present, the management that the virtual server system is carried out mainly concentrates on the topology of calculating virtual server inside, inside and outside topology is not merged, and promptly still is unrealized and calculates the technical scheme of pSwitch and vSwitch link.
Summary of the invention
The object of the present invention is to provide the link establishing method and the device thereof of a kind of virtual switch and physical switches, with realize between virtual switch and the physical switches link confirm that for this reason, the present invention adopts following technical scheme:
The link establishing method of a kind of virtual switch and physical switches; Be applied to dispose the link establishment process of virtual server system under the interface descriptor situation of outside link; Wherein, the interface descriptor has been described the configuration information of said link, comprising: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, this method comprises:
The virtual server management system is searched Microsoft Loopback Adapter information wherein according to said interface descriptor, if find Microsoft Loopback Adapter information, then according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds; If do not find Microsoft Loopback Adapter information, then said virtual server management system is searched physical network card information wherein according to said interface descriptor; Said virtual server management system is according to the physical network card information searching corresponding virtual exchanger information that finds;
The virtual server management system is set up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the said method, said virtual server management system is searched Microsoft Loopback Adapter information wherein according to said interface descriptor, if find Microsoft Loopback Adapter information, then according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds, comprising:
Said virtual server management system is searched corresponding control desk Microsoft Loopback Adapter information, if find control desk Microsoft Loopback Adapter information, then according to said control desk Microsoft Loopback Adapter information searching corresponding virtual exchanger information according to said interface descriptor;
If do not find control desk Microsoft Loopback Adapter information or do not find and control desk Microsoft Loopback Adapter information corresponding virtual exchanger information; Then search other Microsoft Loopback Adapter information except that the control desk Microsoft Loopback Adapter, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds.
A kind of virtual server management system; Be applied to dispose the link establishment process of this virtual server system under the interface descriptor situation of outside link; Wherein, the interface descriptor has been described the configuration information of said link, comprising: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, this system comprises:
Search module, be used for searching Microsoft Loopback Adapter information wherein according to said interface descriptor; If find Microsoft Loopback Adapter information; Then according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds, if do not find Microsoft Loopback Adapter information, then according to said interface descriptor; Search physical network card information wherein, according to the physical network card information searching corresponding virtual exchanger information that finds;
Set up module, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the above-mentioned virtual server management system,, search Microsoft Loopback Adapter information wherein according to said interface descriptor; And in the process according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds; The said module of searching specifically is used for, and according to said interface descriptor, searches corresponding control desk Microsoft Loopback Adapter information; If find control desk Microsoft Loopback Adapter information, then according to said control desk Microsoft Loopback Adapter information searching corresponding virtual exchanger information; If do not find control desk Microsoft Loopback Adapter information or do not find and control desk Microsoft Loopback Adapter information corresponding virtual exchanger information; Then search other Microsoft Loopback Adapter information except that the control desk Microsoft Loopback Adapter, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds.
The link establishing method of a kind of virtual switch and physical switches; Be applied to not dispose the link establishment process of virtual server system under the interface descriptor situation of outside link; Wherein, the interface descriptor has been described the configuration information of said link, comprising: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, this method comprises:
The virtual server management system is obtained the Microsoft Loopback Adapter IP address of virtual server system, and judges whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information; Wherein, management ip address is specially: the virtual server management system is the IP address that this virtual server system is managed of being used for of virtual server system assignment;
The virtual server management system is set up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the said method; Said virtual server management system is obtained the Microsoft Loopback Adapter IP address of virtual server system, and judges whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if; Then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information, comprising:
Said virtual server management system is obtained the IP address of the service console Microsoft Loopback Adapter of said virtual server system, and judges whether this IP address is management ip address;
If then obtain and this service console Microsoft Loopback Adapter corresponding virtual exchanger information; Otherwise, obtain the IP address of other Microsoft Loopback Adapters except that service control desk Microsoft Loopback Adapter in the said virtual server system, and judge whether this IP address is management ip address; If then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information.
A kind of virtual server management system; Be applied to not dispose the link establishment process of virtual server system under the interface descriptor situation of outside link; Wherein, the interface descriptor has been described the configuration information of said link, comprising: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, this system comprises:
Acquisition module, the Microsoft Loopback Adapter IP address that is used to obtain the virtual server system, and judge whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information; Wherein, management ip address is specially: the virtual server management system is the IP address that this virtual server system is managed of being used for of virtual server system assignment;
Set up module, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the above-mentioned virtual server management system, said acquisition module specifically is used for, and obtains the IP address of the service console Microsoft Loopback Adapter of said virtual server system, and judges whether this IP address is management ip address; If then obtain and this service console Microsoft Loopback Adapter corresponding virtual exchanger information; Otherwise, obtain the IP address of other Microsoft Loopback Adapters except that service control desk Microsoft Loopback Adapter in the said virtual server system, and judge whether this IP address is management ip address; If then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information.
Useful technique effect of the present invention comprises:
Disposing the virtual server system under the situation of the interface descriptor of outside link; The virtual server management system is through this interface descriptor; Search Microsoft Loopback Adapter information wherein, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds, thereby according to the virtual switch machine information that finds; Set up the link between respective virtual switch and the physical switches, solved the problem of the link establishment between virtual server internal system and the outside.Do not disposing the virtual server system under the situation of the interface descriptor of outside link; The virtual server management system is through obtaining the Microsoft Loopback Adapter IP address of virtual server system; And whether the IP address of judging the Microsoft Loopback Adapter that gets access to is management ip address; If, then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information, thereby according to the virtual switch machine information that finds; Set up the link between respective virtual switch and the physical switches, solved the problem of the link establishment between virtual server internal system and the outside.
Description of drawings
Fig. 1 is the configuration diagram of a kind of virtual server of the prior art system;
Fig. 2 is the internal structure sketch map of a kind of virtual server of the prior art system;
Fig. 3 is one of link calculation process sketch map between vSwitch and the pSwitch in the embodiment of the invention;
Fig. 4 be between vSwitch and the pSwitch in the embodiment of the invention link calculation process sketch map two;
One of structural representation of the virtual server management system that Fig. 5 provides for the embodiment of the invention;
Two of the structural representation of the virtual server management system that Fig. 6 provides for the embodiment of the invention.
Embodiment
The problems referred to above to the prior art existence; The embodiment of the invention provides the method for building up and the system thereof of link between a kind of vSwitch and pSwitch; And to the virtual server system in the different situations that whether have interface to describe with physical exchange chain one side, solution is provided respectively.
Below in conjunction with accompanying drawing the embodiment of the invention is described; Wherein Fig. 3 has described physical switches link side in the virtual server system has under the situation that interface describes; The flow process that link calculates between vSwitch and pSwitch; The physical switches link side that Fig. 4 has described in the virtual server system does not have under the situation of interface description the flow process that link calculates between vSwitch and pSwitch.
Referring to Fig. 3; Present embodiment has been described the flow process that the virtual server management system is set up link between vSwitch and pSwitch; Wherein, Exist interface to describe in the virtual server system, i.e. one or more link once set up with outside network device of virtual server, and the relevant information of this link can be visited by the virtual server management system.The interface descriptor has been described some configuration informations of this link; Wherein can comprise: the relevant information of the Microsoft Loopback Adapter in the virtual server system on this link end points (like the sign or the address information of Microsoft Loopback Adapter), and the relevant information of the physical network card of outside network device (like the sign or the address information of physical network card).
When needs were set up the link between the pSwitch of vSwitch and real server (also claiming physical server) of virtual server system, when presenting the inside and outside topology of virtual server like needs, this flow process can comprise:
Step 301, the virtual server management system is searched console NIC therein, and after finding console NIC, is searched the vSwitch corresponding with this console NIC according to the interface descriptor of the link that has existed; If find console NIC and corresponding vSwitch thereof, then execution in step 302; Otherwise, execution in step 303.
Usually, the virtual server management system can get access to the interface message of the link that the virtual server system set up, and can read Microsoft Loopback Adapter information wherein.Because some virtual server management system disposes service console (service console); Then its link of having set up possibly be service console and the link of outside network device in the virtual server system; In this case; Network interface card (console NIC) information of the service console in the virtual server system can be searched according to the interface descriptor of the link that has existed by the virtual server system.
In the virtual server system or in the virtual server management system; Perhaps in other memory locations that the virtual server management system may have access to; The common also configurable corresponding relation that console NIC and vSwitch are arranged; Can pass through the static configuration mode, specify console NIC can and which vSwitch between set up link.
Step 302, the virtual server management system is set up the link between this vSwitch and the pSwitch according to the vSwitch that finds.
In this step, the virtual server management system can adopt current mechanism, sets up the link between the pSwitch of this vSwitch and physical host system according to the vSwitch information that finds.
Step 303, the virtual server management system is searched vNIC therein, and after finding vNIC, is searched the vSwitch corresponding with this vNIC according to the interface descriptor of the link that has existed; If find vNIC and corresponding vSwitch thereof, then execution in step 304; Otherwise, execution in step 305.
VNIC in this step is meant other Microsoft Loopback Adapters except that console NIC.In like manner; In the virtual server system or in the virtual server management system; Perhaps in other memory locations that the virtual server management system may have access to; Usually the also configurable corresponding relation that vNIC and vSwitch are arranged can pass through the static configuration mode, appointment v NIC can and which vSwitch between set up link.
Step 304, the virtual server management system is set up the link between this vSwitch and the pSwitch according to the vSwitch that finds.
Step 305, the virtual server management system is searched pNIC therein, and after finding pNIC, is searched the vSwitch corresponding with this pNIC according to the interface descriptor of the link that has existed; If find pNIC and corresponding vSwitch thereof, then execution in step 306; Otherwise, finish this flow process.
In like manner; In the virtual server system or in the virtual server management system; Perhaps in other memory locations that the virtual server management system may have access to; Usually the also configurable corresponding relation that pNIC and vSwitch are arranged can pass through the static configuration mode, appointment pNIC can and which vSwitch between set up link.
Step 306, the virtual server management system is set up the link between this vSwitch and the pSwitch according to the vSwitch that finds.
Need to prove that if do not have service console (like the ESXi among Fig. 2) in the fictitious host computer system, then corresponding, execution in step 301, but begin to carry out from step 303.
Can find out that through above description the relevant interface descriptor of the link that embodiment of the invention utilization has been set up is set up the link between vSwitch and the pSwitch.And in the link establishment process, preferentially, set up the vSwitch-pSwitch link, thereby can flow be shared service console as far as possible according to the pairing vSwitch of console NIC of service console.Because service console self, can support bigger data traffic under the general circumstances, can guarantee that therefore transfer of data can normally carry out.
Referring to Fig. 4, present embodiment has been described the flow process of link between virtual server management system calculating vSwitch and pSwitch, wherein, does not have the interface descriptor, i.e. virtual server management system visit is less than the interface descriptor of virtual server system.When the link between the pSwitch of vSwitch that needs are set up the virtual server system and true main frame (also becoming physical host), this flow process can comprise:
Step 401, virtual server management system judge whether the IP address of console NIC is management ip address, if then execution in step 402; Otherwise execution in step 404.
Usually, the console NIC in the virtual server is the employed Microsoft Loopback Adapter of service console, and therefore common IP address configuration with console NIC is a management ip address.So-called managing I P is the IP address that this virtual server system is managed of being used for that the virtual server management system is the virtual server system assignment.
Step 402, virtual server management system are searched the vSwitch corresponding with this console NIC, if find, then execution in step 403; Otherwise, execution in step 404.
Usually; In the virtual server system or in the virtual server management system; Perhaps in other memory locations that the virtual server management system may have access to; The also configurable corresponding relation that console NIC and vSwitch are arranged can pass through the static configuration mode, specify console NIC can and which vSwitch between set up link.
Step 403, the virtual server management system is set up the link between this vSwitch and the pSwitch according to the vSwitch that finds.
Step 404, virtual server management system judge whether the IP address of vNIC is management ip address, if then execution in step 405; Otherwise finish this flow process.
Step 405, the virtual server management system is set up the link between this vSwitch and the pSwitch according to the vSwitch that finds.
In like manner; In the virtual server system or in the virtual server management system; Perhaps in other memory locations that the virtual server management system may have access to; The also configurable corresponding relation that vNIC and vSwitch are arranged can pass through the static configuration mode, specify vNIC can and which vSwitch between set up link.
Need to prove that if do not have service console (like the ESXi among Fig. 2) in the fictitious host computer system, then corresponding, execution in step 401, but begin to carry out from step 404.
Can find out through above description; Do not have the interface descriptor can the situation of reference under; When the embodiment of the invention can be management ip address in the IP address of Microsoft Loopback Adapter; Set up corresponding vSwitch-pSwitch link, thus for the virtual server management system to virtual server carry out bookkeeping, intercorrelation management information provides prerequisite.
Based on identical technical conceive, the embodiment of the invention also provides the virtual server management system, and this system can be realized by software.
Referring to Fig. 5, the structural representation of the virtual server management system that provides for the embodiment of the invention, this system can be applicable to flow process as shown in Figure 3.As shown in the figure, this system can comprise:
Search module 501, be used for interface descriptor, search Microsoft Loopback Adapter information wherein according to configuration, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds;
Set up module 502, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the above-mentioned virtual server management system; Search module 501 and also can be used for, if do not find Microsoft Loopback Adapter information, then according to said interface descriptor; Search physical network card information wherein; According to the physical network card information searching corresponding virtual exchanger information that finds,, set up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the above-mentioned virtual server management system; Searching module 501 can specifically be used for; According to said interface descriptor; Search corresponding control desk Microsoft Loopback Adapter information, if find control desk Microsoft Loopback Adapter information, then according to said control desk Microsoft Loopback Adapter information searching corresponding virtual exchanger information; If do not find control desk Microsoft Loopback Adapter information or do not find and control desk Microsoft Loopback Adapter information corresponding virtual exchanger information; Then search other Microsoft Loopback Adapter information except that the control desk Microsoft Loopback Adapter, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds.
Referring to Fig. 6, the structural representation of the virtual server management system that provides for the embodiment of the invention, this system can be applicable to flow process as shown in Figure 4.As shown in the figure, this system can comprise:
Acquisition module 601, the Microsoft Loopback Adapter IP address that is used to obtain the virtual server system, and judge whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information;
Set up module 602, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
In the above-mentioned virtual server management system, acquisition module 602 can specifically be used for, and obtains the IP address of the service console Microsoft Loopback Adapter of said virtual server system, and judges whether this IP address is management ip address; If then obtain and this service console Microsoft Loopback Adapter corresponding virtual exchanger information; Otherwise, obtain the IP address of other Microsoft Loopback Adapters except that service control desk Microsoft Loopback Adapter in the said virtual server system, and judge whether this IP address is management ip address; If then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (8)

1. the link establishing method of virtual switch and physical switches; Be applied to dispose the link establishment process of virtual server system under the interface descriptor situation of outside link, wherein, the interface descriptor has been described the configuration information of said link; Comprise: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, it is characterized in that this method comprises:
The virtual server management system is searched Microsoft Loopback Adapter information wherein according to said interface descriptor, if find Microsoft Loopback Adapter information, then according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds; If do not find Microsoft Loopback Adapter information, then said virtual server management system is searched physical network card information wherein according to said interface descriptor; Said virtual server management system is according to the physical network card information searching corresponding virtual exchanger information that finds;
The virtual server management system is set up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
2. the method for claim 1; It is characterized in that; Said virtual server management system is searched Microsoft Loopback Adapter information wherein according to said interface descriptor, if find Microsoft Loopback Adapter information; Then, comprising according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds:
Said virtual server management system is searched corresponding control desk Microsoft Loopback Adapter information, if find control desk Microsoft Loopback Adapter information, then according to said control desk Microsoft Loopback Adapter information searching corresponding virtual exchanger information according to said interface descriptor;
If do not find control desk Microsoft Loopback Adapter information or do not find and control desk Microsoft Loopback Adapter information corresponding virtual exchanger information; Then search other Microsoft Loopback Adapter information except that the control desk Microsoft Loopback Adapter, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds.
3. virtual server management system; Be applied to dispose the link establishment process of this virtual server system under the interface descriptor situation of outside link, wherein, the interface descriptor has been described the configuration information of said link; Comprise: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, it is characterized in that this system comprises:
Search module, be used for searching Microsoft Loopback Adapter information wherein according to said interface descriptor; If find Microsoft Loopback Adapter information; Then according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds, if do not find Microsoft Loopback Adapter information, then according to said interface descriptor; Search physical network card information wherein, according to the physical network card information searching corresponding virtual exchanger information that finds;
Set up module, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
4. virtual server management system as claimed in claim 3; It is characterized in that the said module of searching specifically is used for, according to said interface descriptor; Search Microsoft Loopback Adapter information wherein; And in the process according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds,, search corresponding control desk Microsoft Loopback Adapter information according to said interface descriptor; If find control desk Microsoft Loopback Adapter information, then according to said control desk Microsoft Loopback Adapter information searching corresponding virtual exchanger information; If do not find control desk Microsoft Loopback Adapter information or do not find and control desk Microsoft Loopback Adapter information corresponding virtual exchanger information; Then search other Microsoft Loopback Adapter information except that the control desk Microsoft Loopback Adapter, and according to the Microsoft Loopback Adapter information searching corresponding virtual exchanger information that finds.
5. the link establishing method of virtual switch and physical switches; Be applied to not dispose the link establishment process of virtual server system under the interface descriptor situation of outside link, wherein, the interface descriptor has been described the configuration information of said link; Comprise: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, it is characterized in that this method comprises:
The virtual server management system is obtained the Microsoft Loopback Adapter IP address of virtual server system, and judges whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information; Wherein, management ip address is specially: the virtual server management system is the IP address that this virtual server system is managed of being used for of virtual server system assignment;
The virtual server management system is set up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
6. method as claimed in claim 5; It is characterized in that; Said virtual server management system is obtained the Microsoft Loopback Adapter IP address of virtual server system, and judges whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if; Then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information, comprising:
Said virtual server management system is obtained the IP address of the service console Microsoft Loopback Adapter of said virtual server system, and judges whether this IP address is management ip address;
If then obtain and this service console Microsoft Loopback Adapter corresponding virtual exchanger information; Otherwise, obtain the IP address of other Microsoft Loopback Adapters except that service control desk Microsoft Loopback Adapter in the said virtual server system, and judge whether this IP address is management ip address; If then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information.
7. virtual server management system; Be applied to not dispose the link establishment process of virtual server system under the interface descriptor situation of outside link, wherein, the interface descriptor has been described the configuration information of said link; Comprise: the relevant information of the Microsoft Loopback Adapter in the virtual server system on the said link end points; And the relevant information of the physical network card of outside network device, it is characterized in that this system comprises:
Acquisition module, the Microsoft Loopback Adapter IP address that is used to obtain the virtual server system, and judge whether the IP address of the Microsoft Loopback Adapter that gets access to is management ip address, if then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information; Wherein, management ip address is specially: the virtual server management system is the IP address that this virtual server system is managed of being used for of virtual server system assignment;
Set up module, be used for setting up the link between respective virtual switch and the physical switches according to the virtual switch machine information that finds.
8. virtual server management system as claimed in claim 7 is characterized in that,
Said acquisition module specifically is used for, and obtains the IP address of the service console Microsoft Loopback Adapter of said virtual server system, and judges whether this IP address is management ip address; If then obtain and this service console Microsoft Loopback Adapter corresponding virtual exchanger information; Otherwise, obtain the IP address of other Microsoft Loopback Adapters except that service control desk Microsoft Loopback Adapter in the said virtual server system, and judge whether this IP address is management ip address; If then obtain and this Microsoft Loopback Adapter corresponding virtual exchanger information.
CN201010567519A 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof Active CN101980490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010567519A CN101980490B (en) 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010567519A CN101980490B (en) 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof

Publications (2)

Publication Number Publication Date
CN101980490A CN101980490A (en) 2011-02-23
CN101980490B true CN101980490B (en) 2012-09-26

Family

ID=43600975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010567519A Active CN101980490B (en) 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof

Country Status (1)

Country Link
CN (1) CN101980490B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8893125B2 (en) 2011-11-18 2014-11-18 Broadcom Corporation Network port profile deployment in a pre-provisioned or dynamically provisioned network infrastructure
US8923149B2 (en) 2012-04-09 2014-12-30 Futurewei Technologies, Inc. L3 gateway for VXLAN
CN103248700B (en) * 2013-05-16 2016-04-20 成都国腾实业集团有限公司 The method of cloud platform virtual machine intranet and extranet different stage speed limit
CN103281248B (en) * 2013-06-09 2016-03-30 北京星网锐捷网络技术有限公司 The discover method of network topology, device and system
CN103441935B (en) * 2013-08-16 2016-05-25 北京星网锐捷网络技术有限公司 Automatically method and the device of the syntople of identified server and access switch
CN104734877B (en) * 2013-12-24 2018-12-14 杭州华为数字技术有限公司 A kind of method, apparatus and system obtaining configuration server information
EP3142306B1 (en) * 2014-06-03 2019-01-09 Huawei Technologies Co., Ltd. Openflow communication method, system, controller, and service gateway
CN104486234B (en) * 2014-11-21 2018-10-30 华为技术有限公司 A kind of method and server that service switch is unloaded to physical network card
CN104639616A (en) * 2015-01-07 2015-05-20 中国神华能源股份有限公司 PI (plant information system) real-time database interface system
CN108023837B (en) * 2016-10-31 2020-11-20 鸿富锦精密电子(天津)有限公司 Virtual network switch system and its establishment method
CN106789168B (en) * 2016-11-28 2020-03-20 华为技术有限公司 Deployment method of data center server management network and rack top type switch
CN106612225B (en) * 2016-12-12 2020-01-14 武汉烽火信息集成技术有限公司 Openstack-based agent deployment system and method
CN106878204B (en) * 2016-12-21 2020-09-08 新华三技术有限公司 Virtual machine creating method and device
US10764360B2 (en) 2017-03-01 2020-09-01 Huawei Technologies Co., Ltd. Managing persistent TCP connections in an IPVS environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556625A (en) * 2004-01-05 2004-12-22 联想(北京)有限公司 Data transmission method of network equipment based on multinetwork card and device
CN101371474A (en) * 2006-02-08 2009-02-18 思科技术公司 System and method for detecting and recovering from virtual switch link failures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556625A (en) * 2004-01-05 2004-12-22 联想(北京)有限公司 Data transmission method of network equipment based on multinetwork card and device
CN101371474A (en) * 2006-02-08 2009-02-18 思科技术公司 System and method for detecting and recovering from virtual switch link failures
US7639605B2 (en) * 2006-02-08 2009-12-29 Cisco Technology, Inc. System and method for detecting and recovering from virtual switch link failures

Also Published As

Publication number Publication date
CN101980490A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CN101980490B (en) Link establishment method for virtual switch and physical switch and device thereof
CN111614738B (en) Service access method, device, equipment and storage medium based on Kubernetes cluster
US8769040B2 (en) Service providing system, a virtual machine server, a service providing method, and a program thereof
US9558025B2 (en) Inter-board virtualization management for managing hardware resources corresponding to interrupts
KR101857511B1 (en) Method and apparatus for determining virtual machine migration
CN108667859A (en) A kind of method and device for realizing scheduling of resource
JP6636976B2 (en) Virtual rack management module
US20140032753A1 (en) Computer system and node search method
US8621057B2 (en) Establishing relationships among elements in a computing system
WO2009150102A1 (en) Resource sharing expansion card
CN110968392B (en) Method and device for upgrading virtualized simulator
JPWO2011083673A1 (en) Configuration information management system, configuration information management method, and configuration information management program
EP2633402A1 (en) Zoning data to a virtual machine
CN110990110A (en) Virtual machine creation method and device based on Sriov network card
US20200244708A1 (en) Deriving system architecture from security group relationships
KR101468179B1 (en) Method for changing virtual environment in cloud computuing and terminal equipment using the same
US20180011807A1 (en) Low latency efficient sharing of resources in multi-server ecosystems
CN111124437A (en) A method, system and device for acquiring bare metal resource configuration information based on OpenStack
US10127177B2 (en) Unified device interface for a multi-bus system
CN113885904A (en) System upgrading method and device, electronic equipment and storage medium
US10261921B2 (en) Universal secure platform virtualization system and method thereof
CN115562801A (en) Multi-CPU architecture virtual machine PCI bus address management method and device
JP7212158B2 (en) Provider network service extension
CN107357634A (en) A kind of parameter configuration management method and device
EP4521295A1 (en) Providing integration with a large language model for a network 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
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