Server control system and server control method

By adopting data transfer modules and channel switching modules in a multi-server architecture, and building transmission channels with dedicated links and shared redundant modes, the problem of coordinated operation of multiple servers is solved, and efficient management and operation and maintenance are achieved.

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

Patent Information

Application Number
CN202510916438.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-03
Publication Date
2025-09-05
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

A server control system is provided, including a data transfer module and a channel switching module, which respectively constructs a dedicated transmission channel and a shared transmission channel through a dedicated link mode and a shared redundancy mode to realize independent management and collaborative management of multi-node servers.

Benefits of technology

It improves the management efficiency of multi-node servers, simplifies the configuration process, improves the high availability and resource utilization of the management network, and adapts to various operating environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416191B_ABST
    Figure CN120416191B_ABST
Patent Text Reader

Abstract

The present application provides a server control system and a server control method, which can be applied to the field of multi-server control technology. The server control 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 to the external switching device in response to the system operation mode being a dedicated link mode; a channel switching module, for electrically connecting 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 in response to the system operation mode being a 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 operation mode according to the data communication status between the data transfer module and the external switching device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Traditional baseboard management controllers typically communicate with external switching devices using a dedicated management network port. With the development of server protocols, the Network Controller Sideband Interface (NCSI) protocol allows the BMC to communicate with external switching devices by reusing the communication links of the service network ports. However, in server architectures with multiple servers, the NCSI-based interface reuse is difficult to support the coordinated operation of multiple servers. Summary of the Invention

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

[0004] According to the first aspect of the present application, a server control system is provided, including: 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 to the external switching device in response to the system operation mode being a dedicated link mode; a channel switching module, for electrically connecting 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 in response to the system operation mode being a 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 operation mode according to the data communication status between the data transfer module and the external switching device.

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

[0006] According to an embodiment of the present application, a 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, and 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 based on the data communication status between the data transfer module and the external switching device, thereby accurately determining the current data transmission mode of the multi-node servers, thereby determining in which system operation mode data transmission should be performed, thereby improving data transmission efficiency.

[0007] According to an embodiment of the present application, when it is determined that the system operation module is in a proprietary link mode, a proprietary transmission channel corresponding to each node server is constructed by using a proprietary network port between the data transfer module and the baseboard management controller of each node server to transmit the first communication data of the baseboard management controller in each node server, thereby realizing the construction of parallel management channels between multiple node servers through independent physical management ports, thereby supporting node-level refined management and control, and performing point-to-point precise operation processing on each node server.

[0008] According to an embodiment of the present application, when it is determined that the system operation module is in shared redundancy mode, a shared transmission channel corresponding to the shared network port between the channel switching module and the baseboard management controller of each node server is first constructed, and a target shared transmission channel is determined from multiple shared transmission channels. The channel switching module is used 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. 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, thereby realizing collaborative management of multiple node servers. Through the mechanism of master 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 is constructed. Then, combined with the communication connection between multiple node servers, the second communication data is transmitted to multiple node servers, thereby improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multiple node servers, and can quickly complete configuration maintenance and other operations. It can adapt to various operating environments and improve the high availability, resource utilization and operation and maintenance efficiency of the management network of multiple node servers. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above contents and other objects, features and advantages of the present application will become more apparent through the following description of the embodiments of the present application with reference to the accompanying drawings, in which:

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

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

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

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

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

[0015] Figure 6 A flow chart of a server control method according to an embodiment of the present application is shown;

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

[0017] Figure 8 A flow chart of a server control method according to another embodiment of the present application is shown. DETAILED DESCRIPTION

[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 exemplary only and are not intended to limit the scope of the present application. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present application. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present application.

[0019] The terms used herein are only for describing specific embodiments and are not intended to limit the present application. The terms "comprise," "include," 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] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0022] Traditional baseboard management controllers typically communicate with external switching devices using a dedicated management network port. With the development of server protocols, the Network Controller Sideband Interface (NCSI) protocol allows the BMC to communicate with external switching devices by reusing the communication links of the service network ports. However, in server architectures with multiple servers, the NCSI-based interface reuse is difficult to support the coordinated operation of multiple servers.

[0023] An embodiment of the present application provides a server control system, which includes: a data transfer module, electrically connected to an external switching device, for forwarding first pass data transmitted by multiple node servers via multiple dedicated transmission channels to the external switching device in response to the system operation mode being a dedicated link mode; a channel switching module, for electrically connecting 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 in response to the system operation mode being a 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 operation mode according to the data communication status 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 the external switching device and is used to forward the first communication data transmitted by multiple node servers via multiple dedicated transmission channels to the external switching device in response to the system operation mode being a 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 port of the baseboard management controller and the transmission network port of the data transfer module.

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

