CN103457844B - Method for vNIC binding of multiple Infiniband gateways - Google Patents

Method for vNIC binding of multiple Infiniband gateways Download PDF

Info

Publication number
CN103457844B
CN103457844B CN201310349336.4A CN201310349336A CN103457844B CN 103457844 B CN103457844 B CN 103457844B CN 201310349336 A CN201310349336 A CN 201310349336A CN 103457844 B CN103457844 B CN 103457844B
Authority
CN
China
Prior art keywords
infiniband
port
gateway
vnic
network
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
CN201310349336.4A
Other languages
Chinese (zh)
Other versions
CN103457844A (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.)
Petrochina Co Ltd
Original Assignee
Petrochina 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 Petrochina Co Ltd filed Critical Petrochina Co Ltd
Priority to CN201310349336.4A priority Critical patent/CN103457844B/en
Publication of CN103457844A publication Critical patent/CN103457844A/en
Application granted granted Critical
Publication of CN103457844B publication Critical patent/CN103457844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a vNIC binding method of multiple Infiniband gateways, which distinguishes different vNICs virtualized by multiple Infiniband gateways by utilizing identification information of the gateways, binds the distinguished vNICs to specific IP information, and enables different IP sections to be transmitted through the determined gateways, thereby realizing the multiplication of bandwidth between an Infiniband network and an Ethernet network, breaking through the bottleneck between the Infiniband network and the Ethernet network, realizing high-speed data exchange between different types of networks, selecting an IP network section and the Infiniband gateway passing through the IP network section according to different machine names corresponding to different IP network sections in application, realizing the load balance of the multiple Infiniband gateways, and particularly having more obvious effect in large data application environments such as seismic data processing and the like.

Description

多Infiniband网关的vNIC绑定方法Method for vNIC binding of multiple Infiniband gateways

技术领域technical field

本发明涉及Infiniband网关环境下的vNIC绑定技术,特别是涉及一种多Infiniband网关的vNIC(Virtual Network Interface Card,虚拟网络适配器)绑定方法。The invention relates to a vNIC binding technology in an Infiniband gateway environment, in particular to a vNIC (Virtual Network Interface Card, virtual network adapter) binding method of multiple Infiniband gateways.

背景技术Background technique

随着石油地球物理勘探技术的发展,地震勘探方法向着多维、多分量、超多道方向发展,目前主要以1ms或2ms采样,接收道数在5000道以内的施工方法为主。按1ms采样5000道接收计算,其实时数据流量达20MB/s左右,如果是连续采集(如海上气枪作业),就要求存储数据速度必须在20MB/s以上。根据地震勘探向全波场、高密度采集方向发展的趋势,也许不久的将来要用1ms或0.5ms采样10000或20000道接收,那时的实时数据采集流量最高达160MB/s,这使得地震勘探所采集的数据总量十分惊人(通常三维队一个施工季的数据总量能达TB级)。With the development of petroleum geophysical exploration technology, seismic exploration methods are developing in the direction of multi-dimensional, multi-component, and ultra-multi-trace. Currently, the main construction method is 1ms or 2ms sampling and the number of receiving traces is less than 5000. According to 1ms sampling and 5000 channel receiving calculations, the real-time data flow is about 20MB/s. If it is continuous acquisition (such as air gun operations at sea), the storage data speed must be above 20MB/s. According to the development trend of seismic exploration towards full wave field and high-density acquisition, perhaps in the near future, 10,000 or 20,000 channels will be sampled in 1ms or 0.5ms, and the real-time data acquisition flow rate at that time can reach up to 160MB/s, which makes seismic exploration The total amount of data collected is astonishing (usually the total amount of data for a construction season of the 3D team can reach TB level).

