CN101980490A - 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
CN101980490A
CN101980490A CN 201010567519 CN201010567519A CN101980490A CN 101980490 A CN101980490 A CN 101980490A CN 201010567519 CN201010567519 CN 201010567519 CN 201010567519 A CN201010567519 A CN 201010567519A CN 101980490 A CN101980490 A CN 101980490A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
virtual
switch
information
link
system
Prior art date
Application number
CN 201010567519
Other languages
Chinese (zh)
Other versions
CN101980490B (en )
CN101980490K1 (en )
Inventor
周建明
曾勇刚
郭勇
Original Assignee
杭州华三通信技术有限公司
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

Links

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

虚拟交换机和物理交换机的链路建立方法及其装置 Physical switches and virtual switch link establishment method and apparatus

技术领域 FIELD

[0001] 本发明涉及通信领域,尤其涉及一种虚拟交换机和物理交换机的链路建立方法及其装置。 [0001] The present invention relates to the field of communications, particularly to a physical switch and the virtual switch link establishment method and apparatus.

背景技术 Background technique

[0002] 虚拟化技术是一种虚拟出物理资源的技术,目前主要虚拟的物理资源是主机,由于其能充分提高资源利用率,绿色环保,减少空间占用,因此虚拟化的应用变得越来越广泛。 [0002] virtualization technology is a virtualized physical resources of technology, mainly virtual physical resources are the host, because it can fully improve resource utilization, environmental protection, reduce the space occupied, and therefore become increasingly virtualized applications the more widely.

[0003] 虚拟服务器(Virtual Server)是使用特殊的软硬件技术,将一台真实的物理主机分割成多个的逻辑单元(即虚拟服务器),每个单元都没有物理实体,但是每一个单元都能像真实的物理主机一样在网络上工作,具有单独的域名、IP地址(或共享的IP地址)以及完整的Internet服务器功能。 [0003] Virtual Server (Virtual Server) is to use special hardware and software technology, the real dividing a physical host into a plurality of logical units (i.e., virtual servers), each cell are not physical entities, but each unit can be like a real physical work as host on the network have a separate domain name, IP address (or shared IP addresses) and complete Internet server function. 虚拟服务器之间完全独立,在外界看来,每一台虚拟服务器和一台单独的主机的表现完全相同。 Completely independent virtual servers, in the outside world, the same as each virtual server and a separate host performance.

[0004] 由于多台虚拟服务器共享一台物理主机的资源,每个用户承受的硬件费用、网络维护费用、通信线路的费用均大幅度降低。 [0004] Since multiple virtual servers to share a single physical host resources, each user to bear the cost of hardware, network maintenance costs, the cost of communication lines are significantly reduced. 虚拟服务器技术目前已广泛应用于Internet。 Virtual server technology has been widely used in the Internet.

[0005] 通常,根据功能不同,虚拟服务器系统可以分为几种类型,例如,可包括以下几种类型: [0005] Generally, depending on the features, the virtual server system may be divided into several types, e.g., may include the following types:

[0006] 个人用户级虚拟服务器系统:主要提供桌面虚拟化,需要在操作系统基础上进行安装; [0006] individual user-level virtual server system: the main provider of desktop virtualization, you need to install the operating system on the basis of;

[0007] 工作组级虚拟服务器系统:需要在操作系统基础上进行安装,安装完成后,可以将原来的操作系统也作为虚拟机进行管理; [0007] workgroup virtual server systems: needs to be installed in the operating system, based on the installation is complete, the original operating system can be managed as a virtual machine;

[0008] 企业级虚拟服务器系统:在裸机上安装,可提供远程管理功能。 [0008] enterprise-class virtual server systems: on a bare metal installation, can provide remote management capabilities.

[0009] 随着虚拟化技术的广泛应用,虚拟资源的管理也变得越来越重要。 [0009] With the widespread use of virtualization technology, virtual resource management has become increasingly important.

[0010] 以虚拟化软件厂商VMWare的企业级虚拟服务器系统ESX/ESXi为例,其系统架构可如图1所示。 [0010] VMWare virtualization software vendors with enterprise-class virtual server system ESX / ESXi example, the system architecture shown in Figure 1. 在ESX/ESXi之上是虚拟机(VM),VM上安装了虚拟操作系统(OS),虚拟操作系统之上是各种应用(APP)。 Above ESX / ESXi virtual machine (VM), the virtual operating system installed (OS) on the VM, the virtual operating system on a variety of applications (APP). vCenter Server对ESX/ESXi进行管理。 vCenter Server to ESX / ESXi management. 用户可通过Web Access (Web访问)或者SSH(Secure Shell,即建立在应用层和传输层基础上的安全协议, 提高远程登录的安全性)登陆到ESX/ESXi上,从而对ESX/ESXi进行管理。 Users can Web Access (Web Access) or SSH (Secure Shell, that is built on the application layer and the transport layer on the basis of security protocols, improve the security of remote login) log in to the ESX / ESXi, thus ESX / ESXi managed . 第三方工具可以使用VMWare 提供的vSphere SDK 接口来管理ESX/ESXi,ESX/ESXi 提供WebService 接口供vShpere接口访问。 You can use third-party tools VMWare vSphere SDK provides an interface to manage ESX / ESXi, ESX / ESXi provides an interface for vShpere WebService interface to access. 第三方工具可以直接访问ESX/ESXi也可以通过vCenter Server来访问。 Third-party tools can directly access the ESX / ESXi can also be accessed through vCenter Server. ESX中的某些功能需要依赖一种称为服务控制台(如图1中的Service Console)的Linux操作系统来执行。 Some features in ESX relies on a Linux operating system called the service console (in Figure 1 Service Console) to perform. ESXi则取消了服务控制台。 ESXi cancel the service console.

[0011] 图2示出了ESX/ESXi的内部结构。 [0011] FIG. 2 shows the internal structure of ESX / ESXi. 如图所示,VM(虚拟机)连接到vSwitch(虚拟交换机)上,当VM发送报文的时候,VM上的虚拟网卡(vNIC)先发送给vSwitch,vSwitch 根据报文的目的地址将报文转发给内部VM或者物理网卡(NIC),物理网卡再将报文转发给外部物理交换机。 Illustrated, VM (Virtual Machine) FIG connected to the vSwitch (virtual switch), when the packet sent by the VM, the virtual NIC (vNICs) on the VM to a first vSwitch, vSwitch the packet according to the destination address of the packet or forwarded to VM internal physical NIC (NIC), physical NIC then forwards the packet to the external physical switch. vSwitch之间不能直接通信。 Can not directly communicate vSwitch.

