Server power-on control system, method and device and readable storage medium

Through the coordinated work of out-of-band management subsystem and complex programmable logic devices, the out-of-order problem in the server cluster is solved due to human factors, ensuring that the server powers on in the preset order, and improving the maintainability of the cluster.

CN118897613APending Publication Date: 2024-11-05INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410866477.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-30
Publication Date
2024-11-05

Smart Images

  • Figure CN118897613A_ABST
    Figure CN118897613A_ABST
Patent Text Reader

Abstract

The invention discloses a server power-on control system, method and device and a readable storage medium, and the system comprises an out-of-band management subsystem which is used for obtaining a preset server power-on sequence and the state of each server in a server cluster; determining a target server which currently enters a bootable state according to the server booting sequence and the state of each server in the server cluster, and broadcasting that the target server currently enters the bootable state in the server cluster; the substrate management controller in each server is used for sending a power-on lock releasing notice to the complex programmable logic device in the server when receiving the broadcast message that the server enters the power-on state at present; and the complex programmable logic device in each server is used for controlling each startup time sequence to be normally started when receiving the power-on locking release notification so as to control the power-on of the server. According to the method and the device, disorder among the servers is avoided, and the maintainability of the servers is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer application technology, and in particular to a server power-on control system, method, device and computer-readable storage medium. Background Art

[0002] As the amount of storage increases, the number of deployed servers is getting larger and larger. In order to improve the management efficiency of storage, a multi-link storage composite model cluster consisting of multiple servers has emerged. A multi-model composite model cluster has thousands of large-capacity storage mechanical hard disks.

[0003] Because the server involves thousands of hard disks, hard disk serial number management is a top priority in cluster management. This includes data reading, hard disk operations, hot repair of hard disks, etc., which are all strongly related to the corresponding disk serial numbers.

[0004] A cluster composed of multiple servers is easily affected by subjective human factors when the servers are moved and put on the shelves. Because each server is powered on at a different time, it will cause a disorder between the servers, and then between the disks, which brings huge hidden dangers to maintenance and operation. It will lead to problems such as replacing the wrong data disk during maintenance and recognizing the wrong hard disk when operating the single-disk data, which seriously affects the maintainability of the server.

[0005] In summary, how to effectively solve the problems of disorder between servers, which in turn leads to disorder between disks and seriously affects the maintainability of servers, is an issue that technical personnel in this field urgently need to solve. Summary of the invention

[0006] The purpose of the present application is to provide a server power-on control system, which enables each server in a server cluster to be powered on according to a preset power-on sequence, thereby avoiding disorder between servers and greatly improving the maintainability of the servers; another purpose of the present application is to provide a server power-on control method, device and computer-readable storage medium.

[0007] In order to solve the above technical problems, this application provides the following technical solutions:

[0008] A server power-on control system, comprising:

[0009] The out-of-band management subsystem is used to obtain a preset server startup sequence and a status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed; determine a target server that is currently in a startup state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current startup state in the server cluster;

[0010] The baseboard management controller in each server is used to send a power-on lock release notification to the complex programmable logic device in the server when receiving a broadcast message indicating that the server has entered a start-up state;

[0011] The complex programmable logic device in each server is used to control each boot sequence to start normally when receiving the power-on lock release notification, so as to control each hard disk in the server to power on.

[0012] In a specific implementation of the present application, the complex programmable logic device in each server is further used to control each hard disk in the server to power on after controlling the power-on of the server to complete when it is determined that the server is a storage-type server, and when it is determined that each hard disk in the server has completed powering on, send a signal that the server has completed powering on to the baseboard management controller in the server;

[0013] The baseboard management controller in each server is also used to forward the received signal indicating that the server has completed startup to the out-of-band management subsystem;

[0014] The out-of-band management subsystem is further used to parse the signal indicating that the server has completed startup, obtain the first server identification information of the server that has currently completed startup, and broadcast the first server identification information within the server cluster.

[0015] In a specific implementation of the present application, it also includes a primary control expander in each server and each secondary control expander in each server;

[0016] The complex programmable logic device in each server is specifically used to send a first power-on control signal to the primary control expander in the server when receiving the power-on lock release notification; when it is determined according to the power-on result information of each hard disk that all hard disks in the server have been powered on, send a server startup signal to the baseboard management controller in the server;

[0017] The primary control expander in each server is used to power on according to the received first power-on control signal, obtain the power-on sequence of the secondary control expanders corresponding to the server, and send a second power-on control signal to each secondary control expander in the server according to the power-on sequence of the secondary control expanders; and return the received hard disk power-on result information to the complex programmable logic device in the server;

[0018] Each secondary control expander in each server is used to obtain the hard disk power-on sequence corresponding to the secondary control expander when receiving the second power-on control signal, and control the power-on of each hard disk hung under the secondary control expander according to the hard disk power-on sequence; obtain the hard disk power-on result information of each hard disk, and report the power-on result information of each hard disk to the primary control expander in the server.