同时,地震资料的处理技术也取得突飞猛进近的发展,从叠前时间偏移、叠前深度偏移,到双程波波动方程偏移,以及全波形反演,多波多分量等处理技术。伴随着地震资料软件处理技术的发展,处理所需的硬件资源性能也得到迅速提高,从以往的数百节点PC集群进行处理,到现在的几十节点的GPU集群,集群密度越来越高,集群服务器的处理能力越来越强。这使得一次地震资料处理作业所需要的服务器数量越来越少,而同时由于地震勘探采集技术的发展,地震资料源数据却越来越大,如何能够满足在十余节点服务器上快速传输数TB的原始数据,同时数据数倍于原始数据的结果数据,这对集群系统中的网络要求越来越高。另一方面,现在数据中心的发展,使得集群的网络架构中不仅限于以太网络,同时还存在Infiniband网络,而集群所使用的大规模存储资源设备可能存放在以太网中,也可能在Infiniband网络中,因此如何实现以太网络和Infiniband网络中不同存储资源的共享,同时又能够满足TB级数据量的快速传输使当前地球物理勘探数据中心面临的艰巨挑战和重要问题。At the same time, seismic data processing technology has also achieved rapid development, from pre-stack time migration, pre-stack depth migration, to two-way wave wave equation migration, and full waveform inversion, multi-wave multi-component and other processing technologies. With the development of seismic data software processing technology, the performance of hardware resources required for processing has also been rapidly improved. From the previous PC cluster with hundreds of nodes for processing to the current GPU cluster with dozens of nodes, the cluster density is getting higher and higher. The processing power of the cluster server is getting stronger and stronger. This makes the number of servers required for a seismic data processing operation less and less. At the same time, due to the development of seismic exploration and acquisition technology, the source data of seismic data is getting larger and larger. The original data, and the result data whose data is several times larger than the original data, have higher and higher requirements for the network in the cluster system. On the other hand, the development of the data center now makes the network architecture of the cluster not only limited to the Ethernet network, but also the Infiniband network, and the large-scale storage resource devices used by the cluster may be stored in the Ethernet or in the Infiniband network. , so how to realize the sharing of different storage resources in Ethernet and Infiniband networks, and at the same time satisfy the rapid transmission of terabytes of data volume is a daunting challenge and an important issue for current geophysical exploration data centers.

目前,现有的单Infiniband网关vNIC绑定技术可以实现Infiniband网与以太网的交融,但由于其只能实现一个Infiniband网关的vNIC绑定,所有以太网与Infiniband网络的数据传输等都只能通过一个网关进行,这就大大限制两种网络之间的数据传输带宽,尤其是当以太网络和Infiniband网络都比较大的数据中心,此网络带宽瓶颈表现尤为明显,而且在地震资料处理数据中心中,由于数据量非常大,数据并发访问多,并发度高,导致经常出现以太网络和Infiniband网络之间的网络拥堵,致使数据传输延迟较大,甚至会出现网络中断,因而极大影响了数据中心的集群运行和业务的处理,限制了数据中心的发展。At present, the existing single Infiniband gateway vNIC binding technology can realize the integration of Infiniband network and Ethernet, but because it can only realize the vNIC binding of one Infiniband gateway, all data transmission between Ethernet and Infiniband network can only be through This will greatly limit the data transmission bandwidth between the two networks, especially when the Ethernet network and the Infiniband network are relatively large data centers, this network bandwidth bottleneck is particularly obvious, and in the seismic data processing data center, Due to the large amount of data, many concurrent data accesses, and high concurrency, network congestion often occurs between the Ethernet network and the Infiniband network, resulting in large data transmission delays and even network interruptions, which greatly affects the data center. Cluster operation and business processing limit the development of data centers.

发明内容Contents of the invention

本发明实施例的目的在于提供一种多Infiniband网关的vNIC绑定方法,以增大以太网络和Infiniband网络之间的带宽,实现以太网络和Infiniband网络之间的高速数据交换,满足地震资料处理等大数据实时处理的需求。The purpose of the embodiments of the present invention is to provide a vNIC binding method for multiple Infiniband gateways, so as to increase the bandwidth between the Ethernet network and the Infiniband network, realize high-speed data exchange between the Ethernet network and the Infiniband network, and satisfy seismic data processing, etc. The need for real-time processing of big data.

为实现上述目的,本发明提供一种多Infiniband网关的vNIC绑定方法,包括以下步骤:In order to achieve the above object, the present invention provides a vNIC binding method of multiple Infiniband gateways, comprising the following steps:

对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,从而使所述port-channel端口和Infiniband网关一一对应;Perform port-channel port binding on the multiple Ethernet ports connected to the Infiniband gateways of the Ethernet switch, so that the port-channel ports correspond to the Infiniband gateways one by one;

将所述各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN(Virtual Local Area Network,虚拟局域网)信息;Binding the Ethernet ports in each of the Infiniband gateways as port-channel ports respectively, generating correspondingly configured vNICs, and configuring VLAN (Virtual Local Area Network, Virtual Local Area Network) information for each port-channel port;

Infiniband网络中的服务器节点获取各vNIC信息,并从所述vNIC信息获取中对应的Infiniband网关标识;The server node in the Infiniband network obtains each vNIC information, and obtains the corresponding Infiniband gateway identifier from the vNIC information;

所述Infiniband网络中的服务器节点根据Infiniband网关标识,对所述每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息,使不同的IP段通过确定的Infiniband网关进行传输。The server node in the Infiniband network binds the specified IP address information to the vNIC generated corresponding to each Infiniband gateway according to the Infiniband gateway identifier, so that different IP segments are transmitted through the determined Infiniband gateway.

其中,在所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定之后,还包括:Wherein, after the port-channel port binding is done respectively to the Ethernet switches connected to the multiple Ethernet ports of each Infiniband gateway, it also includes:

为所述以太网交换机中各port-channel端口设置负载均衡模式;Load balancing mode is set for each port-channel port in the Ethernet switch;

为所述以太网交换机创建多个VLAN,并配置相应的VLAN信息;Create multiple VLANs for the Ethernet switch, and configure corresponding VLAN information;

将所述以太网交换机中各port-channel端口分别加入到指定的VLAN中。Add each port-channel port in the Ethernet switch to a designated VLAN respectively.

其中,在所述Infiniband网络中的服务器节点根据Infiniband网关标识,对所述每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息之后,还包括:Wherein, after the server node in the Infiniband network binds the specified IP address information to the correspondingly generated vNIC of each Infiniband gateway according to the Infiniband gateway identifier, it also includes:

所述Infiniband网络中的服务器节点重启各vNIC;The server nodes in the Infiniband network restart each vNIC;

对所述Infiniband网络进行opensm子网管理配置,并重启子网管理服务。Perform opensm subnet management configuration on the Infiniband network, and restart the subnet management service.

其中,所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,具体包括:Wherein, the multiple Ethernet ports connected to each Infiniband gateway to the Ethernet switch are respectively port-channel port bound, specifically including:

设置各Infiniband网关的以太网端口为swithport模式;Set the Ethernet port of each Infiniband gateway to switchport mode;

启用各以太网端口;Enable each Ethernet port;

创建port-channel端口绑定,使其与所述Infiniband网关一一对应;Create a port-channel port binding so that it corresponds to the Infiniband gateway one by one;

添加所述创建的port-channel端口的描述信息;Add description information of the created port-channel port;

为所述创建的port-channel端口添加对应的以太网端口;Add the corresponding Ethernet port for the created port-channel port;

启用所述创建的port-channel端口。Enable the port-channel port created as described.

其中,所述将各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN信息,具体包括:Wherein, the Ethernet ports in each Infiniband gateway are respectively bound as port-channel ports to generate correspondingly configured vNICs, and VLAN information is configured for each port-channel port, specifically including:

所述各Infiniband网关分别创建port-channel端口;Each of the Infiniband gateways creates a port-channel port respectively;

启用各Infiniband网关的port-channel端口;Enable the port-channel port of each Infiniband gateway;

设置各Infiniband网关的port-channel管理方式;Set the port-channel management mode of each Infiniband gateway;

为各Infiniband网关的port-channel分别创建指定的VLAN;Create designated VLANs for the port-channels of each Infiniband gateway;

开启eport端口;Open the eport port;

关闭lacp(Link Aggregation Control Protocol,链路汇聚控制协议)协议。Disable the lacp (Link Aggregation Control Protocol, Link Aggregation Control Protocol) protocol.

其中,所述Infiniband网络中的服务器节点根据Infiniband网关标识,对所述每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息,具体包括:Wherein, the server node in the Infiniband network binds the specified IP address information to the correspondingly generated vNIC of each Infiniband gateway according to the Infiniband gateway identifier, specifically including:

根据各vNIC中的Infiniband网关标识信息逐一确认该vNIC属于哪个网关;Confirm which gateway the vNIC belongs to one by one according to the Infiniband gateway identification information in each vNIC;

将该vNIC所属Infiniband网关的对应网卡配置信息写入该vNIC的配置文件中。Write the corresponding network card configuration information of the Infiniband gateway to which the vNIC belongs to the configuration file of the vNIC.

其中,所述为以太网交换机创建多个VLAN,并配置相应的VLAN信息,具体包括:Wherein, the described multiple VLANs are created for the Ethernet switch, and corresponding VLAN information is configured, specifically including:

为所述以太网交换机创建多个与Infiniband网关一一对应的VLAN;Create a plurality of VLANs corresponding to the Infiniband gateway one by one for the Ethernet switch;

为各VLAN添加VLAN描述信息;Add VLAN description information for each VLAN;

配置所述各VLAN网络信息;Configure the network information of each VLAN;

为各VLAN添加指定的以太网交换机中的port-channel端口,并使port-channel端口、VLAN和Infniband网关一一对应;Add the port-channel port in the designated Ethernet switch for each VLAN, and make the port-channel port, VLAN and Infniband gateway correspond one-to-one;

启用所述VLAN段。Enable the VLAN segment.

其中,在所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定之前,还包括:Wherein, before the port-channel port binding is performed on the multiple Ethernet ports connected to each Infiniband gateway by the Ethernet switch, it also includes:

为所述Infiniband网络中所有节点安装EOIB驱动,并修改其Infiniband配置文件中EOIB参数,以设为开机自启动;Install EOIB drivers for all nodes in the Infiniband network, and modify the EOIB parameters in its Infiniband configuration file to be set to start automatically at boot;

