Server control system and server control method

Through the combination of data transfer module and channel switching module, accurate data transmission and collaborative management of multi-node servers are realized, solving the problem of collaborative operation in multi-server architecture, and improving management efficiency and availability.

CN120416191AActive Publication Date: 2025-08-01INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510916438.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-03
Publication Date
2025-08-01
Estimated Expiration
2045-07-03

AI Technical Summary

Technical Problem

In a multi-server architecture, interface multiplexing based on the network controller sideband interface protocol is difficult to support the coordinated operation of multiple servers.

Method used

It provides a server control system, including a data transfer module, a channel switching module and a controller, and realizes precise data transmission and collaborative management between multi-node servers through proprietary link mode and shared redundant mode switching.

Benefits of technology

It improves the management efficiency of multi-node servers, simplifies operation and maintenance processes, and improves the high availability and resource utilization of the management network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416191A_ABST
    Figure CN120416191A_ABST
Patent Text Reader

Abstract

The invention provides a server control system and a server control method, which can be applied to the technical field of multi-server control. The server control system comprises a data switching module which is electrically connected with external switching equipment and is used for forwarding first communication data transmitted by a plurality of node servers through a plurality of special transmission channels to the external switching equipment in response to the fact that a system operation mode is a special link mode; the channel switching module is used for electrically connecting a target shared transmission channel determined from a plurality of shared transmission channels between the plurality of node servers and the channel switching module with the network connection equipment in response to the fact that the system operation mode is the shared redundancy mode, so that the target shared transmission channel is connected between the plurality of node servers and the network connection equipment; transmitting the second communication data through the target sharing channel; and the controller is electrically connected with the data switching module and the channel switching module and is used for determining a system operation mode according to the data communication state between the data switching module and the external switching equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of multi-server control, and more particularly to a server control system and a server control method. Background Art

[0002] Traditional baseboard management controllers usually communicate with external switching devices using dedicated management network ports. With the development of server protocols, based on the network controller sideband interface protocol, the baseboard management controller can communicate with external switching devices by reusing the communication link of the service network port. However, in a server architecture with multiple servers, interface multiplexing based on the network controller sideband interface protocol is difficult to support the coordinated operation of multiple servers. Summary of the Invention

[0003] In view of the above problems, this application provides a server control system and a server control method.

[0004] According to a first aspect of this application, there is provided a server control system, including: a data transfer module, electrically connected to an external switching device, and configured to forward first communication data respectively transmitted by multiple node servers via multiple dedicated transmission channels to the external switching device in response to the system operation mode being the dedicated link mode; a channel switching module, configured to electrically connect a target shared transmission channel determined from multiple shared transmission channels between the multiple node servers and the channel switching module to a network connection device in response to the system operation mode being the shared redundancy mode, so that second communication data is transmitted through the target shared channel between the multiple node servers and the network connection device; a controller, electrically connected to the data transfer module and the channel switching module, and configured to determine the system operation mode according to the data communication status between the data transfer module and the external switching device.

[0005] A second aspect of this application provides a server control method, including: when the system operation mode is the dedicated link mode, multiple node servers transmit first communication data to the data transfer module through multiple dedicated transmission channels, so that the data transfer module forwards the first communication data to the external switching device; when the system operation mode is the shared redundancy mode, determining a target shared transmission channel from multiple shared transmission channels of multiple node servers; electrically connecting the target shared transmission channel to a network connection device, so that second communication data is transmitted through the target shared channel between the multiple node servers and the network connection device.

[0006] According to an embodiment of the present application, the server control system may include a data transfer module, a channel switching module, and a controller. The data transfer module may be electrically connected to an external switching device and multiple node servers. The channel switching module may be electrically connected to a network connection device and multiple node servers. The controller may be electrically connected to the data transfer module and the channel switching module. The controller may first determine the current system operation mode according to the data communication status between the data transfer module and the external switching device, achieving accurate determination of the current data transmission mode of the multi-node servers, so as to determine in which system operation mode data transmission should be performed to improve data transmission efficiency.

[0007] According to an embodiment of the present application, in the case where the system operation module is determined to be the dedicated link mode, the dedicated transmission channels corresponding to each node server are constructed by using the dedicated network ports between the data transfer module and the baseboard management controller of each node server, and the first communication data of the baseboard management controller in each node server is transmitted, realizing the construction of parallel management channels between multi-node servers through independent physical management ports, so as to support node-level fine-grained control and perform point-to-point precise operation processing on each node server.

