A management communication method, device, equipment and medium

By introducing a switching processor into the server + smart network card system, the resource waste problem under the BMC out-of-band management mode is solved, and efficient management communication and secure data transmission are achieved.

CN118748640BActive Publication Date: 2025-09-09INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411090398.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-09-09
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The current BMC out-of-band management method for the server + smart network card system wastes IP resources and hardware network port resources.

Method used

A switching processor is introduced into the entire system, and the intelligent network card and the server's BMC are connected through its port. The network interface of the switching processor is used to access the management network, and the same virtual LAN identifier and static IP address are assigned to its port to realize the centralized transmission and management of BMC data.

Benefits of technology

It saves IP resources and hardware network port resources, improves the management efficiency of the management network for the BMC of the entire system, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748640B_ABST
    Figure CN118748640B_ABST
Patent Text Reader

Abstract

The present invention discloses a management communication method, device, equipment and medium, which relate to the field of server technology. The solution is based on a complete system including a smart network card and a server, and a switching processor is provided for communication between the complete system and the management network. The switching processor connects the BMC of the smart network card and the BMC of the server through a first port and a second port respectively, and the third port of the switching processor is connected to the management network through a network interface, so that only one hardware network port and IP address need to be allocated to the complete system, which greatly saves IP resources and hardware network port resources. When performing management communication with the BMC of the complete system, the smart network card is used as the main device to transmit the management data of its own BMC and the management data of the server BMC to the management network through the switching processor. The management efficiency of the management network for the BMC of the complete system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of server technology, and in particular to a management communication method, device, equipment and medium. Background Art

[0002] Currently, mature server + Smart Network Interface Card (SmartNIC) systems on the market generally use separate management, treating the server and SmartNIC as two independent devices. Both the server's Baseboard Management Controller (BMC) and the SmartNIC's BMC require basic out-of-band management capabilities, meaning network access to the BMC to monitor and maintain the server or SmartNIC.

[0003] Figure 1 This is a diagram of a common server + smart network card system. Figure 1 As shown, the BMC has two built-in Media Access Control (MAC) modules: one is a shared network port shared with the CPU; the other is a dedicated network port exclusively used by the BMC. Currently, the server's BMC and the SmartNIC's BMC each use their own dedicated network ports to implement BMC out-of-band management. This requires connecting two network cables to an external management switch and assigning Internet Protocol (IP) addresses to each of the two dedicated network ports, wasting IP and hardware network port resources.

[0004] In view of the above problems, how to solve the current BMC out-of-band management method of the server + smart network card system that wastes IP resources and hardware network port resources is an urgent problem that needs to be solved by technical personnel in this field. Summary of the Invention

[0005] The purpose of the present invention is to provide a management communication method, apparatus, device and medium to solve the problem that the BMC out-of-band management method of the current server + smart network card system wastes IP resources and hardware network port resources.

[0006] To solve the above technical problems, the present invention provides a management communication method, which is applied to a whole system including a smart network card and a server; wherein the smart network card is provided with a switching processor; a dedicated network port of a first baseboard management controller of the smart network card is communicatively connected to a first port of the switching processor; a dedicated network port of a second baseboard management controller of the server is communicatively connected to a second port of the switching processor; and a third port of the switching processor is connected to a management network via a network interface; the method comprises:

[0007] Monitor the management network's management requests to the baseboard management controller in the entire system;

[0008] When a first management request to the first baseboard management controller is received, the first management request is transmitted to the first baseboard management controller through the switching processor, so that the first baseboard management controller generates first management data according to the first management request;

[0009] transmitting the first management data to the management network through the switching processor;

[0010] When receiving a second management request to the second baseboard management controller, transmitting the second management request to the first baseboard management controller through the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller through the switching processor;

[0011] The second management data is transmitted to the management network through the switch processor.

[0012] On the one hand, before the monitoring management network sends a management request to the baseboard management controller in the entire system, the method further includes:

[0013] assigning a same virtual local area network identifier to the first port and the second port of the switch processor;

[0014] Based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, respectively create a first virtual network port and a second virtual network port; wherein the virtual local area network tag of the first virtual network port and the virtual local area network tag of the second virtual network port both include the virtual local area network identifier;

[0015] A first static Internet Protocol address is configured for the first virtual network port, and a second static Internet Protocol address is configured for the second virtual network port.

[0016] On the other hand, the specific process of the second baseboard management controller pre-generating the second management data and transmitting the second management data to the first baseboard management controller through the switching processor includes:

[0017] Generate, by the first baseboard management controller, a data acquisition request for the second baseboard management controller; wherein the data acquisition request represents a request for acquiring sensor information, status information, and logs of the second baseboard management controller;

[0018] Based on the first baseboard management controller, a request data packet is generated according to the data acquisition request and the virtual local area network tag;

[0019] Acquire, based on the first baseboard management controller, a second static Internet Protocol address of the second virtual network port;