连接所述服务器节点至Infiniband交换机,连接所述Infiniband交换机至对应Infiniband网关,连接所述Infiniband网关至所述以太网交换机。Connecting the server node to an Infiniband switch, connecting the Infiniband switch to a corresponding Infiniband gateway, and connecting the Infiniband gateway to the Ethernet switch.

本发明实施例的多Infiniband网关的vNIC绑定方法通过利用网关的识别信息来区分多个Infiniband网关虚拟出的不同vNIC,并将区分出的vNIC绑定特定IP信息,使不同IP段通过确定的网关进行传输,从而实现了Infiniband网络和以太网络之间带宽的倍增,突破了Infiniband网络和以太网络之间的瓶颈,实现了两种不同类型网络之间的高速数据交换,而且在应用中根据不同IP网段对应的不同机器名,来选择IP网段和通过的Infiniband网关,实现了多Infiniband网关的负载均衡,尤其是在地震资料处理等大数据应用环境中效果更加明显。The vNIC binding method of multiple Infiniband gateways in the embodiment of the present invention distinguishes different vNICs virtualized by multiple Infiniband gateways by using the identification information of the gateways, and binds the distinguished vNICs to specific IP information, so that different IP segments pass through the determined Gateway for transmission, thereby realizing the multiplication of bandwidth between the Infiniband network and the Ethernet network, breaking through the bottleneck between the Infiniband network and the Ethernet network, and realizing high-speed data exchange between two different types of networks, and in applications according to different Different machine names corresponding to the IP network segment are used to select the IP network segment and the passed Infiniband gateway to achieve load balancing of multiple Infiniband gateways, especially in big data application environments such as seismic data processing.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described here are used to provide further understanding of the present invention, constitute a part of the application, and do not limit the present invention. In the attached picture:

图1为本发明实施例的多Infiniband网关的vNIC绑定方法的流程图。FIG. 1 is a flowchart of a vNIC binding method for multiple Infiniband gateways according to an embodiment of the present invention.

图2为本发明实施例的多Infiniband网关的vNIC绑定方法中对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,设置负载均衡模式,并加入到特定VLAN的流程图;Fig. 2 is that in the vNIC binding method of multiple Infiniband gateways in the embodiment of the present invention, port-channel port binding is performed on multiple Ethernet ports connected to each Infiniband gateway by an Ethernet switch, the load balancing mode is set, and added to a specific Flow chart of VLAN;

图3为本发明实施例的多Infiniband网关的vNIC绑定方法中各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN信息部分的流程图。Fig. 3 is the vNIC binding method of multiple Infiniband gateways in the embodiment of the present invention, the Ethernet ports in each Infiniband gateway are respectively port-channel port bound, generate correspondingly configured vNICs, and configure VLAN information for each port-channel port Part of the flowchart.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

下面结合附图,对本发明的具体实施方式作进一步的详细说明。The specific embodiment of the present invention will be further described in detail below in conjunction with the accompanying drawings.

请参阅图1所示,图1为本发明实施例的多Infiniband网关的vNIC绑定方法,具体包括以下步骤:Please refer to Figure 1, Figure 1 is a vNIC binding method for multiple Infiniband gateways according to an embodiment of the present invention, which specifically includes the following steps:

步骤S1、为Infiniband网络中所有节点安装EOIB驱动,并修改其Infiniband配置文件中EOIB参数,从而设置EOIB开机自动启动。其中,EOIB即为EOIB协议。Step S1, install EOIB drivers for all nodes in the Infiniband network, and modify EOIB parameters in their Infiniband configuration files, so as to set EOIB to start automatically when booting. Among them, EOIB is the EOIB agreement.

步骤S2、连接服务器节点至Infiniband交换机,连接Infiniband交换机至对应Infiniband网关,连接Infiniband网关至以太网交换机。Step S2, connect the server node to the Infiniband switch, connect the Infiniband switch to the corresponding Infiniband gateway, and connect the Infiniband gateway to the Ethernet switch.

步骤S3、对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,从而使port-channel端口和Infiniband网关一一对应,设置负载均衡模式,并加入到特定VLAN,将以太网交换机端多个以太网端口进行端口绑定,通过端口汇聚增加以太网和Infiniband网络之间的链路带宽,并且起到负载均衡的作用。Step S3, perform port-channel port binding on the multiple Ethernet ports connected to the Infiniband gateways on the Ethernet switch, so that the port-channel ports correspond to the Infiniband gateways one by one, set the load balancing mode, and add to a specific VLAN , Bind multiple Ethernet ports on the Ethernet switch side, increase the link bandwidth between the Ethernet and Infiniband network through port aggregation, and play a role in load balancing.

