server

By introducing independent physical nodes and substrate management controllers into the server, flexible switching of server mode is achieved, and the problem of hardware resources cannot be flexibly adjusted in the existing technology is solved, application flexibility and robustness are improved, and data security is ensured. .

WO2024230135A1PCT designated stage expired Publication Date: 2024-11-14XFUSION DIGITAL TECH CO LTD

Patent Information

Application Number
PCT/CN2023/135206
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-11
Filing Date
2023-11-29
Publication Date
2024-11-14

AI Technical Summary

Technical Problem

In scenarios where data security and operational reliability are high, it is difficult for existing servers to flexibly adjust hardware resources to adapt to changes in business needs, resulting in low application flexibility.

Method used

Design a server that includes two independent physical nodes and a substrate management controller (BMC). BMC can switch the server mode to single node mode or dual node mode according to business needs, and control the master-slave relationship between nodes separately to realize Flexible configuration of hardware resources.

Benefits of technology

Improves the flexibility and robustness of the server when applied, ensures data security for each physical node when running separately, and avoids data loss or business interruption in the event of node failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023135206_14112024_PF_FP_ABST
    Figure CN2023135206_14112024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application is a server. The server comprises a baseboard management controller (BMC), a first physical node and a second physical node, the BMC being separately and electrically connected to the first physical node and the second physical node. Hardware resources of the first physical node and the second physical node are independent of each other. The BMC is used for determining the working mode of the server, the working mode being a single-node mode or a double-node mode. When the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode; and when the working mode is the double-node mode, the BMC controls the first physical node and the second physical node to operate independently. The server can be controlled by the BMC to be flexibly switched between the single-node mode and the double-node mode according to service requirements, thereby improving the use flexibility of the server.
Need to check novelty before this filing date? Find Prior Art

Description

server

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 11, 2023, with application number 202310530769.3 and application name “Server”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of server technology, and in particular to a server. Background Art

[0003] Different services are usually deployed on computing devices (such as servers). However, in some scenarios with high data security and operational reliability requirements, different services are required to be isolated from each other during operation.

[0004] In related technologies, each business can be deployed independently on a separate computing device to achieve physical isolation between them. However, once a computing device is put into use, its hardware configuration is not frequently changed. Since each business has different business requirements, if each business is deployed on a separate computing device, the hardware resources of the computing device will not be able to flexibly change in time with the increase or decrease of business needs, resulting in low flexibility in the application of the computing device.

[0005] Summary of the Invention

[0006] An embodiment of the present application provides a server, the working mode of which can be flexibly switched between a single-node mode and a dual-node mode according to business needs, making the server more flexible in application.

[0007] In a first aspect, an embodiment of the present application provides a server, comprising a baseboard management controller (BMC), a first physical node, and a second physical node; the BMC is electrically connected to the first physical node and the second physical node, respectively; the hardware resources of the first physical node and the second physical node are independent of each other; wherein,

[0008] The BMC is used to determine the working mode of the server, where the working mode is a single-node mode or a dual-node mode;

[0009] Wherein, when the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode;

[0010] When the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently.

[0011] The server of the above technical solution includes two physical nodes with independent hardware resources. For these two physical nodes, each physical node can run independently to process business, and can also run with another physical node in master-slave mode to process business. The server's working mode can be determined by the BMC in the server, and the hardware resources of the server's physical nodes can be configured according to the working mode, so that the server can flexibly switch between single-node mode and dual-node mode, thereby improving the flexibility of the server in application.

[0012] In a possible implementation, the first physical node includes a first processor, a first controller, a first DC-DC power conversion module, and a first power supply;

[0013] The second physical node includes a second processor, a second controller, a second DC-DC power conversion module and a second power supply, wherein:

[0014] The BMC is electrically connected to the first processor, the second processor, the first controller and the second controller respectively;

[0015] The first processor is electrically connected to the first controller, the first DC-DC power conversion module and the second processor respectively;

[0016] The first controller is also electrically connected to the first DC-DC power conversion module and the second controller respectively;

[0017] The first DC-DC power conversion module is also electrically connected to the first power supply;

[0018] The second processor is also electrically connected to the second controller and the second DC-DC power conversion module respectively;

[0019] The second DC-DC power conversion module is also electrically connected to the second controller and the second power supply respectively.

[0020] In the above technical solution, each physical node has a separate processor, controller, DC-DC power conversion module, and power supply, and the BMC can independently control the processor and controller in each physical node, making each physical node independent in hardware resources. This helps ensure the data security of each physical node when performing business processing independently.