[0008] According to an embodiment of the present application, in the case where the system operation module is determined to be the shared redundancy mode, first construct the shared transmission channels corresponding to the shared network ports between the channel switching module and the baseboard management controller of each node server, determine the target shared transmission channel from multiple shared transmission channels, and use the channel switching module to electrically connect the target shared transmission channel to the network connection device, so that the second communication data of multiple node servers are all transmitted to the network connection device through the target shared transmission channel, and at the same time, the second communication data generated by the network connection device can also be transmitted to multiple node servers through the target shared transmission channel, realizing the collaborative management of multi-node servers. Through the mechanism of the primary and standby nodes, determine the target shared transmission channel from multiple shared transmission channels, construct a unified link and interface for communicating with the network connection device, and then combine the communication connections between multiple node servers, so as to transmit the second communication data to multiple node servers, improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multi-node servers, and can quickly complete operations such as configuration maintenance, can adapt to various operating environments, and improve the high availability, resource utilization rate, and operation and maintenance efficiency of the management network of multi-node servers. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Through the following description of the embodiments of the present application with reference to the drawings, the above content and other objects, features, and advantages of the present application will become clearer. In the drawings:

[0010] Figure 1Shows a schematic diagram of a server control system according to an embodiment of the present application;

[0011] Figure 2 Shows a schematic diagram of a server control system in a dedicated link mode according to an embodiment of the present application;

[0012] Figure 3 Shows a schematic diagram of a server control system in a shared redundancy mode according to an embodiment of the present application;

[0013] Figure 4 Shows a schematic diagram of a server control system in a shared redundancy mode according to another embodiment of the present application;

[0014] Figure 5 Shows a schematic diagram of a server control system according to another embodiment of the present application;

[0015] Figure 6 Shows a flowchart of a server control method according to an embodiment of the present application;

[0016] Figure 7 Shows a flowchart of a failover method according to an embodiment of the present application;

[0017] Figure 8 Shows a flowchart of a server control method according to another embodiment of the present application. Detailed implementation manners

[0018] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present application. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a thorough understanding of the embodiments of the present application. However, it is obvious that one or more embodiments can be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present application.