步骤S4、将各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN信息。从而完成Infiniband网关端的以太网端口绑定,通过和以太网交换机两端同时实现端口绑定,从而达到增大以太网和Infiniband网络之间的带宽,起到负载均衡作用。而通过做完port-channel之后配置vNIC实现了通过EOIB协议为每台服务器配置相应的vNIC。Step S4, bind the Ethernet ports in each Infiniband gateway as port-channel ports, generate correspondingly configured vNICs, and configure VLAN information for each port-channel port. In this way, the Ethernet port binding on the Infiniband gateway side is completed, and the port binding is realized at both ends of the Ethernet switch at the same time, so as to increase the bandwidth between the Ethernet and the Infiniband network and play a load balancing role. By configuring the vNIC after port-channel is completed, the corresponding vNIC is configured for each server through the EOIB protocol.

步骤S5、Infiniband网络中的服务器节点获取各vNIC信息。Step S5, the server node in the Infiniband network obtains the information of each vNIC.

步骤S6、Infiniband网络中的服务器节点从获取vNIC信息中得到Infiniband网关标识BX_GUID。具体为,在Infiniband网络的服务器节点查询所有的vNIC信息,获取对应vNIC信息中的Infiniband网关名称(BX_NAME)和Infiniband网关ID(BX_GUID),区分不同vNIC对应的网关信息,从而为实现不同Infiniband网关配置不同的IP段,为同一Infiniband网关生成的vNIC配置同一个IP段判断的依据。Step S6, the server node in the Infiniband network obtains the Infiniband gateway identifier BX_GUID from the obtained vNIC information. Specifically, query all vNIC information on the server node of the Infiniband network, obtain the Infiniband gateway name (BX_NAME) and Infiniband gateway ID (BX_GUID) in the corresponding vNIC information, and distinguish the gateway information corresponding to different vNICs, so as to realize different Infiniband gateway configurations Different IP segments, the basis for judging that the same IP segment is configured for vNICs generated by the same Infiniband gateway.

步骤S7、根据网关标识不同,将不同的vNIC分别绑定指定的IP地址信息,使不同的IP段通过确定的Infiniband网关进行传输。Step S7, according to different gateway identifiers, bind different vNICs to specified IP address information, so that different IP segments are transmitted through the determined Infiniband gateway.

步骤S8、Infiniband网络中的服务器节点重启各vNIC。Step S8, the server node in the Infiniband network restarts each vNIC.

步骤S9、对Infiniband网络进行opensm子网管理配置,并重启子网管理服务。。Step S9, performing opensm subnet management configuration on the Infiniband network, and restarting the subnet management service. .

此外,在本发明实施例中,由于可以为不同的数据传输作业分配在不同节点,因此在数据传输作业中可以通过指定不同的机器名称从而使不同数据传输通过不同网关,例如,BX1_ibm**为ibm**节点的通过Infiniband网关1生成的网段对应的服务器节点名称,BX2_ibm**为ibm**节点的通过Infiniband网关2生成的网段对应的服务器节点名称,最终达到降低Infiniband网关负载,提高传输效率的目的。In addition, in the embodiment of the present invention, since different data transmission jobs can be assigned to different nodes, different machine names can be specified in the data transmission job so that different data transmissions can pass through different gateways, for example, BX1_ibm** is The server node name corresponding to the network segment generated by the ibm** node through Infiniband gateway 1, BX2_ibm** is the server node name corresponding to the network segment generated by the Infiniband gateway 2 of the ibm** node, and finally reduces the Infiniband gateway load and improves The purpose of transmission efficiency.

结合图2所示,上述步骤S3中将以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,从而使port-channel和Infiniband网关一一对应,并配置特定VLAN信息的具体步骤如下:As shown in Figure 2, in the above step S3, the multiple Ethernet ports connected to the Infiniband gateways of the Ethernet switch are respectively port-channel port bound, so that the port-channel and the Infiniband gateways correspond one-to-one, and a specific VLAN is configured The specific steps of the information are as follows:

步骤S301、设置各Infiniband网关的以太网端口为swithport模式。Step S301, setting the Ethernet port of each Infiniband gateway to switchport mode.

步骤S302、启用各以太网端口。Step S302, enabling each Ethernet port.

步骤S303、创建port-channel端口绑定,使其与Infiniband网关一一对应。Step S303 , creating port-channel port bindings so that they correspond one-to-one with Infiniband gateways.

步骤S304、添加创建的port-channel端口的描述信息。Step S304, adding description information of the created port-channel port.

步骤S305、为创建的port-channel端口添加对应的以太网端口。Step S305, adding a corresponding Ethernet port to the created port-channel port.

步骤S306、启用创建的port-channel端口;Step S306, enabling the created port-channel port;