4[0012] 发明人在实现本发明的过程中,发现现有技术至少存在以下问题: 4 [0012] In the process of implementing the present invention finds that the prior art has at least the following problems:

[0013] 目前,对虚拟服务器系统所进行的管理主要集中在计算虚拟服务器内部的拓扑上,没有将内部和外部的拓扑融合起来,即尚未实现计算PSwitch和vSwitch链路的技术方案。 [0013] Currently, the management of virtual server systems were focused on internal server computing virtual topology, not the internal and external topology integrate that technology solutions and computing PSwitch vSwitch link has not yet been achieved.

发明内容 SUMMARY

[0014] 本发明的目的在于提供一种虚拟交换机和物理交换机的链路建立方法及其装置, 以实现虚拟交换机与物理交换机之间的链路的确定,为此,本发明采用以下技术方案: [0014] The object of the present invention is to provide a physical switch and the virtual switch link establishment method and apparatus to enable determination of the link between the virtual switch and physical switch, for this, the present invention employs the following technical solution:

[0015] 一种虚拟交换机和物理交换机的链路建立方法,应用于配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,该方法包括: [0015] A physical switch and the virtual switch link establishment method applied is disposed at an interface link establishment procedure described virtual server system to the outside of the link information, the method comprising:

[0016] 虚拟服务器管理系统根据所述接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息; [0016] The server management system of the virtual interface description, to find the virtual card information therein, and find the information corresponding to the virtual switch according to the searched virtual card information;

[0017] 虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0017] Virtual server management system according to the obtained information of the virtual switch, a virtual link is established between the switch and the respective physical switch.

[0018] 上述方法中,若所述虚拟服务器管理系统未查找到虚拟网卡信息,则还包括: [0018] In the above method, if the virtual server management system to the virtual card information is not found, then further comprising:

[0019] 所述虚拟服务器管理系统根据所述接口描述信息,查找其中的物理网卡信息; [0019] The virtual server management system according to the interface description, wherein the information to find the physical NIC;

[0020] 所述虚拟服务器管理系统根据查找到的物理网卡信息查找对应的虚拟交换机信息; [0020] The virtual server management system to find information corresponding to the virtual switch in accordance with the found physical card information;

[0021] 虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0021] Virtual server management system according to the obtained information of the virtual switch, a virtual link is established between the switch and the respective physical switch.

[0022] 上述方法中,所述虚拟服务器管理系统根据所述接口描述信息,查找对应的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息,包括: [0022] In the above method, the virtual server management system according to the interface description, to find the corresponding virtual card information, and find the information corresponding to the virtual switch according to the searched virtual card information, comprising:

[0023] 所述虚拟服务器管理系统根据所述接口描述信息,查找对应的控制台虚拟网卡信息,如果查找到控制台虚拟网卡信息,则根据所述控制台虚拟网卡信息查找对应的虚拟交换机信息; [0023] The virtual server management system according to the interface description, to find the corresponding virtual card information to the console, the console to find if the virtual card information, is searched according to a virtual switch information corresponding to the virtual card information to the console;

[0024] 如果未查找到控制台虚拟网卡信息或未查找到与控制台虚拟网卡信息对应的虚拟交换机信息,则查找除控制台虚拟网卡以外的其他虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息。 [0024] If you do not find the console or virtual card information to find and console virtual card information corresponding to the virtual switch information and look for other virtual card information in addition to the console virtual network card, and according to the searched virtual card information Find information corresponding to the virtual switch.

[0025] 一种虚拟服务器管理系统,应用于配置有该虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,该系统包括: [0025] A virtual server management system applied to the link in the virtual server system is arranged to interface to an external link information described in the case of setup procedure, the system comprising:

[0026] 查找模块,用于根据所述接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息; [0026] The searching module, according to the interface description, to find the virtual card information therein, and find the information corresponding to the virtual switch according to the searched virtual card information;

[0027] 建立模块,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0027] establishing module, configured to find information on a virtual switch, a virtual link is established between the switch and the respective physical switch.

[0028] 上述虚拟服务器管理系统中,所述查找模块还用于,若未查找到虚拟网卡信息,则根据所述接口描述信息,查找其中的物理网卡信息,根据查找到的物理网卡信息查找对应的虚拟交换机信息,根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0028] The virtual server management system, the searching module is further configured to, if not find the virtual card information, the information according to the interface description, wherein the information to find the physical NIC, searching for a corresponding physical NIC according to the found information virtual switch information, according to the obtained information of the virtual switch, a virtual link is established between the switch and the respective physical switch.

[0029] 上述虚拟服务器管理系统中,所述查找模块具体用于,根据所述接口描述信息,查 [0029] The virtual server management system, the lookup module is for information according to the interface description, Zha

5找对应的控制台虚拟网卡信息,如果查找到控制台虚拟网卡信息,则根据所述控制台虚拟网卡信息查找对应的虚拟交换机信息;如果未查找到控制台虚拟网卡信息或未查找到与控制台虚拟网卡信息对应的虚拟交换机信息,则查找除控制台虚拟网卡以外的其他虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息。 5 to find the virtual card information corresponding to the console, the console to find if the virtual card information, is searched according to a virtual switch information corresponding to the virtual card information to the console; if not found console or virtual card information to find and control the virtual switch information corresponding to the virtual card information, look for other virtual card information in addition to the console virtual network card, and find information corresponding to the virtual switch according to the found virtual card information.

[0030] 一种虚拟交换机和物理交换机的链路建立方法,应用于未配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,该方法包括: [0030] A physical switch and the virtual switch link establishment method applied to the virtual server system is not configured to link establishment procedure at the interface description information on an external link, the method comprising:

[0031] 虚拟服务器管理系统获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息; [0031] Gets the virtual server system virtual NIC virtual server management system IP address, and determines the acquired IP address is a virtual network adapter is a managed IP address, if yes, obtaining the virtual switch information corresponding to the virtual network interface card;

[0032] 虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0032] Virtual server management system according to the obtained information of the virtual switch, a virtual link is established between the switch and the respective physical switch.