[0020] Based on the first baseboard management controller, sending the request data packet to the second virtual network port of the second baseboard management controller according to the second static Internet Protocol address of the second virtual network port;

[0021] When the second baseboard management controller receives the request data packet, it parses the request data packet to obtain a data acquisition request and a virtual local area network tag;

[0022] Determining whether the virtual local area network label is correct by the second baseboard management controller;

[0023] If the second baseboard management controller confirms that the virtual local area network tag is correct, it generates corresponding second management data according to the data acquisition request; wherein the second management data includes sensor information, status information and log of the second baseboard management controller;

[0024] Based on the second baseboard management controller, a feedback data packet is generated according to the second management data and the virtual local area network tag;

[0025] Acquire, based on the second baseboard management controller, a first static Internet Protocol address of the first virtual network port;

[0026] Based on the second baseboard management controller, a feedback data packet is sent to the first virtual network port of the first baseboard management controller according to the first static Internet protocol address of the first virtual network port, so that the first baseboard management controller parses the feedback data packet to obtain the second management data.

[0027] On the other hand, the first central processor of the smart network card is communicatively connected to the fourth port of the switching processor via a first physical layer transmitter; the second central processor of the server is communicatively connected to the fifth port of the switching processor via a second physical layer transmitter;

[0028] The virtual local area network identifiers of the first port, the second port, the fourth port and the fifth port are the same.

[0029] On the other hand, it also includes:

[0030] Monitor and manage network management requests to the central processor of the entire system;

[0031] When a third management request is received for the first central processor, the third management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines third management data according to the third management request; wherein the third management data is pre-generated by the first central processor and transmitted to the first baseboard management controller via the switching processor;

[0032] transmitting the third management data to the management network through the switching processor;

[0033] When a fourth management request is received for the second central processor, the fourth management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines fourth management data according to the fourth management request; wherein the fourth management data is pre-generated by the second central processor and transmitted to the first baseboard management controller via the switching processor;

[0034] The fourth management data is transmitted to the management network through the switch processor.

[0035] On the other hand, the first baseboard management controller of the smart network card is connected to the second baseboard management controller of the server via a preset communication bus;

[0036] The second baseboard management controller of the server creates a virtual storage device through a preset communication bus, and stores sensor information, status information and logs of the second baseboard management controller in the virtual storage device.

[0037] On the other hand, it also includes:

[0038] outputting the first management data and / or the second management data via a web interface of the management network;

[0039] Generates management logs for the baseboard management controller in the entire system based on the management network.

[0040] To solve the above technical problems, the present invention further provides a management communication device, which is applied to a whole system including a smart network card and a server; wherein the smart network card is provided with a switching processor; a dedicated network port of a first baseboard management controller of the smart network card is communicatively connected to a first port of the switching processor; a dedicated network port of a second baseboard management controller of the server is communicatively connected to a second port of the switching processor; and a third port of the switching processor is connected to a management network via a network interface; the device comprises:

[0041] A monitoring module is used to monitor management requests from the management network to the baseboard management controller in the entire system;

[0042] a first transmission module, configured to, upon receiving a first management request to the first baseboard management controller, transmit the first management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller generates first management data according to the first management request;

[0043] a second transmission module, configured to transmit the first management data to a management network via the switching processor;

[0044] a third transmission module, configured to, upon receiving a second management request to the second baseboard management controller, transmit the second management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller via the switching processor;

[0045] The fourth transmission module is configured to transmit the second management data to the management network through the switching processor.

[0046] To solve the above technical problems, the present invention further provides a management communication device, comprising:

[0047] memory for storing computer programs;

[0048] A processor is configured to implement the steps of the above-mentioned communication management method when executing the computer program.

[0049] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned management communication method are implemented.

[0050] The management communication method provided by the present invention is applied to a whole system including a smart network card and a server; wherein a switching processor is provided in the smart network card; the dedicated network port of the first baseboard management controller of the smart network card is communicatively connected to the first port of the switching processor; the dedicated network port of the second baseboard management controller of the server is communicatively connected to the second port of the switching processor; the third port of the switching processor is connected to the management network through a network interface; the method specifically monitors the management request of the management network to the baseboard management controller in the whole system; when a first management request to the first baseboard management controller is received, the first management request is transmitted to the first baseboard management controller through the switching processor, so that the first baseboard management controller generates first management data according to the first management request; the first management data is transmitted to the management network through the switching processor; when a second management request to the second baseboard management controller is received, the second management request is transmitted to the first baseboard management controller through the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller through the switching processor; the second management data is transmitted to the management network through the switching processor.

[0051] The beneficial effect of the present invention is that, based on a whole system including a smart network card and a server, a switching processor is provided for communication between the whole system and a management network. The switching processor connects the BMC of the smart network card and the BMC of the server through the first port and the second port respectively, and the third port of the switching processor is connected to the management network through a network interface, so that only one hardware network port and IP address need to be allocated to the whole system, which greatly saves IP resources and hardware network port resources. When managing and communicating with the BMC of the whole system, the smart network card acts as the main device, and transmits the management data of its own BMC and the management data of the server BMC to the management network through the switching processor respectively. This improves the management efficiency of the management network for the BMC of the whole system.