[0021] In a possible implementation, the BMC is further configured to run a first management component and a second management component, wherein:

[0022] The first management component is used to manage the first physical node;

[0023] The second management component is used to manage the second physical node.

[0024] In the above technical solution, the first physical node and the second physical node can be managed separately by two management components running in the BMC, which is conducive to ensuring the security of data when each physical node performs business processing separately.

[0025] In a possible implementation, when the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode, including:

[0026] The BMC is used to:

[0027] determining the first processor as a master processor and determining the second processor as a slave processor;

[0028] Controlling the startup of the first management component and the shutdown of the second management component; wherein the first management component is used to manage the operating status of the first processor and the operating status of the second processor;

[0029] Sending a single-node mode instruction to the first processor, the second processor, the first controller, and the second controller, wherein the single-node mode instruction is used to indicate that the first processor is a master processor and the second processor is a slave processor;

[0030] The first controller is used to control the operating state and power supply state of the first processor, and the second controller is used to control the operating state and power supply state of the second processor.

[0031] It should be noted that the BMC can also determine the second processor as the master processor and the first processor as the slave processor. In this case, the BMC can control the shutdown of the first management component and the startup of the second management component. The BMC is also used to send single-node mode instructions to the first processor, the second processor, the first controller, and the second controller. The single-node mode instruction is used to indicate that the second processor is the master processor and the first processor is the slave processor. The second controller is used to control the operating status and power supply status of the second processor, and control the operating status and power supply status of the first processor through the first controller.

[0032] In the above technical solution, when the server's operating mode needs to be set to single-node mode, the operating mode and hardware resources of each physical node in the server can be configured through the BMC, eliminating the need to unpack the server, thereby improving the user's convenience in configuring the server's operating mode. Furthermore, compared to dual-processor servers in related technologies, each physical node in the above server can function as either a master node or a slave node, making the server more flexible when operating in single-node mode.

[0033] In a possible implementation, the first controller is configured to control the operating state and power supply state of the first processor, including:

[0034] The first controller is used for:

[0035] collecting first processor information of the first processor;

[0036] The operating state and power supply state of the first processor are controlled according to the first processor information.

[0037] In the above technical solution, when the server is in single-node mode, the first controller can independently control the operating state and power supply state of the first processor through the first processor information, making the control of the server easier.

[0038] In a possible implementation, the first controller is configured to control the operating state and power supply state of the second processor through the second controller, including:

[0039] The first controller is used for:

[0040] collecting second processor information of the second processor by the second controller;

[0041] Generate a first control signal and a second control signal according to the second processor information; wherein the first control signal is used to control the operating state of the second processor; and the second control signal is used to control the power supply state of the second DC-DC power conversion module;

[0042] The first control signal and the second control signal are sent to the second controller.

[0043] In the above technical solution, when the server is in single-node mode, the first controller can control the second controller to realize the first controller's control over the second processor and the second DC-DC power conversion module, making the server management more convenient.

[0044] In a possible implementation, when the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently, including:

[0045] The BMC is used to:

[0046] Controlling the startup of a first management component and a second management component; the first management component is used to manage the operating state of the first processor; the second management component is used to manage the operating state of the second processor;

[0047] Sending a dual-node mode instruction to the first processor, the second processor, the first controller, and the second controller; the dual-node mode instruction is used to indicate that the first processor and the second processor are main processors;

[0048] The first controller is used to control the operating state and power supply state of the first processor;

[0049] The second controller is used to control the operating state and power supply state of the second processor.

[0050] In the above technical solution, when the server's operating mode needs to be set to dual-node mode, the operating mode and hardware resources of each physical node in the server can be configured through the BMC, eliminating the need to unpack the server, thereby improving user convenience in configuring the server's operating mode. Furthermore, the controller and processor in each physical node operate independently, and the management components corresponding to the processors run independently in the BMC. This allows for physical isolation of each physical node in terms of its operational state, ensuring the security of each physical node when performing independent business processing.

[0051] In a possible implementation, the first controller is configured to control the operating state and power supply state of the first processor, including:

[0052] The first controller is used for:

[0053] collecting first processor information of the first processor;

[0054] controlling the operating state and the power supply state of the first processor according to the first processor information;

[0055] The second controller is used to control the operating state and power supply state of the second processor, including:

[0056] The second controller is used for:

[0057] collecting second processor information of the second processor;

[0058] The operating state and the power supply state of the second processor are controlled according to the second processor information.