[0033] 上述方法中,所述虚拟服务器管理系统获取虚拟服务器系统的虚拟网卡IP地址, 并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息,包括: [0033] In the above method, the virtual server, the virtual card management system acquires a virtual IP address of the server system, and determines whether the acquired IP address is a virtual card management IP address, if yes, obtaining the corresponding virtual virtual NIC exchange information, including:

[0034] 所述虚拟服务器管理系统获取所述虚拟服务器系统的服务控制台虚拟网卡的IP 地址,并判断该IP地址是否是管理IP地址; [0034] The virtual server management system to obtain an IP address of the virtual server system's service console virtual network card, and determines whether the IP address is the management IP address;

[0035] 若是,则获取与该服务控制台虚拟网卡对应的虚拟交换机信息;否则,获取所述虚拟服务器系统中除服务控制台虚拟网卡以外的其他虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该虚拟网卡对应的虚拟交换机信息。 [0035] If, virtual NIC is acquired corresponding service information of the virtual switch console; otherwise, obtaining the virtual IP address of another server system other than the virtual card service console virtual network card, and determines whether the IP address managing IP addresses; if so, obtain virtual switch information corresponding to the virtual card.

[0036] 一种虚拟服务器管理系统,应用于未配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,该系统包括: [0036] A virtual server management system is not configured with a virtual server applied to a system at the link interface description information on an external link establishment process situation, the system comprising:

[0037] 获取模块,用于获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息; [0037] obtaining module, configured to acquire virtual server system virtual NIC IP address, and determines whether the acquired IP address is a virtual card management IP address, and if yes, obtaining the virtual switch information corresponding to the virtual network interface card;

[0038] 建立模块,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0038] establishing module, configured to find information on a virtual switch, a virtual link is established between the switch and the respective physical switch.

[0039] 上述虚拟服务器管理系统中,所述获取模块具体用于,获取所述虚拟服务器系统的服务控制台虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该服务控制台虚拟网卡对应的虚拟交换机信息;否则,获取所述虚拟服务器系统中除服务控制台虚拟网卡以外的其他虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是, 则获取与该虚拟网卡对应的虚拟交换机信息。 [0039] The virtual server management system, the obtaining module is configured to obtain the IP address of the virtual server system service console virtual network card, and determines whether the IP address is the management IP address; if yes, obtaining the service console virtual card information corresponding to the virtual switch; otherwise, to obtain the IP address of the virtual server system other virtual network card except for the service console virtual network card, and determines whether the IP address is the management IP address; if so, Gets the virtual switch information corresponding to the virtual card.

[0040] 本发明的有益技术效果包括: [0040] Advantageous effects of the invention comprises:

[0041] 在配置有虚拟服务器系统到外部的链路的接口描述信息的情况下,虚拟服务器管理系统通过该接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息,从而根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路,解决了虚拟服务器系统内部与外部之间的链路建立的问题。 [0041] In the virtual server system is arranged to link the external interface description information, the description of the virtual server management system via the interface, wherein the lookup virtual card information, and according to the searched virtual card information to find the corresponding the virtual switch information, which according to the obtained information virtual switch link is established between the respective virtual switch and physical switch, solved the problem of the link between internal and external virtual server system established. 在未配置有虚拟服务器系统到外部的链路的接口描述信息的情况下,虚拟服务器管理系统通过获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP 地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息,从而根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路,解决了虚拟服务器系统内部与外部之 In the case of a virtual server is not configured with an external system to link interface description information, the virtual server management system via a virtual server system acquiring the IP address of the virtual card, and determines whether the acquired IP address is a virtual card management IP address if yes, virtual switch acquires information corresponding to the virtual network interface card to the virtual switch according to the found information corresponding to virtual link is established between the switch and physical switch, a virtual server to solve the system of internal and external

6间的链路建立的问题。 Issue 6 of link establishment. 附图说明 BRIEF DESCRIPTION

[0042] 图1为现有技术中的一种虚拟服务器系统的架构示意图; [0042] FIG. 1 is a schematic diagram of a virtual server system architecture of the prior art;

[0043] 图2为现有技术中的一种虚拟服务器系统的内部结构示意图; [0043] FIG. 2 is a schematic view of an internal structure of a virtual server system of the prior art;

[0044] 图3为本发明实施例中的vSwitch和pSwitch间链路计算流程示意图之一; [0044] FIG 3 cases the calculation process vSwitch link and pSwitch one embodiment of the present invention, a schematic diagram;

[0045] 图4为本发明实施例中的vSwitch和pSwitch间链路计算流程示意图之二; [0045] FIG 4 cases of vSwitch link and pSwitch calculation process embodiment of the present invention, a schematic diagram of the two;

[0046] 图5为本发明实施例提供的虚拟服务器管理系统的结构示意图之一; [0046] Fig 5 a schematic view of the structure of one virtual server management system according to an embodiment of the present invention;

[0047] 图6为本发明实施例提供的虚拟服务器管理系统的结构示意图之二。 Structure [0047] FIG. 6 of the present invention, the virtual server management system according to an embodiment of the schematic of the two.

具体实施方式 detailed description

[0048] 针对现有技术存在的上述问题,本发明实施例提供了一种vSwitch和pSwitch间链路的建立方法及其系统,并针对虚拟服务器系统在与物理交换机链路一侧是否有接口描述的不同情况,分别提供了解决方案。 [0048] For the above-described problems of the prior art, embodiments of the present invention provides a method for establishing inter-system vSwitch and pSwitch their link for the virtual server and an interface system is described in the physical switch side link the different circumstances provides a solution.

[0049] 下面结合附图对本发明实施例进行描述,其中图3描述了在虚拟服务器系统中的物理交换机链路侧有接口描述的情况下,vSwitch和pSwitch间链路计算的流程,图4描述了在虚拟服务器系统中的物理交换机链路侧没有接口描述的情况下,vSwitch和pSwitch 间链路计算的流程。 [0049] The accompanying drawings embodiments of the present invention will be described below in connection with FIG. 3 is described wherein the lower side of the physical link switch virtual server system has an interface described in a case, and pSwitch vSwitch link between calculation process, described with FIG. 4 without the interface description, the link between the vSwitch and pSwitch calculation process virtual switch link server side of the physical system.