[0019] In a specific implementation of the present application, the out-of-band management subsystem is further used to send a control complex programmable logic device disabling instruction to a baseboard management controller in the server in the out-of-order startup state when detecting that there is a server in the server cluster in the out-of-order startup state;

[0020] The baseboard management controller in each server is also used to control the complex programmable logic device to be in a disabled state when receiving the instruction to control the complex programmable logic device to be disabled.

[0021] In a specific implementation of the present application, an alarm subsystem is also included;

[0022] The out-of-band management subsystem is further configured to send an alarm instruction to the alarm subsystem after detecting that there are servers in the server cluster that are in an out-of-order startup state;

[0023] The alarm subsystem is used to issue an out-of-order startup alarm prompt according to the alarm instruction.

[0024] In a specific implementation of the present application, it also includes a prompt information display subsystem;

[0025] The out-of-band management subsystem is further configured to, after detecting that there is a server in the server cluster that is in an out-of-order startup state, obtain second server identification information of a server that is currently in a startup state, and send a prompt information display instruction to the prompt information display subsystem according to the second server identification information;

[0026] The prompt information display subsystem is used to output prompt information that the server corresponding to the second server identification information has not been normally started according to the prompt information display instruction.

[0027] In a specific implementation of the present application, the server cluster includes computing servers and storage servers, and each computing server includes a management host and a management slave;

[0028] The out-of-band management subsystem is specifically used to obtain the server startup sequence according to the management host, management slave, and storage server and the status of each server in the server cluster.

[0029] A server power-on control method, comprising:

[0030] Obtaining a preset server startup sequence and the status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed;

[0031] The target server that is currently in the bootable state is determined according to the server boot sequence and the status of each server in the server cluster, and the target server that is currently in the bootable state is broadcast in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server is currently in the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

[0032] A server power-on control device, comprising:

[0033] A status acquisition submodule, used to acquire a preset server startup sequence and the status of each server in the server cluster; wherein each server in the server cluster is a server after cluster networking is completed;

[0034] The server power-on control module is used to determine the target server that is currently in the bootable state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current entry into the bootable state in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server is currently in the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

[0035] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned server power-on control method are implemented.

[0036] The server power-on control system provided in the present application includes an out-of-band management subsystem for obtaining a preset server power-on sequence and the status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed; the target server currently entering the power-on state is determined according to the server power-on sequence and the status of each server in the server cluster, and the target server currently entering the power-on state is broadcasted in the server cluster; the baseboard management controller in each server is used to send a power-on lock release notification to the complex programmable logic device in the server when receiving a broadcast message that the server currently enters the power-on state; the complex programmable logic device in each server is used to control each power-on sequence to start normally when receiving the power-on lock release notification, so as to control the power-on of the server.

[0037] It can be seen from the above technical solution that each server in the server cluster is networked in advance, and the power-on sequence of each server in the server cluster is pre-set. The out-of-band management subsystem is used to obtain the preset server startup sequence and the status of each server in the server cluster, and the target server that is currently in the power-on state is determined according to the server startup sequence and the status of each server in the server cluster, and the target server is currently in the power-on state. The server cluster broadcasts that the target server is currently in the power-on state. The baseboard management controller in each server will determine whether it is currently in the power-on state based on the received broadcast message. When it is determined that the server is currently in the power-on state, it sends a power-on unlock notification to the complex programmable logic device in the server. The complex programmable logic device in the server controls each power-on sequence to start normally based on the received power-on unlock notification, thereby controlling the power-on of the server. This solves the problem of inconsistent power-on sequences of multiple servers, which is easily affected by subjective human factors when servers are moved and put on the shelves, and then leads to inconsistent order between the physical slots of the hard disks in the cluster and the system. All servers in the server cluster are powered on according to the preset power-on sequence, avoiding disorder between servers and greatly improving the maintainability of the servers.

[0038] Correspondingly, the present application also provides a server power-on control device, equipment and computer-readable storage medium corresponding to the above-mentioned server power-on control system, which has the above-mentioned technical effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. 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 creative work.

[0040] Figure 1 This is a structural block diagram of a server power-on control system in an embodiment of the present application;

[0041] Figure 2 This is a structural block diagram of a power-on control system for a storage server in an embodiment of the present application;

[0042] Figure 3 This is a structural block diagram of a power-on control system for a computing server in an embodiment of the present application;

[0043] Figure 4 This is a structural block diagram of a storage server in an embodiment of the present application;

[0044] Figure 5This is an implementation flow chart of a server power-on control method in an embodiment of the present application;

[0045] Figure 6 This is a structural block diagram of a power-on control device for a server in an embodiment of the present application.

[0046] The following are marked in the accompanying drawings:

[0047] 1-out-of-band management subsystem, 2-baseboard management controller, 3-complex programmable logic device, 4-first-level control expander, 5-second-level control expander. DETAILED DESCRIPTION

[0048] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0049] See also Figure 1 , Figure 1 This is a structural block diagram of a server power-on control system in an embodiment of the present application. The system may include:

[0050] The out-of-band management subsystem 1 is used to obtain a preset server startup sequence and the status of each server in the server cluster; wherein each server in the server cluster is a server after cluster networking is completed; according to the server startup sequence and the status of each server in the server cluster, a target server that is currently in a startup state is determined, and the target server is broadcasted in the server cluster that it is currently in a startup state;

[0051] The baseboard management controller 2 in each server is used to send a power-on lock release notification to the complex programmable logic device 3 in the server when receiving a broadcast message indicating that the server has entered a start-up state;

[0052] The complex programmable logic device 3 in each server is used to control each boot sequence to start normally when receiving the power-on lock release notification, so as to control the power-on of the server.

[0053] The server power-on control system provided in the embodiment of the present application includes an out-of-band management subsystem 1, a baseboard management controller 2 in each server, and a complex programmable logic device 3 in each server. The out-of-band management subsystem 1 is used to network the servers in the server cluster, and the power-on sequence of each server in the server cluster is pre-set. When it is necessary to power on each server in the server cluster, the out-of-band management subsystem 1 obtains the preset server power-on sequence and the status of each server in the server cluster. The status of each server in the server cluster includes a power-on state, a power-on state, a power-on completion state, a current power-on state, etc.

[0054] The out-of-band management subsystem 1 determines the target server that is currently in the power-on state based on the acquired server power-on sequence and the status of each server in the server cluster, and broadcasts the target server's current entry into the power-on state in the server cluster, so that the baseboard management controller 2 in each server in the server cluster knows which server is currently in the power-on state, and the baseboard management controller 2 in each server can identify whether the server that is currently in the power-on state is the server. When the baseboard management controller 2 in each server receives the broadcast message that the server is currently in the power-on state, it sends a power-on unlock notification to the complex programmable logic device 3 in the server. When the complex programmable logic device 3 in each server receives the power-on unlock notification, it controls each power-on sequence to start normally to control the power-on of the server. As a result, each server in the server cluster is powered on according to the preset power-on sequence, avoiding disorder between servers and greatly improving the maintainability of the server.

[0055] It can be seen from the above technical solution that each server in the server cluster is networked in advance, and the power-on sequence of each server in the server cluster is pre-set. The out-of-band management subsystem is used to obtain the preset server startup sequence and the status of each server in the server cluster, and the target server that is currently in the power-on state is determined according to the server startup sequence and the status of each server in the server cluster, and the target server is currently in the power-on state. The server cluster broadcasts that the target server is currently in the power-on state. The baseboard management controller in each server will determine whether it is currently in the power-on state based on the received broadcast message. When it is determined that the server is currently in the power-on state, it sends a power-on unlock notification to the complex programmable logic device in the server. The complex programmable logic device in the server controls each power-on sequence to start normally based on the received power-on unlock notification, thereby controlling the power-on of the server. This solves the problem of inconsistent power-on sequences of multiple servers, which is easily affected by subjective human factors when servers are moved and put on the shelves, and then leads to inconsistent order between the physical slots of the hard disks in the cluster and the system. All servers in the server cluster are powered on according to the preset power-on sequence, avoiding disorder between servers and greatly improving the maintainability of the servers.

[0056] It should be noted that, based on the above embodiments, the embodiments of the present application also provide corresponding improved solutions. In the subsequent embodiments, the same steps or corresponding steps as those in the above embodiments can be referenced to each other, and the corresponding beneficial effects can also be referenced to each other, which will not be repeated one by one in the following improved embodiments.

[0057] In a specific implementation of the present application, the complex programmable logic device 3 in each server is also used to control each hard disk in the server to power on after controlling the power-on of the server when it is determined that the server is a storage-type server, and when it is determined that each hard disk in the server has been powered on, send a signal that the server has completed powering on to the baseboard management controller 2 in the server;

[0058] The baseboard management controller 2 in each server is also used to forward the received signal indicating that the server has completed startup to the out-of-band management subsystem 1;

[0059] The out-of-band management subsystem 1 is also used to parse the signal indicating that the server has completed startup, obtain the first server identification information of the server that has completed startup, and broadcast the first server identification information in the server cluster.

[0060] See also Figure 2 , Figure 2This is a structural block diagram of a storage server power-on control system in an embodiment of the present application. Each server in the server cluster includes a computing server and a storage server. The complex programmable logic device 3 in each server is also used to control the power-on of each hard disk in the server after controlling the power-on of the server when it is determined that the server is a storage server. When it is determined that all hard disks in the server have been powered on, a signal indicating that the server has completed powering on is sent to the baseboard management controller 2 in the server. After receiving the signal indicating that the server has completed powering on sent by the complex programmable logic device 3 in the server, the baseboard management controller 2 in each server forwards the received signal indicating that the server has completed powering on to the out-of-band management subsystem 1.