[0059] In the above technical solution, each controller controls a processor independently, which can achieve physical isolation of the operating status and power supply status of the processor in each physical node, so as to ensure the security of each physical node when performing business processing independently.

[0060] In a possible implementation manner, the BMC is further configured to:

[0061] When it is determined that the first physical node fails, controlling the first management component to shut down and controlling the second management component to start up; wherein the second management component is used to manage the operating state of the second processor;

[0062] A master node instruction is sent to the second processor and the second controller, where the master node instruction is used to instruct the second processor to be a master processor.

[0063] In the above technical solution, when an exception occurs in a physical node, the BMC can control another physical node to continue working as the main node to avoid data loss or interruption of business processing, thereby improving the robustness of the server during use.

[0064] In a possible implementation, the first physical node further includes a first memory and a first hard disk; the second physical node further includes a second memory and a second hard disk;

[0065] The first processor is electrically connected to the first memory and the first hard disk respectively;

[0066] The second processor is electrically connected to the second memory and the second hard disk respectively.

[0067] In the above technical solution, each physical node has a separate hard disk and memory, which can achieve physical isolation of each physical node during data storage to ensure data security when each physical node performs business processing independently.

[0068] The server provided in the embodiment of the present application may include a baseboard management controller BMC, a first physical node, and a second physical node. The BMC is electrically connected to the first physical node and the second physical node, respectively, and the hardware resources of the first physical node and the second physical node are independent of each other. Among them, the BMC can be used to determine the working mode of the server, and the working mode is a single-node mode or a dual-node mode; when the working mode is a single-node mode, the BMC can control the first physical node and the second physical node to operate in a master-slave mode; when the working mode is a dual-node mode, the BMC can control the first physical node and the second physical node to operate independently. In the above-mentioned server, the BMC can be used to control the server to flexibly switch between single-node mode and dual-node mode according to business needs, thereby improving the flexibility of server application. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0070] FIG1 is a schematic diagram of an architecture of a server provided in an embodiment of the present application;

[0071] FIG2 is a schematic diagram of another architecture of a server provided in an embodiment of the present application;

[0072] FIG3 is a schematic structural diagram of a dual-processor server according to a related art embodiment of the present application;

[0073] FIG4 is a schematic diagram of the structure of a server provided in an embodiment of the present application;

[0074] FIG5 is another schematic diagram of the structure of a server provided in an embodiment of the present application;

[0075] FIG6 is another structural diagram of a server provided in an embodiment of the present application;

[0076] FIG7 is another structural diagram of a server provided in an embodiment of the present application;

[0077] FIG8 is a schematic diagram of a method for configuring a working mode of a server provided in an embodiment of the present application;

[0078] FIG9 is a flow chart of a method for configuring another server working mode according to an embodiment of the present application;

[0079] FIG10 is a schematic structural diagram of a device for configuring a working mode of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0080] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0081] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0082] Typically, different services can be deployed on a computing device. However, in some scenarios where data security and operational reliability are critical, different services must be isolated from each other during runtime. Currently, there are two ways to isolate different services at runtime: one is to physically isolate each service, for example, by deploying each service on a separate computing device; the other is to isolate each service at a logical level, for example, by using virtualization technology to split a computing device into multiple virtual machines and deploying each service separately in each virtual machine.

[0083] It should be noted that the computing devices involved in the embodiments of the present application may include, but are not limited to, servers. The following embodiments are all described with the computing device being a server.

[0084] The following describes the architecture of the server in the above two methods with reference to FIG1 and FIG2 .

[0085] Figure 1 is a schematic diagram of the architecture of the server provided in an embodiment of the present application. Referring to Figure 1, the server cluster includes server 1 and server 2, and server 1 and server 2 are independent of each other. Each application can be deployed separately in an independent server. For example, in (a) of Figure 1, application A is deployed separately in server 1; in (b) of Figure 1, application B is deployed separately in server 2. Since application A and application B are deployed separately in independent servers, data security can be guaranteed. However, under this architecture, once the server is put into use, its hardware configuration will not be frequently replaced. When the business demand of application A or application B increases or decreases subsequently, the hardware resources of the server will not be able to change flexibly in time with the increase or decrease of business demand, resulting in low flexibility of the server. In addition, if there is a problem with the server, the business deployed in the server and the business associated with the business will be affected.