[0052] On the other hand, the present invention specifically configures communication between the first and second baseboard management controllers by assigning the same virtual LAN identifier to the first and second ports of the switching processor, creating a first virtual network port and a second virtual network port based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, respectively, and configuring a first static Internet Protocol address for the first virtual network port and a second static Internet Protocol address for the second virtual network port. The first central processor of the smart network card is communicatively connected to the fourth port of the switching processor via a first physical layer transmitter; the second first central processor of the server is communicatively connected to the fifth port of the switching processor via a second physical layer transmitter; the virtual LAN identifiers of the first, second, fourth, and fifth ports of the switching processor are the same, so that when the first BMC communicates with other devices in the LAN, internal LAN messages will not be leaked to the external management network, thereby ensuring data security.

[0053] In addition, the present invention also provides a management communication device, equipment and medium, with the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0055] Figure 1 This is a diagram of a common server + smart network card system.

[0056] Figure 2 A schematic diagram of a server + intelligent network card system provided by an embodiment of the present invention;

[0057] Figure 3A flow chart of a communication management method provided by an embodiment of the present invention;

[0058] Figure 4 A schematic diagram of a management communication device provided by an embodiment of the present invention;

[0059] Figure 5 A schematic diagram of a communication management device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0061] The core of the present invention is to provide a management communication method, device, equipment and medium to solve the problem that the BMC out-of-band management method of the current server + smart network card system wastes IP resources and hardware network port resources.

[0062] In order to enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0063] Currently, mature server + SmartNIC systems generally adopt a separate management approach, treating the server and SmartNIC as two independent devices. Both the server BMC and the SmartNIC BMC need to have basic out-of-band management capabilities, that is, access the BMC through the network to monitor and maintain the server motherboard or network card.

[0064] The BMC has two built-in MAC modules. One shares the external network port with the central processing unit (CPU) through the onboard network card's Network Connectivity Status Indicator (NCSI) function, known as the shared network port. The other is a dedicated network port exclusively used by the BMC. Currently, server BMCs and SmartNIC BMCs each use their own two network ports to implement out-of-band management.

[0065] Smart NICs plug into the server motherboard's Peripheral Component Interconnect Express (PCIE) slots and are managed by their respective BMCs. Each BMC's two MAC modules each provide two network ports, equivalent to four out-of-band management IP addresses. This requires connecting four network cables to an external management switch, consuming significant IP and hardware network port resources. This design increases the complexity of network management and can lead to resource waste. To address these issues, the present invention provides a management communication method.

[0066] It should be noted that this method is applied to the entire system including the smart network card and the server. Figure 2 This is a schematic diagram of a server + intelligent network card system provided by an embodiment of the present invention. Figure 2 As shown, the smart network card is provided with a switching processor; the dedicated network port of the first BMC of the smart network card is communicatively connected to the first port of the switching processor; the dedicated network port of the second BMC of the server is communicatively connected to the second port of the switching processor; and the third port of the switching processor is connected to the management network via a network interface. It is understood that in this embodiment, the network interface can be preferably an RJ45 network port.

[0067] Figure 3 Flowchart of a communication management method provided by an embodiment of the present invention. Figure 3 As shown, the method includes:

[0068] S10: Monitoring the management network's management request to the baseboard management controller in the entire system.

[0069] In a specific implementation, the entire system monitors in real time the management network's management requests to the BMC in the entire system. It is understood that the management request to the BMC can be a management request to the first BMC of the smart network card, a management request to the second BMC of the server, or a management request to the first BMC of the smart network card and a management request to the second BMC of the server, and this is not limited in this embodiment.

[0070] S11 : When a first management request to the first baseboard management controller is received, the first management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller generates first management data according to the first management request.

[0071] S12: Transmit the first management data to the management network through the switching processor.

[0072] Furthermore, when a first management request to the first BMC of the smart network card is received, the first management request is transmitted to the first BMC via the switching processor, so that the first BMC generates first management data according to the first management request.

[0073] It should be noted that the first management request to the first BMC is at least a request to obtain the first BMC's sensor information, status information, and logs. Accordingly, the first management data generated by the first BMC in response to the first management request should at least include the first BMC's sensor information, status information, and logs. This embodiment imposes no restrictions on the first management request and its corresponding first management data.

[0074] Finally, after the first BMC of the smart network card generates the first management data, it dynamically obtains the Internet Protocol address of the management network and transmits the first management data to the first port of the switching processor through its dedicated network port, so that the switching processor transmits the first management data to the network interface through the third port, and finally transmits it to the management network by the network interface, thereby realizing management access of the management network to the first BMC.

[0075] S13: When a second management request to the second baseboard management controller is received, the second management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines second management data according to the second management request.

