CN102946366A - In-band management method and system - Google Patents

In-band management method and system Download PDF

Info

Publication number
CN102946366A
CN102946366A CN2012104508108A CN201210450810A CN102946366A CN 102946366 A CN102946366 A CN 102946366A CN 2012104508108 A CN2012104508108 A CN 2012104508108A CN 201210450810 A CN201210450810 A CN 201210450810A CN 102946366 A CN102946366 A CN 102946366A
Authority
CN
China
Prior art keywords
module
network interface
interface card
band management
subscriber
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104508108A
Other languages
Chinese (zh)
Other versions
CN102946366B (en
Inventor
李迪挺
张羽
严春宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Hangzhou Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Huawei Digital Technologies Co Ltd filed Critical Hangzhou Huawei Digital Technologies Co Ltd
Priority to CN201210450810.8A priority Critical patent/CN102946366B/en
Publication of CN102946366A publication Critical patent/CN102946366A/en
Application granted granted Critical
Publication of CN102946366B publication Critical patent/CN102946366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an in-band management method and a system, which relates to the technical field of a computer, and solves the problems in the prior art that the in-band management efficiency is low and the cost is low. The method is applied to the in-band management system. The system comprises a management module, a personal computer (PC) internet (IE) exchanging module and a first network card supporting single root input output virtualization (SR-IOV) or a second network card supporting multi-root input output virtualization (MR-IOV), and the method comprises the following steps that the management module recognizes the type of a network card which is connected with the PC IE exchanging module; if the recognized type of the network card is the first network card, vision frequency (VF) modules are divided on the first network card so as to respectively allocate the VF module to a user host and the management module, which are connected with the PC IE exchanging module; the management module adopts the VF module as an in-band management network card to be communicated with the user host; if the recognized type of the network card is the second network card, pulse frequency (PF) modules are respectively allocated to the user host and the management module, which are connected onto the PC IE exchanging module; and the management module adopts the RF module as the in-band management network card to be communicated with the user host. The in-band management method and the in-band management system are applicable to the in-band management technology.

Description

The in-band management method and system
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of in-band management method and system.
Background technology
Network management generally can be divided into in-band management and outband management dual mode.Wherein, in-band management refers to that the bearer service information exchange of the managing control information of network and user network crosses same logic channel and transmit.Flow at management data is less, and when the transfer management data were not obvious to the performance impact of whole network, in-band management can be employed, to save the logic channel resource.
Current in-band management is the management that administration module carries out subscriber's main station, administration module need to pass through network controller sideband interface (Network Cont ro ll er S i deband I nt erface generally speaking, be called for short NC-S I) network interface card of connection, and a subscriber's main station also will be connected on this network interface card, to communicate with administration module.In addition, administration module can also connect exchange processing module (for example network switch) in Ethernet, and subscriber's main station is connected with this exchange processing module by network interface, thereby administration module can be communicated by letter with subscriber's main station by this exchange processing module, thereby subscriber's main station is carried out in-band management.
In the process that realizes the embodiment of the invention, the inventor finds that there are the following problems at least in the prior art:
The in-band management of prior art need to realize in Ethernet, the efficient of in-band management is low, if adopt simultaneously by NC-S I connection network interface card and realize in-band management, administration module only can subscriber's main station of in-band management by a network interface card, when administration module needs many subscriber's main stations of in-band management, needing increases a large amount of network interface cards, causes the cost of in-band management higher.
Summary of the invention
The invention provides a kind of in-band management method and system, the efficient that can solve in-band management of the prior art is low, and needs a large amount of network interface cards, causes the higher problem of cost of in-band management.
For achieving the above object, the present invention adopts following technical scheme:
First aspect, a kind of in-band management method is provided, be applied to a kind of in-band management system, described in-band management system comprises administration module, described in-band management system also comprises the quick peripheral assembly interface PCI E Switching Module that is connected with described administration module, described PCI E Switching Module is connected with the first network interface card of supporting the virtual SR-IOV of single input and output or is connected with the second network interface card of supporting the many virtual MR-IOV of input and output, described the first network interface card comprises hardware capability PF module, described the second network interface card comprises basic function BF module and one or more PF module, and described method comprises:
The type of the network interface card that administration module identification is connected with described PCIE Switching Module;
If recognizing the type of described network interface card is the first network interface card, by the PF module on described the first network interface card, divide virtual functions VF module at described the first network interface card, think that the subscriber's main station and the administration module that connect on the described PC I E Switching Module distribute respectively described VF module;
Administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the VF module that is assigned to self;
If recognizing the type of described network interface card is the second network interface card, by the BF module on described the second network interface card, for subscriber's main station and the administration module that connects on the described PCIE Switching Module distributes respectively the PF module;
Administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the PF module that is assigned to self.
In conjunction with described first aspect, described by the PF module on described the first network interface card in the first implementation of described first aspect, divide virtual functions VF module at described the first network interface card, comprising:
By the PF module on described the first network interface card, the quantity of described VF module is set, and is each VF module assignment address space and configuration media access control MAC address, wherein different VF modules has different MAC Address.
In conjunction with described first aspect, in the second implementation of described first aspect, at described administration module with the VF module that is assigned to self as the in-band management network interface card, before the subscriber's main station that is connected on the described PCI E Switching Module communicates, comprising:
Administration module loads the described driving that is assigned to the VF module of self, is described VF block configuration IP address, and the I P address of described VF module and business network are in different VLANs.
In conjunction with described first aspect, described first aspect the 3rd in the implementation, at described administration module with the PF module that is assigned to self as the in-band management network interface card, before the subscriber's main station that is connected on the described PCIE Switching Module communicates, comprising:
Administration module loads the described driving that is assigned to the PF module of self, is described PF block configuration IP address, and the I P address of described PF module and business network are in different VLANs.
In conjunction with described first aspect, in the 4th kind of implementation of described first aspect,,, for distributing respectively after the PF module, the subscriber's main station that connects on the described PCIE Switching Module and administration module comprising by the BF module on described the second network interface card described:
Divide virtual functions VF module in described PF module, think that the subscriber's main station that connects on the described PCIE Switching Module distributes described VF module.
In conjunction with described first aspect, in the 5th kind of implementation of described first aspect, described PCIE Switching Module is the PCIE switching matrix that a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation form.
Second aspect, a kind of in-band management system is provided, comprise administration module, described in-band management system also comprises the quick peripheral assembly interface PCIE Switching Module that is connected with described administration module, described PCIE Switching Module is connected with the first network interface card of supporting the virtual SR-IOV of single input and output or is connected with the second network interface card of supporting the many virtual MR-IOV of input and output, described the first network interface card comprises hardware capability PF module, described the second network interface card comprises basic function BF module and one or more PF module, described administration module comprises:
Recognition unit is for the type of identifying the network interface card that is connected with described PCI E Switching Module;
The network interface card processing unit, if being used for recognizing the type of described network interface card is the first network interface card, by the PF module on described the first network interface card, divide virtual functions VF module at described the first network interface card, think that the subscriber's main station and the administration module that connect on the described PCI E Switching Module distribute respectively described VF module;
Communication unit is used for the VF module that is assigned to self communicating with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card;
Described network interface card processing unit is if be the second network interface card for the type that recognizes described network interface card also, by the BF module on described the second network interface card, for subscriber's main station and the administration module that connects on the described PCIE Switching Module distributes respectively the PF module;
Described communication unit also is used for the PF module that is assigned to self communicating with the subscriber's main station that is connected on the described PCIE Switching Module as the in-band management network interface card.
In conjunction with described second aspect, in the first implementation of described second aspect, described network interface card processing unit specifically is used for:
By the PF module on described the first network interface card, the quantity of described VF module is set, and is each VF module assignment address space and configuration media access control MAC address, wherein different VF modules has different MAC Address.
In conjunction with described second aspect, in the second implementation of described second aspect, described administration module also comprises:
Allocation unit is used for loading the described driving that is assigned to the VF module of self, is described VF block configuration IP address, and the IP address of described VF module and business network are in different VLANs.
In conjunction with described second aspect, in the third implementation of described second aspect, described administration module also comprises:
Allocation unit is used for administration module and loads the described driving that is assigned to the PF module of self, is described PF block configuration IP address, and the IP address of described PF module and business network are in different VLANs.
In conjunction with described second aspect, in the 4th kind of implementation of described second aspect, described administration module also comprises:
The Microsoft Loopback Adapter processing unit is used for dividing virtual functions VF module in described PF module, thinks that the subscriber's main station that connects on the described PCIE Switching Module distributes described VF module.
In conjunction with described second aspect, in the 5th kind of implementation of described second aspect, described PCIE Switching Module is the PCIE switching matrix that a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation form.
The in-band management method and system that the embodiment of the invention provides, because administration module connects the first network interface card or the second network interface card by the PCIE Switching Module, realized that administration module is undertaken by PC I E network with communicating by letter of subscriber's main station, and divide the VF module with as Microsoft Loopback Adapter at the first network interface card, perhaps with the PF module on the second network interface card as Microsoft Loopback Adapter, administration module and subscriber's main station communicate by Microsoft Loopback Adapter, realize in-band management, administration module and subscriber's main station share same the first network interface card or the second network interface card.And in the prior art, administration module is fixed against Ethernet with communicating by letter of subscriber's main station, and administration module only can carry out in-band management to a subscriber's main station by a network interface card.Therefore the present invention realizes in-band management by PCI E network, PCI E network transmission speed is faster than Ethernet speed, thereby so that the efficient of in-band management improves, simultaneously administration module can be realized in-band management to many subscriber's main stations by a network interface card, save the network interface card resource, thereby reduced the cost of in-band management.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the in-band management method that Fig. 1 provides for the embodiment of the invention;
The flow chart of the in-band management method that Fig. 2 provides for further embodiment of this invention;
The flow chart of the in-band management method that Fig. 3 provides for another embodiment of the present invention;
The structural representation one of the in-band management system that Fig. 4 (a) provides for the embodiment of the invention;
The structural representation two of the in-band management system that Fig. 4 (b) provides for the embodiment of the invention;
The structural representation three of the in-band management system that Fig. 5 (a) provides for the embodiment of the invention;
The structural representation four of the in-band management system that Fig. 5 (b) provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
As shown in Figure 1, the in-band management method that the embodiment of the invention provides, be applied to a kind of in-band management system, described in-band management system comprises administration module, described in-band management system also comprises quick peripheral assembly interface (the Peripheral Component Interconnection Expre s s that is connected with described administration module, be called for short PCI E) Switching Module, described PCI E Switching Module is connected with supports virtual (the Single Root-IO Vi rtualization of single input and output, be called for short SR-IOV) the first network interface card or be connected with and support many virtual (the Multi Root-I O Vi r tua li za ti on of input and output, abbreviation MR-I OV) the second network interface card, described the first network interface card comprises hardware capability (Physical Function, be called for short PF) module, described the second network interface card comprises basic function (Ba si c Func ti on, be called for short BF) module and one or more PF module, described method comprises:
101, administration module is identified the type of the network interface card that is connected with described PCI E Switching Module.
If 102 types that recognize described network interface card are the first network interface card, by the PF module on described the first network interface card, divide virtual functions (Vi s ua l Func ti at described the first network interface card, be called for short VF) module, think that the subscriber's main station and the administration module that connect on the described PCIE Switching Module distribute respectively described VF module.
Concrete, under described the first network interface card, can configure a plurality of VF modules by the PF module, when described PCIE Switching Module is connected with a plurality of subscriber's main station, each subscriber's main station all can shine upon a VF module, this moment, the VF module was equivalent to Microsoft Loopback Adapter, and administration module also is mapped with a VF module simultaneously, thereby administration module can communicate by ICP/IP protocol and each subscriber's main station.
103, administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the VF module that is assigned to self.
If 104 types that recognize described network interface card are the second network interface card, by the BF module on described the second network interface card, for subscriber's main station and the administration module that connects on the described PCIE Switching Module distributes respectively the PF module.
Concrete, under described the second network interface card, PF module on the second network interface card can be distributed by the BF module, wherein administration module need to configure a PF module, and each subscriber's main station that is connected with described PCIE Switching Module can every all distributes a PF module, this moment, described PF module was equivalent to physical network card, thereby administration module can communicate by ICP/IP protocol and each subscriber's main station.
105, administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the PF module that is assigned to self.
Concrete, described PCIE Switching Module can be the PCIE switching matrix of a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation composition, but not only is confined to this.
What deserves to be explained is that described administration module is logic module, can be processor, field programmable gate array (Field-Programmable Gate Array, be called for short FPGA) etc. circuit realize, described administration module can be connected with network management server or be used for the computer of network management, but not only is confined to this.
The in-band management method that the embodiment of the invention provides, because administration module connects the first network interface card or the second network interface card by the PCIE Switching Module, realized that administration module is undertaken by the PCIE network with communicating by letter of subscriber's main station, and divide the VF module with as Microsoft Loopback Adapter at the first network interface card, perhaps with the PF module on the second network interface card as Microsoft Loopback Adapter, administration module and subscriber's main station communicate by Microsoft Loopback Adapter, realize in-band management, administration module and subscriber's main station share same the first network interface card or the second network interface card.And in the prior art, administration module is fixed against Ethernet with communicating by letter of subscriber's main station, and administration module only can carry out in-band management to a subscriber's main station by a network interface card.Therefore the present invention realizes in-band management by PCI E network, PCI E network transmission speed is faster than Ethernet speed, thereby so that the efficient of in-band management improves, simultaneously administration module can be realized in-band management to many subscriber's main stations by a network interface card, save the network interface card resource, thereby reduced the cost of in-band management.
As shown in Figure 2, the in-band management method that further embodiment of this invention provides, be applied to a kind of in-band management system, described in-band management system comprises administration module, described in-band management system also comprises quick peripheral assembly interface (the Peripheral Component InterconnectionExpres s that is connected with described administration module, be called for short PCIE) Switching Module, described PCIE Switching Module is connected with supports virtual (the Single Root-IO Virtualization of single input and output, abbreviation SR-IOV) the first network interface card, described the first network interface card comprises hardware capability (Physical Function, be called for short PF) module, described method comprises:
201, administration module powers on, and initialization self system.
Concrete, administration module initialization self system manages the module self check, and initialization I/O pin and supervisor state etc. are so that administration module can normally move.
202, administration module carries out initialization to the PCIE Switching Module.
Concrete, administration module also needs the upstream and downstream state of the port of PCI allocation E Switching Module, the address space of port etc., but not only is confined to this.
203, administration module is identified the type of the network interface card that is connected with described PCI E Switching Module.
If 204 types that recognize described network interface card are the first network interface card, for described the first network interface card distributes address space.
205, administration module loads the driving of the PF module on described the first network interface card, by the PF module on described the first network interface card, the quantity of described VF module is set, and is each VF module assignment address space and configuration media access control MAC address.
Wherein, different VF modules has different MAC Address.Concrete, under described the first network interface card, can configure a plurality of VF modules by the PF module, when described PCI E Switching Module is connected with a plurality of subscriber's main station, each subscriber's main station all can shine upon a VF module, this moment, the VF module was equivalent to Microsoft Loopback Adapter, and administration module also is mapped with a VF module simultaneously, thereby administration module can communicate by ICP/IP protocol and each subscriber's main station.
206, administration module for self be connected the subscriber's main station that connects on the PCIE Switching Module and distribute respectively described VF module.
207, administration module loads the described driving that is assigned to the VF module of self, is described VF block configuration IP address.
Wherein, the IP address of described VF module and business network are in different VLANs.Realized so the relative isolation of supervising the network and business network.
208, administration module, communicates with the subscriber's main station that is connected on the described PCIE Switching Module as the in-band management network interface card with the VF module that is assigned to self.
Concrete, described administration module can carry out temperature sensor control, heat dissipation equipment management, equipment fault detection and recovery etc. to subscriber's main station to the in-band management that subscriber's main station carries out, but not only is confined to this.
What deserves to be explained is that described administration module is logic module, can be processor, field programmable gate array (Field-Programmable Gate Array, be called for short FPGA) etc. circuit realize, described administration module can be connected with network management server or be used for the computer of network management, but not only is confined to this.
The in-band management method that the embodiment of the invention provides, because administration module connects the first network interface card by the PCIE Switching Module, realized that administration module is undertaken by the PCIE network with communicating by letter of subscriber's main station, and divide the VF module with as Microsoft Loopback Adapter at the first network interface card, administration module and subscriber's main station communicate by Microsoft Loopback Adapter, realize in-band management, administration module and subscriber's main station share same the first network interface card.And in the prior art, administration module is fixed against Ethernet with communicating by letter of subscriber's main station, and administration module only can carry out in-band management to a subscriber's main station by a network interface card.Therefore the present invention realizes in-band management by the PCIE network, the PCIE network transmission speed is faster than Ethernet speed, thereby so that the efficient of in-band management improves, simultaneously administration module can be realized in-band management to many subscriber's main stations by a network interface card, save the network interface card resource, thereby reduced the cost of in-band management.
As shown in Figure 3, the in-band management method that another embodiment of the present invention provides, be applied to a kind of in-band management system, described in-band management system comprises administration module, described in-band management system also comprises quick peripheral assembly interface (the Peripheral Component InterconnectionExpress that is connected with described administration module, be called for short PCIE) Switching Module, described PCIE Switching Module is connected with supports many virtual (the MultiRoot-IO Virtualization of input and output, abbreviation MR-IOV) the second network interface card, described the second network interface card comprises basic function (Basic Function, be called for short BF) module and one or more PF module, described method comprises:
301, administration module powers on, and initialization self system.
Concrete, administration module initialization self system manages the module self check, and initialization I/O pin and supervisor state etc. are so that administration module can normally move.
302, administration module carries out initialization to the PCIE Switching Module.
Concrete, administration module also needs the upstream and downstream state of the port of PCI allocation E Switching Module, the address space of port etc., but not only is confined to this.
303, administration module is identified the type of the network interface card that is connected with described PCI E Switching Module.
If 304 types that recognize described network interface card are the second network interface card, for described the second network interface card distributes address space.
305, administration module loads the driving of the BF module on described the second network interface card, by the BF module on described the second network interface card, for self be connected the subscriber's main station that connects on the PCIE Switching Module and distribute respectively described PF module.
Concrete, under described the second network interface card, PF module on the second network interface card can be distributed by the BF module, wherein administration module need to configure a PF module, and each subscriber's main station that is connected with described PCIE Switching Module can every all distributes a PF module, this moment, described PF module was equivalent to physical network card, thereby administration module can communicate by ICP/IP protocol and each subscriber's main station.
306, administration module loads the described driving that is assigned to the PF module of self, is described PF block configuration IP address.
Wherein, the IP address of described PF module and business network are in different VLANs.Realized so the relative isolation of supervising the network and business network.
307, administration module, communicates with the subscriber's main station that is connected on the described PCIE Switching Module as the in-band management network interface card with the VF module that is assigned to self.
Concrete, described administration module can carry out temperature sensor control, heat dissipation equipment management, equipment fault detection and recovery etc. to subscriber's main station to the in-band management that subscriber's main station carries out, but not only is confined to this.
In addition, above-mentioned steps 306-307 can also be substituted by following steps:
308, divide virtual functions VF module in described PF module, think administration module self and be connected the subscriber's main station that connects on the PCIE Switching Module and distribute described VF module.
309, administration module loads the described driving that is assigned to the VF module of self, is described VF block configuration IP address.
Wherein, the IP address of described VF module and business network are in different VLANs.
310, administration module, communicates with the subscriber's main station that is connected on the described PCIE Switching Module as the in-band management network interface card with the VF module that is assigned to self.
Concrete, by in described PF module, dividing a plurality of VF modules, each VF module is equivalent to a Microsoft Loopback Adapter, can be mapped to more subscriber's main station, thereby so that administration module can carry out in-band management to more subscriber's main station by second network interface card.
What deserves to be explained is that described administration module is logic module, can be processor, field programmable gate array (Field-Programmable Gate Array, be called for short FPGA) etc. circuit realize, described administration module can be connected with network management server or be used for the computer of network management, but not only is confined to this.
The in-band management method that the embodiment of the invention provides, because administration module connects the second network interface card by the PCIE Switching Module, realized that administration module is undertaken by the PCIE network with communicating by letter of subscriber's main station, with the PF module on the second network interface card as Microsoft Loopback Adapter, administration module and subscriber's main station communicate by Microsoft Loopback Adapter, realize in-band management, administration module and subscriber's main station share same the second network interface card.And in the prior art, administration module is fixed against Ethernet with communicating by letter of subscriber's main station, and administration module only can carry out in-band management to a subscriber's main station by a network interface card.Therefore the present invention realizes in-band management by the PCIE network, the PCIE network transmission speed is faster than Ethernet speed, thereby so that the efficient of in-band management improves, simultaneously administration module can be realized in-band management to many subscriber's main stations by a network interface card, save the network interface card resource, thereby reduced the cost of in-band management.
Shown in Fig. 4 (a) and Fig. 4 (b), the in-band management system that the embodiment of the invention provides, comprise administration module 41, described in-band management system also comprises the quick peripheral assembly interface PCIE Switching Module 42 that is connected with described administration module 41, in Fig. 4 (a), described PCIE Switching Module 42 is connected with the first network interface card 43 of supporting the virtual SR-IOV of single input and output or in Fig. 4 (b), described PCIE Switching Module 42 is connected with the second network interface card 44 of supporting the many virtual MR-IOV of input and output, described the first network interface card 43 comprises hardware capability PF module 45, and described the second network interface card 44 comprises basic function BF module 46 and one or more PF module 45.
Concrete, the described administration module 41 general hardware lines that pass through are connected with the host side interface of PCIE Switching Module 42.Because the in-band management data volume is limited, described host port can be that administration module 41 is by the PCIE line connection of a pair of differential signal.In addition, administration module 41 can also connect by another management port of described PCIE Switching Module 42 to the PCIE line of differential signal, managing described PCIE Switching Module 42, and is connected to equipment on the described PCIE Switching Module 42 etc.When administration module is realized management to the PCIE Switching Module, can carry out the configuration of PC I E global address space, PC I E equipment hot swap, link management, mismanage etc. to PCI E Switching Module 42, but not only be confined to this.
Concrete, described a plurality of subscriber's main stations can be connected on the described PCI E Switching Module 42, and are concrete, and each subscriber's main station goes out on the NT port or uplink port on the power board that the ROOT port is connected to PCIE Switching Module 42.Wherein, described a plurality of main frames are separate, and each subscriber's main station all has basic operating system separately etc., can communicate by letter mutually by PCIE Switching Module 42 between subscriber's main station.
Described administration module 41 comprises:
Recognition unit 411 is for the type of identifying the network interface card that is connected with described PCIE Switching Module 42.
Network interface card processing unit 412, if being used for recognizing the type of described network interface card is the first network interface card 43, by the PF module 45 on described the first network interface card 43, divide virtual functions VF module 47 at described the first network interface card 43, think that the subscriber's main station and the administration module 41 that connect on the described PCIE Switching Module 42 distribute respectively described VF module 47;
Communication unit 413 is used for the VF module 47 that is assigned to self communicating with the subscriber's main station that is connected on the described PCIE Switching Module 42 as the in-band management network interface card;
Described network interface card processing unit 412 is if be the second network interface card 44 for the type that recognizes described network interface card also, by the BF module 46 on described the second network interface card 44, for subscriber's main station and the administration module 41 that connects on the described PCIE Switching Module 42 distributes respectively PF module 45;
Described communication unit 413 also is used for the PF module 45 that is assigned to self communicating with the subscriber's main station that is connected on the described PCIE Switching Module 42 as the in-band management network interface card.
Concrete, shown in Fig. 5 (a), described network interface card processing unit 412 specifically is used for:
PF module 45 by on described the first network interface card 43 arranges the quantity of described VF module 47, and is that each VF module 47 is distributed address space and configuration media access control MAC address, and wherein 47 of different VF moulds have different MAC Address.
Further, shown in Fig. 5 (a), described administration module 41 also comprises:
Allocation unit 414 is used for loading the described driving that is assigned to the VF module 47 of self, is described VF module 47 configuration of IP address.
Wherein, the IP address of described VF module and business network are in different VLANs.
Further, shown in Fig. 5 (b), described administration module 41 also comprises:
Allocation unit 414 is used for administration module 41 and loads the described driving that is assigned to the PF module 45 of self, is described PF module 45 configuration I P addresses, and the IP address of described PF module 45 and business network are in different VLANs.
Further, shown in Fig. 5 (b), described administration module 41 also comprises:
Microsoft Loopback Adapter processing unit 415 is used for dividing virtual functions VF module 47 in described PF module 45, thinks that the subscriber's main station that connects on the described PCIE Switching Module 42 distributes described VF module 47.
Concrete, described PCIE Switching Module 45 can be the PCIE switching matrix of a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation composition, but not only is confined to this.
The in-band management system that the embodiment of the invention provides, because administration module connects the first network interface card or the second network interface card by the PCIE Switching Module, realized that administration module is undertaken by the PCIE network with communicating by letter of subscriber's main station, and divide the VF module with as Microsoft Loopback Adapter at the first network interface card, perhaps with the PF module on the second network interface card as Microsoft Loopback Adapter, administration module and subscriber's main station communicate by Microsoft Loopback Adapter, realize in-band management, administration module and subscriber's main station share same the first network interface card or the second network interface card.And in the prior art, administration module is fixed against Ethernet with communicating by letter of subscriber's main station, and administration module only can carry out in-band management to a subscriber's main station by a network interface card.Therefore the present invention realizes in-band management by the PCIE network, the PCIE network transmission speed is faster than Ethernet speed, thereby so that the efficient of in-band management improves, simultaneously administration module can be realized in-band management to many subscriber's main stations by a network interface card, save the network interface card resource, thereby reduced the cost of in-band management.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (12)

1. in-band management method, be applied to a kind of in-band management system, described in-band management system comprises administration module, it is characterized in that, described in-band management system also comprises the quick peripheral assembly interface PCIE Switching Module that is connected with described administration module, described PCI E Switching Module is connected with the first network interface card of supporting the virtual SR-I OV of single input and output or is connected with the second network interface card of supporting the many virtual MR-I OV of input and output, described the first network interface card comprises hardware capability PF module, described the second network interface card comprises basic function BF module and one or more PF module, and described method comprises:
The type of the network interface card that administration module identification is connected with described PCIE Switching Module;
If recognizing the type of described network interface card is the first network interface card, by the PF module on described the first network interface card, divide virtual functions VF module at described the first network interface card, think that the subscriber's main station and the administration module that connect on the described PCI E Switching Module distribute respectively described VF module;
Administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the VF module that is assigned to self;
If recognizing the type of described network interface card is the second network interface card, by the BF module on described the second network interface card, for subscriber's main station and the administration module that connects on the described PCIE Switching Module distributes respectively the PF module;
Administration module, communicates with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card with the PF module that is assigned to self.
2. method according to claim 1 is characterized in that, and is described by the PF module on described the first network interface card, divides virtual functions VF module at described the first network interface card, comprising:
By the PF module on described the first network interface card, the quantity of described VF module is set, and is each VF module assignment address space and configuration media access control MAC address, wherein different VF modules has different MAC Address.
3. method according to claim 1 is characterized in that, at described administration module with the VF module that is assigned to self as the in-band management network interface card, before the subscriber's main station that is connected on the described PCI E Switching Module communicates, comprising:
Administration module loads the described driving that is assigned to the VF module of self, is described VF block configuration IP address, and the I P address of described VF module and business network are in different VLANs.
4. method according to claim 1 is characterized in that, at described administration module with the PF module that is assigned to self as the in-band management network interface card, before the subscriber's main station that is connected on the described PCI E Switching Module communicates, comprising:
Administration module loads the described driving that is assigned to the PF module of self, is described PF block configuration IP address, and the I P address of described PF module and business network are in different VLANs.
5. method according to claim 1 is characterized in that,,, comprising for the subscriber's main station that connects on the described PC I E Switching Module and administration module distribute respectively after the PF module by the BF module on described the second network interface card described:
Divide virtual functions VF module in described PF module, think that the subscriber's main station that connects on the described PCIE Switching Module distributes described VF module.
6. method according to claim 1 is characterized in that, described PCIE Switching Module is the PCIE switching matrix that a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation form.
7. in-band management system, comprise administration module, it is characterized in that, described in-band management system also comprises the quick peripheral assembly interface PCIE Switching Module that is connected with described administration module, described PCIE Switching Module is connected with the first network interface card of supporting the virtual SR-I OV of single input and output or is connected with the second network interface card of supporting the many virtual MR-IOV of input and output, described the first network interface card comprises hardware capability PF module, described the second network interface card comprises basic function BF module and one or more PF module, described administration module comprises:
Recognition unit is for the type of identifying the network interface card that is connected with described PCI E Switching Module;
The network interface card processing unit, if being used for recognizing the type of described network interface card is the first network interface card, by the PF module on described the first network interface card, divide virtual functions VF module at described the first network interface card, think that the subscriber's main station and the administration module that connect on the described PCI E Switching Module distribute respectively described VF module;
Communication unit is used for the VF module that is assigned to self communicating with the subscriber's main station that is connected on the described PCI E Switching Module as the in-band management network interface card;
Described network interface card processing unit is if be the second network interface card for the type that recognizes described network interface card also, by the BF module on described the second network interface card, for subscriber's main station and the administration module that connects on the described PCIE Switching Module distributes respectively the PF module;
Described communication unit also is used for the PF module that is assigned to self communicating with the subscriber's main station that is connected on the described PCIE Switching Module as the in-band management network interface card.
8. system according to claim 7 is characterized in that, described network interface card processing unit specifically is used for:
By the PF module on described the first network interface card, the quantity of described VF module is set, and is each VF module assignment address space and configuration media access control MAC address, wherein different VF modules has different MAC Address.
9. system according to claim 7 is characterized in that, described administration module also comprises:
Allocation unit is used for loading the described driving that is assigned to the VF module of self, is described VF block configuration IP address, and the IP address of described VF module and business network are in different VLANs.
10. system according to claim 7 is characterized in that, described administration module also comprises:
Allocation unit is used for administration module and loads the described driving that is assigned to the PF module of self, is described PF block configuration IP address, and the IP address of described PF module and business network are in different VLANs.
11. system according to claim 7 is characterized in that, described administration module also comprises:
The Microsoft Loopback Adapter processing unit is used for dividing virtual functions VF module in described PF module, thinks that the subscriber's main station that connects on the described PCIE Switching Module distributes described VF module.
12. system according to claim 7 is characterized in that, described PCIE Switching Module is the PCIE switching matrix that a PCIE exchange chip, a PCIE switch or a plurality of PCIE switch concatenation form.
CN201210450810.8A 2012-11-12 2012-11-12 In-band management method and system Active CN102946366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210450810.8A CN102946366B (en) 2012-11-12 2012-11-12 In-band management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210450810.8A CN102946366B (en) 2012-11-12 2012-11-12 In-band management method and system

Publications (2)

Publication Number Publication Date
CN102946366A true CN102946366A (en) 2013-02-27
CN102946366B CN102946366B (en) 2015-12-16

Family

ID=47729274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210450810.8A Active CN102946366B (en) 2012-11-12 2012-11-12 In-band management method and system

Country Status (1)

Country Link
CN (1) CN102946366B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103609077A (en) * 2013-06-18 2014-02-26 华为技术有限公司 Method, apparatus and system for data transmission, and physical adapter
CN104168135A (en) * 2014-08-06 2014-11-26 中国船舶重工集团公司第七0九研究所 Network card resource pooling management method and system
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium
WO2016184283A1 (en) * 2015-05-19 2016-11-24 腾讯科技(深圳)有限公司 Data stream management method and system for virtual machine
CN106250211A (en) * 2016-08-05 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtualization implementation method based on SR_IOV
CN107005495A (en) * 2017-01-20 2017-08-01 华为技术有限公司 Method, network interface card, host device and computer system for forwarding packet
CN107026852A (en) * 2017-03-22 2017-08-08 中电长城网际系统应用广东有限公司 A kind of method for solving the network performance bottleneck in extensive video cloud application
CN109639446A (en) * 2017-10-09 2019-04-16 阿里巴巴集团控股有限公司 FPGA device, the cloud system based on FPGA device
CN109657471A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Cloud equipment management system and method
CN110515869A (en) * 2018-05-22 2019-11-29 杭州海康威视数字技术股份有限公司 More Host CPU level linked methods and system
WO2022252085A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Computer system and bus flow control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1686724A2 (en) * 2005-01-31 2006-08-02 Broadcom Corporation In-band access of management registers
CN101227329A (en) * 2008-02-18 2008-07-23 华为技术有限公司 System, apparatus and method for managing network device
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
US20090276773A1 (en) * 2008-05-05 2009-11-05 International Business Machines Corporation Multi-Root I/O Virtualization Using Separate Management Facilities of Multiple Logical Partitions
US20090276551A1 (en) * 2008-05-05 2009-11-05 International Business Machines Corporation Native and Non-Native I/O Virtualization in a Single Adapter
CN101719873A (en) * 2009-12-11 2010-06-02 曙光信息产业(北京)有限公司 Kilomega virtual network card
CN101977139A (en) * 2010-07-28 2011-02-16 北京星网锐捷网络技术有限公司 Route retransmission realization device and method, and switching equipment
CN102591702A (en) * 2011-12-31 2012-07-18 华为技术有限公司 Virtualization processing method, related device and computer system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1686724A2 (en) * 2005-01-31 2006-08-02 Broadcom Corporation In-band access of management registers
CN101227329A (en) * 2008-02-18 2008-07-23 华为技术有限公司 System, apparatus and method for managing network device
US20090276773A1 (en) * 2008-05-05 2009-11-05 International Business Machines Corporation Multi-Root I/O Virtualization Using Separate Management Facilities of Multiple Logical Partitions
US20090276551A1 (en) * 2008-05-05 2009-11-05 International Business Machines Corporation Native and Non-Native I/O Virtualization in a Single Adapter
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
CN101719873A (en) * 2009-12-11 2010-06-02 曙光信息产业(北京)有限公司 Kilomega virtual network card
CN101977139A (en) * 2010-07-28 2011-02-16 北京星网锐捷网络技术有限公司 Route retransmission realization device and method, and switching equipment
CN102591702A (en) * 2011-12-31 2012-07-18 华为技术有限公司 Virtualization processing method, related device and computer system

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014201623A1 (en) * 2013-06-18 2014-12-24 华为技术有限公司 Method, apparatus and system for data transmission, and physical network card
CN103609077B (en) * 2013-06-18 2017-02-22 华为技术有限公司 Method, apparatus and system for data transmission, and physical adapter
CN103609077A (en) * 2013-06-18 2014-02-26 华为技术有限公司 Method, apparatus and system for data transmission, and physical adapter
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium
CN104767838B (en) * 2014-01-06 2020-02-21 三星电子株式会社 Micro server, method of assigning MAC address, and computer-readable recording medium
CN104168135A (en) * 2014-08-06 2014-11-26 中国船舶重工集团公司第七0九研究所 Network card resource pooling management method and system
CN104168135B (en) * 2014-08-06 2018-11-02 中国船舶重工集团公司第七0九研究所 Network interface card resource pool management method and system
US10348624B2 (en) 2015-05-19 2019-07-09 Tencent Technology (Shenzhen) Company Limited Virtual machine data flow management method and system
WO2016184283A1 (en) * 2015-05-19 2016-11-24 腾讯科技(深圳)有限公司 Data stream management method and system for virtual machine
CN106302322A (en) * 2015-05-19 2017-01-04 腾讯科技(深圳)有限公司 A kind of virtual-machine data flow management method and system
CN106302322B (en) * 2015-05-19 2020-05-26 腾讯科技(深圳)有限公司 Virtual machine data flow management method and system
CN106250211A (en) * 2016-08-05 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtualization implementation method based on SR_IOV
CN107005495B (en) * 2017-01-20 2020-03-27 华为技术有限公司 Method, network card, host device and computer system for forwarding data packets
US10462056B2 (en) 2017-01-20 2019-10-29 Huawei Technologies Co., Ltd. Data packet forwarding method, network adapter, host device, and computer system
WO2018133035A1 (en) * 2017-01-20 2018-07-26 华为技术有限公司 Method, network card, host device and computer system for forwarding data packages
CN107005495A (en) * 2017-01-20 2017-08-01 华为技术有限公司 Method, network interface card, host device and computer system for forwarding packet
US11252087B2 (en) 2017-01-20 2022-02-15 Huawei Technologies Co., Ltd. Data packet forwarding method, network adapter, host device, and computer system
US11805058B2 (en) 2017-01-20 2023-10-31 Huawei Technologies Co., Ltd. Data packet forwarding method, network adapter, host device, and computer system
CN107026852A (en) * 2017-03-22 2017-08-08 中电长城网际系统应用广东有限公司 A kind of method for solving the network performance bottleneck in extensive video cloud application
CN109639446A (en) * 2017-10-09 2019-04-16 阿里巴巴集团控股有限公司 FPGA device, the cloud system based on FPGA device
CN109657471A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Cloud equipment management system and method
CN109657471B (en) * 2017-10-11 2023-02-28 阿里巴巴集团控股有限公司 Cloud equipment management system and method
CN110515869A (en) * 2018-05-22 2019-11-29 杭州海康威视数字技术股份有限公司 More Host CPU level linked methods and system
CN110515869B (en) * 2018-05-22 2021-09-21 杭州海康威视数字技术股份有限公司 Multi-Host CPU cascading method and system
WO2022252085A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Computer system and bus flow control method

Also Published As

Publication number Publication date
CN102946366B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN102946366A (en) In-band management method and system
CN110489365B (en) Switching device, peripheral component interconnect express system and initialization method thereof
US10515043B2 (en) Smart interface card control method and apparatus through a virtualized management interface
CN106301859B (en) Method, device and system for managing network card
US8972611B2 (en) Multi-server consolidated input/output (IO) device
CN108255755A (en) PCIE functional universal communication interface modules based on FPGA
CN101242371A (en) Method, system and device router overlapping based on PCIe exchange architecture
US8566416B2 (en) Method and system for accessing storage device
CN103023824A (en) Peripheral component interconnect-express (PCIe) based data transmission system and method
CN110636139B (en) Optimization method and system for cloud load balancing
CN103634225A (en) Service bandwidth expansion method in cloud computing network virtualization
CN103609077A (en) Method, apparatus and system for data transmission, and physical adapter
CN102752219A (en) Method for implementing virtual device (VD) interconnection and switching equipment
CN101303677B (en) Method and system for controlling accessing direct memory as well as controller
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN103412838A (en) Expansion system, communication method, address configuration method, equipment and device
CN210324188U (en) Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof
US20130322455A1 (en) Switch system and method for operating a switch
CN110515869B (en) Multi-Host CPU cascading method and system
CN104104594A (en) Methods of transmitting and receiving protocol message of VSU, devices and system
CN103634277A (en) Memory sharing method, server and system
CN210270889U (en) Intelligent analysis expansion equipment and server
CN108833306B (en) VSM system message transmission device and method
US20120324139A1 (en) Wireless communication for point-to-point serial link protocol
US20110090924A1 (en) System to connect a serial scsi array controller to a storage area network

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
TR01 Transfer of patent right

Effective date of registration: 20200420

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

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: Room 301, building a, building 3, No. 301, Binxing Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Huawei Technologies Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211227

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

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

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right