[0050] 参见图3,本实施例描述了虚拟服务器管理系统建立vSwitch和pSwitch间链路的流程,其中,虚拟服务器系统中存在接口描述,即虚拟服务器曾经已经与外部网络设备建立的一条或多条链路,且该链路的相关信息可被虚拟服务器管理系统所访问。 [0050] Referring to Figure 3, the present example describes the process of establishing a virtual server between the management system and pSwitch vSwitch link, wherein the server virtual interfaces present in the system described, i.e., a virtual server has been established with the external device or network links and information about the link can be accessed by virtual server management systems. 接口描述信息描述了该链路的一些配置信息,其中可包括:该链路端点上的虚拟服务器系统中的虚拟网卡的相关信息(如虚拟网卡的标识或地址信息),以及外部网络设备的物理网卡的相关信息(如物理网卡的标识或地址信息)。 Interface description describes some of the configuration information of the link, which may include: information about the virtual server system virtual NIC on the link endpoints (e.g., identification information of a virtual address or network card), and an external network device physically card information (e.g., identification information of a physical address or network card).

[0051] 当需要建立虚拟服务器系统的vSwitch与真实服务器(也称物理服务器)的pSwitch之间的链路时,如需要呈现虚拟服务器内部和外部拓扑时,该流程可包括: When the [0051] When the need to establish a link between the pSwitch vSwitch virtual server system and the real server (also known as physical servers), such as the need to present internal and external virtual server topology, the process may include:

[0052] 步骤301,虚拟服务器管理系统根据已经存在的链路的接口描述信息,在其中查找console NIC,并在查找到console NIC后,查找与该console NIC对应的vSwitch ;如果查找到console NIC及其对应的vSwitch,则执行步骤302 ;否则,执行步骤303。 [0052] Step 301, the virtual server management system according to the description information of a link interface already exists, and search for a console NIC, and after finding the console NIC, find the console NIC corresponding to the vSwitch; and if found console NIC corresponding to the vSwitch, execute step 302; otherwise, step 303 is performed.

[0053] 通常,虚拟服务器管理系统可获取到虚拟服务器系统已经建立的链路的接口信息,并可读取其中的虚拟网卡信息。 [0053] Typically, the virtual server management system interface information is available to link the virtual server system has been established and can be read virtual card information therein. 由于某些虚拟服务器管理系统配置有服务控制台(service console),则其已经建立的链路可能是虚拟服务器系统中的服务控制台与外部网络设备的链路,这种情况下,虚拟服务器系统可根据已经存在的链路的接口描述信息,查找虚拟服务器系统中的服务控制台的网卡(console NIC)信息。 Because some virtual server management system is configured with the service console (service console), then it has established a link may be a link with an external network device service console virtual server system, in this case, the virtual server system according to the description of the link interface already exists and look for card services in the virtual server system console (console NIC) information.

[0054] 在虚拟服务器系统中或者在虚拟服务器管理系统中,或者在虚拟服务器管理系统可访问到的其他存储位置中,通常还可配置有console NIC与vSwitch的对应关系,即可通过静态配置方式,指定console NIC可以与哪个vSwitch之间建立链路。 [0054] In the virtual server system or the virtual server management system, or other storage location accessible to the virtual server to the management system, in general may also be configured with a corresponding relationship with the vSwitch console NIC can by way of static configuration specify console NIC which can establish a link between the vSwitch and.

[0055] 步骤302,虚拟服务器管理系统根据查找到的vSwitch,建立该vSwitch与pSwitch 之间的链路。 [0055] Step 302, the virtual server management system according to the found vSwitch, establishing a link between the vSwitch and pSwitch.

7[0056] 该步骤中,虚拟服务器管理系统可采用现有机制,根据查找到的vSwitch信息建立该vSwitch与物理主机系统的pSwitch之间的链路。 7 [0056] In this step, the link between the virtual server management system may be any conventional mechanism, and the establishment of the physical host vSwitch system according to the obtained information vSwitch pSwitch.

[0057] 步骤303,虚拟服务器管理系统根据已经存在的链路的接口描述信息,在其中查找vNIC,并在查找到vNIC后,查找与该vNIC对应的vSwitch ;如果查找到vNIC及其对应的vSwitch,则执行步骤304 ;否则,执行步骤305。 [0057] Step 303, the virtual server management system according to the interface description information of the link already exists, and search for a vNIC, and after finding the vNIC, corresponding to the lookup vNIC vSwitch; vNIC to find if their corresponding vSwitch , step 304 is performed; otherwise, step 305.

[0058] 该步骤中的vNIC,是指除console NIC以外的其他虚拟网卡。 [0058] This step vNIC, refers to other virtual NIC other than the console NIC. 同理,在虚拟服务器系统中或者在虚拟服务器管理系统中,或者在虚拟服务器管理系统可访问到的其他存储位置中,通常还可配置有vNIC与vSwitch的对应关系,即可通过静态配置方式,指定vNIC可以与哪个vSwitch之间建立链路。 Similarly, in the virtual server system or the virtual server management system, or other storage location accessible to the virtual server to the management system, in general may also be configured with a corresponding relationship with the vSwitch vNIC can by way of static configuration, vNIC specified which can establish a link between the vSwitch.

[0059] 步骤304,虚拟服务器管理系统根据查找到的vSwitch,建立该vSwitch与pSwitch 之间的链路。 [0059] Step 304, the virtual server management system according to the found vSwitch, establishing a link between the vSwitch and pSwitch.

[0060] 步骤305,虚拟服务器管理系统根据已经存在的链路的接口描述信息,在其中查找pNIC,并在查找到pNIC后,查找与该pNIC对应的vSwitch ;如果查找到pNIC及其对应的vSwitch,则执行步骤306 ;否则,结束本次流程。 [0060] Step 305, the virtual server management system according to the interface described in the link information already in its search pNIC, and after finding the pNIC, corresponding to the lookup pNIC vSwitch; pNIC find if their corresponding vSwitch , proceed to step 306; otherwise, the end of this process.

[0061] 同理,在虚拟服务器系统中或者在虚拟服务器管理系统中,或者在虚拟服务器管理系统可访问到的其他存储位置中,通常还可配置有pNIC与vSwitch的对应关系,即可通过静态配置方式,指定pNIC可以与哪个vSwitch之间建立链路。 [0061] Similarly, in the virtual server system or the virtual server management system, or other storage location accessible to the virtual server to the management system usually also be configured with the corresponding relationship between the pNIC vSwitch, can be static configuration, designated pNIC which can establish a link between the vSwitch.