[0028] The external switching device transmits the external first communication data to the data transfer module through the data lead-out connector. The data transfer module distributes the corresponding first communication data to the receiving network port corresponding to the baseboard management controller 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 controller in each node server through a dedicated transmission channel corresponding to each node server.

[0029] According to an embodiment of the present application, the channel switching module is used to 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 in response to the system operation mode being a shared redundancy mode, so that the second communication data is transmitted between the 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 its own shared network port through a cable, thereby constructing a shared transmission channel corresponding to each node server. The channel switching module determines the target shared transmission channel from multiple shared transmission channels, switches the channel electrically connected to the network connection device to the target shared transmission channel, and transmits the second communication data of the baseboard management controllers in multiple node servers to the network connection device through the target shared transmission channel. The second communication data sent by the network connection device can also be transmitted to multiple node servers through the target shared transmission channel, wherein the network connection device can be a multi-host network card.

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

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

[0033] According to an embodiment of the present application, a 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, and 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 based on the data communication status between the data transfer module and the external switching device, thereby accurately determining the current data transmission mode of the multi-node servers, thereby determining in which system operation mode data transmission should be performed, thereby improving data transmission efficiency.

[0034] According to an embodiment of the present application, when it is determined that the system operation module is in a proprietary link mode, a proprietary transmission channel corresponding to each node server is constructed by using a proprietary network port between the data transfer module and the baseboard management controller of each node server to transmit the first communication data of the baseboard management controller in each node server, thereby realizing the construction of parallel management channels between multiple node servers through independent physical management ports, thereby supporting node-level refined management and control, and performing point-to-point precise operation processing on each node server.

[0035] According to an embodiment of the present application, when it is determined that the system operation module is in shared redundancy mode, a shared transmission channel corresponding to the shared network port between the channel switching module and the baseboard management controller of each node server is first constructed, and a target shared transmission channel is determined from multiple shared transmission channels. The channel switching module is used 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. 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, thereby realizing collaborative management of multiple node servers. Through the mechanism of master 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 is constructed. Then, combined with the communication connection between multiple node servers, the second communication data is transmitted to multiple node servers, thereby improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multiple node servers, and can quickly complete configuration maintenance and other operations. It can adapt to various operating environments and improve the high availability, resource utilization and operation and maintenance efficiency of the management network of multiple node servers.

[0036] Figure 1 A schematic diagram of a server control system according to an embodiment of the present application is shown.

[0037] like Figure 1As 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 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. The data transfer module may first be electrically connected to the external switching device 104 via 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 not only the first node server and the second node server, but also a greater number of node servers.

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

[0041] When the system operation mode is the proprietary link mode, the proprietary transmission network port on the baseboard management controller in the first node server is electrically connected to the first transmission network port on the data transfer module to construct a first proprietary transmission channel, and the proprietary transmission network port on the baseboard management controller in the second node server is electrically connected to the second transmission network port on the data transfer module to construct a second proprietary transmission channel.

[0042] The first communication data of the baseboard management controller in the first node server is transmitted to the data transfer module via a first dedicated transmission channel, and is then forwarded to the external switching device via the data transfer module. At the same time, the first communication data corresponding to the baseboard management controller in the first node server, generated by the external switching device, is also transmitted to the baseboard management controller in the first node server via 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 via a second dedicated transmission channel, and is then forwarded to the external switching device via the data transfer module. At the same time, the first communication data corresponding to the baseboard management controller in the second node server, generated by the external switching device, is also transmitted to the baseboard management controller in the second node server via the second dedicated transmission channel.

[0043] According to an embodiment of the present application, when the system operation mode is a proprietary link mode, the baseboard management controllers of multiple node servers transmit the first communication data corresponding to the baseboard management controller of each node server through their respective proprietary transmission channels, thereby realizing the construction of parallel management channels between multiple node servers through independent physical management ports. Multiple node servers independently send first communication data to external switching devices, and independently receive first communication data sent by external switching devices at the same time. When it is necessary to debug and configure any node server separately, there is no need to suspend the normal operation of multiple node servers. Through the proprietary transmission channel, point-to-point and precise configuration, firmware upgrade, performance tuning and other operations are performed on a certain node server, thereby improving the operational isolation between multiple node servers.

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