[0076] The second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller through the switching processor.

[0077] S14: Transmit the second management data to the management network through the switch processor.

[0078] Similarly, when a second management request to the second BMC of the server is received, the second management request is transmitted to the first BMC via the switching processor, so that the first BMC determines the second management data according to the second management request.

[0079] It should be noted that the second management request to the second BMC is at least a request to obtain the second BMC's sensor information, status information, and logs. Correspondingly, the second management data should at least include the second BMC's sensor information, status information, and logs. This embodiment does not impose any restrictions on the second management request and its corresponding second management data.

[0080] Furthermore, the second management data is pre-generated by the server's second BMC and transmitted to the first BMC via the switching processor. Upon receiving the second management request, the first BMC determines the second management data corresponding to the second management request from its own stored management data. Specifically, the first BMC of the smart network card pre-generates a data request from the second BMC, and the second BMC transmits the corresponding management data to the first BMC via the switching processor in response to the request, thereby storing the management data. The specific process by which the first BMC requests management data from the second BMC and stores the data is not limited in this embodiment and depends on the specific implementation.

[0081] Finally, after the first BMC of the smart network card determines the second management data, it dynamically obtains the Internet Protocol address of the management network and transmits the second management data to the first port of the switching processor through its dedicated network port, so that the switching processor transmits the first management data to the network interface through the third port, and finally transmits it to the management network by the network interface, thereby realizing management access of the management network to the second BMC.

[0082] In this embodiment, based on the whole system including the smart network card and the server, a switching processor is set for communication between the whole system and the management network. The switching processor connects to the BMC of the smart network card and the BMC of the server through the first port and the second port respectively, and the third port of the switching processor is connected to the management network through a network interface, so that only one hardware network port and IP address need to be allocated to the whole system, which greatly saves IP resources and hardware network port resources. When managing the BMC of the whole system, the smart network card acts as the main device, and transmits the management data of its own BMC and the management data of the server BMC to the management network through the switching processor. This improves the management efficiency of the management network for the BMC of the whole system.

[0083] Based on the above embodiment, in some embodiments, before the monitoring management network sends a management request to the baseboard management controller in the entire system, the method further includes:

[0084] S15: Allocate the same virtual local area network identifier to the first port and the second port of the switch processor.

[0085] S16: Based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, create a first virtual network port and a second virtual network port respectively.

[0086] The virtual local area network tag of the first virtual network port and the virtual local area network tag of the second virtual network port both include a virtual local area network identifier.

[0087] S17: Configure a first static Internet Protocol address for the first virtual network port, and configure a second static Internet Protocol address for the second virtual network port.

[0088] To establish communication between the first BMC of the smart network card and the second BMC of the server, in this embodiment, the first and second ports of the switch processor are assigned to the same virtual local area network (VLAN). Specifically, the first and second ports of the switch processor are assigned the same virtual local area network identifier (VLAN ID), for example, VLAN ID 1000. VLAN is a network technology that allows a physical local area network (LAN) to be divided into multiple logically independent subnetworks. Each subnetwork, called a VLAN, has its own broadcast domain and communication rules. In this embodiment, the first and second ports of the switch processor are assigned to the same VLAN, enabling communication within the VLAN.

[0089] Based on the private network port of the first BMC and the private network port of the second BMC, a first virtual network port and a second virtual network port are created, respectively. It's important to note that a virtual local area network tag (VLAN Tag) is a label used to carry VLAN ID information, and the VLAN ID is a unique identifier contained in the VLAN Tag. Simply put, the VLAN ID uniquely identifies a VLAN, while the VLAN Tag is the carrier used to transmit VLAN ID information in data packets. Therefore, the VLAN Tag of the first virtual network port and the VLAN Tag of the second virtual network port both contain VLAN IDs.

[0090] Finally, a first static Internet Protocol (IP) address is configured for the first virtual network port, and a second static IP address is configured for the second virtual network port. This allows data to be transmitted between the first and second BMCs using the first and second static IP addresses of the first and second virtual network ports, respectively, based on the VLAN.

[0091] In this embodiment, the same virtual LAN identifier is assigned to the first port and the second port of the switching processor, and a first virtual network port and a second virtual network port are created based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, respectively. A first static Internet Protocol address is configured for the first virtual network port, and a second static Internet Protocol address is configured for the second virtual network port, thereby realizing the configuration of communication between the first baseboard management controller and the second baseboard management controller.

[0092] Based on the above embodiment, in some embodiments, the second baseboard management controller pre-generates the second management data and transmits the second management data to the first baseboard management controller through the switching processor, including:

[0093] S130: Generate, by the first baseboard management controller, a data acquisition request to the second baseboard management controller; wherein the data acquisition request represents a request to acquire sensor information, status information, and logs of the second baseboard management controller;

[0094] S131: Based on the first baseboard management controller, generate a request data packet according to the data acquisition request and the virtual local area network tag;