[0062] 步骤306,虚拟服务器管理系统根据查找到的vSwitch,建立该vSwitch与pSwitch 之间的链路。 [0062] Step 306, the virtual server management system according to the found vSwitch, establishing a link between the vSwitch and pSwitch.

[0063] 需要说明的是,如果虚拟主机系统中不存在有服务控制台(如图2中的ESXi),则相应的,可以不执行步骤301,而是从步骤303开始执行。 [0063] Incidentally, if the virtual host system has a service console does not exist (in FIG. 2 ESXi), and accordingly, step 301 may not be performed, but step 303 is executed from.

[0064] 通过以上描述可以看出,本发明实施例利用已经建立的链路的相关接口描述信息,来建立vSwitch和pSwitch之间的链路。 [0064] As can be seen from the above description, the description of embodiments using the relevant interface link has been established in the embodiment of the present invention is to establish a link between the vSwitch and pSwitch. 并且在链路建立过程中,优先根据服务控制台的console NIC所对应的vSwitch,建立vSwitch-pSwitch链路,从而可以将流量尽量分担到服务控制台。 And a link establishment process, the priority according to the service console console NIC corresponding to the vSwitch, vSwitch-pSwitch establish the link, so traffic can be shared as much as possible to the service console. 由于服务控制台自身的特点,一般境况下可以支持较大的数据流量,因此可以保证数据传输能够正常进行。 Because the service console its own characteristics, under normal circumstances can support larger data traffic, thereby ensuring that data can be transmitted properly.

[0065] 参见图4,本实施例描述了虚拟服务器管理系统计算vSwitch和pSwitch间链路的流程,其中,不存在接口描述信息,即虚拟服务器管理系统访问不到虚拟服务器系统的接口描述信息。 [0065] Referring to FIG 4, the present embodiment describes the virtual server management system and pSwitch vSwitch link between calculation process, wherein the interface description information does not exist, i.e., the virtual server can not access the virtual server management system interface description information. 当需要建立虚拟服务器系统的vSwitch与真实主机(也成物理主机)的pSwitch 之间的链路时,该流程可包括: When the need to establish a virtual link between the server system and the real host vSwitch (also a physical host) pSwitch, the process may comprise:

[0066] 步骤401,虚拟服务器管理系统判断console NIC的IP地址是否是管理IP地址, 如果是,则执行步骤402 ;否则执行步骤404。 [0066] Step 401, the virtual server management console NIC determines whether the IP address of the management IP address, if yes, execute step 402; otherwise, step 404 is performed.

[0067] 通常,虚拟服务器中的console NIC是服务控制台所使用的虚拟网卡,因此通常将console NIC的IP地址配置为管理IP地址。 [0067] usually, console NIC virtual server is a service console virtual network adapter used, and therefore will typically configure the IP address of the management console NIC IP address. 所谓管理IP即为虚拟服务器管理系统为虚拟服务器系统分配的用于对该虚拟服务器系统进行管理的IP地址。 IP management is the so-called virtual server management system for the allocation of virtual server systems for IP address management system of the virtual server.

[0068] 步骤402,虚拟服务器管理系统查找与该console NIC对应的vSwitch,如果查找到,则执行步骤403 ;否则,执行步骤404。 [0068] Step 402, the management system searches the virtual server corresponds to the console NIC vSwitch, if found, step 403 is executed; otherwise, step 404 is performed.

[0069] 通常,在虚拟服务器系统中或者在虚拟服务器管理系统中,或者在虚拟服务器管理系统可访问到的其他存储位置中,还可配置有console NIC与vSwitch的对应关系,即可 [0069] In general, in the virtual server system or the virtual server management system, or other storage location accessible to the virtual server to manage the system, you may also be configured with the correspondence between the vSwitch console NIC can

8通过静态配置方式,指定console NIC可以与哪个vSwitch之间建立链路。 8 through static configuration, designated console NIC which can establish a link between the vSwitch and.

[0070] 步骤403,虚拟服务器管理系统根据查找到的vSwitch,建立该vSwitch与pSwitch 之间的链路。 [0070] In step 403, the virtual server management system according to the found vSwitch, establishing a link between the vSwitch and pSwitch.

[0071] 步骤404,虚拟服务器管理系统判断vNIC的IP地址是否是管理IP地址,如果是, 则执行步骤405 ;否则结束本次流程。 [0071] Step 404, the virtual server management system determines whether the IP address is a vNIC management IP address, if yes, execute step 405; otherwise, ends the current procedure.

[0072] 步骤405,虚拟服务器管理系统根据查找到的vSwitch,建立该vSwitch与pSwitch 之间的链路。 [0072] In step 405, the virtual server management system according to the found vSwitch, establishing a link between the vSwitch and pSwitch.

[0073] 同理,在虚拟服务器系统中或者在虚拟服务器管理系统中,或者在虚拟服务器管理系统可访问到的其他存储位置中,还可配置有vNIC与vSwitch的对应关系,即可通过静态配置方式,指定vNIC可以与哪个vSwitch之间建立链路。 [0073] Similarly, in the virtual server system or the virtual server management system, or other storage location accessible to the virtual server to manage the system, may also be configured with the correspondence between the vSwitch vNIC can through static configuration way, you can establish a link between specified vNIC and which vSwitch.

[0074] 需要说明的是,如果虚拟主机系统中不存在有服务控制台(如图2中的ESXi),则相应的,可以不执行步骤401,而是从步骤404开始执行。 [0074] Incidentally, if the virtual host system has a service console does not exist (in FIG. 2 ESXi), and accordingly, step 401 may not be performed, but step 404 is executed from.

[0075] 通过以上描述可以看出,在没有接口描述信息可以参考的情况下,本发明实施例可在虚拟网卡的IP地址为管理IP地址时,建立相应的vSwitch-pSwitch链路,从而为虚拟服务器管理系统对虚拟服务器进行管理操作、交互相关管理信息提供前提。 [0075] As can be seen from the above description, in the absence of the interface description information may refer to a case, embodiments of the present invention when the management IP address to establish a link corresponding vSwitch-pSwitch virtual NIC IP address to a virtual server management system to manage the operation of the virtual server management information related to the interaction premise.