[0061] The server has completed the startup signal, which contains the first server identification information of the server that has currently completed the startup. After receiving the server has completed the startup signal returned by the baseboard management controller 2 in each server, the out-of-band management subsystem 1 parses the server has completed the startup signal, obtains the first server identification information of the server that has currently completed the startup, and broadcasts the first server identification information in the server cluster, so that the baseboard management controller 2 in each server in the server cluster knows which server has currently completed the startup, and can then determine whether the next server to enter the startup state is this server in combination with the pre-set server startup sequence. By broadcasting the server has completed the startup signal, it provides an effective basis for the baseboard management controller 2 in each server to determine whether the server is the next server to enter the startup state, further avoiding disorder between servers and improving the maintainability of the server.

[0062] See also Figure 3 , Figure 3 This is a structural block diagram of a power-on control system for a computing server in an embodiment of the present application. The out-of-band management subsystem 1 sends a notification of entering a bootable state to the baseboard management controller 2 in the computing server. When the baseboard management controller 2 detects that the server is in a bootable state, it sends an unlock notification to the complex programmable logic device 3 in the server. The complex programmable logic device 3 unlocks the power-on lock state and sends a normal startup notification of each boot sequence to the input-output system. Initialization is performed based on the input-output system, and an initialization completion signal is returned to the complex programmable logic device 3 after the initialization is completed. After receiving the initialization completion signal, the complex programmable logic device 3 sends a server startup completion signal to the baseboard management controller 2 in the server. The baseboard management controller 2 forwards the server startup completion signal to the out-of-band management subsystem 1.

[0063] In a specific implementation of the present application, the server power-on control system may further include a primary control expander 4 in each server and each secondary control expander 5 in each server;

[0064] The complex programmable logic device 3 in each server is specifically used to send a first power-on control signal to the primary control expander 4 in the server when receiving a power-on lock release notification; when it is determined according to the power-on result information of each hard disk that all hard disks in the server have been powered on, send a server startup signal to the baseboard management controller 2 in the server;

[0065] The primary control expander 4 in each server is used to power on according to the received first power-on control signal, obtain the power-on sequence of the secondary control expander 5 corresponding to the server, and send a second power-on control signal to each secondary control expander 5 in the server according to the power-on sequence of the secondary control expander 5; return the received hard disk power-on result information to the complex programmable logic device 3 in the server;

[0066] Each secondary control expander 5 in each server is used to obtain the hard disk power-on sequence corresponding to the secondary control expander 5 when receiving the second power-on control signal, and control the power-on of each hard disk hung under the secondary control expander 5 according to the hard disk power-on sequence; obtain the hard disk power-on result information of each hard disk, and report the power-on result information of each hard disk to the primary control expander 4 in the server.

[0067] See also Figure 4 , Figure 4The structural block diagram of a storage-type server in the embodiment of the present application. The server power-on control system provided in the embodiment of the present application also includes a primary control expander 4 in each server and each secondary control expander 5 in each server. For example, it can be set to include a primary control expander 4 and four secondary control expanders 5 in a storage-type server, and each secondary control expander 5 has 30 hard disks hanging under it. When the complex programmable logic device 3 in each server receives the power-on lock release notification, it sends a first power-on control signal to the primary control expander 4 in the server. The primary control expander 4 in each server is powered on according to the received first power-on control signal, obtains the power-on sequence of the secondary control expander 5 corresponding to the server, and sends a second power-on control signal to each secondary control expander 5 in the server according to the power-on sequence of the secondary control expander 5. Each secondary control expander 5 in each server is used to obtain the power-on sequence of the hard disk corresponding to the secondary control expander 5 when receiving the second power-on control signal, and control each hard disk hanging under the secondary control expander 5 to power on according to the hard disk power-on sequence. Obtain the hard disk power-on result information of each hard disk, and report the power-on result information of each hard disk to the primary control expander 4 in this server. The primary control expander 4 in each server returns the received hard disk power-on result information to the complex programmable logic device 3 in this server. When the complex programmable logic device 3 in each server determines that all hard disks in this server have been powered on according to the power-on result information of each hard disk, it sends a signal that the server has completed startup to the baseboard management controller 2 in this server. By setting each primary control expander 4 and each secondary control expander 5 in the server power-on control system, the two-level control expander management method provides convenience for server hard disk management, ensuring that when one of the secondary control expanders 5 is abnormal, only the hard disk hanging under the current secondary control expander 5 is affected, and the hard disks hanging under other secondary control expanders 5 are not affected, thereby improving system performance.

[0068] In a specific embodiment of the present application, the out-of-band management subsystem 1 is further used to send a control complex programmable logic device 3 non-enabling instruction to the baseboard management controller 2 in the server in the out-of-order startup state when it is detected that there is a server in the server cluster in the out-of-order startup state;

[0069] The baseboard management controller 2 in each server is further configured to control the complex programmable logic device 3 to be in a disabled state when receiving a command to control the complex programmable logic device 3 to be disabled.