[0095] S132: Acquire, based on the first baseboard management controller, a second static Internet Protocol address of the second virtual network port;

[0096] S133: Based on the first baseboard management controller, send the request data packet to the second virtual network port of the second baseboard management controller according to the second static Internet Protocol address of the second virtual network port;

[0097] S134: When the second baseboard management controller receives the request data packet, it parses the request data packet to obtain a data acquisition request and a virtual local area network tag;

[0098] S135: Determine whether the virtual local area network tag is correct by the second baseboard management controller; if the second baseboard management controller confirms that the virtual local area network tag is correct, proceed to step S136;

[0099] S136: Generate corresponding second management data according to the data acquisition request; wherein the second management data includes sensor information, status information and log of the second baseboard management controller;

[0100] S137: Generate, based on the second baseboard management controller, a feedback data packet according to the second management data and the virtual local area network tag;

[0101] S138: Acquire, based on the second baseboard management controller, a first static Internet Protocol address of the first virtual network port;

[0102] S139: Based on the second baseboard management controller, send the feedback data packet to the first virtual network port of the first baseboard management controller according to the first static Internet Protocol address of the first virtual network port, so that the first baseboard management controller parses the feedback data packet to obtain the second management data.

[0103] In a specific implementation, since the first and second ports of the switch processor are assigned to the same VLAN, the second BMC pre-generates the second management data and transmits it to the first BMC via the switch processor. Specifically, the first BMC generates a data acquisition request for the second BMC. It is understood that the data acquisition request represents a request to obtain sensor information, status information, and logs from the second BMC.

[0104] Furthermore, the first BMC generates a request data packet based on the data acquisition request and the VLAN Tag, and obtains the second static IP address of the second virtual network port of the second BMC. The first BMC then sends the request data packet to the second virtual network port of the second BMC based on the second static IP address of the second virtual network port.

[0105] When the second BMC receives the request packet, it parses it to obtain the data acquisition request and VLAN Tag. The second BMC then determines whether the VLAN Tag is correct. If the second BMC determines that the VLAN Tag is incorrect, the process ends. If the second BMC determines that the VLAN Tag is correct, it generates corresponding second management data based on the data acquisition request. The second management data includes the second BMC's sensor information, status information, and logs.

[0106] After generating the second management data, the second BMC generates a feedback data packet based on the second management data and the VLAN tag, and obtains the first static IP address of the first virtual network port. Furthermore, the second BMC sends the feedback data packet to the first virtual network port of the first BMC based on the first static IP address of the first virtual network port, so that the first BMC can parse the feedback data packet to obtain the second management data.

[0107] In this way, the transmission of management data from the second BMC to the first BMC is achieved.

[0108] Based on the above embodiments, in some embodiments, in order to enable the management network to perform management operations on the CPU of the smart network card and the CPU of the server, such as Figure 2 As shown, the first CPU of the smart network card is specifically connected to the fourth port of the switching processor through a first physical layer (PHY) transmitter; the second CPU of the server is connected to the fifth port of the switching processor through a second PHY transmitter.

[0109] It should be noted that the VLAN IDs of the first, second, fourth, and fifth ports of the switching processor are the same. Therefore, when the first BMC, second BMC, first CPU, and second CPU communicate, they can communicate through VLAN, thereby ensuring that internal LAN messages are not leaked to the external management network, ensuring data security.

[0110] Correspondingly, the management network's access to the CPU of the entire system is as follows:

[0111] S18: monitoring the management network's management request to the central processor of the entire system;

[0112] S19: When receiving a third management request to the first central processor, transmitting the third management request to the first baseboard management controller through the switching processor, so that the first baseboard management controller determines third management data according to the third management request;

[0113] The third management data is pre-generated by the first central processor and transmitted to the first baseboard management controller via the switching processor;

[0114] S20: Transmitting the third management data to the management network through the switching processor;

[0115] S21: When receiving a fourth management request to the second central processor, transmitting the fourth management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines fourth management data according to the fourth management request;

[0116] The fourth management data is pre-generated by the second central processor and transmitted to the first baseboard management controller via the switching processor;

[0117] S22: Transmit the fourth management data to the management network through the switch processor.

[0118] Specifically, the entire system monitors management requests from the management network to the CPU of the entire system. When a third management request to the first CPU is received, the third management request is transmitted to the first BMC via the switching processor. Specifically, the third management request is transmitted to the first BMC via the network interface, the third port of the switching processor, and the first port.

[0119] The first BMC determines the third management data based on the third management request. It should be noted that the third management data is pre-generated by the first CPU and transmitted to the first BMC via the switching processor. This process is similar to the data exchange between the first and second BMCs in the aforementioned embodiment, both of which are implemented based on VLANs and are not further described in this embodiment. Finally, the switching processor transmits the third management data to the management network, enabling the management network to obtain the management data of the first CPU.

[0120] When a fourth management request for the second CPU is received, the fourth management request is transmitted to the first BMC via the switch processor, specifically, sequentially via the network interface, the third port and the first port of the switch processor.