[0076] 基于相同的技术构思,本发明实施例还提供了虚拟服务器管理系统,该系统可由软件实现。 [0076] Based on the same technical concept, embodiments of the present invention further provides a virtual server management system, which may be implemented in software.

[0077] 参见图5,为本发明实施例提供的虚拟服务器管理系统的结构示意图,该系统可应用于如图3所示的流程。 [0077] Referring to Figure 5, a schematic diagram of the structure of the virtual server management system according to an embodiment of the invention, the system may be applied to the flow shown in FIG. 3. 如图所示,该系统可包括: As shown, the system may comprise:

[0078] 查找模块501,用于根据配置的接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息; [0078] The searching module 501, according to the configuration of the interface description, wherein the lookup virtual card information, and find the corresponding virtual switch information according to the searched virtual card information;

[0079] 建立模块502,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0079] establishing module 502, according to the searched for information to a virtual switch, a virtual link is established between the switch and the respective physical switch.

[0080] 上述虚拟服务器管理系统中,查找模块501还可用于,若未查找到虚拟网卡信息, 则根据所述接口描述信息,查找其中的物理网卡信息,根据查找到的物理网卡信息查找对应的虚拟交换机信息,根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0080] The virtual server management system, the lookup module 501 can also be used, if not find the virtual card information, the description information, find the physical card information therein, searching for a corresponding physical NIC according to the found information in accordance with said interface the virtual switch information, according to the obtained information of the virtual switch, a virtual link is established between the switch and the respective physical switch.

[0081] 上述虚拟服务器管理系统中,查找模块501可具体用于,根据所述接口描述信息, 查找对应的控制台虚拟网卡信息,如果查找到控制台虚拟网卡信息,则根据所述控制台虚拟网卡信息查找对应的虚拟交换机信息;如果未查找到控制台虚拟网卡信息或未查找到与控制台虚拟网卡信息对应的虚拟交换机信息,则查找除控制台虚拟网卡以外的其他虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息。 [0081] The virtual server management system, the lookup module 501 may be specifically configured according to the description information of the interface to find the corresponding virtual card information to the console, the console to find if the virtual card information, the virtual console in accordance with the Find a virtual switch card information corresponding to the information; if you do not find the console or virtual card information to find and console virtual card information corresponding to the virtual switch information and look for other virtual card information in addition to the console virtual network card, and in accordance with Find the virtual card information to find the information corresponding to the virtual switch.

[0082] 参见图6,为本发明实施例提供的虚拟服务器管理系统的结构示意图,该系统可应用于如图4所示的流程。 [0082] Referring to Figure 6, a schematic diagram of the structure of the virtual server management system according to an embodiment of the invention, the flow shown in FIG 4 may be applied to the system. 如图所示,该系统可包括: As shown, the system may comprise:

[0083] 获取模块601,用于获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息; [0083] The acquisition module 601 obtains the virtual server system virtual NIC IP address, and determines whether the acquired IP address is a virtual card management IP address, and if yes, obtaining the virtual switch information corresponding to the virtual network interface card;

[0084] 建立模块602,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 [0084] establishing module 602, according to the searched for information to a virtual switch, a virtual link is established between the switch and the respective physical switch.

[0085] 上述虚拟服务器管理系统中,获取模块602可具体用于,获取所述虚拟服务器系 [0085] The virtual server management system, the acquisition module 602 may be specifically configured to acquire the virtual server based

9统的服务控制台虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该服务控制台虚拟网卡对应的虚拟交换机信息;否则,获取所述虚拟服务器系统中除服务控制台虚拟网卡以外的其他虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该虚拟网卡对应的虚拟交换机信息。 9 conventional service console virtual IP address of the network card, and determines whether the IP address is the management IP address; if so, obtain virtual card information corresponding to the virtual switch service console; otherwise acquire, in addition to the virtual server system service console virtual IP address other than the virtual network adapter card, and determines whether the IP address is the management IP address; if so, obtain virtual switch information corresponding to the virtual card.

[0086] 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。 [0086] By the above described embodiments, those skilled in the art can understand that the present invention may be implemented by hardware, it may also be implemented by software plus a necessary universal hardware platform. 基于这样的理解,本发明的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是⑶-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 Based on such understanding, the technical solutions of the present invention may be embodied in a software product out, the software product may be stored in a nonvolatile storage medium (which may be ⑶-ROM, U disk, mobile hard disk), and includes several instructions that enable a computer device (may be a personal computer, a server, or network device) to execute the methods according to embodiments of the present invention.

[0087] 本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。 [0087] Those skilled in the art will be appreciated the drawings are merely schematic diagram of a preferred embodiment, the modules or processes in the accompanying drawings are not necessarily embodiments of the present invention it is necessary.

[0088] 本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。 [0088] Those skilled in the art will be appreciated apparatus embodiment that the modules can be distributed in accordance with an embodiment of the apparatus of the embodiment may be performed according to the present embodiment which are different from one case or more devices. 上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。 Modules of the embodiments may be combined into one module, or split into multiple submodules.

[0089] 上述本发明序号仅仅为了描述,不代表实施例的优劣。 [0089] Reference only used for description of the present invention, the merits of the embodiments do not represent embodiments.

[0090] 以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。 Only a few [0090] The above disclosed specific embodiments of the present invention, however, the present invention is not limited thereto, anyone skilled in the art can think of variations shall fall within the scope of the present invention.

10 10