步骤S307、为以太网交换机创建多个和Infiniband网关一一对应的VLAN。Step S307, creating multiple VLANs corresponding to the Infiniband gateways for the Ethernet switch.

步骤S308、为各VLAN添加VLAN描述信息。Step S308, adding VLAN description information for each VLAN.

步骤S309、配置各VLAN网络信息。Step S309, configuring the network information of each VLAN.

步骤S310、为各VLAN添加指定的以太网交换机中port-channel端口,并使port-channel端口、VLAN和Infniband网关一一对应。Step S310, adding designated port-channel ports in the Ethernet switch for each VLAN, and making a one-to-one correspondence between port-channel ports, VLANs, and Infniband gateways.

步骤S311、启用VLAN段。Step S311, enable the VLAN segment.

结合图3所示,上述步骤S4中Infiniband网关中各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN信息,具体过程如下:As shown in Figure 3, the Ethernet ports in the Infiniband gateways in the Infiniband gateways in the above step S4 are port-channel port bound respectively, correspondingly configured vNICs are generated, and VLAN information is configured for each port-channel port. The specific process is as follows :

步骤S401、各Infiniband网关分别创建port-channel端口。Step S401, each Infiniband gateway creates a port-channel port respectively.

步骤S402、启用各Infiniband网关的port-channel端口。Step S402, enable the port-channel port of each Infiniband gateway.

步骤S403、设置各Infiniband网关的port-channel管理方式。Step S403, setting the port-channel management mode of each Infiniband gateway.

步骤S404、为各Infiniband网关的port-channel分别创建指定的VLAN。Step S404, creating designated VLANs for the port-channels of each Infiniband gateway.

步骤S405、开启eport端口。Step S405, open the eport port.

步骤S406、关闭lacp协议。Step S406, closing the lacp protocol.

本发明实施例的多Infiniband网关的vNIC绑定方案使得数据通过多个网关进行传输,大大拓宽以太网络和Infiniband网络之间的带宽,解决了两种网络之间的带宽瓶颈问题,同时,通过自动识别不同Infiniband网关,能够使得各服务器节点的网络配置自动绑到不同的网关上,使节点网络自动分布到不同的网关,从而最终实现不仅大大增加两种网络之间的带宽,同时增加集群内部数据传输过程中在不同Infiniband网关之间的负载均衡和合理分布。The vNIC binding scheme of multiple Infiniband gateways in the embodiment of the present invention enables data to be transmitted through multiple gateways, greatly widens the bandwidth between the Ethernet network and the Infiniband network, and solves the bandwidth bottleneck problem between the two networks. At the same time, through automatic Identifying different Infiniband gateways can enable the network configuration of each server node to be automatically bound to different gateways, so that the node network is automatically distributed to different gateways, so that it can not only greatly increase the bandwidth between the two networks, but also increase the internal data of the cluster. Load balancing and reasonable distribution among different Infiniband gateways during transmission.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (8)