[0045] like Figure 2 As shown, when the system operation mode is the proprietary 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 proprietary transmission network port 203 on the first baseboard management controller 202 in the first node server 201, to build a first proprietary transmission channel, and is electrically connected to the second transmission network port 208 on the data transfer module 101 through the second proprietary transmission network port 207 on the second baseboard management controller 206 in the second node server 205, to build a second proprietary transmission channel, so that during operation, the baseboard management controllers of each node server transmit the first communication data corresponding to the baseboard management controller of each node server through their respective proprietary 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 a shared redundancy mode and the first node server is the target master node server, the first shared transmission channel of the first node server is electrically connected 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 the first dedicated transmission channel, and the second communication data is forwarded to the second node server through the second dedicated transmission channel.

[0047] When the system operates in shared redundancy mode, a first shared transmission channel is established by electrically connecting the shared transmission network port on the baseboard management controller in the first node server to the first signal network port on the channel switching module. A second shared transmission channel is established by electrically connecting the shared transmission network port on the baseboard management controller in the second node server to the second signal network port on the channel switching module. A target master node server is then determined from among the multiple node servers, the shared transmission channel of the target master node server is determined as the target shared transmission channel, and the target shared transmission channel is electrically connected to the network connection device. Node servers other than the target master node server may all serve as slave node servers.

[0048] When the target master node server is the first node server, the first shared transmission channel of the first node server is used as the target shared transmission channel, and the first dedicated transmission channel and the second dedicated transmission channel between the first node server and the second node server are used 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 via 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, the second shared transmission channel of the second node server is used as the target shared transmission channel, and the first dedicated transmission channel and the second dedicated transmission channel between the first node server and the second node server are used 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 via 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 operation mode is a shared redundancy mode, the baseboard management controllers of multiple node servers first establish a shared transmission channel between the channel switching modules, and then determine the 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 secondary node server transmits the second communication data to the target master node server through a 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, thereby realizing collaborative management of multiple node servers. Through the mechanism of master and backup nodes, the target master node server is first determined, and then the target shared transmission channel is determined from multiple shared transmission channels based on the target master node server, and a unified link and interface for communicating with the network connection device is constructed. Then, combined with the communication connection between 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, thereby improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multiple node servers, and can quickly complete configuration maintenance and other operations. It can adapt to a variety of operating environments, and improves the high availability, resource utilization 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 to: when the system operation mode is a shared redundancy mode, configure the dedicated port networks 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 can communicate interactively through the data transfer module.

[0052] When the system operation mode is determined to be shared redundancy mode, it is necessary to first configure the shared network for the dedicated network port of each node server. By adjusting the dedicated network port of each node server according to the switching network parameters of the external switching device, a virtual network interface is constructed to enable multiple node servers to exchange communication data through dedicated transmission channels and data transfer modules.

[0053] According to an embodiment of the present application, when it is determined that the system operation mode is a shared redundant mode, the dedicated network port of each node server is configured for a shared network according to the switching network parameters, thereby pre-configuring data communication between multiple node servers so that multiple node servers can perform data interactive communication in a shared redundant mode, thereby transmitting second communication data to multiple node servers while utilizing a single node server to communicate with a network connection device.

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

[0055] like Figure 3 As shown, when the system operation mode is determined to be shared redundancy mode, a shared network is first configured for the first dedicated transmission network port 203 of the first node server 201 and the second dedicated transmission network port 207 of the second node server 205, and a first virtual network interface 301 and a second virtual network interface 303 are established, so that multiple node servers can exchange communication data through a dedicated transmission channel and the data transfer module 101. Then, the first shared transmission network port 302 on the first baseboard management controller 202 in the first node server 201 is electrically connected to the first signal network port 305 on the channel switching module to establish a first shared transmission channel, and the second shared transmission network port 304 on the second baseboard management controller 206 in the second node server 205 is electrically connected to the second signal network port 306 on the channel switching module 102 to establish a second shared transmission channel. The controller 103 is then used to determine the target main node server and the target shared transmission channel, and the target shared transmission channel is electrically connected to the third electrical signal network port 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 are transmitted to the network connection device through the target shared transmission channel, and when the second communication data sent by the network connection device 106 is received, 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 a proprietary link mode when the data communication status between the data transfer module and the external switching device is that both the first communication data transmitted through the first proprietary transmission channel and the first communication data transmitted through the second proprietary transmission channel are forwarded to the external switching device.