Claims (10)

  1. 一种虚拟交换机和物理交换机的链路建立方法,应用于配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,其特征在于,该方法包括:虚拟服务器管理系统根据所述接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息;虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 And a physical switch for a virtual switch link establishment method applied is disposed at an interface link establishment procedure described virtual server system to the external link information situation, characterized in that, the method comprising: a virtual server management system according to the interface description, to find the virtual card information therein, and find the corresponding virtual switch information according to the searched virtual card information; virtual server management system according to the obtained information of the virtual switch, the virtual switch is established between the respective physical switch link.
  2. 2.如权利要求1所述的方法,其特征在于,若所述虚拟服务器管理系统未查找到虚拟网卡信息,则还包括:所述虚拟服务器管理系统根据所述接口描述信息,查找其中的物理网卡信息;所述虚拟服务器管理系统根据查找到的物理网卡信息查找对应的虚拟交换机信息;虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 2. The method according to claim 1, wherein, if the virtual server management system to the virtual card information is not found, then further comprising: a virtual server management system according to the description of the physical information, wherein the interface to look card information; the virtual server management system to find information corresponding to the virtual switch in accordance with the found physical card information; virtual server management system according to the found information about the virtual switch, a virtual link is established between the switch and the respective physical switch.
  3. 3.如权利要求1或2所述的方法,其特征在于,所述虚拟服务器管理系统根据所述接口描述信息,查找对应的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息,包括:所述虚拟服务器管理系统根据所述接口描述信息,查找对应的控制台虚拟网卡信息, 如果查找到控制台虚拟网卡信息,则根据所述控制台虚拟网卡信息查找对应的虚拟交换机fn息;如果未查找到控制台虚拟网卡信息或未查找到与控制台虚拟网卡信息对应的虚拟交换机信息,则查找除控制台虚拟网卡以外的其他虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息。 3. The method according to claim 1, wherein the virtual server management system according to the description information of the interfaces, virtual card information corresponding to the look and find the corresponding virtual switch according to the searched virtual card information information, comprising: a virtual server management system according to the interface description, to find the corresponding virtual card information to the console, the console to find if the virtual card information, then find the corresponding virtual switch fn virtual card information according to said console interest rates; if you do not find the console or virtual card information to find and console virtual card information corresponding to the virtual switch information and look for other virtual card information in addition to the console virtual network card, and look according to the searched virtual card information the corresponding virtual switch information.
  4. 4. 一种虚拟服务器管理系统,应用于配置有该虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,其特征在于,该系统包括:查找模块,用于根据所述接口描述信息,查找其中的虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息;建立模块,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 A virtual server management system applied to the virtual server system is arranged to link the external interface description information of a link establishment process situation, characterized in that the system comprising: a searching module, according to the description of the interface to find which of the virtual card information, and find the information corresponding to the virtual switch according to the searched virtual card information; establishing module, configured to find a virtual switch information, corresponding to the establishment of a virtual link between the switch and physical switch road.
  5. 5.如权利要求4所述的虚拟服务器管理系统,其特征在于,所述查找模块还用于,若未查找到虚拟网卡信息,则根据所述接口描述信息,查找其中的物理网卡信息,根据查找到的物理网卡信息查找对应的虚拟交换机信息,根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 5. The virtual server management system according to claim 4, wherein said searching module is further configured to, if not find the virtual card information, the information according to the interface description, wherein the information to find the physical NIC, in accordance with the found physical card information to find information corresponding to the virtual switch, a virtual switch according to the obtained information, to establish a link between the switch and the respective virtual physical switch.
  6. 6.如权利要求4或5所述的虚拟服务器管理系统,其特征在于,所述查找模块具体用于,根据所述接口描述信息,查找对应的控制台虚拟网卡信息,如果查找到控制台虚拟网卡信息,则根据所述控制台虚拟网卡信息查找对应的虚拟交换机信息;如果未查找到控制台虚拟网卡信息或未查找到与控制台虚拟网卡信息对应的虚拟交换机信息,则查找除控制台虚拟网卡以外的其他虚拟网卡信息,并根据查找到的虚拟网卡信息查找对应的虚拟交换机信息。 6. The virtual server management system of claim 4 or claim 5, wherein the lookup module is configured to, according to the description information of the interface to find the virtual card information corresponding to the console, the virtual console if found card information, is searched according to a virtual switch information corresponding to the virtual card information to the console; if not found console or virtual card information to find the virtual card information corresponding to the console with the virtual switch information, in addition to find a virtual console other than the virtual network adapter card information, and find information corresponding to the virtual switch according to the found virtual card information.
  7. 7. —种虚拟交换机和物理交换机的链路建立方法,应用于未配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,其特征在于,该方法包括:虚拟服务器管理系统获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息;虚拟服务器管理系统根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 7. - kind of physical switches and virtual switch link establishment method applied to the virtual server system is not configured to link the external interface description information of a link establishment process situation, characterized in that, the method comprising: Virtual Server management system to obtain virtual network adapter virtual server system's IP address, and determines whether the obtained IP address of the virtual network adapter is the management IP address, and if so, obtain virtual switch information corresponding to the virtual network adapter; virtual server management system according to the found the virtual switch information, corresponding virtual link is established between the switch and physical switch.
  8. 8.如权利要求7所述的方法,其特征在于,所述虚拟服务器管理系统获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息,包括:所述虚拟服务器管理系统获取所述虚拟服务器系统的服务控制台虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该服务控制台虚拟网卡对应的虚拟交换机信息;否则,获取所述虚拟服务器系统中除服务控制台虚拟网卡以外的其他虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该虚拟网卡对应的虚拟交换机信息。 8. The method according to claim 7, wherein said virtual virtual NIC server management system acquires the IP address of the virtual server system, and determines whether the acquired IP address is a virtual card management IP address, and if yes, acquiring virtual switch information corresponding to the virtual network interface card, comprising: a virtual server management system acquires the IP address of the virtual server system service console virtual network card, and determines whether the IP address is the management IP address; if yes, obtaining the service console and virtual card information corresponding to the virtual switch; otherwise, to obtain the IP address of the virtual server system other virtual network card except for the service console virtual network card, and determines whether the IP address is the management IP address; if so, then get a virtual switch information corresponding to the virtual card.
  9. 9. 一种虚拟服务器管理系统,应用于未配置有虚拟服务器系统到外部的链路的接口描述信息情况下的链路建立过程,其特征在于,该系统包括:获取模块,用于获取虚拟服务器系统的虚拟网卡IP地址,并判断获取到的虚拟网卡的IP地址是否是管理IP地址,若是,则获取与该虚拟网卡对应的虚拟交换机信息;建立模块,用于根据查找到的虚拟交换机信息,建立相应虚拟交换机与物理交换机之间的链路。 A virtual server management system is not configured with a virtual server applied to a system at the link interface description information on an external link establishment process situation, characterized in that the system comprises: an obtaining module, configured to acquire virtual servers virtual NIC system's IP address, and determines whether the acquired IP address is a virtual card management IP address, and if yes, obtaining the virtual switch information corresponding to the virtual network interface card; establishing module, configured to find a virtual switch information, establishing a link between the respective physical and virtual switch switch.
  10. 10.如权利要求9所述的虚拟服务器管理系统,其特征在于,所述获取模块具体用于,获取所述虚拟服务器系统的服务控制台虚拟网卡的IP地址, 并判断该IP地址是否是管理IP地址;若是,则获取与该服务控制台虚拟网卡对应的虚拟交换机信息;否则,获取所述虚拟服务器系统中除服务控制台虚拟网卡以外的其他虚拟网卡的IP地址,并判断该IP地址是否是管理IP地址;若是,则获取与该虚拟网卡对应的虚拟交换机信息。 10. Virtual server management system according to claim 9, wherein the obtaining module is configured to obtain the IP address of the virtual server system service console virtual network card, and determines whether the IP address management IP addresses; if so, obtain virtual card information corresponding to the virtual switch service console; otherwise, to obtain the IP address of the virtual server system other virtual network card except for the service console virtual network card, and determines whether the IP address managing IP addresses; if so, obtain virtual switch information corresponding to the virtual card.