1.一种多Infiniband网关的vNIC绑定方法,包括以下步骤:1. A vNIC binding method of many Infiniband gateways, comprising the following steps: 对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,从而使所述port-channel端口和Infiniband网关一一对应;Perform port-channel port binding on the multiple Ethernet ports connected to the Infiniband gateways of the Ethernet switch, so that the port-channel ports correspond to the Infiniband gateways one by one; 将所述各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC虚拟网络适配器,并为各port-channel端口配置VLAN信息;Bind the Ethernet ports in each Infiniband gateway as port-channel ports respectively, generate a correspondingly configured vNIC virtual network adapter, and configure VLAN information for each port-channel port; Infiniband网络中的服务器节点获取各vNIC信息,并从所述vNIC信息中获取对应的Infiniband网关标识;The server node in the Infiniband network obtains each vNIC information, and obtains the corresponding Infiniband gateway identifier from the vNIC information; 所述Infiniband网络中的服务器节点根据Infiniband网关标识,对每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息,使不同的IP段通过确定的Infiniband网关进行传输。According to the Infiniband gateway identifier, the server node in the Infiniband network binds the specified IP address information to the correspondingly generated vNIC of each Infiniband gateway, so that different IP segments are transmitted through the determined Infiniband gateway. 2.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,在所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定之后,还包括:2. the vNIC binding method of many Infiniband gateways according to claim 1, after the multiple ethernet ports that are connected to each Infiniband gateway to the Ethernet switches are respectively done port-channel port binding, it also includes: 为所述以太网交换机中各port-channel端口设置负载均衡模式;Load balancing mode is set for each port-channel port in the Ethernet switch; 为所述以太网交换机创建多个VLAN虚拟局域网,并配置相应的VLAN信息;Create a plurality of VLAN virtual local area networks for the Ethernet switch, and configure corresponding VLAN information; 将所述以太网交换机中各port-channel端口分别加入到指定的VLAN中。Add each port-channel port in the Ethernet switch to a designated VLAN respectively. 3.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,在所述Infiniband网络中的服务器节点根据Infiniband网关标识,对所述每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息之后,还包括:3. the vNIC binding method of many Infiniband gateways according to claim 1, the server node in the Infiniband network according to the Infiniband gateway identification, binds the specified IP address information to the vNIC correspondingly generated by each Infiniband gateway After that, also include: 所述Infiniband网络中的服务器节点重启各vNIC;The server nodes in the Infiniband network restart each vNIC; 对所述Infiniband网络进行opensm子网管理配置,并重启子网管理服务。Perform opensm subnet management configuration on the Infiniband network, and restart the subnet management service. 4.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定,具体包括:4. the vNIC binding method of many Infiniband gateways according to claim 1, described to be connected to a plurality of ethernet ports of each Infiniband gateway to Ethernet switch respectively do port-channel port binding, specifically comprise: 设置各Infiniband网关的以太网端口为swithport模式;Set the Ethernet port of each Infiniband gateway to switchport mode; 启用各以太网端口;Enable each Ethernet port; 创建port-channel端口绑定,使其与所述Infiniband网关一一对应;Create a port-channel port binding so that it corresponds to the Infiniband gateway one by one; 添加所述创建的port-channel端口的描述信息;Add description information of the created port-channel port; 为所述创建的port-channel端口添加对应的以太网端口;Add the corresponding Ethernet port for the created port-channel port; 启用所述创建的port-channel端口。Enable the port-channel port created as described. 5.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,所述将各Infiniband网关中的以太网端口分别做port-channel端口绑定,生成相应配置的vNIC,并为各port-channel端口配置VLAN信息,具体包括:5. the vNIC binding method of many Infiniband gateways according to claim 1, described Ethernet port in each Infiniband gateway is done port-channel port binding respectively, generates the vNIC of corresponding configuration, and for each port-channel Port configuration VLAN information, including: 所述各Infiniband网关分别创建port-channel端口;Each of the Infiniband gateways creates a port-channel port respectively; 启用各Infiniband网关的port-channel端口;Enable the port-channel port of each Infiniband gateway; 设置各Infiniband网关的port-channel管理方式;Set the port-channel management mode of each Infiniband gateway; 为各Infiniband网关的port-channel分别创建指定的VLAN;Create designated VLANs for the port-channels of each Infiniband gateway; 开启eport端口;Open the eport port; 关闭lacp链路汇聚控制协议。Disable the lacp link aggregation control protocol. 6.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,所述Infiniband网络中的服务器节点根据Infiniband网关标识,对所述每个Infiniband网关对应生成的vNIC绑定指定的IP地址信息,具体包括:6. the vNIC binding method of many Infiniband gateways according to claim 1, the server node in the Infiniband network according to the Infiniband gateway identification, binds the specified IP address information to the vNIC correspondingly generated by each Infiniband gateway, Specifically include: 根据各vNIC中的Infiniband网关标识信息逐一确认该vNIC属于哪个网关;Confirm which gateway the vNIC belongs to one by one according to the Infiniband gateway identification information in each vNIC; 将与该vNIC所属Infiniband网关对应的服务器节点中网卡配置信息写入该vNIC的配置文件中。Write the network card configuration information in the server node corresponding to the Infiniband gateway to which the vNIC belongs to the configuration file of the vNIC. 7.根据权利要求2所述的多Infiniband网关的vNIC绑定方法,所述为以太网交换机创建多个VLAN,并配置相应的VLAN信息,具体包括:7. The vNIC binding method of many Infiniband gateways according to claim 2, described creating a plurality of VLANs for Ethernet switches, and configuring corresponding VLAN information, specifically includes: 为所述以太网交换机创建多个与Infiniband网关一一对应的VLAN;Create a plurality of VLANs corresponding to the Infiniband gateway one by one for the Ethernet switch; 为各VLAN添加VLAN描述信息;Add VLAN description information for each VLAN; 配置所述各VLAN网络信息;Configure the network information of each VLAN; 为各VLAN添加指定的以太网交换机中的port-channel端口,并使port-channel端口、VLAN和Infniband网关一一对应;Add the port-channel port in the designated Ethernet switch for each VLAN, and make the port-channel port, VLAN and Infniband gateway correspond one-to-one; 启用所述VLAN段。Enable the VLAN segment. 8.根据权利要求1所述的多Infiniband网关的vNIC绑定方法,在所述对以太网交换机连接至各Infiniband网关的多个以太网端口分别做port-channel端口绑定之前,还包括:8. The vNIC binding method of many Infiniband gateways according to claim 1, before the multiple Ethernet ports that are connected to each Infiniband gateway to the Ethernet switch, do port-channel port binding respectively, further comprising: 为所述Infiniband网络中所有节点安装EOIB驱动,并修改其Infiniband配置文件中EOIB参数,以设为开机自启动;Install EOIB drivers for all nodes in the Infiniband network, and modify the EOIB parameters in its Infiniband configuration file to be set to start automatically at boot; 连接所述服务器节点至Infiniband交换机,连接所述Infiniband交换机至对应Infiniband网关,连接所述Infiniband网关至所述以太网交换机。Connecting the server node to an Infiniband switch, connecting the Infiniband switch to a corresponding Infiniband gateway, and connecting the Infiniband gateway to the Ethernet switch.
CN201310349336.4A 2013-08-12 2013-08-12 Method for vNIC binding of multiple Infiniband gateways Active CN103457844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310349336.4A CN103457844B (en) 2013-08-12 2013-08-12 Method for vNIC binding of multiple Infiniband gateways

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310349336.4A CN103457844B (en) 2013-08-12 2013-08-12 Method for vNIC binding of multiple Infiniband gateways