[0057] Only when each dedicated transmission channel transmits and forwards the first communication data normally 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, the system operation mode is determined to be a shared redundancy mode.

[0059] In the case that at least one dedicated transmission channel among the multiple dedicated transmission channels cannot normally transmit and forward the first communication data, the system operation mode is determined to be the shared redundancy mode.

[0060] According to an embodiment of the present application, the controller determines the data communication at the data transfer module to determine the system operation mode. When the system operation mode is the automatic switching mode, the controller can autonomously determine the current system operation mode based on the data communication status and switch to the corresponding mode to ensure normal operation of multiple node servers.

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

[0062] When the system operation mode is shared redundancy mode, a shared transmission channel is first established between each node server and the channel switching module, and then the attribute information of each node server is transmitted 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 a sequential identifier of the node server in the server architecture, and the node server with the largest sequential identifier may be preferentially determined as the target master node server from among multiple node servers. The target master node server may also be determined from among multiple node servers based on a preset master node rule. The preset master node rule may include selecting the node server with the largest data processing capacity as the target master node server based on the data processing capacity of the baseboard management controller in each node server.

[0064] According to an embodiment of the present application, when the system operation mode is a shared redundancy mode, a shared transmission channel is first established between each node server and the channel switching module, and then the attribute information of each node server is transmitted 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 based on the multiple attribute information, and determines the shared transmission channel of the target master node server as the target shared transmission channel, realizing a mechanism based on the master and standby nodes. In the case of self-negotiation of multiple node servers, the target shared transmission channel is determined from multiple shared transmission channels.

[0065] According to an embodiment of the present application, the controller may also be configured to: when transmitting the second communication data through the target shared transmission channel, perform 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, the updated target master node server is determined from 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, thereby detecting the heartbeat information of each node server and obtaining multiple heartbeat detection information to facilitate status monitoring with each node server. When the heartbeat detection information of the target master node server is detected to be abnormal, the target master node server is replaced in time to ensure the accurate transmission of communication data and avoid the related error risks caused by data transmission failure of the node server.