[0086] FIG2 is a schematic diagram of another server architecture provided by an embodiment of the present application. Referring to FIG2 , a server can be virtualized into two virtual machines, and each application can be deployed separately in a virtual machine. For example, application A is deployed separately in virtual machine 1, and application B is deployed separately in virtual machine 2. In this architecture, although the server can achieve logical isolation of various services, since physical isolation is not achieved in the server's hardware resources, it is difficult to ensure data security in some scenarios with strict business data security requirements.

[0087] In view of this, an embodiment of the present application provides a server that can update the hardware structure of a dual-processor server in the related art to achieve flexible conversion of the server between single-node mode and dual-node mode through BMC control without changing the hardware device of the server, so that a server can work in both single-node mode and dual-node mode, making the server more flexible in application.

[0088] To facilitate understanding of the differences in hardware structure between the server provided in the embodiment of the present application and the dual-processor server in the related art, the structure of the dual-processor server in the related art will be described below with reference to FIG3 .

[0089] FIG3 is a schematic diagram of the structure of a dual-processor server according to a related art embodiment of the present application. Referring to FIG3 , server 10 includes a baseboard management controller (BMC), a master processor, a slave processor, a controller, a DC-DC (Direct Current-Direct Current) power conversion module, a power supply unit (PSU), a first hard disk, a first memory, a second hard disk, and a second memory.

[0090] Exemplarily, the first hard disk and the second hard disk can be, but are not limited to, the following hard disks: Non-Volatile Memory express (NVMe) hard disk, Solid State Disk (SSD), Hard Disk Drive (HDD), or Hybrid Hard Disk (HHD), etc.

[0091] Exemplarily, the first memory and the second memory may be Dual-Inline-Memory-Modules (DIMMs).

[0092] In Figure 3, the BMC is electrically connected to the main processor. The BMC can be used to run the management component, which can communicate with the main processor through physical signal lines to obtain the operating status information of the main processor and the slave processor. The operating status information may include platform information such as the processor's temperature, power consumption, frequency, and external device model.

[0093] The main processor is also electrically connected to the slave processor, controller, DC-DC power conversion module, PSU, first hard disk and first memory respectively, and the slave processor is also electrically connected to the DC-DC power conversion module, second hard disk and second memory.

[0094] The main processor can access the slave processor, and the second hard disk and the second memory externally mounted on the slave processor through the channel between the main processor and the slave processor.

[0095] The controller is electrically connected to the DC-DC power supply module and can be used to control the operating status of the main processor and the slave processor, and control the DC-DC power supply module to power on and off the main processor and the slave processor. The operating status may include: reset and working mode, etc.

[0096] The DC-DC power supply module is electrically connected to the main processor and the slave processor respectively, and is used to convert the voltage of the DC power received from the PSU into the operating voltage required by the main processor and the slave processor. For example, the voltage of the DC power received from the PSU can be 12V DC.

[0097] The PSU module can be used to convert an external AC / DC voltage into DC power, for example, converting 220V AC power into 12V DC power.

[0098] In the dual-processor server shown in FIG3 , when an abnormality occurs in the main processor, the slave processor cannot work independently. Therefore, the server can only work in a single-node mode, and the dual-processor server can only work as one physical node.

[0099] The structure of the server proposed in the embodiment of the present application is described below with reference to FIG. 4 to FIG. 7 .

[0100] FIG4 is a schematic diagram of a server structure provided by an embodiment of the present application. Referring to FIG4 , the server 10 includes a baseboard management controller BMC, a first physical node, and a second physical node.

[0101] In the server shown in Figure 4, the BMC is electrically connected to the first physical node and the second physical node, respectively. The hardware resources of the first physical node and the second physical node are independent of each other, and the hardware resource types of the first physical node and the second physical node can be the same, or the hardware resource types of the first physical node and the second physical node can be different. Therefore, the server can operate independently as two physical nodes, and each physical node can be physically isolated from the other physical node when performing business processing, which is conducive to ensuring the security of data when different physical nodes perform business processing independently.

[0102] The BMC can be used to determine the server's operating mode, which can be single-node mode or dual-node mode.

[0103] When the working mode is the single-node mode, the BMC may control the first physical node and the second physical node to operate in a master-slave mode.

[0104] When the working mode is the dual-node mode, the BMC can control the first physical node and the second physical node to operate independently.

[0105] It should be noted that there can be at least two physical nodes. The embodiment of the present application is described with the number of physical nodes being two. In other embodiments, the number of physical nodes can also be 3, 4, 5,... The embodiment of the present application does not limit the number of physical nodes.

