server
Patent Information
- Application Number
- CN202310530769.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2043-05-11
AI Technical Summary
然而,在上述过程中,计算设备一旦投入使用其硬件配置不会频繁更换,由于每个业务的业务需求不同,若将每个业务单独部署在独立的计算设备中,计算设备的硬件资源将无法及时随着业务需求的增减而灵活改变,导致计算设备应用的灵活度较低
[0066]The server provided in this application embodiment may include a Baseboard Management Controller (BMC), a first physical node, and a second physical node. The BMC is electrically connected to both the first and second physical nodes, and the hardware resources of the first and second physical nodes are independent of each other. The BMC can determine the server's operating mode, which can be either a single-node mode or a dual-node mode. In single-node mode, the BMC can control the first and second physical nodes to operate in a master-slave mode. In dual-node mode, the BMC can control the first and second physical nodes to operate independently. In this server, the BMC can flexibly switch between single-node and dual-node modes according to business needs, improving the flexibility of server applications.
Smart Images

Figure CN116737364B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and more particularly to a server. Background Technology
[0002] Different services are typically deployed on computing devices (such as servers), but in some scenarios with high requirements for data security and operational reliability, it is necessary to isolate different services from each other during runtime.
[0003] In related technologies, each service can be deployed separately on an independent computing device to achieve physical isolation between services. However, in this process, once the computing device is put into use, its hardware configuration will not be changed frequently. Since the business requirements of each service are different, if each service is deployed separately on an independent computing device, the hardware resources of the computing device will not be able to change flexibly in a timely manner with the increase or decrease of business requirements, resulting in low flexibility in the application of the computing device. Summary of the Invention
[0004] This application provides a server whose working mode can be flexibly switched between single-node mode and dual-node mode according to business needs, making the server more flexible in application.
[0005] In a first aspect, embodiments of this application provide a server, the server including a baseboard management controller (BMC), a first physical node, and a second physical node; the BMC is electrically connected to both the first physical node and the second physical node; the hardware resources of the first physical node and the second physical node are independent of each other; wherein,
[0006] The BMC is used to determine the working mode of the server, which is either a single-node mode or a dual-node mode.
[0007] In the case where the working mode is the single-node mode, the BMC controls the first physical node and the second physical node to operate in master-slave mode;
[0008] When the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently.
[0009] The server in the above technical solution contains two physical nodes with independent hardware resources. Each physical node can run independently for business processing, or it can run in master-slave mode with the other physical node for business processing. The server's working mode can be determined by the BMC in the server, and the hardware resources of the physical nodes can be configured according to the working mode. This allows the server to flexibly switch between single-node mode and dual-node mode, improving the server's flexibility in application.
[0010] In one 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;
[0011] The second physical node includes a second processor, a second controller, a second DC-DC power conversion module, and a second power supply, wherein,
[0012] The BMC is electrically connected to the first processor, the second processor, the first controller, and the second controller, respectively.
[0013] The first processor is electrically connected to the first controller, the first DC-DC power conversion module, and the second processor, respectively;
[0014] The first controller is also electrically connected to the first DC-DC power conversion module and the second controller, respectively;
[0015] The first DC-DC power conversion module is also electrically connected to the first power supply;
[0016] The second processor is also electrically connected to the second controller and the second DC-DC power conversion module, respectively;
[0017] The second DC-DC power conversion module is also electrically connected to the second controller and the second power supply, respectively.
[0018] In the above technical solution, each physical node has a separate processor, controller, DC-DC power conversion module and power supply. Furthermore, the BMC can control the processor and controller in each physical node individually, so that each physical node can be independent in terms of hardware resources. This is beneficial to ensuring the security of data when each physical node performs business processing independently.
[0019] In one possible implementation, the BMC is further configured to run a first management component and a second management component, wherein,
[0020] The first management component is used to manage the first physical node;
[0021] The second management component is used to manage the second physical node.
[0022] In the above technical solution, the first physical node and the second physical node can be managed separately by two management components running in BMC, which helps to ensure the security of data when each physical node performs business processing independently.
[0023] In one possible implementation, when the operating 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:
[0024] The BMC is used for:
[0025] The first processor is designated as the master processor, and the second processor is designated as the slave processor.
[0026] The system controls 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 state of the first processor and the operating state of the second processor;
[0027] A single-node mode instruction is sent 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 first processor is the master processor and the second processor is the slave processor.
[0028] 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.
[0029] It should be noted that the BMC can also designate 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 instructions are 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 to control the operating status and power supply status of the first processor through the first controller.
[0030] In the above technical solution, when the server needs to be set to single-node mode, the BMC can be used to configure the working mode and hardware resources of each physical node in the server, eliminating the need for unpacking the server and improving the convenience of configuring the server's working mode for users. Furthermore, compared to dual-processor servers in related technologies, each physical node in the above server can act as either a master or slave node, making the server more flexible when operating in single-node mode.
[0031] In one possible implementation, the first controller is used to control the operating state and power supply state of the first processor, including:
[0032] The first controller is used for:
[0033] Collect the first processor information of the first processor;
[0034] The operating state and power supply state of the first processor are controlled based on the information of the first processor.
[0035] In the above technical solution, when the server is in single-node mode, the first controller can use the first processor information to individually control the operating status and power supply status of the first processor, making the control of the server simpler.
[0036] In one possible implementation, the first controller is used to control the operating state and power supply state of the second processor via the second controller, including:
[0037] The first controller is used for:
[0038] The second processor information of the second processor is collected through the second controller;
[0039] A first control signal and a second control signal are generated based on the information from the second processor; 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.
[0040] The first control signal and the second control signal are sent to the second controller.
[0041] In the above technical solution, when the server is in single-node mode, the first controller can control the second controller, thereby enabling the first controller to control the second processor and the second DC-DC power conversion module, making server management more convenient.
[0042] In one possible implementation, when the operating mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently, including:
[0043] The BMC is used for:
[0044] The system controls the startup of a first management component and a second management component; the first management component is used to manage the operating state of a first processor; the second management component is used to manage the operating state of a second processor.
[0045] A dual-node mode instruction is sent 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 the main processors.
[0046] The first controller is used to control the operating state and power supply state of the first processor;
[0047] The second controller is used to control the operating status and power supply status of the second processor.
[0048] In the above technical solution, when the server needs to be set to a dual-node mode, the BMC (Branch Management Center) can be used to configure the working mode and hardware resources of each physical node in the server, eliminating the need for unpacking the server and improving the convenience of configuring the server's working mode for users. Furthermore, the controller and processor in each physical node operate independently, and the management components corresponding to the processor run independently in the BMC, achieving physical isolation of each physical node in its operational state to ensure the security of each physical node when performing business processing independently.
[0049] In one possible implementation, the first controller is used to control the operating state and power supply state of the first processor, including:
[0050] The first controller is used for:
[0051] Collect the first processor information of the first processor;
[0052] The operating state and power supply state of the first processor are controlled according to the information of the first processor;
[0053] The second controller is used to control the operating state and power supply state of the second processor, including:
[0054] The second controller is used for:
[0055] Collect the second processor information of the second processor;
[0056] The operating state and power supply state of the second processor are controlled based on the information from the second processor.
[0057] In the above technical solution, each controller controls a processor independently, which can achieve physical isolation between 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.
[0058] In one possible implementation, the BMC is also used for:
[0059] If the first physical node is determined to be faulty, the first management component is shut down and the second management component is started; wherein, the second management component is used to manage the operating status of the second processor;
[0060] Send a master node instruction to the second processor and the second controller, the master node instruction being used to instruct the second processor to become the master processor.
[0061] In the above technical solution, when a physical node malfunctions, another physical node can be controlled by the BMC to continue working as the master node, so as to avoid data loss or interruption of business processing and improve the robustness of the server during use.
[0062] In one 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;
[0063] The first processor is electrically connected to the first memory and the first hard disk, respectively;
[0064] The second processor is electrically connected to the second memory and the second hard disk, respectively.
[0065] In the above technical solution, each physical node has its own hard disk and memory, which can achieve physical isolation of each physical node in the data storage process, so as to ensure the security of data when each physical node performs business processing independently.
[0066] The server provided in this application embodiment may include a Baseboard Management Controller (BMC), a first physical node, and a second physical node. The BMC is electrically connected to both the first and second physical nodes, and the hardware resources of the first and second physical nodes are independent of each other. The BMC can determine the server's operating mode, which can be either a single-node mode or a dual-node mode. In single-node mode, the BMC can control the first and second physical nodes to operate in a master-slave mode. In dual-node mode, the BMC can control the first and second physical nodes to operate independently. In this server, the BMC can flexibly switch between single-node and dual-node modes according to business needs, improving the flexibility of server applications. Attached Figure Description
[0067] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0068] Figure 1 A schematic diagram of a server architecture provided in an embodiment of this application;
[0069] Figure 2 A schematic diagram of another server architecture provided in an embodiment of this application;
[0070] Figure 3 A schematic diagram of the structure of a dual-processor server in the related art provided in this application embodiment;
[0071] Figure 4 A schematic diagram of the structure of a server provided in an embodiment of this application;
[0072] Figure 5 Another schematic diagram of the server structure provided in this application embodiment;
[0073] Figure 6 A schematic diagram of another server structure provided in an embodiment of this application;
[0074] Figure 7 Another schematic diagram of the server structure provided in this application embodiment;
[0075] Figure 8 A schematic diagram illustrating a server working mode configuration method provided in an embodiment of this application;
[0076] Figure 9A schematic flowchart illustrating a configuration method for another server operating mode provided in this application embodiment;
[0077] Figure 10 This is a schematic diagram of a configuration device for a server's working mode provided in an embodiment of this application. Detailed Implementation
[0078] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0079] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0080] Typically, different services can be deployed on computing devices. However, in scenarios with high requirements for data security and operational reliability, it is necessary to isolate different services from each other at runtime. Currently, there are two ways to isolate different services at runtime: one is to isolate them at the physical level, for example, by deploying each service on a separate computing device; the other is to isolate them at the logical level, for example, by using virtualization technology to virtualize a computing device into multiple virtual machines, and deploying each service separately in each virtual machine.
[0081] It should be noted that the computing device involved in the embodiments of this application may include, but is not limited to, a server. The following embodiments will all use a computing device as a server for the scheme description.
[0082] Below, in conjunction with Figure 1 and Figure 2 The server architecture for the two methods described above will be explained.
[0083] Figure 1 This is a schematic diagram of a server architecture provided in an embodiment of this application. Please refer to... Figure 1The server cluster includes Server 1 and Server 2, which are independent of each other. Each application can be deployed separately on a dedicated server. For example, in... Figure 1 In (a), application A is deployed separately on server 1; Figure 1 In (b), application B is deployed separately on server 2. Because applications A and B are deployed on independent servers, data security is guaranteed. However, in this architecture, once a server is put into use, its hardware configuration is not frequently changed. When the business needs of application A or application B increase or decrease, the server's hardware resources cannot flexibly adapt to these changes, resulting in low server flexibility. Furthermore, if a server malfunctions, the services deployed on that server, as well as related services, will be affected.
[0084] Figure 2 This is a schematic diagram of another server architecture provided in an embodiment of this application. Please refer to... Figure 2 This architecture allows a single server to be virtualized into two virtual machines, with each application deployed separately within a virtual machine. For example, application A could be deployed in virtual machine 1, and application B in virtual machine 2. While this architecture enables logical isolation between different business functions, the lack of physical isolation in terms of server hardware resources makes it difficult to guarantee data security in scenarios with stringent security requirements.
[0085] In view of this, embodiments of this application provide a server that can update the hardware structure of a dual-processor server in related technologies to achieve flexible switching between single-node mode and dual-node mode through BMC without changing the server's hardware device. This allows a single server to work in both single-node and dual-node modes, making server applications more flexible.
[0086] To facilitate understanding of the differences in hardware structure between the server provided in this application embodiment and the dual-processor server in related technologies, the following will be discussed in conjunction with... Figure 3 First, we will explain the structure of the dual-processor server based on the relevant technology.
[0087] Figure 3 This is a schematic diagram of the structure of a dual-processor server according to an embodiment of this application. Please refer to... Figure 3The server 10 includes a Baseboard Management Controller (BMC), a main 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.
[0088] For example, the first hard drive and the second hard drive can be, but are not limited to, the following: Non-Volatile Memory Express (NVMe) hard drive, Solid State Disk (SSD), Hard Disk Drive (HDD), or Hybrid Hard Disk (HHD), etc.
[0089] For example, the first memory and the second memory can be dual-inline-memory modules (DIMMs).
[0090] exist Figure 3 In the BMC, 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 running status information of the main processor and slave processor. The running status information may include platform information such as processor temperature, power consumption, frequency and external device model.
[0091] 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.
[0092] The main processor can access the slave processor, as well as the second hard drive and second memory connected to the slave processor, through the channel between the main processor and the slave processor.
[0093] The controller is electrically connected to the DC-DC power module and can be used to control the operating status of the master processor and slave processor, as well as to control the power-on and power-off of the DC-DC power module for the master processor and slave processor. The operating status can include reset and working mode, etc.
[0094] The DC-DC power module is electrically connected to both the main processor and the slave processor, and is used to convert the DC power received from the PSU into the operating voltage required by the main processor and the slave processor. For example, the DC power received from the PSU can be 12V DC.
[0095] The PSU module can be used to convert external AC / DC voltage to DC, for example, converting 220V AC to 12V DC.
[0096] exist Figure 3 In the dual-processor server shown, when the main processor malfunctions, the slave processor cannot work independently. Therefore, the server can only operate in single-node mode, and the dual-processor server can only function as a physical node.
[0097] The following is combined with Figures 4-7 The structure of the server proposed in the embodiments of this application will be described.
[0098] Figure 4 This is a schematic diagram of a server structure provided in an embodiment of this application. Please refer to... Figure 4 The server 10 includes a baseboard management controller (BMC), a first physical node, and a second physical node.
[0099] exist Figure 4 In the server shown, the BMC is electrically connected to both the first and second physical nodes. The hardware resources of the first and second physical nodes are independent, and the types of hardware resources for the first and second physical nodes can be the same or different. Therefore, the server can operate independently with two physical nodes, and each physical node can be physically isolated from the other when performing business processing, which helps ensure data security when different physical nodes are performing business processing independently.
[0100] BMC can be used to determine the server's operating mode, which can be either single-node or dual-node mode. Specifically:
[0101] When operating in single-node mode, BMC can control the first and second physical nodes to operate in master-slave mode.
[0102] When operating in dual-node mode, BMC can control the first and second physical nodes to operate independently.
[0103] It should be noted that there can be at least two physical nodes. This embodiment of the application describes the number of physical nodes as two, while in other embodiments, the number of physical nodes can be 3, 4, 5, ... The embodiment of the application does not limit the number of physical nodes.
[0104] The server provided in this application embodiment includes two physical nodes with independent hardware resources. Each physical node can run independently for business processing, or it can run in master-slave mode with the other physical node for business processing. This allows the server to flexibly switch between single-node mode and dual-node mode without changing the server's hardware configuration. Furthermore, the server can flexibly configure hardware resources according to business needs during use, improving the server's flexibility in application.
[0105] Figure 5 This is a schematic diagram of another server structure provided in an embodiment of this application. Please refer to... Figure 5 ,exist Figure 4 Based on the server 10 shown, 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.
[0106] The BMC is electrically connected to the first processor, the second processor, the first controller, and the second controller, respectively.
[0107] It should be noted that the first controller and the second controller can be connected by wires or wirelessly.
[0108] 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.
[0109] The second processor is also electrically connected to the second controller and the second DC-DC power conversion module, and the second DC-DC power conversion module is also electrically connected to the second controller and the second power supply.
[0110] The first DC-DC power conversion module can convert the power supplied by the first power source into the operating power required by the first processor.
[0111] The second DC-DC power conversion module can convert the power supplied by the second power source into the operating power required by the second processor.
[0112] In the embodiments of this application, the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0113] In this embodiment, the controller can be a Complex Programmable Logic Device (CPLD) or a Field-Programmable Gate Array (FPGA).
[0114] In the server provided in this application embodiment, each physical node has a separate processor and controller. The BMC can control the processor and controller in each physical node independently, making each physical node independent in terms of hardware resources. This helps ensure data security when each physical node is processing business independently. Furthermore, 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 malfunctions, it does not affect the normal operation of the other physical node, thus improving the robustness of the server during use.
[0115] Figure 6 This is a schematic diagram of another server structure provided in an embodiment of this application. Please refer to... Figure 6 Server 10 includes a BMC, a first physical node, and a second physical node.
[0116] BMC is also used to run the first management component and the second management component. The first management component manages the first physical node, and the second management component manages the second physical node.
[0117] In the server provided in this application embodiment, the first physical node and the second physical node can be managed separately by two management components running in the BMC, which helps to ensure the security of data when each physical node performs business processing independently.
[0118] Figure 7 This is a schematic diagram of another server structure provided in an embodiment of this application. Please refer to... Figure 7 ,exist Figure 6 In the server 10 shown, the first physical node also includes a first memory and a first hard disk; the second physical node also includes a second memory and a second hard disk.
[0119] The first processor is electrically connected to the first memory and the first hard disk, respectively.
[0120] The second processor is electrically connected to the second memory and the second hard disk.
[0121] The server provided in this application embodiment has a separate hard disk and memory for each physical node, which can achieve physical isolation of each physical node in the data storage process, so as to ensure the security of data when each physical node performs business processing independently.
[0122] The server provided in this application embodiment can operate in single-node or dual-node mode. In practical applications, users can configure the server's operating mode through the BMC according to their business needs. Once the BMC determines the user-set operating mode, it can configure the server accordingly to ensure the server operates in that mode.
[0123] 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 illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0124] Below, in conjunction with Figure 8 This section explains the process by which the BMC determines the server's operating mode and configures the server based on that determined operating mode.
[0125] Figure 8 This is a schematic diagram illustrating a server operation mode configuration method provided in an embodiment of this application. Please refer to [link / reference]. Figure 8 The process includes:
[0126] S801, Get the first instruction.
[0127] The execution entity in this embodiment can be a server, or a BMC within the server. Optionally, the BMC can be implemented in software, or in a combination of software and hardware.
[0128] The BMC can also run configuration software, which can be used to determine the server's operating mode and configure the server according to the determined operating mode. In this embodiment, the configuration software can be a standalone version or a web-based version.
[0129] The first instruction can be a server mode configuration instruction. For example, this mode configuration instruction can be encoded using a coding symbol, where a coding symbol of 1 indicates a single-node mode and a coding symbol of 0 indicates a two-node mode.
[0130] The first command can be used to set the server's operating mode. For example, in practical applications, the first command can have the following two uses:
[0131] The first scenario: The system page corresponding to the configuration software has function buttons for each working mode. Users can send a first command to the configuration software by triggering any function button on the system page, instructing the configuration software to set the server's working mode according to the working mode corresponding to that function button.
[0132] The second scenario: In dual-node mode, when one physical node in the server is working alone and the hardware resources of the other physical node are idle, if the BMC detects that the amount of business 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.
[0133] In practical use, users can configure the server's operating mode according to their business needs. For example, when business needs are small but data security requirements are high, a dual-node mode can be used. In this mode, each physical node can perform a single business process independently, and each physical node is completely isolated from the others at the physical layer, ensuring data security.
[0134] When business demand is high, a single-node mode can be used. In this mode, two physical nodes can work together to process business data, which helps to improve the speed of business processing and the reliability of the system during the business process.
[0135] S802. Determine the server's operating mode according to the first instruction.
[0136] If the server is operating in single-node mode, then S803 to S805 will be executed.
[0137] If the server is in dual-node mode, then S806 to S807 will be executed.
[0138] S803, the first processor is designated as the master processor, and the second processor is designated as the slave processor.
[0139] In this embodiment, the BMC can 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 can 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 the hardware resource information of each physical node.
[0140] S804, control the startup of the first management component and control the shutdown of the second management component.
[0141] The first management component is used to manage the operating status of the first processor and the operating status of the second processor.
[0142] For example, the first management component can communicate with the first processor via physical signal lines, and with the second processor via the first processor, to obtain the operating status information of the first and second processors, and manage the operating status of the first and second processors using the aforementioned operating status information. For example, the operating status information may include the processor's operating information and the processor's internal register information, and the register information may include temperature, power consumption, and frequency, etc.
[0143] S805 sends single-node mode instructions to the first processor, the second processor, the first controller, and the second controller.
[0144] The single-mode instruction is used to instruct the first processor to be the master processor and the second processor to be the slave processor.
[0145] In one possible implementation, the BMC can send master mode control signals to the first processor and the first controller to enable the first processor to operate in master processor mode and the first controller to operate in master controller mode; the BMC can also send slave mode control signals to the second processor and the second controller to enable the second processor to operate in slave processor mode and the second controller to operate in slave controller mode.
[0146] When the first controller operates in master controller mode and the second controller operates in slave controller mode:
[0147] The first controller can be used to: collect first processor information of the first processor; and control the operating status and power supply status of the first processor based on the first processor information.
[0148] The first controller can also be used to: acquire second processor information of the second processor through the second controller; and generate a first control signal and a second control signal based on the second processor information. The first control signal is used to control the operating state of the second processor; the second control signal is used to control the power supply state of the second DC-DC power conversion module.
[0149] For example, the power supply state may include a power-on state or a power-off state.
[0150] It should be noted that S804 can be executed before S805, or after S805, or S804 can be executed synchronously with S805.
[0151] The following section, using S806 to S807, explains the configuration process for the dual-node mode of the server.
[0152] S806, control the startup of the first management component and the second management component.
[0153] In dual-node mode, the first management component manages the running status of the first processor, and the second management component manages the running status of the second processor.
[0154] S807 sends dual-node mode instructions to the first processor, the second processor, the first controller, and the second controller.
[0155] The dual-mode instruction is used to instruct the first and second processors to become the master node.
[0156] For example, the BMC can 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 master processor mode, and the first controller and the second controller to operate in master controller mode.
[0157] In dual-node mode, the first controller can be used to control the operating status and power supply status of the first processor, and the second controller can be used to control the operating status and power supply status of the second processor.
[0158] Specifically, 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 based on the first processor information.
[0159] The second controller can be used to: collect second processor information from the second processor; and control the operating status and power supply status of the second processor based on the second processor information.
[0160] It should be noted that S806 can be executed before S807, or after S807, or S806 can be executed synchronously with S807.
[0161] The server provided in this application embodiment includes two physical nodes with independent hardware resources. Each physical node can run independently for business processing, or it can run in master-slave mode with the other physical node for business processing. The working mode of the server can be determined by the BMC in the server and the working mode of the physical nodes of the server can be configured according to the working mode, so that the server can flexibly switch between single-node mode and dual-node mode, improving the flexibility of the server in application.
[0162] In one possible scenario, when the server is operating in single-node mode, if the first physical node malfunctions, an alert can be sent to the user via the BMC. In situations requiring urgent recovery for disaster recovery, backup, or other business operations, the user can use this alert to readjust the physical nodes through the BMC to restore the server to normal operation as quickly as possible.
[0163] Below, in conjunction with Figure 9 For scenarios requiring emergency recovery of disaster recovery or backup services, BMC explains the configuration process for the server's working mode.
[0164] Figure 9 This is a schematic flowchart illustrating a configuration method for another server operating mode provided in an embodiment of this application. Please refer to... Figure 9 The process includes:
[0165] S901. If a fault is determined in the first physical node, control the first management component to shut down and control the second management component to start.
[0166] The second management component is used to manage the operating status of the second processor.
[0167] S902, sends master node instructions to the second processor and the second controller.
[0168] The master node instruction is used to instruct the second processor to become the master processor.
[0169] After receiving instructions from the master node, the second controller can collect information about the second processor and control its operating and power supply status based on that information.
[0170] It should be noted that S901 can be executed before S902, or after S902, or S901 can be executed synchronously with S902.
[0171] The server provided in this application embodiment can control another physical node to continue working 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.
[0172] Figure 10 This is a schematic diagram of a configuration device for a server's operating mode, provided in an embodiment of this application. Please refer to... Figure 10 The server's operating mode configuration device 20 includes a processing module 21 and a sending module 22, wherein:
[0173] The processing module 21 is used to acquire a first instruction and determine the working mode of the server based on the first instruction.
[0174] In one possible implementation, the server operates in a single-node mode, and the processing module 21 is specifically configured to determine the first processor as the master processor and the second processor as the slave processor.
[0175] The processing module 21 is further specifically used to control 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 state of the first processor and the operating state of the second processor;
[0176] The sending module 22 is specifically used to send a single-node mode instruction 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 first processor is the master processor and the second processor is the slave processor.
[0177] In one possible implementation, the server operates in a dual-node mode, and the processing module 21 is specifically used to control the startup of a first management component and a second management component; the first management component is used to manage the operating state of a first processor; and the second management component is used to manage the operating state of a second processor.
[0178] The sending module 22 is specifically used 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 used to indicate that the first processor and the second processor are the main processors.
[0179] In one possible implementation, the processing module 21 is further specifically configured to, upon determining that the first physical node is faulty, control the first management component to shut down and control the second management component to start; wherein the second management component is used to manage the operating state of the second processor;
[0180] The sending module 22 is specifically used to send a master node instruction to the second processor and the second controller, wherein the master node instruction is used to instruct the second processor to be the master processor.
[0181] The server operating mode configuration device provided in this application embodiment can be used to execute the above. Figure 8and / or Figure 9 The technical solutions shown in the embodiments have similar implementation principles and technical effects, and will not be described in detail here.
[0182] This application also provides a chip for performing the above-described... Figure 8 and / or Figure 9 The configuration method for the server's working mode described in the embodiment has a similar implementation principle and technical effect, and will not be repeated here.
[0183] This application provides a computer-readable storage medium storing computer-executable instructions; when executed by a processor, the computer-executable instructions are used to implement the above-described... Figure 8 and / or Figure 9 The method for configuring the server's working mode as described in the embodiment.
[0184] This application provides a computer program product, which includes a computer program that, when executed by a processor, causes the computer to perform the above-described... Figure 8 and / or Figure 9 The method for configuring the server's working mode as described in the embodiment.
[0185] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
[0186] In this application, the term "comprising" and its variations can refer to non-limiting inclusion; the term "or" and its variations can refer to "and / or". The terms "first", "second", etc., in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
Claims
1. A server, characterized in that, The server is used to run services and includes a Baseboard Management Controller (BMC), a first physical node, and a second physical node. The BMC is electrically connected to both the first and second physical nodes. The hardware resources of the first and second physical nodes are independent. The first physical node includes a first processor and a first controller. The second physical node includes a second processor and a second controller. The BMC includes a first management component and a second management component. The BMC determines the server's operating mode in response to a first instruction, which is based on traffic volume and data security. The operating mode can be a single-node mode or a dual-node mode. In the single-node mode, the BMC controls the first physical node and the second physical node to operate in a master-slave mode. The BMC controls the startup of the first management component and the shutdown of the second management component. The first management component manages the operating status of the first processor and the second processor. The first controller controls the operating status and power supply status of the first processor, and the first controller controls the operating status and power supply status of the second processor through the second controller. When the working mode is the dual-node mode, the BMC controls the first physical node and the second physical node to operate independently; the BMC is used to control the startup of the first management component and the 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; the first controller is used to control the operating state of the first processor; the second controller is used to control the operating state of the second processor.
2. The server according to claim 1, characterized in that, The first physical node also includes a first DC-DC power conversion module and a first power supply; The second physical node also includes 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 2, characterized in that, When the operating 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 also used for: The first processor is designated as the master processor, and the second processor is designated as the slave processor. A single-node mode instruction is sent 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 first processor is the master processor and the second processor is the slave processor.
4. The server according to claim 3, characterized in that, The first controller is used to control the operating state and power supply state of the first processor, including: The first controller is used for: Collect the first processor information of the first processor; The operating state and power supply state of the first processor are controlled based on the information of the first processor.
5. The server according to claim 3 or 4, characterized in that, The first controller is used to control the operating state and power supply state of the second processor through the second controller, including: The first controller is used for: The second processor information of the second processor is collected through the second controller; A first control signal and a second control signal are generated based on the information from the second processor; 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. The first control signal and the second control signal are sent to the second controller.
6. The server according to any one of claims 1-2, characterized in that, When the operating 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 also used for: A dual-node mode instruction is sent 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 the main processors. The first controller is used to control the power supply status of the first processor; The second controller is used to control the power supply status of the second processor.
7. The server according to claim 6, characterized in that, The first controller is used to control the operating state and power supply state of the first processor, including: The first controller is used for: Collect the first processor information of the first processor; The operating state and power supply state of the first processor are controlled according to the information of the first processor; The second controller is used to control the operating state and power supply state of the second processor, including: The second controller is used for: Collect the second processor information of the second processor; The operating state and power supply state of the second processor are controlled based on the information from the second processor.
8. The server according to any one of claims 3-7, characterized in that, The BMC is also used for: If the first physical node is determined to be faulty, the first management component is shut down and the second management component is started; wherein, the second management component is used to manage the operating status of the second processor; Send a master node instruction to the second processor and the second controller, the master node instruction being used to instruct the second processor to become the master processor.
9. The server according to any one of claims 2-8, 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
CN216719089U
Server device and method for remote controlling the same
US20110029633A1