[0070] When the out-of-band management subsystem 1 detects that there are servers in the server cluster that are in an out-of-order startup state, such as when it detects that there are servers in an out-of-order startup state caused by remote out-of-band startup or startup button startup, it sends a control complex programmable logic device 3 disabling instruction to the baseboard management controller 2 in the server in the out-of-order startup state. When the baseboard management controller 2 in each server receives the control complex programmable logic device 3 disabling instruction, the control complex programmable logic device 3 is in a disabling state. By setting it to actively send the control complex programmable logic device 3 disabling instruction to the baseboard management controller 2 in the server in the out-of-order startup state when it is detected that there are servers in an out-of-order startup state, the out-of-band management subsystem 1 makes the baseboard management controller 2 in each server control the complex programmable logic device 3 in a disabling state when it receives the control complex programmable logic device 3 disabling instruction, thereby ensuring that when the server is not started in the startup sequence, even if the power button is manually pressed, the machine cannot be powered on, further ensuring that the disorder between servers is avoided and improving the maintainability of the server.

[0071] In a specific implementation of the present application, the server power-on control system may further include an alarm subsystem;

[0072] The out-of-band management subsystem 1 is further used to send an alarm instruction to the alarm subsystem after detecting that there are servers in the server cluster that are in an out-of-order startup state;

[0073] The alarm subsystem is used to issue an out-of-order startup alarm prompt according to the alarm instructions.

[0074] The server power-on control system provided in the embodiment of the present application may also include an alarm subsystem. After detecting that there are servers in the server cluster that are in an out-of-order startup state, the out-of-band management subsystem 1 sends an alarm instruction to the alarm subsystem, and the alarm subsystem issues an out-of-order startup alarm prompt according to the alarm instruction. By setting an out-of-order startup alarm mechanism, when there are servers in the server cluster that are in an out-of-order startup state, an alarm prompt can be issued in time, thereby facilitating timely correction.

[0075] In a specific implementation of the present application, the server power-on control system may further include a prompt information display subsystem;

[0076] The out-of-band management subsystem 1 is further used to obtain the target server identification information of the server currently entering the bootable state after detecting that there is a server in the server cluster in an out-of-order boot state, and send a prompt information display instruction to the prompt information display subsystem according to the server identification information;

[0077] The prompt information display subsystem is used to output prompt information that the server corresponding to the target server identification information has not been normally started according to the prompt information display instruction, indicating that the server should be started in sequence.

[0078] The server power-on control system provided in the embodiment of the present application may also include a prompt information display subsystem. After detecting that there are servers in the server cluster that are in an out-of-order startup state, the out-of-band management subsystem 1 obtains the target server identification information of the server that is currently in the startup state, and sends a prompt information display instruction to the prompt information display subsystem according to the server identification information. The prompt information display subsystem outputs a prompt message according to the prompt information display instruction, indicating that the server corresponding to the target server identification information has not started up normally. This further prompts the user to start up according to the preset server startup sequence, further avoiding disorder between servers and improving the maintainability of the server.

[0079] In a specific implementation of the present application, the server cluster includes computing servers and storage servers, and each computing server includes a management host and a management slave;

[0080] The out-of-band management subsystem 1 is specifically used to obtain the server startup sequence according to the management host, the management slave, and the storage server and the status of each server in the server cluster.

[0081] The server cluster includes computing servers and storage servers, each computing server includes a management host and a management slave, and the out-of-band management subsystem 1 obtains the server startup sequence of the management host, the management slave, and the storage server and the status of each server in the server cluster. By setting the server startup sequence in the order of first the management host, then the management slave, and finally the storage server, it is ensured that the server with good computing performance is started first, so that it is convenient to use the server with good computing performance to manage the storage server that is started later.

[0082] In this paper, two computing servers (with central processing unit, memory, etc., serial numbers A0, A1) and ten storage servers (with hard disk backplane, 100+ hard disks, serial numbers B0, B1, ..., B9) are used as examples for discussion, and the serial number of the server is used as the identification of the network.

[0083] The out-of-band management subsystem 1 is established through an out-of-band network and uses the baseboard management controller 2 to implement the networking function:

[0084] During production on the production line, a management host A0, a management slave A1, and storage slaves B0, B1, ..., B9 are set in the baseboard management controller 2, and the set information is stored in the storage chip.

[0085] The management host, management slaves, and storage slaves communicate through out-of-band network machines and out-of-band switches.

[0086] The first one is powered on A0, the second one is powered on A1, the third one is powered on B0, the fourth one is powered on B1, and the last one is powered on B9. At the same time, the enable signal of the complex programmable logic device 3 in each server is associated with the status of the server in the network. If the power-on sequence is not received normally, even if the power-on button is pressed manually, the server cannot be powered on, and a prompt "Please power on in sequence, the previous xx, xx machines did not power on normally" is displayed.

[0087] Start up according to the networking sequence of baseboard management controller 2:

[0088] After entering the networking mode, the power on sequence can be divided into two modes: remote out-of-band power on and power on button.

[0089] Remote out-of-band boot:

[0090] After the first server (A0) is selected to send a remote power-on command, the server confirms that the power-on sequence is correct, the baseboard management controller 2 sends a power-on signal to the complex programmable logic device 3, and the server starts normally;