[0106] The server provided in the embodiment of the present application includes two physical nodes with independent hardware resources. For these two physical nodes, each physical node can run independently to process business, and can also run in a master-slave mode with another physical node to process business. This allows the server to be flexibly switched between single-node mode and dual-node mode without changing the server's hardware configuration. The server can flexibly configure hardware resources according to business needs when in use, thereby improving the flexibility of the server in application.

[0107] FIG5 is another schematic diagram of the structure of a server provided in an embodiment of the present application. Referring to FIG5 , based on the server 10 shown in FIG4 , the first physical node may include a first processor, a first controller, a first DC-DC power conversion module, and a first power supply, and the second physical node may include a second processor, a second controller, a second DC-DC power conversion module, and a second power supply.

[0108] The BMC is electrically connected to the first processor, the second processor, the first controller, and the second controller respectively.

[0109] It should be noted that the first controller and the second controller may be connected by wire or by wireless.

[0110] The first processor is electrically connected to the first controller, the first DC-DC power conversion module and the second processor respectively. The first controller is also electrically connected to the first DC-DC power conversion module and the second controller respectively. The first DC-DC power conversion module is also electrically connected to the first power supply.

[0111] The second processor is also electrically connected to the second controller and the second DC-DC power conversion module respectively, and the second DC-DC power conversion module is also electrically connected to the second controller and the second power supply respectively.

[0112] The first DC-DC power conversion module can convert the power provided by the first power supply into the working power required by the first processor.

[0113] The second DC-DC power conversion module can convert the power provided by the second power supply into the working power required by the second processor.

[0114] In the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0115] In the embodiment of the present application, the controller may be a complex programmable logic device (CPLD) or a field programmable gate array (FPGA).

[0116] In the server provided in the embodiments of the present application, each physical node has a separate processor and controller. The BMC can independently control the processor and controller in each physical node, making each physical node independent in terms of hardware resources. This helps ensure data security when each physical node performs independent business processing. In addition, each physical node has a separate DC-DC power conversion module and power supply, allowing each physical node to be powered on and off independently. When one physical node fails, it does not affect the normal operation of other physical nodes, which can improve the robustness of the server during use.

[0117] FIG6 is another structural diagram of a server provided in an embodiment of the present application. Referring to FIG6 , the server 10 includes a BMC, a first physical node, and a second physical node.

[0118] The BMC is also used to run a first management component and a second management component, wherein the first management component is used to manage the first physical node and the second management component is used to manage the second physical node.

[0119] In the server provided in the embodiment of the present application, the first physical node and the second physical node can be managed separately by two management components running in the BMC, which is conducive to ensuring the security of data when each physical node performs business processing separately.

[0120] FIG7 is another structural diagram of a server provided in an embodiment of the present application. Referring to FIG7 , in the server 10 shown in FIG6 , the first physical node further includes a first memory and a first hard disk; the second physical node further includes a second memory and a second hard disk.

[0121] The first processor is electrically connected to the first memory and the first hard disk respectively.

[0122] The second processor is electrically connected to the second memory and the second hard disk respectively.

[0123] In the server provided in the embodiment of the present application, each physical node has a separate hard disk and memory, which can achieve physical isolation of each physical node during data storage to ensure the security of data when each physical node performs business processing independently.

[0124] The server provided in the embodiments of the present application can operate in a single-node mode or a dual-node mode. In actual application, the user can set the server's operating mode through the BMC according to business needs. After the BMC determines the operating mode set by the user, it can configure the server according to the operating mode to enable the server to operate in accordance with the operating mode.

[0125] It should be noted that the structure of the server 10 illustrated in the embodiments of this application does not constitute a specific limitation on the server 10. In some embodiments, the server 10 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0126] 8 , the process of the BMC determining the working mode of the server and configuring the server according to the determined working mode will be described.

[0127] FIG8 is a schematic diagram of a method for configuring a server working mode according to an embodiment of the present application. Referring to FIG8 , the process includes:

[0128] S801: Get a first instruction.

[0129] The execution subject of this embodiment may be a server, or a BMC in the server. Optionally, the BMC may be implemented by software, or by a combination of software and hardware.

[0130] The BMC may also run configuration software that can be used to determine the server's operating mode and configure the server based on the determined operating mode. In an embodiment of the present application, the configuration software may be a standalone version or a web version.

[0131] The first instruction may be a mode configuration instruction of the server. For example, the mode configuration instruction may be encoded using a coding symbol, wherein when the coding symbol is 1, it indicates a single-node mode; and when the coding symbol is 0, it indicates a dual-node mode.