[0121] The first BMC determines the fourth management data based on the fourth management request. It should be noted that the fourth management data is pre-generated by the second CPU and transmitted to the first BMC via the switching processor. This process is similar to the data exchange between the first and second BMCs in the above-mentioned embodiment, both of which are implemented based on VLANs and are not further described in this embodiment. Finally, the fourth management data is transmitted to the management network via the switching processor, enabling the management network to obtain the management data of the second CPU.

[0122] In this way, the management network can access the CPU of the entire system.

[0123] Based on the above embodiments, in some embodiments, when VLAN configuration is not used to connect the SmartNIC and server, or when the server hardware is not VLAN-compatible, the first BMC of the SmartNIC and the second BMC of the server can be connected via a predefined communication bus. This embodiment does not limit the predefined communication bus and can, for example, be an Inter-Integrated Circuit (I2C) bus or a Universal Serial Bus (USB), depending on the specific implementation.

[0124] The first BMC is connected to the second BMC of the server through a preset communication bus to realize communication between the first BMC and the second BMC, so that the switch processor does not need any VLAN division. It only needs to ensure the connectivity between the first port and the third port of the switch processor and the normal access of the first BMC to the management network.

[0125] Furthermore, the server's second BMC can create a virtual storage device, such as an Electrically Erasable Programmable Read-Only Memory (EEPROM), through a preset communication bus, and store the second BMC's sensor information, status information, and logs in the virtual storage device for reading and processing by the first BMC.

[0126] Furthermore, when the first and second BMCs are connected via the I2C bus, they can also communicate with each other by implementing the in-band Intelligent Platform Management Bus (IPMB) protocol. This communication method utilizes in-band Intelligent Platform Management Interface (IPMI) commands, enabling the two BMCs to exchange various information.

[0127] When more complex information needs to be synchronized, such as event logs or image files that need to be transferred during firmware upgrades, the USB channel can be used to achieve this. For example, the log packets of the second BMC can be regularly synchronized to the first BMC via the USB channel for further analysis and management.

[0128] This approach enables efficient communication and data synchronization between the two BMCs, improving overall system management efficiency and reliability. Whether it's simple information transfer or complex data synchronization, you can choose the appropriate communication method and protocol based on your needs.

[0129] Based on the above embodiments, in some embodiments, the following further comprises:

[0130] S23: Outputting the first management data and / or the second management data through a web interface of the management network;

[0131] S24: Generate a management log for the baseboard management controller in the entire system based on the management network.

[0132] In a specific implementation, the system can provide users with output of the first management data and / or the second management data through the web interface of the management network. This data may include key information such as operating status, performance indicators, resource usage, and alarm information, helping users understand and manage the status of the entire system in real time.

[0133] Furthermore, based on the management network, the system can generate management logs for the baseboard management controllers (BMCs) in the entire system, including the primary and secondary BMCs. These logs record various BMC operations and events during system operation, including but not limited to system startup and shutdown records, fault and alarm records, configuration change records, and performance monitoring records. These management logs provide users with a comprehensive understanding of system operation, enabling them to promptly identify and resolve potential issues and optimize system performance and reliability.

[0134] In the above embodiments, the management communication method is described in detail. The present invention also provides corresponding embodiments of the management communication device.

[0135] Figure 4 A schematic diagram of a management communication device provided in an embodiment of the present invention. The device is applied to a complete system including a smart network card and a server; wherein the smart network card is provided with a switching processor; a dedicated network port of a first baseboard management controller of the smart network card is communicatively connected to a first port of the switching processor; a dedicated network port of a second baseboard management controller of the server is communicatively connected to a second port of the switching processor; a third port of the switching processor is connected to a management network via a network interface; Figure 4 As shown, the device includes:

[0136] Monitoring module 10, used to monitor the management network's management requests to the baseboard management controller in the entire system;

[0137] The first transmission module 11 is configured to, upon receiving a first management request to the first baseboard management controller, transmit the first management request to the first baseboard management controller through the switching processor, so that the first baseboard management controller generates first management data according to the first management request;

[0138] A second transmission module 12 is configured to transmit the first management data to the management network via the switching processor;

[0139] a third transmission module 13 configured to, upon receiving a second management request to the second baseboard management controller, transmit the second management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller via the switching processor;

[0140] The fourth transmission module 14 is configured to transmit the second management data to the management network via the switching processor.

[0141] In some embodiments, further comprising:

[0142] an allocating submodule, configured to allocate the same virtual local area network identifier to the first port and the second port of the switch processor;

[0143] A creation submodule is configured to create a first virtual network port and a second virtual network port based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, respectively; wherein the virtual local area network tag of the first virtual network port and the virtual local area network tag of the second virtual network port both include a virtual local area network identifier;

[0144] The configuration submodule is used to configure a first static Internet Protocol address of the first virtual network port and a second static Internet Protocol address of the second virtual network port.