CN 201010567519 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof CN101980490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010567519 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
CN 201010567519 CN101980490B (en) 2010-12-01 2010-12-01 Link establishment method for virtual switch and physical switch and device thereof

Publications (3)

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

Family

ID=43600975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010567519 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2595346A1 (en) * 2011-11-18 2013-05-22 Broadcom Corporation Network port profile deployment in a pre-provisioned or dynamically provisioned network infrastructure
CN103248700A (en) * 2013-05-16 2013-08-14 成都国腾实业集团有限公司 Method for limiting speeds of internal and external networks of virtual machine on cloud platform in different levels
CN103281248A (en) * 2013-06-09 2013-09-04 北京星网锐捷网络技术有限公司 Network topology discovering method, device and system
WO2013152716A1 (en) * 2012-04-09 2013-10-17 Huawei Technologies Co., Ltd. L3 gateway for vxlan
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
CN104486234A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Method and server for uninstalling service exchanger to physical network card
CN104639616A (en) * 2015-01-07 2015-05-20 中国神华能源股份有限公司 PI (plant information system) real-time database interface system
CN104734877A (en) * 2013-12-24 2015-06-24 杭州华为数字技术有限公司 Method, device and system for obtaining configuration server information

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

Cited By (16)

* 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
EP2595346A1 (en) * 2011-11-18 2013-05-22 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
WO2013152716A1 (en) * 2012-04-09 2013-10-17 Huawei Technologies Co., Ltd. L3 gateway for vxlan
US8923155B2 (en) 2012-04-09 2014-12-30 Futurewei Technologies, Inc. L3 gateway for VXLAN
CN104170331B (en) * 2012-04-09 2017-06-13 华为技术有限公司 The l3 gateway for vxlan
CN103248700B (en) * 2013-05-16 2016-04-20 成都国腾实业集团有限公司 Cloud platform Virtual machine speed limits at different levels within and outside the network method
CN103248700A (en) * 2013-05-16 2013-08-14 成都国腾实业集团有限公司 Method for limiting speeds of internal and external networks of virtual machine on cloud platform in different levels
CN103281248B (en) * 2013-06-09 2016-03-30 北京星网锐捷网络技术有限公司 Network topology discovery method, apparatus and system
CN103281248A (en) * 2013-06-09 2013-09-04 北京星网锐捷网络技术有限公司 Network topology discovering method, device and system
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
CN103441935B (en) * 2013-08-16 2016-05-25 北京星网锐捷网络技术有限公司 Method and apparatus for automatic identification of the server and the abutting relationship of the access switch
CN104734877A (en) * 2013-12-24 2015-06-24 杭州华为数字技术有限公司 Method, device and system for obtaining configuration server information
WO2015096707A1 (en) * 2013-12-24 2015-07-02 华为技术有限公司 Method, device and system for acquiring information about configuration server
CN104486234A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Method and server for uninstalling service exchanger to physical network card
CN104639616A (en) * 2015-01-07 2015-05-20 中国神华能源股份有限公司 PI (plant information system) real-time database interface system

Also Published As

Publication number Publication date Type
CN101980490B (en) 2012-09-26 grant
CN101980490K1 (en) 2011-02-23 grant

Similar Documents

Publication Publication Date Title
US8565118B2 (en) Methods and apparatus for distributed dynamic network provisioning
US20110310899A1 (en) Distributed Virtual Network Gateways
US20100165877A1 (en) Methods and apparatus for distributed dynamic network provisioning
US20070064661A1 (en) Method, apparatus and system for maintaining mobility resistant IP tunnels using a mobile router
US20080192648A1 (en) Method and system to create a virtual topology
US20110078679A1 (en) Provisioning virtual machine placement
US20130151685A1 (en) Controlling A Network Interface Using Virtual Switch Proxying
US20130227550A1 (en) System and method for isolated virtual image and appliance communication within a cloud environment
US8102881B1 (en) Streamlined guest networking in a virtualized environment
US20100235526A1 (en) System and method for reducing cloud ip address utilization using a distributor registry
US20110023114A1 (en) Method and System For Traffic Management Via Virtual Machine Migration
US20140254603A1 (en) Interoperability for distributed overlay virtual environments
US20140052877A1 (en) Method and apparatus for tenant programmable logical network for multi-tenancy cloud datacenters
US20070011272A1 (en) Offload stack for network, block and file input and output
US20080163207A1 (en) Moveable access control list (acl) mechanisms for hypervisors and virtual machines and virtual port firewalls
US20100235539A1 (en) System and method for reduced cloud ip address utilization
US20100235903A1 (en) System and method for transparent cloud access
US20110085563A1 (en) Virtualization Aware Network Switch
US20130332577A1 (en) Multitenant server for virtual networks within datacenter
US20080195756A1 (en) Method and system to access a service utilizing a virtual communications device
US20110153798A1 (en) Method and apparatus for providing a remotely managed expandable computer system
US20110289204A1 (en) Virtual Machine Management Among Networked Servers
US20110032944A1 (en) Method and System for Switching in a Virtualized Platform
US20140068703A1 (en) System and method providing policy based data center network automation
US20130034094A1 (en) Virtual Switch Data Control In A Distributed Overlay Network

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CP03