[0132] The first instruction can be used to set the working mode of the server. For example, in actual application, the first instruction can have the following two situations:

[0133] The first case: the system page corresponding to the configuration software is provided with function buttons corresponding to each working mode. The user can trigger any function button in the system page to send a first instruction to the configuration software to instruct the configuration software to set the server's working mode according to the working mode corresponding to the function button.

[0134] The second situation: In dual-node mode, when one physical node in the server works alone and the hardware resources of the other physical node are idle, if the BMC detects that the business volume processed by the working physical node exceeds the preset business volume threshold, it can send a first instruction to the configuration software to instruct the configuration software to switch the server from dual-node mode to single-node mode.

[0135] In actual use, users can set the server's operating mode based on business needs. For example, when business needs are small but data security requirements are high, dual-node mode can be used. In this case, each physical node can independently handle a business, and each physical node is completely isolated from each other at the physical level, ensuring data security.

[0136] When business demands are large, a single-node mode can be used. At this time, two physical nodes can collaborate to process business, which is beneficial to improving the speed of business processing and the reliability of the system during business processing.

[0137] S802: Determine the working mode of the server according to the first instruction.

[0138] When the server is in single-node mode, execute S803 to S805;

[0139] When the server's working mode is the dual-node mode, S806 to S807 are executed.

[0140] S803: Determine the first processor as a master processor, and determine the second processor as a slave processor.

[0141] In this embodiment, the BMC may determine the physical node corresponding to the master node and the physical node corresponding to the slave node in the two physical nodes according to the default mode; the BMC may also determine the physical node corresponding to the master node and the physical node corresponding to the slave node in the two physical nodes according to business requirements and hardware resource information of each physical node.

[0142] S804: Control the first management component to start and control the second management component to shut down.

[0143] The first management component is used to manage the operating status of the first processor and the operating status of the second processor.

[0144] For example, the first management component can communicate with the first processor via a physical signal line, and communicate with the second processor via the first processor, to obtain operating status information of the first processor and the second processor, and manage the operating status of the first processor and the second processor using the operating status information. For example, the operating status information may include processor operating information and register information within the processor, and the register information may include temperature, power consumption, and frequency.

[0145] S805: Send a single-node mode instruction to the first processor, the second processor, the first controller, and the second controller.

[0146] The single mode instruction is used to instruct the first processor to be a master processor and the second processor to be a slave processor.

[0147] In one possible implementation, the BMC may send a master mode control signal to the first processor and the first controller to enable the first processor to operate in the master processor mode and the first controller to operate in the master controller mode; the BMC may send a slave mode control signal to the second processor and the second controller to enable the second processor to operate in the slave processor mode and the second controller to operate in the slave controller mode.

[0148] When the first controller works in master mode and the second controller works in slave mode:

[0149] The first controller can be used to: collect first processor information of the first processor; and control the operating state and power supply state of the first processor according to the first processor information.

[0150] The first controller may also be configured to: collect second processor information from the second processor via the second controller; and generate a first control signal and a second control signal based on the second processor information, wherein the first control signal is configured to control the operating state of the second processor; and the second control signal is configured to control the power supply state of the second DC-DC power conversion module.

[0151] Exemplarily, the power supply state may include a power-on state or a power-off state.

[0152] It should be noted that S804 may be executed before S805, or S804 may be executed after S805, or S804 and S805 may be executed synchronously.

[0153] Next, the configuration process of the dual-node mode of the server will be described in conjunction with S806 to S807.

[0154] S806: Control the first management component and the second management component to start.

[0155] In the dual-node mode, the first management component is used to manage the running state of the first processor, and the second management component is used to manage the running state of the second processor.

[0156] S807: Send a dual-node mode instruction to the first processor, the second processor, the first controller, and the second controller.

[0157] The dual-mode instruction is used to instruct the first processor and the second processor to be master nodes.

[0158] For example, the BMC may send a master mode control signal to the first processor, the second processor, the first controller, and the second controller to enable the first processor and the second processor to operate in the master processor mode and the first controller and the second controller to operate in the master controller mode.

[0159] In the dual-node mode, the first controller may be used to control the operating state and power supply state of the first processor, and the second controller may be used to control the operating state and power supply state of the second processor.

[0160] Specifically, the first controller may be configured to: collect first processor information of the first processor; and control the operating state and power supply state of the first processor according to the first processor information.

[0161] The second controller can be used to: collect second processor information of the second processor; and control the operating state and power supply state of the second processor according to the second processor information.