[0145] In some embodiments, the second baseboard management controller pre-generates the second management data and transmits the second management data to the first baseboard management controller through the switching processor in the following specific process:

[0146] Generate, by the first baseboard management controller, a data acquisition request for the second baseboard management controller; wherein the data acquisition request represents a request for acquiring sensor information, status information, and logs of the second baseboard management controller;

[0147] Based on the first baseboard management controller, a request data packet is generated according to the data acquisition request and the virtual local area network tag;

[0148] Acquire, based on the first baseboard management controller, a second static Internet Protocol address of the second virtual network port;

[0149] Based on the first baseboard management controller, sending the request data packet to the second virtual network port of the second baseboard management controller according to the second static Internet Protocol address of the second virtual network port;

[0150] When the second baseboard management controller receives the request data packet, it parses the request data packet to obtain a data acquisition request and a virtual local area network tag;

[0151] Determining whether the virtual local area network label is correct by the second baseboard management controller;

[0152] If the second baseboard management controller confirms that the virtual local area network tag is correct, it generates corresponding second management data according to the data acquisition request; wherein the second management data includes sensor information, status information and log of the second baseboard management controller;

[0153] Based on the second baseboard management controller, a feedback data packet is generated according to the second management data and the virtual local area network tag;

[0154] Acquire, based on the second baseboard management controller, a first static Internet Protocol address of the first virtual network port;

[0155] Based on the second baseboard management controller, a feedback data packet is sent to the first virtual network port of the first baseboard management controller according to the first static Internet protocol address of the first virtual network port, so that the first baseboard management controller parses the feedback data packet to obtain the second management data.

[0156] In some embodiments, the first central processor of the smart network card is communicatively connected to the fourth port of the switch processor via a first physical layer transmitter; the second central processor of the server is communicatively connected to the fifth port of the switch processor via a second physical layer transmitter;

[0157] The virtual local area network identifiers of the first port, the second port, the fourth port and the fifth port are the same.

[0158] In some embodiments, further comprising:

[0159] The first monitoring submodule is used to monitor the management request of the management network to the central processing unit of the entire system;

[0160] a first transmission submodule, configured to, upon receiving a third management request to the first central processor, transmit the third management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines third management data according to the third management request; wherein the third management data is pre-generated by the first central processor and transmitted to the first baseboard management controller via the switching processor;

[0161] a second transmission submodule, configured to transmit the third management data to the management network via the switching processor;

[0162] a third transmission submodule, configured to, upon receiving a fourth management request to the second central processor, transmit the fourth management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines fourth management data according to the fourth management request; wherein the fourth management data is pre-generated by the second central processor and transmitted to the first baseboard management controller via the switching processor;

[0163] The fourth transmission submodule is configured to transmit the fourth management data to the management network through the switching processor.

[0164] In some embodiments, the first baseboard management controller of the smart network card is connected to the second baseboard management controller of the server via a preset communication bus;

[0165] The second baseboard management controller of the server creates a virtual storage device through a preset communication bus, and stores sensor information, status information and logs of the second baseboard management controller in the virtual storage device.

[0166] In some embodiments, further comprising:

[0167] an output submodule, configured to output the first management data and / or the second management data via a web interface of the management network;

[0168] The generation submodule is used to generate a management log for the baseboard management controller in the entire system based on the management network.

[0169] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, and they will not be repeated here.

[0170] Figure 5 This is a schematic diagram of a management communication device provided by an embodiment of the present invention. Figure 5 As shown, the management communication equipment includes:

[0171] Memory 20, for storing computer programs;

[0172] The processor 21 is configured to implement the steps of the communication management method mentioned in the above embodiment when executing a computer program.

[0173] The management communication device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0174] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented in at least one hardware form: a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU; the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is responsible for processing computing operations related to machine learning.

[0175] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the management communication method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to data related to the management communication method.

[0176] In some embodiments, the management communication device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0177] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the management communication device, and may include more or fewer components than shown in the figure.

[0178] In addition, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned management communication method when executed by a processor.

[0179] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiment.

[0180] It is understood that if the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage media include various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0181] The above is a detailed introduction to the management communication method, device, equipment and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the present invention.

[0182] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A management communication method, characterized in that: Applicable to a whole system including a smart network card and a server; wherein the smart network card is provided with a switching processor; a dedicated network port of a first baseboard management controller of the smart network card is communicatively connected to a first port of the switching processor; a dedicated network port of a second baseboard management controller of the server is communicatively connected to a second port of the switching processor; a third port of the switching processor is connected to a management network via a network interface; the method comprises: Monitor the management network's management requests to the baseboard management controller in the entire system; When a first management request to the first baseboard management controller is received, the first management request is transmitted to the first baseboard management controller through the switching processor, so that the first baseboard management controller generates first management data according to the first management request; transmitting the first management data to the management network through the switching processor; When receiving a second management request to the second baseboard management controller, transmitting the second management request to the first baseboard management controller through the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller through the switching processor; The second management data is transmitted to the management network through the switch processor.