[0019] The terms used herein are merely for describing specific embodiments and are not intended to limit the present application. The terms "including", "comprising", etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0020] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0021] In the case of using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning that those skilled in the art usually understand this expression (for example, "a system having at least one of A, B, and C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0022] Traditional baseboard management controllers usually use dedicated management network interfaces to communicate with external switching devices. With the development of server protocols, based on the network controller sideband interface protocol, the baseboard management controller can communicate with external switching devices by multiplexing the communication link of the service network interface. However, in a server architecture with multiple servers, interface multiplexing based on the network controller sideband interface protocol is difficult to support the coordinated operation of multiple servers.

[0023] Embodiments of the present application provide a server control system. The system includes: a data transfer module, electrically connected to an external switching device, and configured to forward first passing data respectively transmitted by multiple node servers via multiple dedicated transmission channels to the external switching device in response to the system operation mode being the dedicated link mode; a channel switching module, configured to electrically connect a target shared transmission channel determined from multiple shared transmission channels between the multiple node servers and the channel switching module to a network connection device in response to the system operation mode being the shared redundancy mode, so that second communication data is transmitted through the target shared channel between the multiple node servers and the network connection device; and a controller, electrically connected to the data transfer module and the channel switching module, and configured to determine the system operation mode according to the data communication state between the data transfer module and the external switching device.

[0024] According to an embodiment of the present application, the server control system may include a data transfer module, a channel switching module, and a controller.

[0025] According to an embodiment of the present application, the data transfer module is electrically connected to an external switching device, and is configured to forward first communication data respectively transmitted by multiple node servers via multiple dedicated transmission channels to the external switching device in response to the system operation mode being the dedicated link mode.

[0026] Each node server includes a baseboard management controller, and the dedicated transmission channel can be characterized as a communication link between the dedicated transmission network interface of the baseboard management controller and the transmission network interface of the data transfer module.

[0027] In the dedicated link mode, the baseboard management controller in each node server is electrically connected to multiple network ports on the data transfer module through respective dedicated network ports by cables, thereby constructing a dedicated transmission channel corresponding to each node server. Through the dedicated transmission channel corresponding to each node server, the first communication data of the baseboard management controller in each node server is transmitted to the data transfer module, and then the data transfer module forwards it to an external switching device through a data lead-out connector.

[0028] The external switching device transmits the external first communication data to the data transfer module through a data lead-out connector. The data transfer module distributes the corresponding first communication data to the receiving network ports respectively corresponding to the baseboard management controllers of each node server according to the identification information in the first communication data, and then forwards the multiple first communication data sent by the external switching device to the baseboard management controllers in each node server through the dedicated transmission channel corresponding to each node server. [[ID=?]]

[0029] According to an embodiment of the present application, a channel switching module is configured to, in response to the system operating mode being the shared redundancy mode, electrically connect a target shared transmission channel determined from multiple shared transmission channels between multiple node servers and the channel switching module to a network connection device, so that second communication data is transmitted between multiple node servers and the network connection device through the target shared channel.

[0030] In the shared redundancy mode, based on the network controller sideband interface protocol, the baseboard management controller in each node server is electrically connected to the signal network port of the channel switching module through respective shared network ports by cables, thereby constructing a shared transmission channel corresponding to each node server. The channel switching module determines a target shared transmission channel from multiple shared transmission channels and switches the channel electrically connected to the network connection device to the target shared transmission channel. The second communication data of the baseboard management controllers in multiple node servers is transmitted to the network connection device through the target shared transmission channel, and the second communication data sent by the network connection device can also be transmitted to multiple node servers through the target shared transmission channel. Among them, the network connection device can be a multi-homed network card.

[0031] According to an embodiment of the present application, a controller is electrically connected to the data transfer module and the channel switching module, and is configured to determine the system operating mode according to the data communication status between the data transfer module and the external switching device.

[0032] The data communication status can be characterized by whether there is normal communication of the first communication data between the dedicated transmission channel and the data transfer module and whether there is normal communication of the first communication data between the data transfer module and the external switching device.

[0033] According to an embodiment of the present application, the server control system may include a data transfer module, a channel switching module, and a controller. The data transfer module may be electrically connected to an external switching device and multiple node servers. The channel switching module may be electrically connected to a network connection device and multiple node servers. The controller may be electrically connected to the data transfer module and the channel switching module. The controller may first determine the current system operation mode according to the data communication status between the data transfer module and the external switching device, achieving accurate determination of the current data transmission mode of the multi-node servers, so as to determine in which system operation mode data transmission should be performed to improve data transmission efficiency.

[0034] According to an embodiment of the present application, in the case where the system operation module is determined to be the dedicated link mode, the dedicated transmission channels corresponding to each node server are constructed by using the dedicated network ports between the data transfer module and the baseboard management controller of each node server, and the first communication data of the baseboard management controller in each node server is transmitted, realizing the construction of parallel management channels between multi-node servers through independent physical management ports, so as to support node-level fine-grained control and perform point-to-point accurate operation processing on each node server.

[0035] According to an embodiment of the present application, in the case where the system operation module is determined to be the shared redundancy mode, first construct the shared transmission channels corresponding to the shared network ports between the channel switching module and the baseboard management controller of each node server, determine the target shared transmission channel from multiple shared transmission channels, and use the channel switching module to electrically connect the target shared transmission channel to the network connection device, so that the second communication data of multiple node servers are all transmitted to the network connection device through the target shared transmission channel, and at the same time, the second communication data generated by the network connection device can also be transmitted to multiple node servers through the target shared transmission channel, realizing the collaborative management of multi-node servers. Through the master-slave node mechanism, determine the target shared transmission channel from multiple shared transmission channels, construct a unified link and interface for communicating with the network connection device, and then combine the communication connections between multiple node servers, so as to transmit the second communication data to multiple node servers, improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multi-node servers, and can quickly complete operations such as configuration maintenance, can adapt to various operating environments, and improve the high availability, resource utilization rate and operation and maintenance efficiency of the management network of multi-node servers.

[0036] Figure 1 The figure shows a schematic diagram of a server control system according to an embodiment of the present application.

[0037] As Figure 1As shown in the figure, the server control system may include a data transfer module 101, a channel switching module 102, and a controller 103. The data transfer module 101 may be electrically connected to an external switching device 104 and multiple node servers 105. The channel switching module 102 may be electrically connected to a network connection device 106 and multiple node servers 105. The controller 103 may be electrically connected to the data transfer module 101 and the channel switching module 102. Among them, the data transfer module may first be electrically connected to the external switching device 104 through an interface connector 107.

[0038] According to an embodiment of the present application, the multiple node servers may include a first node server and a second node server.

[0039] In the server architecture, the multiple node servers may include more than just the first node server and the second node server, and may also include a larger number of node servers.

[0040] According to an embodiment of the present application, the data transfer module may also be used to synchronously or asynchronously forward the first communication data transmitted by the first node server through the first dedicated transmission channel and the first communication data transmitted by the second node server through the second dedicated transmission channel to the external switching device when the system operation mode is the dedicated link mode.

[0041] When the system operation mode is the dedicated link mode, the first dedicated transmission channel is constructed by electrically connecting the dedicated transmission network port on the baseboard management controller in the first node server to the first transmission network port on the data transfer module, and the second dedicated transmission channel is constructed by electrically connecting the dedicated transmission network port on the baseboard management controller in the second node server to the second transmission network port on the data transfer module.

[0042] The first communication data of the baseboard management controller in the first node server is transmitted to the data transfer module through the first dedicated transmission channel, and is forwarded by the data transfer module to the external switching device. At the same time, the first communication data generated by the external switching device corresponding to the baseboard management controller in the first node server is also transmitted to the baseboard management controller in the first node server through the first dedicated transmission channel. The first communication data of the baseboard management controller in the second node server is transmitted to the data transfer module through the second dedicated transmission channel, and is forwarded by the data transfer module to the external switching device. At the same time, the first communication data generated by the external switching device corresponding to the baseboard management controller in the second node server is also transmitted to the baseboard management controller in the second node server through the second dedicated transmission channel.

[0043] According to an embodiment of the present application, when the system operation mode is the dedicated link mode, the baseboard management controllers of multiple node servers transmit first communication data corresponding to the baseboard management controller of each node server through their respective dedicated transmission channels, realizing the construction of parallel management channels between multiple node servers through independent physical management ports. Multiple node servers independently send the first communication data to external switching devices and independently receive the first communication data sent by the external switching devices. When it is necessary to perform individual debugging and configuration on any one of the node servers, without pausing the normal operation of multiple node servers, through the dedicated transmission channel, operations such as configuring, firmware upgrading, and performance tuning of a certain node server can be accurately performed point-to-point, improving the operation isolation between multiple node servers.

[0044] Figure 2 FIG. shows a schematic diagram of a server control system in the dedicated link mode according to an embodiment of the present application.

[0045] As Figure 2 shown, when the system operation mode is the dedicated link mode, the data transfer module 101 is electrically connected to the external switching device 104, and is electrically connected to the first transmission network port 204 on the data transfer module 101 through the first dedicated transmission network port 203 on the first baseboard management controller 202 in the first node server 201 to construct a first dedicated transmission channel, and is electrically connected to the second transmission network port ? on the data transfer module 101 through the second dedicated transmission network port 207 on the second baseboard management controller 206 in the second node server 205 to construct a second dedicated transmission channel. Thus, during operation, the baseboard management controllers of each node server transmit first communication data corresponding to the baseboard management controller of each node server through their respective dedicated transmission channels.

[0046] According to an embodiment of the present application, the channel switching module can also be used for: when the system operation mode is the shared redundancy mode and the first node server is the target master node server, electrically connecting the first shared transmission channel of the first node server to the network connection device, enabling the network connection device to transmit second communication data to the first node server through the first shared transmission channel, the second communication data is transmitted to the data transfer module through the first dedicated transmission channel, and the second communication data is forwarded to the second node server through the second dedicated transmission channel.

[0047] It should be noted that there is a question mark in the original text in line 9 of the Chinese content. I have translated it as "?" in the English translation. You may need to check and correct this if it is an incorrect symbol.When the system operating mode is the shared redundancy mode, first, the shared transmission network port on the baseboard management controller in the first node server is electrically connected to the first signal network port on the channel switching module, thereby constructing a first shared transmission channel. The shared transmission network port on the baseboard management controller in the second node server is electrically connected to the second signal network port on the channel switching module, thereby constructing a second shared transmission channel. Then, determine the target master node server from multiple node servers, determine the shared transmission channel of the target master node server as the target shared transmission channel, and electrically connect the target shared transmission channel to the network connection device. Among them, the node servers other than the target master node server can all be slave node servers.

[0048] When the target master node server is the first node server, use the first shared transmission channel of the first node server as the target shared transmission channel, and use the first dedicated transmission channel and the second dedicated transmission channel between the first node server and the second node server to transmit the second communication data between each other. Then, the first node server transmits the second communication data of the second node server and the second communication data of the first node server to the network connection device through the first shared transmission channel. At the same time, the second communication data sent by the network connection device is transmitted to the first node server through the first shared transmission channel, and then the second communication data is sent to the second node server through the first dedicated transmission channel and the second dedicated transmission channel.

[0049] When the target master node server is the second node server, use the second shared transmission channel of the second node server as the target shared transmission channel, and use the first dedicated transmission channel and the second dedicated transmission channel between the first node server and the second node server to transmit the second communication data between each other. Then, the second node server transmits the second communication data of the first node server and the second communication data of the second node server to the network connection device through the second shared transmission channel. At the same time, the second communication data sent by the network connection device is transmitted to the second node server through the second shared transmission channel, and then the second communication data is sent to the first node server through the first dedicated transmission channel and the second dedicated transmission channel.

[0050] According to an embodiment of the present application, when the system operating mode is the shared redundancy mode, the baseboard management controllers of multiple node servers establish a shared transmission channel among the channel switching modules first, then determine a target master node server from the multiple node servers, and determine the shared transmission channel of the target master node server as the target shared transmission channel. The slave node server transmits the second communication data to the target master node server through the dedicated transmission channel, and the target master node server transmits the second communication data to the network connection device through the target shared transmission channel, realizing the collaborative management of multiple node servers. Through the master-slave node mechanism, the target master node server is determined first, and then the target shared transmission channel is determined from multiple shared transmission channels based on the target master node server to construct a unified link and interface for communicating with the network connection device. Then, combined with the communication connections among multiple node servers, while using a single node server to communicate with the network connection device, the second communication data is transmitted to multiple node servers, improving the management efficiency of multiple node servers, simplifying the configuration process for the same operation and maintenance of multiple node servers, enabling quick completion of operations such as configuration and maintenance, being adaptable to various operating environments, and improving the high availability, resource utilization rate, and operation and maintenance efficiency of the management network of multiple node servers.

[0051] According to an embodiment of the present application, the controller can also be used for: when the system operating mode is the shared redundancy mode, configuring the dedicated network ports of multiple dedicated network interfaces in the first node server and the second node server according to the switching network parameters of the external switching device electrically connected to the data transfer module, so that the first node server and the second node server can communicate with each other through the data transfer module.

[0052] When it is determined that the system operating mode is the shared redundancy mode, it is necessary to first configure the shared network for the dedicated network ports of each node server. By allocating the dedicated network ports of each node server according to the switching network parameters of the external switching device, a virtual network interface is constructed, enabling the multiple node servers to exchange communication data through the dedicated transmission channel and the data transfer module.

[0053] According to an embodiment of the present application, when it is determined that the system operating mode is the shared redundancy mode, the shared network is configured for the dedicated network ports of each node server according to the switching network parameters, realizing the pre-configuration of data communication among multiple node servers, so that the multiple node servers can perform data interaction communication in the shared redundancy mode, and thus, while using a single node server to communicate with the network connection device, the second communication data can be transmitted to multiple node servers.

[0054] Figure 3Shows a schematic diagram of a server control system in a shared redundancy mode according to an embodiment of the present application.

[0055] As Figure 3 shown, when it is determined that the system operation mode is the shared redundancy mode, first configure the shared network for the first dedicated transmission network interface 203 of the first node server 201 and the second dedicated transmission network interface 207 of the second node server 205 to construct the first virtual network interface 301 and the second virtual network interface 303, so that multiple node servers can exchange communication data through the dedicated transmission channel and the data transfer module 101. Then, first electrically connect the first shared transmission network interface 302 on the first baseboard management controller 202 in the first node server 201 to the first signal network interface 305 on the channel switching module to construct the first shared transmission channel, and electrically connect the second shared transmission network interface 304 on the second baseboard management controller 206 in the second node server 205 to the second signal network interface 306 on the channel switching module 102 to construct the second shared transmission channel. Then, use the controller 103 to determine the target master node server and the target shared transmission channel, and electrically connect the target shared transmission channel to the third electrical signal network interface 307 on the channel switching module 102, so that the target shared transmission channel is electrically connected to the network connection device 106, so that the second communication data of multiple node servers is transmitted through the target shared transmission channel to the network connection device. When receiving the second communication data sent by the network connection device 106, it is transmitted to the secondary node server via the dedicated transmission channel.

[0056] According to an embodiment of the present application, the controller can also be used to determine that the system operation mode is the dedicated link mode when the data communication status between the data transfer module and the external switching device is that the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are both forwarded to the external switching device.

[0057] Only when each dedicated transmission channel normally transmits and forwards the first communication data can it be determined that the system operation mode is the dedicated link mode.

[0058] According to an embodiment of the present application, when the data communication status between the data transfer module and the external switching device is that at least one of the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel is not forwarded to the external switching device, it is determined that the system operation mode is the shared redundancy mode.

[0059] When at least one of the multiple dedicated transmission channels cannot normally transmit and forward the first communication data, it is determined that the system operation mode is the shared redundancy mode.

[0060] According to an embodiment of the present application, by a controller determining data communication at a data transfer module, the determination of the system operation mode is achieved, so that in the case where the system operation mode is an automatic switching mode, the controller can, according to... The data communication status autonomously determines the current system operation mode, and thus switches to the corresponding mode to enable multiple node servers to operate normally.

[0061] According to an embodiment of the present application, the controller can also be used for: in the case where the system operation mode is a shared redundancy mode, according to the attribute information of multiple node servers, determining a target master node server from the multiple node servers, so as to determine the shared transmission channel of the target master node server as the target shared transmission channel.

[0062] In the case where the system operation mode is a shared redundancy mode, first build a shared transmission channel between each node server and the channel switching module, and then transmit the attribute information of each node server to the channel switching module through each shared transmission channel. After receiving multiple attribute information, the channel switching module sends it to the controller.

[0063] The attribute information of the node server may include the sequence identifier of the node server in the server architecture, and the node server with the largest sequence identifier can be preferentially determined as the target master node server from the multiple node servers. The target master node server can also be determined from the multiple node servers based on a preset master node rule. Among them, the preset master node rule may include taking the node server with the largest data processing amount as the target master node server according to the data processing amount of the baseboard management controller in each node server.

[0064] According to an embodiment of the present application, in the case where the system operation mode is a shared redundancy mode, first build a shared transmission channel between each node server and the channel switching module, and then transmit the attribute information of each node server to the channel switching module through each shared transmission channel. After receiving multiple attribute information, the channel switching module sends it to the controller. The controller determines the target master node server according to the multiple attribute information, and determines the shared transmission channel of the target master node server as the target shared transmission channel, achieving the determination of the target shared transmission channel from multiple shared transmission channels in the case of self-negotiation of multiple node servers based on the master-slave node mechanism.

[0065] According to an embodiment of the present application, the controller can also be used for: in the case of transmitting second communication data through the target shared transmission channel, performing heartbeat detection on multiple node servers to obtain multiple heartbeat detection information.

[0066] According to an embodiment of the present application, when the heartbeat detection information of the target master node server is abnormal, based on the attribute information of multiple node servers, an updated target master node server is determined from the multiple node servers other than the target master node server, and the shared transmission channel of the updated target master node server is updated to the target shared transmission channel.

[0067] The controller can monitor the heartbeat information of each node server in real time through each shared transmission channel, so as to detect the heartbeat information of each node server, obtain multiple heartbeat detection information, facilitate status monitoring with each node server, and when it is detected that the heartbeat detection information of the target master node server is abnormal, timely replace the target master node server to ensure the accurate transmission of communication data and avoid relevant error risks caused by data transmission failures of node servers.

[0068] When it is detected that the heartbeat detection information of the target master node server is abnormal, the target master node server is replaced. An updated target master node server is determined from the original multiple slave node servers based on the attribute information or a preset master node rule, and the shared transmission channel of the updated target master node server is updated to the target shared transmission channel to transmit the second communication data. At the same time, self-maintenance is performed on the original target master node server.

[0069] After the original target master node server performs self-maintenance, if it returns to normal, the original target master node server can still be used as the current target master node server and its shared data transmission channel can be used for data transmission, or the updated target master node server can be maintained as the current target master node server and its shared data transmission channel can be used for data transmission.

[0070] According to an embodiment of the present application, when the heartbeat detection information of any node server other than the target master node server is abnormal, the target master node server transmits a fault self-check instruction message to any node server through the data transfer module, so that any node server performs self-check maintenance.

[0071] When it is detected that the heartbeat detection information of any node server other than the target master node server is abnormal, self-maintenance is performed on the abnormal slave node server.

[0072] According to an embodiment of the present application, by using a controller to detect the heartbeat information of each node server in real time, so as to monitor the running states of the target primary node server and the secondary node server in real time. When an abnormality occurs in the target primary node server, the target primary node server is replaced in time to ensure the transmission of the second communication data. When an abnormality occurs in the secondary node server, the secondary node server is maintained in time to ensure the normal operation of the server architecture, realizing millisecond-level primary and standby switching based on heartbeat detection. Even if the target primary node server fails, it is possible to quickly trigger a failover after a node failure and keep the management channel continuously available.

[0073] Figure 4 FIG. shows a schematic diagram of a server control system in a shared redundancy mode according to another embodiment of the present application.

[0074] As Figure 4 shown, compared with Figure 3 when the controller detects that the heartbeat detection information of the target primary node server is abnormal heartbeat, among multiple node servers other than the target primary node server, the updated target primary node server is determined, that is, the second node server 205 is confirmed as the updated target primary node server, and the shared transmission channel of the updated target primary node server is updated to the target shared transmission channel to maintain the continuous availability of the data transmission channel.

[0075] According to an embodiment of the present application, the controller can also be used to: when the system operation mode is configured as the automatic switching mode, switch the system operation mode to the dedicated link mode or the shared redundancy mode according to the data communication state between the data transfer module and the external switching device.

[0076] The system operation mode can also include the automatic switching mode. In the automatic switching mode, the controller will autonomously determine and switch the system to the corresponding dedicated link mode or shared redundancy mode according to the data communication state between the data transfer module and the external switching device, and monitor the data communication state in real time to facilitate timely switching of the system mode.

[0077] According to an embodiment of the present application, the system operation mode can also include the automatic switching mode. In the automatic switching mode, the controller can determine and switch the system to the corresponding dedicated link mode or shared redundancy mode according to the data communication state between the data transfer module and the external switching device, thereby realizing the rapid reconstruction of the management mode of the multi-node server architecture, adapting to diverse requirements from independent debugging in the test environment to high availability in the production environment, and improving the high availability, resource utilization rate and operation and maintenance efficiency of the multi-node server management network.

[0078] During the operation of a multi-node server, the system operation mode of the multi-node server can be pre-configured in advance, or it can be run according to the most recent historical system operation mode. When an abnormal failure occurs in the system operation mode after running for a period of time, an alarm prompt can be issued, and the system can be temporarily switched to another system operation mode for temporary operation, waiting for relevant operation and maintenance personnel to confirm.

[0079] Figure 5 FIG. shows a schematic diagram of a server control system according to another embodiment of the present application.

[0080] As Figure 5 shown, the server control system may include a data transfer module 101, a channel switching module 102, and a controller 103. The data transfer module 101 can be electrically connected to an external switching device 104 and multiple node servers. The channel switching module 102 can be electrically connected to a network connection device 106 and multiple node servers. The controller 103 can be electrically connected to the data transfer module 101 and the channel switching module 102. According to the first dedicated transmission network port 203 on the first baseboard management controller 202 in the first node server 201 being electrically connected to the first transmission network port 204 on the data transfer module 101, a first dedicated transmission channel is constructed. According to the second dedicated transmission network port 207 on the second baseboard management controller 206 in the second node server 205 being electrically connected to the second transmission network port 208 on the data transfer module 101, a second dedicated transmission channel is constructed. Then, according to the first shared transmission network port 302 on the first baseboard management controller 202 in the first node server 201 being electrically connected to the first signal network port 305 on the channel switching module 102, a first shared transmission channel is constructed. According to the second shared transmission network port 304 on the second baseboard management controller 206 in the second node server 205 being electrically connected to the second signal network port 306 on the channel switching module 102, a second shared transmission channel is constructed. The controller 103 is used to confirm the current system operation mode, the target master node server, the target shared transmission channel, and heartbeat detection.

[0081] Figure 6 FIG. shows a flowchart of a server control method according to an embodiment of the present application.

[0082] As Figure 6 shown, the server control method of this embodiment includes operations S610 to S630.

[0083] In operation S610, when the system operation mode is the dedicated link mode, multiple node servers transmit first communication data to the data transfer module through multiple dedicated transmission channels, so that the data transfer module forwards the first communication data to the external switching device.

[0084] In operation S620, when the system operation mode is the shared redundancy mode, a target shared transmission channel is determined from multiple shared transmission channels of multiple node servers.

[0085] In operation S630, the target shared transmission channel is electrically connected to the network connection device, so that the second communication data is transmitted between the multiple node servers and the network connection device through the target shared channel.

[0086] According to the embodiments of the present application, after the multi-node server starts running, normal data communication is performed according to different system operation modes. When the system operation mode is the dedicated link mode, the multiple node servers independently transmit the first communication data to the external switching device through their respective dedicated transmission channels. When the system operation mode is the shared redundancy mode, the multiple node servers transmit the second communication data to the network connection device through the target shared transmission channel, realizing the operation switch between the two modes. In the dedicated link mode, the multi-node servers can build parallel management channels with each other through independent physical management ports, so as to support node-level refined management and perform precise operation processing on a point-to-point basis for each node server. In the shared redundancy mode, the collaborative management of the multi-node servers can be performed. Through the mechanism of the primary and standby nodes, the target shared transmission channel is determined from multiple shared transmission channels, and a unified link and interface for communicating with the network connection device are built. Then, combined with the communication connection between the multiple node servers, the second communication data is transmitted to the multiple node servers, improving the management efficiency of the multiple node servers, simplifying the configuration process when performing the same operation and maintenance on the multi-node servers, and can quickly complete operations such as configuration maintenance, can adapt to various operation environments, and improve the high availability, resource utilization rate, and operation and maintenance efficiency of the management network of the multi-node servers.

[0087] According to the embodiments of the present application, the control method may further include the following operation steps.

[0088] According to the embodiments of the present application, when the system operation mode is the automatic switching mode, the data communication status between the data transfer module and the external switching device is obtained.

[0089] According to the embodiments of the present application, when the data communication status between the data transfer module and the external switching device is that the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are both forwarded to the external switching device, the system operation mode is switched to the dedicated link mode.

[0090] According to an embodiment of the present application, when at least one of the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel between the data transfer module and the external switching device is not forwarded to the external switching device, the system operation mode is switched to the shared redundancy mode.

[0091] Figure 7 The flowchart of the failover method according to an embodiment of the present application is shown.

[0092] As Figure 7 shown, the controller performs heartbeat detection S701 on multiple node servers to obtain multiple heartbeat detection messages, determines whether the heartbeat detection message of the target master node server is abnormal S702. When the heartbeat detection message of the target master node server is a heartbeat anomaly, according to the attribute information of the multiple node servers, an updated target master node server is determined from the multiple node servers other than the target master node server, and the shared transmission channel of the updated target master node server is updated to the target shared transmission channel S703. When the heartbeat detection message of the target master node server is a normal heartbeat, the heartbeat detection messages of other node servers are determined. When the heartbeat detection message of any node server other than the target master node server is a heartbeat anomaly, the target master node server transmits a fault self-check instruction message to any node server through the data transfer module to enable any node server to perform self-check maintenance S704.

[0093] Figure 8 The flowchart of the server control method according to another embodiment of the present application is shown.

[0094] As Figure 8 shown, a server architecture including multiple node servers is started S801, and the system operation mode of the server architecture is determined according to the pre-configured system operation mode of the multiple node servers S802. When the system operation mode is the dedicated link mode S803, multiple independent dedicated transmission channels are constructed according to the electrical connection between the dedicated transmission network interfaces on the baseboard management controllers of the respective node servers and the transmission network interfaces on the data transfer module S804.

[0095] When the system operating mode is the shared redundancy mode S805, first, a plurality of shared transmission channels S806 are constructed by electrically connecting the shared transmission network interfaces on the baseboard management controllers in each node server to the signal network interfaces on the channel switching module. Then, a target master node server is determined from the plurality of node servers, the shared transmission channel of the target master node server is determined as the target shared transmission channel S807, and the target shared transmission channel is electrically connected to the network connection device. The node servers other than the target master node server can all be slave node servers. At the same time, the controller performs heartbeat detection on the plurality of node servers to obtain a plurality of heartbeat detection messages. When a failure occurs in the target master node server, the master and slave node servers and the target shared transmission channel are switched S808.

[0096] When the system operating mode is the automatic switching mode S809, the controller determines the system operating mode S810 according to the data communication state between the data transfer module and the external switching device, so as to determine that the current system operating mode is the dedicated link mode or the shared redundancy mode. After confirming the system operating mode, data management can be performed S811.

[0097] According to the embodiments of the present application, the program code for executing the computer programs provided by the embodiments of the present application can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedures and / or object-oriented programming languages, and / or assembly / machine languages. The programming languages include, but are not limited to, programming languages such as Java, C++, Python, the "C" language, or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).