[0162] It should be noted that S806 may be executed before S807, or S806 may be executed after S807, or S806 and S807 may be executed synchronously.

[0163] The server provided in the embodiment of the present application includes two physical nodes with independent hardware resources. For these two physical nodes, each physical node can operate independently to process business, and can also operate in a master-slave mode with another physical node to process business. The server's working mode can be determined by the BMC in the server and the working mode of the server's physical node can be configured according to the working mode, so that the server can flexibly switch between single-node mode and dual-node mode, thereby improving the flexibility of the server in application.

[0164] In one possible scenario, when a server is operating in single-node mode, if the first physical node experiences an anomaly, the BMC can issue an alert to the user. In scenarios where disaster recovery, backup, or other services require urgent recovery, the user can use the BMC to readjust the physical node based on this alert to restore the server to normal operation as quickly as possible.

[0165] 9 , the following describes the process of configuring the server's working mode by the BMC in scenarios where disaster recovery or backup services require urgent recovery.

[0166] FIG9 is a flow chart of another method for configuring a server operating mode according to an embodiment of the present application. Referring to FIG9 , the process includes:

[0167] S901: When it is determined that the first physical node fails, control the first management component to shut down and control the second management component to start up.

[0168] The second management component is used to manage the running state of the second processor.

[0169] S902: Send a master node instruction to the second processor and the second controller.

[0170] The master node instruction is used to instruct the second processor to be the master processor.

[0171] After obtaining the master node instruction, the second controller may collect the second processor information of the second processor, and control the operation state and power supply state of the second processor according to the second processor information.

[0172] It should be noted that S901 may be executed before S902, or S901 may be executed after S902, or S901 and S902 may be executed synchronously.

[0173] The server provided in the embodiment of the present application can control another physical point to continue working through the BMC when an abnormality occurs in one physical node, so as to avoid data loss or interruption of business processing, thereby improving the robustness of the server during use.

[0174] FIG10 is a schematic diagram of the structure of a configuration device for a server operating mode provided in an embodiment of the present application. Referring to FIG10 , the configuration device 20 for the server operating mode includes a processing module 21 and a sending module 22, wherein:

[0175] The processing module 21 is configured to obtain a first instruction and determine an operating mode of the server according to the first instruction.

[0176] In a possible implementation, the server operates in a single-node mode, and the processing module 21 is specifically configured to determine the first processor as a master processor and the second processor as a slave processor;

[0177] The processing module 21 is further specifically configured to control the startup of the first management component and the shutdown of the second management component; wherein the first management component is configured to manage the operating status of the first processor and the operating status of the second processor;

[0178] The sending module 22 is specifically configured to send a single-node mode instruction to the first processor, the second processor, the first controller, and the second controller, wherein the single-node mode instruction is configured to instruct the first processor to be a master processor and the second processor to be a slave processor.

[0179] In a possible implementation, the server operates in a dual-node mode, and the processing module 21 is specifically configured to control the startup of the first management component and the second management component; the first management component is configured to manage the operating status of the first processor; and the second management component is configured to manage the operating status of the second processor.

[0180] The sending module 22 is specifically configured to send a dual-node mode instruction to the first processor, the second processor, the first controller, and the second controller; the dual-node mode instruction is configured to instruct the first processor and the second processor to be master processors.

[0181] In a possible implementation, the processing module 21 is further specifically configured to, when determining that the first physical node has failed, control the first management component to shut down and control the second management component to start up; wherein the second management component is configured to manage the operating state of the second processor;

[0182] The sending module 22 is specifically configured to send a master node instruction to the second processor and the second controller, where the master node instruction is configured to instruct the second processor to be a master processor.

[0183] The configuration device of the working mode of the server provided in the embodiment of the present application can be used to execute the technical solutions shown in the embodiments of Figures 8 and / or 9 above. Its implementation principles and technical effects are similar and will not be repeated here.

[0184] An embodiment of the present application also provides a chip, which is used to execute the configuration method of the working mode of the server as described in the embodiments of Figures 8 and / or 9 above. Its implementation principle and technical effects are similar and will not be repeated here.

[0185] An embodiment of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon; when the computer-executable instructions are executed by a processor, they are used to implement a method for configuring the working mode of the server as described in the embodiments of Figures 8 and / or 9 above.

[0186] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer executes the configuration method of the server working mode described in the embodiments of Figures 8 and / or 9 above.

[0187] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations.

[0188] In this application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". In this application, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In this application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

Claims