[0091] When the baseboard management controller 2 in the first server (A0) receives the signal of boot completion, the powered-on server A0 sends a boot command to the next server (A1) in the network, and the baseboard management controller 2 in A1 sends a boot signal to the complex programmable logic device 3, and the server boots normally;

[0092] When all the control servers have completed the startup, server A1 sends a startup command to the next server B0 in the network. The baseboard management controller 2 in server B0 sends a startup signal to the complex programmable logic device 3 in this server. The complex programmable logic device 3 controls the first-level control expander 4Ctrol_expander to power on. When the first-level control expander 4 completes the power-on sequence, it feeds back the hard disk power-on result information to the baseboard management controller 2. The baseboard management controller 2 of server B0 uploads the completion of the startup sequence of this server to the broadcast within the network, and can subsequently start B1, B2, ..., B9 by remotely issuing commands.

[0093] In order to shorten the boot time of the storage server, once the primary control expander 4 is successfully booted, the server is sorted in the cluster. Each server is then controlled by the primary control expander 4 to power on the downstream secondary control expander 5 in sequence. The power on of the downstream secondary control expander 5 of each machine is handled by each machine itself and does not participate in the boot sequence, thereby saving boot time and ensuring that the hard disks of the 10 storage servers are powered on in parallel.

[0094] When networking, you can choose automatic startup. For example, you can set the first server A0 to start up, and subsequent startup machines will start up automatically according to the schedule.

[0095] Press the power button sequence to start the machine. It is necessary to start the machine in the logical order as above, otherwise the machine cannot be started normally. Through the remote out-of-band power-on mode or the power button power-on mode, the server power-on sequence of managing the host first, then the slave, and finally the storage server is preset. Users can freely choose the appropriate server power-on mode according to their needs, which improves the user experience. By setting the computing server with good performance to start first, it is ensured that the server with good computing performance is started first, which is convenient for using the server with good computing performance to manage the storage server that is started later.

[0096] Corresponding to the above system example, the present application also provides a server power-on control method. The server power-on control method described below and the server power-on control system described above can refer to each other.

[0097] See also Figure 5 , Figure 5 This is an implementation flow chart of a power-on control method for a server in an embodiment of the present application. The method may include the following steps:

[0098] S501: Obtain a preset server startup sequence and a status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed.

[0099] S502: Determine the target server that is currently in the bootable state based on the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current entry into the bootable state in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server is currently in the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

[0100] It can be seen from the above technical solution that each server in the server cluster is networked in advance, and the power-on sequence of each server in the server cluster is pre-set. The out-of-band management subsystem is used to obtain the preset server startup sequence and the status of each server in the server cluster, and the target server that is currently in the power-on state is determined according to the server startup sequence and the status of each server in the server cluster, and the target server is currently in the power-on state. The server cluster broadcasts that the target server is currently in the power-on state. The baseboard management controller in each server will determine whether it is currently in the power-on state based on the received broadcast message. When it is determined that the server is currently in the power-on state, it sends a power-on unlock notification to the complex programmable logic device in the server. The complex programmable logic device in the server controls each power-on sequence to start normally based on the received power-on unlock notification, thereby controlling the power-on of the server. This solves the problem of inconsistent power-on sequences of multiple servers, which is easily affected by subjective human factors when servers are moved and put on the shelves, and then leads to inconsistent order between the physical slots of the hard disks in the cluster and the system. All servers in the server cluster are powered on according to the preset power-on sequence, avoiding disorder between servers and greatly improving the maintainability of the servers.

[0101] In a specific embodiment of the present application, the method may also include the following steps:

[0102] receiving a signal that the server has completed powering on sent by a baseboard management controller in each server; wherein the signal that the server has completed powering on is a signal sent by a complex programmable logic device in each server to the baseboard management controller in the server when it is determined that the server is a storage server and after controlling the power-on of the server to be completed, the complex programmable logic device in the server controls the power-on of each hard disk in the server and when it is determined that the power-on of each hard disk in the server is completed;

[0103] The signal indicating that the server has completed startup is parsed to obtain the first server identification information of the server that has completed startup, and the first server identification information is broadcasted in the server cluster.

[0104] In a specific implementation of the present application, the method may further include the following steps:

[0105] When it is detected that there is a server in an out-of-order startup state in the server cluster, a command to disable the complex programmable logic device is sent to the baseboard management controller in the server in the out-of-order startup state, so that when the baseboard management controller in the server in the out-of-order startup state receives the command to disable the complex programmable logic device, it controls the complex programmable logic device to be in a disabled state.

[0106] In a specific implementation of the present application, the method may further include the following steps:

[0107] After detecting that there are servers in the server cluster that are in an out-of-order startup state, an alarm instruction is sent to the alarm subsystem, so that the alarm subsystem issues an out-of-order startup alarm prompt according to the alarm instruction.

[0108] In a specific implementation of the present application, the method may further include the following steps:

[0109] After detecting that there are servers in an out-of-order startup state in the server cluster, the second server identification information of the server currently entering the startup state is obtained, and a prompt information display instruction is sent to the prompt information display subsystem based on the second server identification information, so that the prompt information display subsystem outputs a prompt message according to the prompt information display instruction, indicating that the servers corresponding to the second server identification information have not started up normally, indicating that the servers should be started in order.

[0110] In a specific implementation of the present application, obtaining a preset server startup sequence and the status of each server in the server cluster may include the following steps:

[0111] Obtain the server startup sequence of the management host, management slave, and storage server and the status of each server in the server cluster; wherein the server cluster includes each computing server and each storage server, and each computing server includes a management host and a management slave.

[0112] Corresponding to the above system example, the present application also provides a server power-on control device. The server power-on control device described below and the server power-on control system described above can refer to each other.

[0113] See also Figure 6 , Figure 6 This is a structural block diagram of a power-on control device for a server in an embodiment of the present application. The device may include:

[0114] The status acquisition module 61 is used to acquire the preset server startup sequence and the status of each server in the server cluster; wherein each server in the server cluster is a server after the cluster networking is completed;

[0115] The server power-on control module 62 is used to determine the target server that has currently entered the bootable state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current entry into the bootable state in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server has currently entered the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

[0116] It can be seen from the above technical solution that each server in the server cluster is networked in advance, and the power-on sequence of each server in the server cluster is pre-set. The out-of-band management subsystem is used to obtain the preset server startup sequence and the status of each server in the server cluster, and the target server that is currently in the power-on state is determined according to the server startup sequence and the status of each server in the server cluster, and the target server is currently in the power-on state. The server cluster broadcasts that the target server is currently in the power-on state. The baseboard management controller in each server will determine whether it is currently in the power-on state based on the received broadcast message. When it is determined that the server is currently in the power-on state, it sends a power-on unlock notification to the complex programmable logic device in the server. The complex programmable logic device in the server controls each power-on sequence to start normally based on the received power-on unlock notification, thereby controlling the power-on of the server. This solves the problem of inconsistent power-on sequences of multiple servers, which is easily affected by subjective human factors when servers are moved and put on the shelves, and then leads to inconsistent order between the physical slots of the hard disks in the cluster and the system. All servers in the server cluster are powered on according to the preset power-on sequence, avoiding disorder between servers and greatly improving the maintainability of the servers.

[0117] In a specific embodiment of the present application, the device may further include:

[0118] The power-on signal receiving module is used to receive the power-on signal of the server sent by the baseboard management controller in each server; wherein the power-on signal of the server is a signal sent to the baseboard management controller in the server by the complex programmable logic device in each server after controlling the power-on of the server to complete when the server is determined to be a storage server, and after controlling the power-on of the server to complete, the complex programmable logic device in each server controls the power-on of each hard disk in the server to complete when it is determined that the power-on of each hard disk in the server is complete;

[0119] The broadcast module is used to parse the signal indicating that the server has completed startup, obtain the first server identification information of the server that has completed startup, and broadcast the first server identification information in the server cluster.

[0120] In a specific embodiment of the present application, the device may further include:

[0121] A complex programmable logic device enable control module is used to send a complex programmable logic device disabling instruction to a baseboard management controller in the server in the out-of-order startup state when it is detected that there is a server in the server cluster that is in an out-of-order startup state, so that the baseboard management controller in the server in the out-of-order startup state controls the complex programmable logic device to be in a disabling state when receiving the complex programmable logic device disabling instruction.

[0122] In a specific embodiment of the present application, the device may further include:

[0123] The alarm prompt module is used to send an alarm instruction to the alarm subsystem after detecting that there are servers in the server cluster that are in an out-of-order startup state, so that the alarm subsystem can issue an out-of-order startup alarm prompt according to the alarm instruction.

[0124] In a specific embodiment of the present application, the device may further include:

[0125] The prompt information output module is used to obtain the second server identification information of the server currently entering the startup state after detecting that there are servers in the server cluster that are in an out-of-order startup state, and send a prompt information display instruction to the prompt information display subsystem according to the second server identification information, so that the prompt information display subsystem outputs the prompt information that please start up in order and the server corresponding to the second server identification information has not started up normally according to the prompt information display instruction.

[0126] In a specific embodiment of the present application, the status acquisition module 61 is specifically a module for obtaining the server startup sequence according to the management host, management slave, and storage server and the status of each server in the server cluster; wherein the server cluster includes each computing server and each storage server, and each computing server includes a management host and a management slave.

[0127] Corresponding to the above method embodiment, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented:

[0128] Obtain a preset server startup sequence and the status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed; determine a target server that is currently in a bootable state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current entry into a bootable state in the server cluster, so that when a baseboard management controller in each server receives a broadcast message that the server is currently in a bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls each hard disk in the server to power on.

[0129] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0130] For an introduction to the computer-readable storage medium provided in this application, please refer to the above method embodiment, and this application will not go into details here.