[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as combinations of blocks in the block diagram or flowchart, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0099] Those skilled in the art can understand that the features described in the various embodiments of the present application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments of the present application can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present application.

[0100] The embodiments of the present application have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present application. Although the embodiments have been described separately above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Without departing from the scope of the present application, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present application.

Claims

1. A server control system, characterized in that, The system includes: A data transfer module, electrically connected to an external switching device, for forwarding first communication data transmitted by multiple node servers via multiple dedicated transmission channels respectively to the external switching device in response to the system operating mode being the dedicated link mode; A channel switching module, for connecting a target shared transmission channel determined from multiple shared transmission channels between the multiple node servers and the channel switching module to a network connection device in response to the system operating mode being the shared redundancy mode, so that second communication data is transmitted between the multiple node servers and the network connection device through the target shared channel; A controller, electrically connected to the data transfer module and the channel switching module, for determining the system operating mode according to the data communication status between the data transfer module and the external switching device.

2. The system according to claim 1, characterized in that The multiple node servers include a first node server and a second node server, and the channel switching module is further configured to: In the case where the system operating mode is the shared redundancy mode and the first node server is the target master node server, connect the first shared transmission channel of the first node server to the network connection device, so that the network connection device transmits the second communication data to the first node server through the first shared transmission channel, the second communication data is transmitted to the data transfer module through a first dedicated transmission channel, and the second communication data is forwarded to the second node server through a second dedicated transmission channel.