1. A server, characterized in that: The server includes a baseboard management controller BMC, a first physical node, and a second physical node; the BMC is electrically connected to the first physical node and the second physical node respectively; the hardware resources of the first physical node and the second physical node are independent of each other; wherein, The BMC is used to determine the working mode of the server, and the working mode is a single-node mode or a dual-node mode; Wherein, when the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode; When the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently.

2. The server according to claim 1, characterized in that: The first physical node includes a first processor, a first controller, a first DC-DC power conversion module and a first power supply; The second physical node includes a second processor, a second controller, a second DC-DC power conversion module and a second power supply, wherein: The BMC is electrically connected to the first processor, the second processor, the first controller and the second controller respectively; The first processor is electrically connected to the first controller, the first DC-DC power conversion module and the second processor respectively; The first controller is also electrically connected to the first DC-DC power conversion module and the second controller respectively; The first DC-DC power conversion module is also electrically connected to the first power supply; The second processor is also electrically connected to the second controller and the second DC-DC power conversion module respectively; The second DC-DC power conversion module is also electrically connected to the second controller and the second power supply respectively.

3. The server according to claim 1 or 2, characterized in that: The BMC is also used to run the first management component and the second management component, wherein: The first management component is used to manage the first physical node; The second management component is used to manage the second physical node.

4. The server according to claim 3, characterized in that: When the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode, including: The BMC is used to: determining the first processor as a master processor and determining the second processor as a slave processor; Controlling the first management component to start and controlling the second management component to shut down; wherein the first management component is used to manage the operating state of the first processor and the operating state of the second processor; Sending a single-node mode instruction to the first processor, the second processor, the first controller, and the second controller, wherein the single-node mode instruction is used to indicate that the first processor is a master processor and the second processor is a slave processor; The first controller is used to control the operating state and power supply state of the first processor, and the operating state and power supply state of the second processor are controlled through the second controller.

5. The server according to claim 4, characterized in that: The first controller is used to control the operation state and power supply state of the first processor, including: The first controller is used for: collecting first processor information of the first processor; The operating state and the power supply state of the first processor are controlled according to the first processor information.

6. The server according to claim 4 or 5, characterized in that: The first controller is used to control the operation state and power supply state of the second processor through the second controller, including: The first controller is used for: collecting second processor information of the second processor by the second controller; Generate a first control signal and a second control signal according to the second processor information; wherein the first control signal is used to control the operation state of the second processor; and the second control signal is used to control the power supply state of the second DC-DC power conversion module; The first control signal and the second control signal are sent to the second controller.

7. The server according to any one of claims 1 to 3, characterized in that: When the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently, including: The BMC is used to: Controlling the startup of a first management component and a second management component; the first management component is used to manage the running state of the first processor; the second management component is used to manage the running state of the second processor; Sending a dual-node mode instruction to the first processor, the second processor, the first controller, and the second controller; the dual-node mode instruction is used to indicate that the first processor and the second processor are main processors; The first controller is used to control the operating state and power supply state of the first processor; The second controller is used to control the operating state and power supply state of the second processor.

8. The server according to claim 7, characterized in that: The first controller is used to control the operation state and power supply state of the first processor, including: The first controller is used for: collecting first processor information of the first processor; controlling the operating state and the power supply state of the first processor according to the first processor information; The second controller is used to control the operation state and power supply state of the second processor, including: The second controller is used for: collecting second processor information of the second processor; The operating state and the power supply state of the second processor are controlled according to the second processor information.

9. The server according to any one of claims 4 to 8, characterized in that: The BMC is also used to: In the case of determining that the first physical node fails, controlling the first management component to shut down, and controlling the second management component to start up; wherein the second management component is used to manage the running state of the second processor; A master node instruction is sent to the second processor and the second controller, where the master node instruction is used to instruct the second processor to be a master processor.

10. The server according to any one of claims 2 to 9, characterized in that: The first physical node further includes a first memory and a first hard disk; the second physical node further includes a second memory and a second hard disk; The first processor is electrically connected to the first memory and the first hard disk respectively; The second processor is electrically connected to the second memory and the second hard disk respectively.

Citation Information

Patent Citations

  • Server system, management method and device

    CN103210379A

  • Rack-mounted server system with case management function

    CN105549696A

  • Multi-node server management method, system and device and storage medium

    CN115664922A

  • Server

    CN116737364A

  • Server

    CN216719089U

Cited By

  • Server hardware circuit, mode control method thereof and server

    CN122309451A