[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, and the updated target master node server is determined from the original multiple sub-node servers based on the attribute information or the preset master node rules, 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, and at the same time, the original target master node server is self-maintained.

[0069] After the original target master node server performs self-maintenance and 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 kept 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 fault self-check instruction information to any node server through the data transfer module, so that any node server performs self-check and 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 secondary node server.

[0072] According to the embodiments of the present application, the heartbeat information of each node server is detected in real time by utilizing a controller, so as to facilitate real-time monitoring of the operating status of the target master node server and the slave node server. When an abnormality occurs in the target master node server, the target master node server is replaced in time to ensure the transmission of the second communication data. When an abnormality occurs in the slave node server, the slave node server is maintained in time to ensure the normal operation of the server architecture. Millisecond-level master-slave switching is achieved based on heartbeat detection. Even if the target master node server fails, the failover can be quickly triggered after the node failure, so as to keep the management channel continuously available.

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

[0074] like Figure 4 As shown, Figure 3 In comparison, when the controller detects that the heartbeat detection information of the target master node server is abnormal, the updated target master node server is determined from multiple node servers other than the target master node server, that is, the second node server 205 is confirmed as the updated target master node server, and the shared transmission channel of the updated target master 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 an automatic switching mode, switch the system operation mode to a dedicated link mode or a shared redundancy mode according to the data communication status between the data transfer module and the external switching device.

[0076] The system operation mode can also include an 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 based on the data communication status between the data transfer module and the external switching device, and monitor the data communication status in real time to facilitate timely switching of the system mode.

[0077] According to an embodiment of the present application, the system operation mode may also include an 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 based on the data communication status between the data transfer module and the external switching device, thereby realizing the rapid completion of the reconstruction of the management mode of the multi-node server architecture, which can adapt to the diverse needs from independent debugging in the test environment to high availability in the production environment, and improve the high availability, resource utilization and operation and maintenance efficiency of the multi-node server management network.

[0078] During multi-node server operation, you can pre-configure the system operation mode of the multi-node server, or you can run it according to the most recent historical system operation mode. After running for a period of time, if the system operation mode experiences an abnormal failure, an alarm can be issued and the system operation mode can be temporarily switched to another temporary operation mode for confirmation by relevant operation and maintenance personnel.

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

[0080] like Figure 5 As 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 may be electrically connected to an external switching device 104 and a plurality of node servers, the channel switching module 102 may be electrically connected to a network connection device 106 and a plurality of node servers, and the controller 103 may be electrically connected to the data transfer module 101 and the channel switching module 102. A first proprietary transmission channel is established by electrically connecting a first proprietary transmission network port 203 on a first baseboard management controller 202 in a first node server 201 to a first transmission network port 204 on the data transfer module 101. A second proprietary transmission channel is established by electrically connecting a second proprietary transmission network port 207 on a second baseboard management controller 206 in a second node server 205 to a second transmission network port 208 on the data transfer module 101. A first shared transmission channel is then established by electrically connecting the first shared transmission network port 302 on the first baseboard management controller 202 in the first node server 201 to the first signal network port 305 on the channel switching module 102. A second shared transmission channel is established by electrically connecting the second shared transmission network port 304 on the second baseboard management controller 206 in the second node server 205 to the second signal network port 306 on the channel switching module 102. The controller 103 is used to confirm the current system operating mode, the target master node server, the target shared transmission channel, and the heartbeat detection.

[0081] Figure 6 A flow chart of a server control method according to an embodiment of the present application is shown.

[0082] like Figure 6 As 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, the plurality of node servers transmit first communication data to the data switching module through the plurality of dedicated transmission channels, so that the data switching module forwards the first communication data to the external switching device.

[0084] In operation S620 , when the system operation mode is a shared redundancy mode, a target shared transmission channel is determined from a plurality of shared transmission channels of a plurality of 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 plurality of node servers and the network connection device through the target shared channel.

[0086] According to the embodiment 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 transmit the first communication data independently with the external switching device through their own dedicated transmission channels. When the system operation mode is the shared redundancy mode, the multiple node servers transmit the second communication data with the network connection device through the target shared transmission channel, thereby realizing dual-mode operation switching. In the dedicated link mode, parallel management channels can be constructed between the multiple node servers through independent physical management ports, thereby supporting node-level refined management and control, and each node The server performs point-to-point precise operation processing. In shared redundancy mode, it can collaboratively manage multi-node servers. Through the mechanism of master and standby nodes, it determines the target shared transmission channel from multiple shared transmission channels, builds a unified link and interface for communicating with network connection devices, and then combines the communication connection between multiple node servers to transmit the second communication data to multiple node servers, thereby improving the management efficiency of multiple node servers, simplifying the configuration process when performing the same operation and maintenance on multiple node servers, and can quickly complete configuration maintenance and other operations. It can adapt to a variety of operating environments and improve the high availability, resource utilization and operation and maintenance efficiency of the management network of multi-node servers.

[0087] According to an embodiment of the present application, the control method may further include the following operating steps.

[0088] According to an embodiment 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 an embodiment of the present application, when the data communication status between the data transfer module and the external switching device is that both the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are 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 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, the system operation mode is switched to the shared redundancy mode.

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

[0092] like Figure 7 As shown, the controller performs heartbeat detection on multiple node servers S701, obtains multiple heartbeat detection information, and determines whether the heartbeat detection information of the target master node server is abnormal S702. When the heartbeat detection information of the target master node server is abnormal, the target master node server is determined to be updated from multiple node servers other than the target master node server based on the attribute information of the multiple node servers, 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 information of the target master node server is normal, the heartbeat detection information of other node servers is determined. When the heartbeat detection information of any node server other than the target master node server is abnormal, the target master node server transmits fault self-detection instruction information to any node server through the data transfer module, so that any node server performs self-detection and maintenance S704.

[0093] Figure 8 A flow chart of a server control method according to another embodiment of the present application is shown.

[0094] like Figure 8 As 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), the dedicated transmission network port on the baseboard management controller of each node server is electrically connected to the transmission network port on the data transfer module to establish multiple independent dedicated transmission channels (S804).

[0095] When the system operation mode is shared redundancy mode S805, first, the shared transmission network port on the baseboard management controller in each node server is electrically connected to the signal network port on the channel switching module to construct multiple shared transmission channels S806. Then, the target master node server is determined from the multiple node servers, and the shared transmission channel of the target master node server is determined as the target shared transmission channel S807. The target shared transmission channel is electrically connected to the network connection device. All node servers except the target master node server can be slave node servers. At the same time, the controller is used to perform heartbeat detection on the multiple node servers to obtain multiple heartbeat detection information. When the target master node server fails, the master and slave node servers and the target shared transmission channel S808 are switched.

[0096] If the system operation mode is in the automatic switching mode ( S809 ), the controller determines the system operation mode ( S810 ) based on the data communication status between the data transfer module and the external switching device, thereby determining whether the current system operation mode is the dedicated link mode or the shared redundancy mode. After confirming the system operation mode, data management ( S811 ) can be performed.