[0131] Corresponding to the above method embodiments, the present application also provides a computer program product, including a computer program, which implements the steps of the above server power-on control method when executed by a processor.

[0132] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the devices, equipment and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0133] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the technical solution and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

Claims

1. A server power-on control system, characterized in that: include: The out-of-band management subsystem is used to obtain a preset server startup sequence and a status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed; determine a target server that is currently in a startup state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current startup state in the server cluster; The baseboard management controller in each server is used to send a power-on lock release notification to the complex programmable logic device in the server when receiving a broadcast message indicating that the server has entered a start-up state; The complex programmable logic device in each server is used to control each power-on sequence to start normally when receiving the power-on lock release notification, so as to control the power-on of the server.

2. The server power-on control system according to claim 1, characterized in that: The complex programmable logic device in each server is also used to control the power-on of each hard disk in the server after the power-on of the server is completed when the server is determined to be a storage-type server, and to send a signal that the server has completed power-on to the baseboard management controller in the server when it is determined that the power-on of each hard disk in the server is completed; The baseboard management controller in each server is also used to forward the received signal indicating that the server has completed startup to the out-of-band management subsystem; The out-of-band management subsystem is further used to parse the signal indicating that the server has completed startup, obtain the first server identification information of the server that has currently completed startup, and broadcast the first server identification information within the server cluster.

3. The server power-on control system according to claim 2, characterized in that: Also included are a primary control expander in each server and each secondary control expander in each server; The complex programmable logic device in each server is specifically used to send a first power-on control signal to the primary control expander in the server when receiving the power-on lock release notification; when it is determined according to the power-on result information of each hard disk that all hard disks in the server have been powered on, send a server startup signal to the baseboard management controller in the server; The primary control expander in each server is used to power on according to the received first power-on control signal, obtain the power-on sequence of the secondary control expanders corresponding to the server, and send a second power-on control signal to each secondary control expander in the server according to the power-on sequence of the secondary control expanders; and return the received hard disk power-on result information to the complex programmable logic device in the server; Each secondary control expander in each server is used to obtain the hard disk power-on sequence corresponding to the secondary control expander when receiving the second power-on control signal, and control the power-on of each hard disk hung under the secondary control expander according to the hard disk power-on sequence; obtain the hard disk power-on result information of each hard disk, and report the power-on result information of each hard disk to the primary control expander in the server.

4. The server power-on control system according to claim 1, characterized in that: The out-of-band management subsystem is further configured to send a control complex programmable logic device disabling instruction to a baseboard management controller in the server in the out-of-order startup state when detecting that there is a server in the server cluster in the out-of-order startup state; The baseboard management controller in each server is also used to control the complex programmable logic device to be in a disabled state when receiving the instruction to control the complex programmable logic device to be disabled.

5. The server power-on control system according to claim 4, characterized in that: It also includes an alarm subsystem; The out-of-band management subsystem is further configured to send an alarm instruction to the alarm subsystem after detecting that there are servers in the server cluster that are in an out-of-order startup state; The alarm subsystem is used to issue an out-of-order startup alarm prompt according to the alarm instruction.

6. The server power-on control system according to claim 1, characterized in that: It also includes a prompt information display subsystem; The out-of-band management subsystem is further configured to, after detecting that there is a server in the server cluster that is in an out-of-order startup state, obtain second server identification information of a server that is currently in a startup state, and send a prompt information display instruction to the prompt information display subsystem according to the second server identification information; The prompt information display subsystem is used to output prompt information that the server corresponding to the second server identification information has not been normally started according to the prompt information display instruction.

7. The server power-on control system according to claim 1, characterized in that: The server cluster includes computing servers and storage servers, and each computing server includes a management host and a management slave; The out-of-band management subsystem is specifically used to obtain the server startup sequence according to the management host, management slave, and storage server and the status of each server in the server cluster.

8. A server power-on control method, characterized in that: include: Obtaining a preset server startup sequence and the status of each server in a server cluster; wherein each server in the server cluster is a server after cluster networking is completed; The target server that is currently in the bootable state is determined according to the server boot sequence and the status of each server in the server cluster, and the target server that is currently in the bootable state is broadcast in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server is currently in the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

9. A server power-on control device, characterized in that: include: A status acquisition submodule, used to acquire a preset server startup sequence and the status of each server in the server cluster; wherein each server in the server cluster is a server after cluster networking is completed; The server power-on control module is used to determine the target server that is currently in the bootable state according to the server startup sequence and the status of each server in the server cluster, and broadcast the target server's current entry into the bootable state in the server cluster, so that when the baseboard management controller in each server receives the broadcast message that the server is currently in the bootable state, it sends a power-on lock release notification to the complex programmable logic device in the server, and controls the hard disks in the server to power on.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the server power-on control method as claimed in claim 8 are implemented.

Citation Information

Cited By

  • Server low-speed logic signal control system and method and storage medium

    CN119847307A

  • Equipment power-on method and device, storage medium and electronic equipment

    CN119916915A