3. The system according to claim 2, wherein The controller is further configured to: In the case where the system operating mode is the shared redundancy mode, configure the dedicated network of multiple dedicated network ports in the first node server and the second node server according to the switching network parameters of the external switching device electrically connected to the data transfer module, so that the first node server and the second node server perform interactive communication through the data transfer module.

4. The system according to claim 1, characterized in that, The data transfer module is further configured to: In the case where the system operating mode is the dedicated link mode, synchronously or asynchronously forward the first communication data transmitted by the first node server through the first dedicated transmission channel and the first communication data transmitted by the second node server through the second dedicated transmission channel to the external switching device.

5. The system according to claim 1, characterized in that, The controller is further configured to: In the case where the data communication status between the data transfer module and the external switching device is that the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are both forwarded to the external switching device, determine that the system operating mode is the dedicated link mode; In the case where the data communication status between the data transfer module and the external switching device is that at least one of the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel is not forwarded to the external switching device, determine that the system operating mode is the shared redundancy mode.

6. The system according to claim 1, wherein The controller is further configured to: When the system operating mode is the shared redundancy mode, a target master node server is determined from multiple node servers according to the attribute information of the multiple node servers, so as to determine the shared transmission channel of the target master node server as the target shared transmission channel.

7. The system according to claim 6, wherein The controller is further configured to: When transmitting the second communication data through the target shared transmission channel, perform heartbeat detection on the multiple node servers to obtain multiple heartbeat detection messages; When the heartbeat detection message of the target master node server is abnormal, according to the attribute information of the multiple node servers, determine an updated target master node server from the multiple node servers other than the target master node server, and update the shared transmission channel of the updated target master node server as the target shared transmission channel; When the heartbeat detection message of any node server other than the target master node server is abnormal, the target master node server transmits a fault self-check instruction message to the any node server through the data transfer module, so that the any node server performs self-check and maintenance.