Publications (2)

Publication Number Publication Date
CN103457844A CN103457844A (en) 2013-12-18
CN103457844B true CN103457844B (en) 2016-12-28

Family

ID=49739821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310349336.4A Active CN103457844B (en) 2013-08-12 2013-08-12 Method for vNIC binding of multiple Infiniband gateways

Country Status (1)

Country Link
CN (1) CN103457844B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897653A (en) * 2014-11-28 2016-08-24 韩成阳 High-performance mobile device framework
US10178027B2 (en) 2016-01-27 2019-01-08 Oracle International Corporation System and method for supporting inter subnet partitions in a high performance computing environment
US10171353B2 (en) 2016-03-04 2019-01-01 Oracle International Corporation System and method for supporting dual-port virtual router in a high performance computing environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232281A (en) * 2008-11-13 2011-11-02 Q逻辑公司 Method and system for network switch element
CN103125102A (en) * 2010-09-17 2013-05-29 甲骨文国际公司 System and method for providing InfiniBand based Ethernet virtual hub scalability in a middleware machine environment
CN103140851A (en) * 2010-09-15 2013-06-05 甲骨文国际公司 System including a middleware machine environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6963932B2 (en) * 2002-01-30 2005-11-08 Intel Corporation Intermediate driver having a fail-over function for a virtual network interface card in a system utilizing Infiniband architecture
US7072352B2 (en) * 2002-02-21 2006-07-04 Intel Corporation Inverse multiplexing of unmanaged traffic flows over a multi-star network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232281A (en) * 2008-11-13 2011-11-02 Q逻辑公司 Method and system for network switch element
CN103140851A (en) * 2010-09-15 2013-06-05 甲骨文国际公司 System including a middleware machine environment
CN103125102A (en) * 2010-09-17 2013-05-29 甲骨文国际公司 System and method for providing InfiniBand based Ethernet virtual hub scalability in a middleware machine environment

Also Published As

Publication number Publication date
CN103457844A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
US11252063B2 (en) System and method for obtaining micro-service telemetry data
CN114363021B (en) Network target range system, virtual network implementation method and device of network target range system
CN103477588B (en) The classification of Network and management method and system between blade in blade server
US10411966B2 (en) Host network analyzer
US9282019B2 (en) Tracing logical network packets through physical network
US9197529B2 (en) Tracing network packets through logical and physical networks
US8634415B2 (en) Method and system for routing network traffic for a blade server
CN105706043A (en) Boosting linked list throughput
KR101720360B1 (en) Copy circumvention in a virtual network environment
EP2843906A1 (en) Method, apparatus, and system for data transmission
US10171292B1 (en) Deploying a cloud infrastructure in a remote site
US20150163072A1 (en) Virtual Port Extender
CN103457844B (en) Method for vNIC binding of multiple Infiniband gateways
Calarco et al. On the effectiveness of linux containers for network virtualization
US11126249B1 (en) Power reduction methods for variable sized tables
Autefage et al. Network emulator: a network virtualization testbed for overlay experimentations
Balman et al. Experiences with 100gbps network applications
CN108512737B (en) A method for data center IP layer interconnection and SDN controller
DE102013210336B4 (en) Mechanisms for distributed routing in a virtual switch, enabled through a structure based on TRILL
CN117499248A (en) A virtual-real hybrid networking device and its networking method based on port mapping
Shpiner et al. SAL: Scaling data centers using smart address learning
Danielis et al. Emulation of SDN-supported automation networks
CN109039909A (en) A kind of method and device of message forwarding
Shaoka et al. Deployment and Performance Evaluation of Virtual Network based on OpenStack
Rivera et al. Creating complex testbed networks to explore SDN-based all-campus science DMZs

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