Start-up control method, device, board management controller, management equipment and medium
By storing and modifying server model information in the baseboard management controller, the problem of inflexible configuration caused by fixed information in the prior art is solved, and flexible configuration and management of server model information is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-03-31
- Publication Date
- 2026-05-26
AI Technical Summary
In the existing technology, server model information is fixed in the baseboard management controller, which makes it impossible to configure flexibly and affects the adjustment and management of server model information.
The baseboard management controller stores server model information in its built-in storage device and provides modification functionality. It updates and executes a full startup operation by minimizing the startup process and waiting for the model information input by the management device.
The flexibility of configuring server model information in the baseboard management controller has been improved, enabling flexible configuration and management of server model information.
Smart Images

Figure CN116360885B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of board management controllers, and particularly to a startup control method, apparatus, board management controller, management device, and computer-readable storage medium. Background Technology
[0002] To enable targeted control and management of servers, the Baseboard Management Controller (BMC) typically loads different drivers and function configuration files based on the server model during startup. In related technologies, server model information is usually permanently stored in the Baseboard Management Controller; however, this approach is not conducive to flexible configuration of server model information. Summary of the Invention
[0003] The purpose of this invention is to provide a startup control method, apparatus, baseboard management controller, management device, and computer-readable storage medium, wherein the baseboard management controller can store server model information in its built-in storage device and provide the function of modifying this information, thereby improving the flexibility of configuring server model information for the baseboard management controller.
[0004] To solve the above-mentioned technical problems, the present invention provides a startup control method applied to a baseboard management controller, the method comprising:
[0005] Upon detecting power-on startup, it is determined whether the first server model information in the baseboard management controller storage device is valid;
[0006] If the first server model information is determined to be invalid, a minimal startup operation is performed, and the system waits for the second server model information to be input by the management device.
[0007] Upon receiving the second server model information, the first server model information is updated using the second server model information, so as to perform a complete startup operation according to the updated first server model information.
[0008] Optionally, determining whether the first server model information in the baseboard management controller storage device is valid includes:
[0009] Determine whether the first server model information is the default value;
[0010] If so, then the first server model information is determined to be invalid;
[0011] If not, then the first server model information is confirmed to be valid.
[0012] Optionally, performing a full startup operation according to the updated first server model information includes:
[0013] When the update of the first server model information is completed, a restart operation is performed, and the validity of the updated first server model information is re-determined.
[0014] When the updated first server model information is confirmed to be valid, the corresponding startup file is loaded according to the updated first server model information to complete the full startup operation.
[0015] Optionally, the waiting management device inputs the second server model information, including:
[0016] Waiting to receive a communication message from the management device; the communication message contains the second server model information;
[0017] Accordingly, updating the first server model information using the second server model information includes:
[0018] The second server model information is extracted from the communication message according to the communication protocol, and the first server model information is updated using the second server model information.
[0019] Optionally, after performing the minimized startup operation, the following may also be included:
[0020] Upon receiving a startup status query request from the management device, the system returns a status value indicating a minimized startup state to the management device, so that the management device can determine that the management device is in a minimized startup state.
[0021] The present invention also provides a start-up control method for managing devices, the method comprising:
[0022] Identify the baseboard management controller in the minimized startup state;
[0023] Determine the server model information of the server to which the baseboard management controller belongs;
[0024] The server model information is sent to the baseboard management controller, so that the baseboard management controller updates the server model information in its storage device using the server model information sent by the management device, and performs a complete startup operation according to the updated server model information.
[0025] Optionally, sending the server model information to the baseboard management controller includes:
[0026] Determine the communication address and communication protocol of the baseboard management controller;
[0027] Obtain the preset message template corresponding to the communication protocol, and fill the server model information into the preset message template to obtain the communication message;
[0028] The communication message is sent to the baseboard management controller according to the communication address.
[0029] Optionally, the step of determining the baseboard management controller in the minimized startup state includes:
[0030] Send a startup status query request to the target substrate management controller and determine whether the status value returned by the target substrate management controller indicates a minimized startup state;
[0031] If so, the target baseboard management controller is determined to be the baseboard management controller in the minimized startup state.
[0032] The present invention also provides a startup control device for use in a baseboard management controller, the device comprising:
[0033] The detection module is used to determine whether the first server model information in the baseboard management controller storage device is valid when power-on startup is detected;
[0034] The minimized startup module is used to perform a minimized startup operation when it is determined that the first server model information is invalid, and wait for the management device to input the second server model information;
[0035] The update module is used to update the first server model information using the second server model information when the second server model information is received, so as to perform a complete startup operation according to the updated first server model information.
[0036] The present invention also provides a start-up control device for use in managing equipment, the device comprising:
[0037] The detection module is used to identify the baseboard management controller in a minimized startup state;
[0038] The information determination module is used to determine the server model information of the server to which the baseboard management controller belongs when the baseboard management controller is determined.
[0039] The information sending module is used to send the server model information to the baseboard management controller, so that the baseboard management controller can update the server model information in its storage device using the server model information sent by the management device, and perform a complete startup operation according to the updated server model information.
[0040] The present invention also provides a baseboard management controller, comprising:
[0041] Memory, used to store computer programs;
[0042] A processor for implementing the startup control method described above when executing the computer program.
[0043] The present invention also provides a management device, comprising:
[0044] Memory, used to store computer programs;
[0045] A processor for implementing the startup control method described above when executing the computer program.
[0046] The present invention also provides a computer-readable storage medium storing computer-executable instructions, which, when loaded and executed by a processor, implement the startup control method described above.
[0047] This invention provides a startup control method applied to a baseboard management controller. The method includes: upon detecting a power-on startup, determining whether first server model information stored in the baseboard management controller's storage device is valid; if the first server model information is determined to be invalid, performing a minimal startup operation and waiting for second server model information input by the management device; upon receiving the second server model information, updating the first server model information using the second server model information, so as to perform a complete startup operation according to the updated first server model information.
[0048] As can be seen, when the baseboard management controller in this invention detects power-on startup, it first determines whether the first server model information in the storage device is valid. If the configuration information is determined to be invalid, the baseboard management controller can perform a minimal startup operation, that is, only provide the most basic functions required to configure the baseboard management controller, and wait for the second server model information input by the management device. Upon receiving the second server model information, the baseboard management controller can use the second server model information to update the first server model information, thereby performing a complete startup operation according to the updated first server model information. In other words, the baseboard management controller in this invention can store server model information in the storage device and can provide the function of updating and modifying server model information, thereby improving the flexibility of configuring server model information. This invention also provides a startup control device, a baseboard management controller, a management device, and a computer-readable storage medium, which have the above-mentioned beneficial effects. Attached Figure Description
[0049] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0050] Figure 1 A flowchart of a startup control method provided in an embodiment of the present invention;
[0051] Figure 2 A flowchart of another startup control method provided in an embodiment of the present invention;
[0052] Figure 3 This is a structural block diagram of a start-up control device provided in an embodiment of the present invention;
[0053] Figure 4 This is a structural block diagram of another start-up control device provided in an embodiment of the present invention;
[0054] Figure 5 This is a structural block diagram of a baseboard management controller provided in an embodiment of the present invention;
[0055] Figure 6 This is a structural block diagram of a management device provided in an embodiment of the present invention;
[0056] Figure 7 This is a structural block diagram of a start-up control system provided in an embodiment of the present invention. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0058] To enable targeted control and management of servers, the baseboard management controller (BMD) typically loads different drivers and function configuration files based on the server model during startup. In related technologies, server model information is usually permanently stored in the BMD and cannot be modified, which makes adjusting the server model information within the BMD inconvenient and hinders flexible configuration. Therefore, this invention provides a startup control method in which the BMD stores server model information in its built-in storage device and provides the function of modifying this information, thereby improving the flexibility of configuring server model information for the BMD.
[0059] Please refer to Figure 1 , Figure 1 A flowchart of a startup control method provided in an embodiment of the present invention, the method being applied to a baseboard management controller, may include:
[0060] S101. Upon detecting power-on startup, determine whether the first server model information in the baseboard management controller storage device is valid.
[0061] In this embodiment of the invention, the baseboard management controller can store server model information in a storage device and provide an interface for external devices to modify the server model information. In this way, the management device can flexibly configure the controller according to the actual server model to which the baseboard management controller belongs, thereby improving the configuration flexibility of the baseboard management controller. It should be noted that this embodiment of the invention is not limited to a specific storage device; for example, it can be an EEPROM (Electrically Erasable Programmable Read-Only Memory) or an external storage device, which can be set according to actual application requirements.
[0062] Furthermore, it is understood that the baseboard management controller needs to obtain server model information from the storage device upon power-on and load the corresponding startup file according to this information to control and manage servers of a specific model. In step S101, the "first server model information" specifically refers to the server model information in the storage device, with "first" distinguishing this server model information from the server model information issued by the management device. However, the baseboard management controller may not be configured with valid server model information upon initial startup. Therefore, if it determines that the server model information in the storage device is invalid, it needs to wait for the management platform to issue valid server model information. It should be noted that this embodiment of the invention does not limit how the baseboard management controller determines whether the server model information in the storage device is valid. For example, it can determine whether the information is valid based on whether the server model information is stored in the storage device, or it can determine whether the information is valid based on whether the server model information is a default value. In this embodiment of the invention, in order to standardize the storage of information, the baseboard management controller may preset a default server model information. This default server model information does not correspond to any server model. Therefore, the controller can determine whether the information is valid based on whether the server model information in the storage device is the default value.
[0063] Based on this, determining whether the first server model information in the baseboard management controller storage device is valid may include:
[0064] Step 11: Determine if the first server model information is the default value; if yes, proceed to step 12; if no, proceed to step 13.
[0065] Step 12: Determine that the first server model information is invalid;
[0066] Step 13: Verify that the first server model information is valid.
[0067] It should be noted that the embodiments of the present invention do not limit specific default values, which can be set according to actual application requirements, for example, 0xff.
[0068] S102. If the first server model information is determined to be invalid, perform a minimal startup operation and wait for the second server model information to be input by the management device.
[0069] When the server model information in the storage device is determined to be invalid, the baseboard management controller can perform a minimal startup operation. That is, the baseboard management controller can start a minimal system to provide basic parameter reading and modification functions to the outside world, without providing other system functions. In other words, the baseboard management controller can provide an interface to the management platform to modify the server model information. The management device only needs to input valid server model information to the controller through this interface to complete the information adjustment. In step S102, "second server model information" specifically refers to the server model information issued by the management device; "second" is used to distinguish it from the server model information in the baseboard management controller's storage device. It should be noted that this embodiment of the invention does not limit the specific method of minimal startup; relevant technologies of the baseboard management controller can be referenced. This embodiment of the invention also does not limit the specific implementation method of the interface for modifying server model information; relevant technologies of the baseboard management controller can be referenced.
[0070] Furthermore, in practical applications, management devices typically need to manage multiple baseboard management controllers simultaneously. In this case, the management device needs to distinguish which baseboard management controllers are in a minimized startup state in order to distribute server model information. To this end, the baseboard management controller can also provide a startup status query interface. The management device can send a startup status query request to the baseboard management controller through this interface, and the baseboard management controller can return the corresponding status value to the management device according to its current startup state through this interface. For example, when the baseboard management controller is in a minimized startup state, it can return a status value indicating the minimized startup state; when the baseboard management controller is in a fully started state, it can return a status value indicating the fully started state. Thus, the management device only needs to determine which controllers are in a minimized startup state based on the status values returned by each baseboard management controller. In other words, baseboard management controllers in a minimized startup state can provide two interfaces: a server model information modification interface and a startup status query interface. It should be noted that the embodiments of the present invention do not limit the specific implementation of the startup status query interface; relevant technologies of baseboard management controllers can be referenced.
[0071] Therefore, after performing the minimal startup operation, this method may also include:
[0072] Step 21: Upon receiving a startup status query request from the management device, return a status value indicating a minimized startup state to the management device so that the management device can determine that the management device is in a minimized startup state.
[0073] It should be noted that the embodiments of the present invention do not limit specific state values, and can be set according to actual application requirements.
[0074] S103. Upon receiving the second server model information, update the first server model information using the second server model information, so as to perform a complete startup operation according to the updated first server model information.
[0075] Upon receiving server model information from the management device, the baseboard management controller can update the server model information in the storage device to perform a complete boot operation based on the updated server model information in the storage device.
[0076] It is understood that the management device can remotely send server model information to the baseboard management controller via a network. Specifically, the management device can pre-determine the communication address (e.g., IP address) of the baseboard management controller and send the server model information to the controller based on that address. It should be noted that this embodiment of the invention does not limit the communication protocol used by the management device and the baseboard management controller. For example, it can be the IPMI protocol (Intelligent Platform Management Interface), Redfish protocol, and RESTful protocol, etc., and can be set according to actual application requirements. Redfish and RESTful are common communication protocols. Furthermore, the management device can write the server model information into a communication message according to the communication protocol and send the communication message to the baseboard management controller; the baseboard management controller can then retrieve the server model information from the communication message according to the communication protocol and perform relevant update operations.
[0077] Based on this, the system waiting for the management device to input the second server model information may include:
[0078] Step 31: Wait for the communication message input from the management device; the communication message contains the second server model information;
[0079] Accordingly, the first server model information is updated using the second server model information, including:
[0080] Step 32: Extract the second server model information from the communication message according to the communication protocol, and update the first server model information using the second server model information.
[0081] Furthermore, after the baseboard management controller completes the server model information update, it still needs to be restarted in a minimized startup state to switch to a full startup state.
[0082] Based on this, performing a complete startup operation according to the updated first server model information may include:
[0083] Step 41: After completing the update of the first server model information, perform a restart operation and re-verify whether the updated first server model information is valid;
[0084] Step 42: Once the updated first server model information is confirmed to be valid, load the corresponding startup file based on the updated first server model information to complete the full startup operation.
[0085] Furthermore, it should be noted that since steps S101 to S103 all occur during the startup process of the substrate management controller, the above steps can also be executed by the bootloader (u-boot) in the substrate management controller. The bootloader is used to guide the substrate management controller to execute the correct startup process and load the correct startup file.
[0086] Based on the above embodiments, when the baseboard management controller detects power-on startup, it first determines whether the first server model information in the storage device is valid. If the configuration information is determined to be invalid, the baseboard management controller can perform a minimal startup operation, that is, only provide the most basic functions required to configure the baseboard management controller, and wait for the second server model information input by the management device. Upon receiving the second server model information, the baseboard management controller can use the second server model information to update the first server model information, thereby performing a complete startup operation according to the updated first server model information. In other words, the baseboard management controller of the present invention can store the second server model information in the storage device and can provide the function of updating and modifying the second server model information, thereby improving the flexibility of configuring the second server model information.
[0087] Based on the above embodiments, the implementation details of the management device side are described below. Please refer to... Figure 2 , Figure 2 A flowchart of another startup control method provided in an embodiment of the present invention, which is applied to a management device, may include:
[0088] S201. Determine the baseboard management controller that is in the minimized startup state.
[0089] Management devices typically manage multiple baseboard management controllers simultaneously. Therefore, the first step is to identify the baseboard management controller in a minimized startup state and then send server model information to it. For ease of querying, the baseboard management controller can provide a startup status query interface and return a corresponding status value to the management device based on its current startup state, such as a status value indicating a minimized startup state. Thus, the management device can quickly identify the baseboard management controller in a minimized startup state simply by using the status value returned by the baseboard management controller.
[0090] Based on this, the baseboard management controller in the minimized startup state can include:
[0091] Step 51: Send a startup status query request to the target substrate management controller and determine whether the status value returned by the target substrate management controller indicates a minimized startup state; if yes, proceed to step 52; if no, send a startup status query request to the next target substrate management controller.
[0092] Step 52: Determine that the target board management controller is a board management controller in a minimized startup state.
[0093] S202. Determine the server model information of the server to which the baseboard management controller belongs.
[0094] Specifically, the management device can pre-store the correspondence between the management controllers and server model information of each baseboard, and then send the corresponding server model information to the controller according to the correspondence.
[0095] S203. The server model information is sent to the baseboard management controller so that the baseboard management controller updates the server model information in its storage device using the server model information sent by the management device, and performs a complete startup operation according to the updated server model information.
[0096] To facilitate information dissemination, the management device can remotely send server model information to the baseboard management controller via the network. Specifically, the management device can preset message templates according to the requirements of communication protocols such as IPMI, Redfish, and RESTful. It can then write the server model information into the corresponding preset message template to form a communication message, which is then sent to the baseboard management controller to disseminate the server model information. It is understood that the management device can pre-determine the communication address (e.g., IP address) of the baseboard management controller and send the server model information to the controller based on that address.
[0097] Based on this, sending the server model information to the baseboard management controller may include:
[0098] Step 61: Determine the communication address and communication protocol of the baseboard management controller;
[0099] Step 62: Obtain the preset message template corresponding to the communication protocol, and fill the server model information into the preset message template to obtain the communication message;
[0100] Step 63: Send the communication message to the baseboard management controller according to the communication address.
[0101] Based on the above embodiments, the management device of the present invention first identifies a baseboard management controller in a minimized startup state, where no valid server model information is configured. Subsequently, the management device queries the server model information corresponding to the server to which the controller belongs and sends this information to the controller, enabling the controller to update the server model information in its storage device using the received server model information, thereby performing a full startup operation according to the updated server model information. In other words, the baseboard management controller of the present invention can store the second server model information in a storage device and can provide the function of updating and modifying the second server model information, thereby improving the flexibility of configuring the second server model information.
[0102] The following describes the startup control device, board management controller, management device, and computer-readable storage medium provided in the embodiments of the present invention. The startup control device, board management controller, management device, and computer-readable storage medium described below can be referred to in correspondence with the startup control method described above.
[0103] Please refer to Figure 3 , Figure 3 This is a structural block diagram of a startup control device provided in an embodiment of the present invention. The device is applied to a baseboard management controller and may include:
[0104] The detection module 301 is used to determine whether the first server model information in the baseboard management controller storage device is valid when power-on startup is detected;
[0105] The minimized startup module 302 is used to perform a minimized startup operation when it is determined that the first server model information is invalid, and wait for the management device to input the second server model information;
[0106] The update module 303 is used to update the first server model information using the second server model information when the second server model information is received, so as to perform a complete startup operation according to the updated first server model information.
[0107] Optionally, the detection module 301 may include:
[0108] The judgment submodule is used to determine whether the first server model information is the default value; if yes, the first server model information is invalid; if no, the first server model information is valid.
[0109] Optionally, updating module 303 may include:
[0110] The restart submodule is used to perform a restart operation after the update of the first server model information is completed, and to re-determine whether the updated first server model information is valid.
[0111] The complete startup submodule is used to load the corresponding startup file based on the updated first server model information when it is determined that the updated first server model information is valid, so as to complete the complete startup operation.
[0112] Optionally, minimizing the startup module 302 may include:
[0113] The waiting submodule is used to wait for communication messages input from the management device; the communication messages contain information about the second server model.
[0114] Accordingly, update module 303 may include:
[0115] The update submodule is used to extract the second server model information from the communication message according to the communication protocol, and to update the first server model information using the second server model information.
[0116] Optionally, the device may further include:
[0117] The startup status query response module is used to return a status value indicating the minimized startup status to the management device when it receives a startup status query request sent by the management device, so that the management device can determine that the management device is in the minimized startup status.
[0118] Please refer to Figure 4 , Figure 4 This is a structural block diagram of another start-up control device provided in an embodiment of the present invention. The device is applied to a management device and may include:
[0119] Detection module 401 is used to determine the baseboard management controller in the minimized startup state;
[0120] The information determination module 402 is used to determine the server model information of the server to which the baseboard management controller belongs when the baseboard management controller is determined.
[0121] The information sending module 403 is used to send server model information to the baseboard management controller, so that the baseboard management controller can update the server model information in its storage device using the server model information sent by the management device, and perform a complete startup operation according to the updated server model information.
[0122] Optionally, the information sending module 403 may include:
[0123] The communication protocol determination submodule is used to determine the communication address and communication protocol of the baseboard management controller;
[0124] The fill submodule is used to obtain the preset message template corresponding to the communication protocol, fill the server model information into the preset message template to obtain the communication message;
[0125] The information sending submodule is used to send communication messages to the baseboard management controller according to the communication address.
[0126] Optionally, the detection module 401 may include:
[0127] The startup status query submodule is used to send a startup status query request to the target baseboard management controller and determine whether the status value returned by the target baseboard management controller indicates a minimized startup state; if so, the target baseboard management controller is determined to be a baseboard management controller in a minimized startup state.
[0128] Please refer to Figure 5 , Figure 5 This is a structural block diagram of a baseboard management controller provided in an embodiment of the present invention. The embodiment of the present invention provides a baseboard management controller 50, including a processor 51 and a memory 52; wherein, the memory 52 is used to store a computer program; the processor 51 is used to execute the startup control method provided in the foregoing embodiment when executing the computer program.
[0129] For details regarding the specific process of the above-mentioned startup control method, please refer to the corresponding content provided in the foregoing embodiments, which will not be repeated here.
[0130] Furthermore, the memory 52, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, and the storage method can be temporary storage or permanent storage.
[0131] In addition, the substrate management controller 50 also includes a power supply 53, a communication interface 54, an input / output interface 55, and a communication bus 56; wherein, the power supply 53 is used to provide operating voltage for each hardware device on the substrate management controller 50; the communication interface 54 can create a data transmission channel between the substrate management controller 50 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this invention, and is not specifically limited here; the input / output interface 55 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0132] Please refer to Figure 6 , Figure 6 This is a structural block diagram of a management device provided in an embodiment of the present invention. The embodiment of the present invention provides a management device 60, including a processor 61 and a memory 62; wherein, the memory 62 is used to store a computer program; the processor 61 is used to execute the startup control method provided in the foregoing embodiment when executing the computer program.
[0133] For details regarding the specific process of the above-mentioned startup control method, please refer to the corresponding content provided in the foregoing embodiments, which will not be repeated here.
[0134] Furthermore, the memory 62, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, and the storage method can be temporary storage or permanent storage.
[0135] In addition, the management device 60 also includes a power supply 63, a communication interface 64, an input / output interface 65, and a communication bus 66; wherein, the power supply 63 is used to provide operating voltage for each hardware device on the management device 60; the communication interface 64 can create a data transmission channel between the management device 60 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this invention, and is not specifically limited here; the input / output interface 65 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0136] Of course, embodiments of the present invention also provide a start-up control system, such as Figure 7 As shown.
[0137] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the startup control method described in any of the above embodiments.
[0138] Since the embodiments of the computer-readable storage medium portion correspond to the embodiments of the boot control method portion, the embodiments of the storage medium portion are described in the description of the embodiments of the boot control method portion, and will not be repeated here.
[0139] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0140] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0141] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0142] The above provides a detailed description of the startup control method, apparatus, baseboard management controller, management device, and computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims
1. A start-up control method, characterized in that, Applied to a baseboard management controller, the method includes: Upon detecting power-on startup, it is determined whether the first server model information in the baseboard management controller storage device is valid; If the first server model information is determined to be invalid, a minimal startup operation is performed, and the system waits for the second server model information to be input by the management device. Upon receiving the second server model information, the first server model information is updated using the second server model information, so as to perform a complete startup operation according to the updated first server model information.
2. The start-up control method according to claim 1, characterized in that, Determining whether the first server model information in the baseboard management controller storage device is valid includes: Determine whether the first server model information is the default value; If so, then the first server model information is determined to be invalid; If not, then the first server model information is confirmed to be valid.
3. The start-up control method according to claim 1, characterized in that, The step of performing a complete startup operation based on the updated first server model information includes: When the update of the first server model information is completed, a restart operation is performed, and the validity of the updated first server model information is re-determined. When the updated first server model information is confirmed to be valid, the corresponding startup file is loaded according to the updated first server model information to complete the full startup operation.
4. The start-up control method according to claim 1, characterized in that, The second server model information to be input by the waiting management device includes: Waiting to receive a communication message from the management device; the communication message contains the second server model information; Accordingly, updating the first server model information using the second server model information includes: The second server model information is extracted from the communication message according to the communication protocol, and the first server model information is updated using the second server model information.
5. The start-up control method according to claim 1, characterized in that, After performing the minimal startup operation, it also includes: Upon receiving a startup status query request from the management device, the system returns a status value indicating a minimized startup state to the management device, so that the management device can determine that the management device is in a minimized startup state.
6. A start-up control method, characterized in that, Applied to the management of equipment, the method includes: Identify the baseboard management controller in the minimized startup state; Determine the server model information of the server to which the baseboard management controller belongs; The server model information is sent to the baseboard management controller, so that the baseboard management controller updates the server model information in its storage device using the server model information sent by the management device, and performs a complete startup operation according to the updated server model information.
7. The start-up control method according to claim 6, characterized in that, Sending the server model information to the baseboard management controller includes: Determine the communication address and communication protocol of the baseboard management controller; Obtain the preset message template corresponding to the communication protocol, and fill the server model information into the preset message template to obtain the communication message; The communication message is sent to the baseboard management controller according to the communication address.
8. The start-up control method according to claim 6, characterized in that, The determination of the baseboard management controller in the minimized startup state includes: Send a startup status query request to the target substrate management controller and determine whether the status value returned by the target substrate management controller indicates a minimized startup state; If so, the target baseboard management controller is determined to be the baseboard management controller in the minimized startup state.
9. A start-up control device, characterized in that, The device, applied to a substrate management controller, includes: The detection module is used to determine whether the first server model information in the baseboard management controller storage device is valid when power-on startup is detected; The minimized startup module is used to perform a minimized startup operation when it is determined that the first server model information is invalid, and wait for the management device to input the second server model information; The update module is used to update the first server model information using the second server model information when the second server model information is received, so as to perform a complete startup operation according to the updated first server model information.
10. A start-up control device, characterized in that, Applied to management equipment, the device includes: The detection module is used to identify the baseboard management controller in a minimized startup state; The information determination module is used to determine the server model information of the server to which the baseboard management controller belongs when the baseboard management controller is determined. The information sending module is used to send the server model information to the baseboard management controller, so that the baseboard management controller can update the server model information in its storage device using the server model information sent by the management device, and perform a complete startup operation according to the updated server model information.
11. A baseboard management controller, characterized in that, include: Memory, used to store computer programs; A processor for implementing the startup control method as described in any one of claims 1 to 5 when executing the computer program.
12. A management device, characterized in that, include: Memory, used to store computer programs; A processor for implementing the startup control method as described in any one of claims 6 to 8 when executing the computer program.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the startup control method as described in any one of claims 1 to 5 or the startup control method as described in any one of claims 6 to 8.