8. The system according to claim 1, wherein The controller is further configured to: When the system operating mode is configured as the automatic switching mode, switch the system operating mode to the dedicated link mode or the shared redundancy mode according to the data communication status between the data transfer module and the external switching device.

9. A server control method, applied to the server control system according to any one of claims 1-8, characterized in that, The method includes: When the system operating mode is the dedicated link mode, multiple node servers transmit first communication data to the data transfer module through multiple dedicated transmission channels, so that the data transfer module forwards the first communication data to the external switching device; When the system operating mode is the shared redundancy mode, a target shared transmission channel determined from the multiple shared transmission channels of the multiple node servers; Electrically connect the target shared transmission channel to the network connection device, so that the multiple node servers and the network connection device transmit second communication data through the target shared channel.

10. The method according to claim 9, wherein The method further includes: When the system operating mode is the automatic switching mode, obtain the data communication status between the data transfer module and the external switching device; When the data communication status between the data transfer module and the external switching device is that the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are both forwarded to the external switching device, switch the system operating mode to the dedicated link mode; When the data communication status between the data transfer module and the external switching device is that at least one of the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel is not forwarded to the external switching device, switch the system operating mode to the shared redundancy mode.

Citation Information

Patent Citations

  • Out-of-band network port switching management method and system

    CN111740864A

  • Data transmission system, method, device, storage medium and program product

    CN114268613A

  • Multi-network card management system, multi-network card management method and computer equipment

    CN117278398A

  • Server, baseboard management controller and management method of server

    CN117950946A

  • Server and multi-mainboard device thereof

    CN119003422A