2. The management communication method according to claim 1, characterized in that: Before the monitoring management network sends a management request to the baseboard management controller in the entire system, the method further includes: assigning a same virtual local area network identifier to the first port and the second port of the switch processor; Based on the proprietary network port of the first baseboard management controller and the proprietary network port of the second baseboard management controller, respectively create a first virtual network port and a second virtual network port; wherein the virtual local area network tag of the first virtual network port and the virtual local area network tag of the second virtual network port both include the virtual local area network identifier; A first static Internet Protocol address is configured for the first virtual network port, and a second static Internet Protocol address is configured for the second virtual network port.

3. The management communication method according to claim 2, characterized in that: The specific process of the second baseboard management controller pre-generating the second management data and transmitting the second management data to the first baseboard management controller through the switching processor includes: Generate, by the first baseboard management controller, a data acquisition request for the second baseboard management controller; wherein the data acquisition request represents a request for acquiring sensor information, status information, and logs of the second baseboard management controller; Based on the first baseboard management controller, a request data packet is generated according to the data acquisition request and the virtual local area network tag; Acquire, based on the first baseboard management controller, a second static Internet Protocol address of the second virtual network port; Based on the first baseboard management controller, sending the request data packet to the second virtual network port of the second baseboard management controller according to the second static Internet Protocol address of the second virtual network port; When the second baseboard management controller receives the request data packet, it parses the request data packet to obtain a data acquisition request and a virtual local area network tag; Determining whether the virtual local area network label is correct by the second baseboard management controller; If the second baseboard management controller confirms that the virtual local area network tag is correct, it generates corresponding second management data according to the data acquisition request; wherein the second management data includes sensor information, status information and log of the second baseboard management controller; Based on the second baseboard management controller, a feedback data packet is generated according to the second management data and the virtual local area network tag; Acquire, based on the second baseboard management controller, a first static Internet Protocol address of the first virtual network port; Based on the second baseboard management controller, a feedback data packet is sent to the first virtual network port of the first baseboard management controller according to the first static Internet protocol address of the first virtual network port, so that the first baseboard management controller parses the feedback data packet to obtain the second management data.

4. The management communication method according to claim 2, characterized in that: The first central processor of the smart network card is communicatively connected to the fourth port of the switching processor via a first physical layer transmitter; the second central processor of the server is communicatively connected to the fifth port of the switching processor via a second physical layer transmitter; The virtual local area network identifiers of the first port, the second port, the fourth port and the fifth port are the same.

5. The management communication method according to claim 4, characterized in that: Also includes: Monitor and manage network management requests to the central processor of the entire system; When a third management request is received for the first central processor, the third management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines third management data according to the third management request; wherein the third management data is pre-generated by the first central processor and transmitted to the first baseboard management controller via the switching processor; transmitting the third management data to the management network through the switching processor; When a fourth management request is received for the second central processor, the fourth management request is transmitted to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines fourth management data according to the fourth management request; wherein the fourth management data is pre-generated by the second central processor and transmitted to the first baseboard management controller via the switching processor; The fourth management data is transmitted to the management network through the switch processor.

6. The management communication method according to any one of claims 1 to 5, characterized in that: The first baseboard management controller of the smart network card is connected to the second baseboard management controller of the server via a preset communication bus; The second baseboard management controller of the server creates a virtual storage device through a preset communication bus, and stores sensor information, status information and logs of the second baseboard management controller in the virtual storage device.

7. The management communication method according to claim 1, characterized in that: Also includes: outputting the first management data and / or the second management data via a web interface of the management network; Generates management logs for the baseboard management controller in the entire system based on the management network.

8. A management communication device, characterized in that: Applicable to a whole system including a smart network card and a server; wherein the smart network card is provided with a switching processor; the proprietary network port of the first baseboard management controller of the smart network card is communicatively connected to the first port of the switching processor; the proprietary network port of the second baseboard management controller of the server is communicatively connected to the second port of the switching processor; the third port of the switching processor is connected to a management network through a network interface; the device comprises: A monitoring module is used to monitor management requests from the management network to the baseboard management controller in the entire system; a first transmission module, configured to, upon receiving a first management request to the first baseboard management controller, transmit the first management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller generates first management data according to the first management request; a second transmission module, configured to transmit the first management data to a management network via the switching processor; a third transmission module, configured to, upon receiving a second management request to the second baseboard management controller, transmit the second management request to the first baseboard management controller via the switching processor, so that the first baseboard management controller determines second management data according to the second management request; wherein the second management data is pre-generated by the second baseboard management controller and transmitted to the first baseboard management controller via the switching processor; The fourth transmission module is configured to transmit the second management data to the management network through the switching processor.

9. A management communication device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the communication management method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the communication management method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Switch management network construction method and system, terminal and storage medium

    CN115134256A

  • System and method of configuring nvme-of devices using a baseboard management controller (BMC)

    US20180285019A1