[0097] According to an embodiment of the present application, the program code for executing the computer program provided by the embodiment of the present application can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C" 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, using an Internet service provider to connect via the Internet).

[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] Those skilled in the art will appreciate that the features described in the various embodiments of this application may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in this application. In particular, the features described in the various embodiments of this application may be combined and / or coupled in various ways without departing from the spirit and teachings of this application. All such combinations and / or couplings fall within the scope of this 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 each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present application, those skilled in the art may make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present application.

Claims

1. A server control system, characterized in that: The system comprises: a data transfer module, electrically connected to the external switching device, for forwarding first communication data transmitted by the plurality of node servers via the plurality of dedicated transmission channels to the external switching device in response to the system operating mode being the dedicated link mode; a channel switching module, configured to, in response to the system operating mode being the shared redundancy mode, electrically connect a target shared transmission channel determined from a plurality of shared transmission channels between the plurality of node servers and the channel switching module to a network connection device, so that second communication data is transmitted between the plurality of node servers and the network connection device through the target shared channel; The controller is electrically connected to the data transfer module and the channel switching module, and is used to determine the system operation mode according to the data communication state between the data transfer module and the external switching device.

2. The system according to claim 1, wherein: The plurality of node servers include a first node server and a second node server, and the channel switching module is further configured to: When the system operation mode is the shared redundancy mode and the first node server is the target master node server, the first shared transmission channel of the first node server is electrically connected 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 the first dedicated transmission channel, and the second communication data is forwarded to the second node server through the second dedicated transmission channel.

3. The system according to claim 2, characterized in that The controller is also used for: When the system operation mode is the shared redundancy mode, the dedicated port networks of multiple dedicated network ports in the first node server and the second node server are configured according to the switching network parameters of the external switching device electrically connected to the data switching module, so that the first node server and the second node server can communicate interactively through the data switching module.

4. The system according to claim 1, wherein: The data transfer module is also used for: When the system operation mode is the dedicated link mode, 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 are synchronously or asynchronously forwarded to the external switching device.

5. The system according to claim 1, wherein: The controller is also used for: When the data communication state between the data transfer module and the external switching device is that both the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are forwarded to the external switching device, determining that the system operation mode is the dedicated link mode; When the data communication status between the data adapter 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, the system operation mode is determined to be the shared redundancy mode.

6. The system according to claim 1, wherein: The controller is also used for: When the system operation mode is the shared redundancy mode, a target master node server is determined from the multiple node servers according to 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, characterized in that The controller is also used for: In a case where the second communication data is transmitted through the target shared transmission channel, performing heartbeat detection on the multiple node servers to obtain multiple heartbeat detection information; In a case where the heartbeat detection information of the target master node server indicates a heartbeat abnormality, determining an update target master node server from a plurality of the node servers other than the target master node server based on attribute information of the plurality of the node servers, and updating the shared transmission channel of the update target master node server to the target shared transmission channel; When the heartbeat detection information of any node server other than the target master node server is abnormal, the target master node server transmits fault self-check instruction information to the any node server through the data transfer module, so that the any node server performs self-check maintenance.

8. The system according to claim 1, wherein: The controller is also used for: When the system operation mode is configured as the automatic switching mode, the system operation mode is switched 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.

9. A server control method, applied to the server control system according to any one of claims 1 to 8, characterized in that: The method comprises: When the system operation mode is the dedicated link mode, the plurality of node servers transmit the first communication data to the data transfer module through the plurality of dedicated transmission channels, so that the data transfer module forwards the first communication data to the external switching device; In a case where the system operation mode is a shared redundancy mode, determining a target shared transmission channel from a plurality of shared transmission channels of a plurality of the node servers; The target shared transmission channel is electrically connected to a network connection device, so that the second communication data is transmitted between the plurality of node servers and the network connection device through the target shared channel.

10. The method according to claim 9, characterized in that The method further comprises: When the system operation mode is the automatic switching mode, obtaining the data communication status between the data transfer module and the external switching device; When the data communication state between the data transfer module and the external switching device is that both the first communication data transmitted through the first dedicated transmission channel and the first communication data transmitted through the second dedicated transmission channel are forwarded to the external switching device, switching the system operation mode to the dedicated link mode; When the data communication status between the data adapter 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, the system operation mode is switched to the shared redundancy mode.

Citation Information

Patent Citations

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

    CN111740864A

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

    CN117278398A