Processing method and device based on baseboard management controller, electronic equipment and medium

By providing a visual interface on the server and interacting with the client, the automatic configuration and consistency verification of the baseboard management controller are realized, which solves the problems of low configuration efficiency and easy error in the existing technology, and improves management efficiency and security.

CN118677764BActive Publication Date: 2025-12-05JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410652082.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2025-12-05
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the existing technology, the parameter configuration efficiency of the baseboard management controller is low, it is easily affected by human error, the configuration and inspection methods are inconvenient and prone to errors, and it is difficult to achieve unified management of different models.

Method used

A processing method based on a baseboard management controller is provided. The server provides a visual interface to obtain configuration files of various types of server nodes, generates and modifies configuration files in response to user operations, and sends tasks in batches through the client to realize the automated configuration and consistency verification of the baseboard management controller.

Benefits of technology

It improves the efficiency and accuracy of baseboard management controller configuration, reduces the cost and risk of manual intervention, ensures configuration consistency and security, and supports unified management of large-scale servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677764B_ABST
    Figure CN118677764B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a processing method and device based on a baseboard management controller, electronic equipment and medium, applied to server technology, comprising: obtaining a first configuration file for the baseboard management controller in multiple types of server nodes; in response to the operation of the user on the visual interface, determining a second configuration file according to the first configuration file, modifying the second configuration file to obtain a third configuration file; obtaining a fourth configuration file for the baseboard management controller of multiple server nodes through the client, and generating a modified configuration file according to the difference items of the third configuration file and the fourth configuration file; and issuing the modified configuration file to the client in the multiple server nodes to modify the baseboard management controller configuration in the multiple server nodes, which realizes the configuration of the baseboard management controller in the server nodes through the interaction of the server and the client, and improves the efficiency and accuracy of the baseboard management controller configuration.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of servers, in particular to a processing method and device based on a baseboard management controller, an electronic device and a medium. BACKGROUND

[0002] In a data center, the management and maintenance of servers become extremely important. In order to improve the availability and reliability of servers, remote management and monitoring of servers are usually required. A baseboard management controller (BMC) can achieve the functions of remote management and monitoring of servers as an embedded management controller. However, in order to achieve some functions of remote management and monitoring of servers, the parameters of the baseboard management controller need to be configured.

[0003] For example, in order to achieve the Snmp trap (Simple Network Management Protocol trap) alarm function of the baseboard management controller, the trap version, event level, group name, alarm port number, and target IP address need to be set, which can be achieved through an ipmi command, a web interface, and the like.

[0004] However, in this case, when the parameters of the baseboard management controller are configured using a command line, the user's professional requirements are relatively high, and the web interface is often inefficient in batch settings. During the normal operation of the baseboard management controller, if the configuration is mistakenly operated or modified, some functions of the baseboard management controller may not meet the customer's expectations, resulting in customer complaints. The configuration checking method in the prior art requires manual command queries, which is very inconvenient to operate and is prone to errors and missing items. SUMMARY

[0005] In view of the above problems, the present application provides a processing method and device based on a baseboard management controller, an electronic device and a medium to overcome the above problems or at least partially solve the above problems, comprising:

[0006] A processing method based on a baseboard management controller, the method is applied to a server, the server provides a visual interface for configuring a baseboard management controller, the server communicates with a client, the client is deployed on a server node in a server cluster, and the method comprises:

[0007] Obtaining a first configuration file for a baseboard management controller in a plurality of types of server nodes;

[0008] In response to the operation of the user on the visualization interface, a second configuration file is determined according to the first configuration file, and the second configuration file is modified to obtain a third configuration file;

[0009] The fourth configuration file of the plurality of server nodes for the baseboard management controller is acquired through the client, and a modification configuration file is generated according to the difference items of the third configuration file and the fourth configuration file;

[0010] The modification configuration file is issued to the client in the plurality of server nodes through the batch processing interface, so that the client issues an execution task to the plurality of server nodes according to the modification configuration file, and the baseboard management controller configuration in the plurality of server nodes is modified.

[0011] Optionally, the method further comprises:

[0012] The third configuration file is uploaded to the cloud;

[0013] When consistency checking is triggered, the third configuration file is downloaded from the cloud, and the latest fourth configuration file of the plurality of server nodes for the baseboard management controller is acquired through the client;

[0014] Consistency checking is performed according to the third configuration file and the fourth configuration file.

[0015] Optionally, the method further comprises:

[0016] According to the consistency checking result, an alarm message is generated, or the baseboard management controller configuration of the server node with inconsistent configuration is restored through the client.

[0017] Optionally, the method further comprises:

[0018] The latest fourth configuration file of the plurality of server nodes for the baseboard management controller is acquired through the client, and dependency checking is performed on all configurations in the latest fourth configuration file;

[0019] A dependency solution is generated according to the result of the dependency checking.

[0020] Optionally, the dependency checking on all configurations in the latest fourth configuration file comprises:

[0021] A dependency index table is acquired, and the dependency index table records other configuration items that each configuration item depends on;

[0022] In the process of performing dependency checking on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, it is checked whether the other configuration items that depend on have been configured;

[0023] If other configuration items on which the first configuration file depends are not configured, it is determined that there is a configuration dependency exception.

[0024] Optionally, the second configuration file is determined according to the first configuration file in response to the operation of the user on the visualization interface, comprising:

[0025] In response to the configuration selection operation of the user on the visualization interface, a second configuration file adapted to the target type of server node is selected from the first configuration file.

[0026] Alternatively, in response to the configuration selection operation of the user on the visualization interface, a second configuration file adapted to the target type of server node is selected from the first configuration file.

[0027] In response to the configuration synchronization operation of the user on the visualization interface, one or more first configuration parameters are determined in the configuration parameters of the first configuration file, and the one or more first configuration parameters are synchronized to the second configuration file to obtain an updated second configuration file.

[0028] Alternatively, in response to the configuration splitting operation of the user on the visualization interface, one or more second configuration parameters are determined in the first configuration file, and a second configuration file is generated according to the one or more second configuration parameters split from the first configuration file.

[0029] Alternatively, in response to the configuration merging operation of the user on the visualization interface, one or more third configuration parameters are determined in a plurality of first configuration files, and the one or more third configuration parameters in the plurality of first configuration files are merged to generate a second configuration file.

[0030] Optionally, the configuration files in the server and / or the client are stored in a tree structure entry, and the configuration files in the server and / or the client are Extensible Markup Language type files.

[0031] A processing device based on a baseboard management controller, the device is applied to a server, the server provides a visualization interface for configuring a baseboard management controller, the server communicates with a client, the client is deployed in a server node in a server cluster, and the device comprises:

[0032] The first configuration file acquisition module is configured to acquire a first configuration file for a baseboard management controller in a plurality of types of server nodes.

[0033] The third configuration file obtaining module is configured to determine a second configuration file according to the first configuration file in response to the operation of the user on the visualization interface, and modify the second configuration file to obtain a third configuration file.

[0034] The modification configuration file generation module is configured to acquire fourth configuration files for the baseboard management controller from the plurality of server nodes through the client, and generate a modification configuration file according to difference items between the third configuration file and the fourth configuration file.

[0035] The modification configuration file delivery module is configured to deliver the modification configuration file to the client in the plurality of server nodes through the batch processing interface, so that the client delivers an execution task to the plurality of server nodes according to the modification configuration file, and modifies the baseboard management controller configuration in the plurality of server nodes.

[0036] An electronic device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program, when executed by the processor, implements the method described above.

[0037] A computer readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the method described above.

[0038] Embodiments of the present application have the following advantages:

[0039] In the embodiments of the present application, the server provides a visual interface for configuring the baseboard management controller, the server communicates with the client, and the client is deployed on the server nodes in the server cluster. The first configuration file for the baseboard management controller in the plurality of types of server nodes is acquired. In response to the operation of the user on the visual interface, the second configuration file is determined according to the first configuration file, the second configuration file is modified to obtain the third configuration file, the fourth configuration file for the baseboard management controller from the plurality of server nodes is acquired through the client, and the modification configuration file is generated according to the difference items between the third configuration file and the fourth configuration file. The modification configuration file is delivered to the client in the plurality of server nodes through the batch processing interface, so that the client delivers an execution task to the plurality of server nodes according to the modification configuration file, and modifies the baseboard management controller configuration in the plurality of server nodes. The server and the client are interacted to batch configure the baseboard management controller in the server nodes, the efficiency and accuracy of the baseboard management controller configuration are improved, and the cost and risk of manual intervention are reduced. BRIEF DESCRIPTION OF DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the description of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0041] Figure 1 is a step flow chart of a processing method based on a substrate management controller provided by some embodiments of the present application;

[0042] Figure 2 is a schematic diagram of a system architecture provided by some embodiments of the present application;

[0043] Figure 3 is a schematic diagram of a configuration file processing provided by some embodiments of the present application;

[0044] Figure 4 is a schematic diagram of another configuration file processing provided by some embodiments of the present application;

[0045] Figure 5 is a schematic diagram of another system architecture provided by some embodiments of the present application;

[0046] Figure 6 is a step flow chart of another processing method based on a substrate management controller provided by some embodiments of the present application;

[0047] Figure 7 is a structural block diagram of a processing device based on a substrate management controller provided by some embodiments of the present application;

[0048] Figure 8 is a structural block diagram of an electronic device provided by some embodiments of the present application;

[0049] Figure 9 is a structural block diagram of a storage medium provided by some embodiments of the present application;

[0050] Figure 10 is a computer program product provided by some embodiments of the present application. DETAILED DESCRIPTION

[0051] In order to make the above objectives, features and advantages of the present application more apparent, further specific embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments. Obviously, the described embodiments are some embodiments of the present application, but not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0052] In related technologies, the most common application scenarios for configuring and setting up the baseboard management controller are: server deployment and maintenance (motherboard replacement). The baseboard management controller uses the default configuration when it leaves the factory, and configuration is required when the server enters the field for the first time. Traditional baseboard management controller configuration requires service engineers to write different scripts according to different application scenarios and run the scripts to configure the baseboard management controller. When the motherboard is replaced or the FLASH device of the baseboard management controller is replaced, the original configuration will not exist and needs to be reconfigured.

[0053] Because the configuration settings and configuration checks of the baseboard management controller in related technologies suffer from problems such as low efficiency, low accuracy, and high cost of manual intervention; and because electronic devices such as servers and storage devices are updated rapidly, with significant differences between different models and versions, and different IPMI commands between different models, making maintenance and use difficult, it is obviously essential to manage different models of devices in a unified way.

[0054] Therefore, this invention proposes to provide a visual interface through a server module to display and modify the configuration; a client module to obtain the server's hardware information and report it to the server; the server to provide configuration methods and strategies based on the hardware information; a configuration data module to generate corresponding configuration files based on the obtained hardware information; and a configuration check module to check and inspect the configuration after installation, so as to effectively improve the efficiency and accuracy of the server baseboard management controller configuration settings, while reducing the cost and risk of manual intervention.

[0055] Secondly, the processing method based on the baseboard management controller provided by this invention can realize automated and intelligent baseboard management controller management, significantly improving the efficiency and reliability of server management;

[0056] It has brought a series of beneficial effects to data center and server operations and maintenance, which are mainly reflected in the following aspects:

[0057] 1. Improve management efficiency: The automatic configuration management solution allows administrators to remotely configure and update the baseboard management controller settings in a centralized manner, eliminating the need for manual operation on each server, which greatly improves management efficiency.

[0058] 2. Reduce human error: Automation reduces the human error that may occur during manual configuration, ensuring consistency and accuracy of configuration.

[0059] 3. Improve server availability: Through automated remote management, server issues can be responded to quickly, reducing server downtime, even when the physical location is remote or inaccessible.

[0060] 4. Enhanced security: Automatic configuration management ensures that security settings are applied correctly, such as timely updates to fix security vulnerabilities, and configuration of access control and encrypted data transmission.

[0061] 5. Optimized resource allocation: Automation solutions can dynamically adjust server resources based on real-time business needs, improving resource utilization.

[0062] 6. Reduced operational costs: Automation reduces dependence on manual operations, thereby reducing labor costs and management costs.

[0063] 7. Improved fault response: Automated configuration management solutions can quickly identify hardware faults and trigger alarms, allowing the operations team to respond promptly and reduce the impact of faults.

[0064] 8. Standardized management processes: Automation solutions help establish standardized management processes, simplifying complex management tasks.

[0065] 9. Simplified maintenance tasks: Automation solutions can automatically perform routine configuration maintenance tasks such as log management, user management, and BIOS (Basic Input Output System) management, simplifying maintenance work.

[0066] 10. Support for large-scale deployment: For data centers with a large number of servers, automatic configuration management solutions are particularly important, making it possible to manage large-scale servers uniformly.

[0067] 11. Improved business continuity: Through automated fault prevention and recovery measures, automatic configuration management solutions help maintain business continuity.

[0068] 12. Flexible policy application: Automation solutions can automatically adjust server configurations according to pre-set business policies to adapt to different workload requirements.

[0069] 13. Audit and compliance: Automatic configuration management solutions help record all configuration changes, facilitating audits and ensuring compliance.

[0070] In summary, this solution brings significant benefits to server operation and management by improving efficiency, reducing errors, optimizing resource allocation, reducing costs, and enhancing security.

[0071] Reference Figure 1, a step flow chart of a processing method based on a baseboard management controller is shown, the method is applied to a server end, the server end provides a visual interface for configuration of the baseboard management controller, the server end communicates with a client end, and the client end is deployed on a server node in a server cluster. In actual application, there are multiple server nodes in the server cluster, and each server node has a baseboard management controller, so the client end can be installed on the server node, and the configuration of the baseboard management controller in the server node can be realized by controlling the client end.

[0072] Specifically, as Figure 2 A server end can be established in advance, and the server end can control the client end in the server cluster; the server end can communicate with the client end, the server end can provide visual management of configuration, a user can configure through a visual interface in the visual management, and the configuration of the baseboard management controller can be realized through interaction between the server end and the client end.

[0073] In some examples, the server end can provide visual management of configuration, which can include adding, deleting, modifying and inquiring functions of configuration, batch processing and modular configuration modification, the server end sets the configuration of a single machine, and then sends data to the client end, the client end receives the data sent by the server end, and forms an execution task according to data analysis; the server end can be installed in a certain server node in the server cluster, or can be installed in a certain external node (a computer capable of installing the server end and executing), and the position of the server end is not limited in the application, and can be arranged according to actual conditions.

[0074] As an example, the client end receives the data sent by the server end, and forms an execution task according to data analysis, and the specific task can be divided into an ipmi instruction form, and a tool is integrated into the client end by special setting.

[0075] Specifically, the following steps can be included:

[0076] Step 101, a first configuration file for the baseboard management controller in multiple types of server nodes is obtained.

[0077] In some examples, the types of the multiple types of server nodes can be server models, or can be divided according to the function types of the servers, such as front-end servers and back-end servers, so that personalized customization is realized, and the actual scene can be better adapted.

[0078] In practical application, a configuration file for a baseboard management controller in a server of a certain type can be pre-set and stored in the cloud as the first configuration file; specifically, the cloud can store first configuration files for baseboard management controllers in server nodes of multiple types, and the server can obtain a certain first configuration file or multiple first configuration files from the cloud.

[0079] In step 102, in response to user operation on the visualization interface, a second configuration file is determined according to the first configuration file, and the second configuration file is modified to obtain a third configuration file.

[0080] In practical application, when a user needs to configure a baseboard management controller in a server node of a certain target type, the user can operate on the visualization interface of the server to obtain a first configuration file from the cloud; the server obtains the first configuration file in response to user operation on the visualization interface, the user can select / modify / split / combine the first configuration file as a second configuration file adapted to the server node of the target type on the visualization interface, and after obtaining the second configuration file, the user can modify the second configuration file on the visualization interface to obtain a third configuration file.

[0081] In some embodiments of the present application, the second configuration file is determined according to the first configuration file in response to user operation on the visualization interface, and includes:

[0082] In some embodiments, in response to user configuration selection operation on the visualization interface, a second configuration file adapted to a server node of a target type is selected from the first configuration file.

[0083] In practical application, since there are first configuration files for baseboard management controllers in server nodes of multiple types, when a user needs to configure a baseboard management controller in a server node of a certain target type, the server obtains multiple first configuration files, and the user can select one of the first configuration files that the user believes can be adapted to the server node of the target type as a second configuration file on the visualization interface; for example, the first configuration files for baseboard management controllers in server nodes of multiple types are ABC, and the user believes that A can be adapted to the server node of the target type, so A is selected as the second configuration file adapted to the server node of the target type.

[0084] In some embodiments, in response to a user selecting operation on the visualization interface, a second configuration file adapted to the target type of server node is selected from the first configuration files; in response to a user configuration synchronization operation on the visualization interface, one or more first configuration parameters are determined from the configuration parameters of the first configuration file, and the one or more first configuration parameters are synchronized to the second configuration file to obtain an updated second configuration file.

[0085] In actual application, when a user needs to configure a baseboard management controller of a server node of a target type, after the server obtains a plurality of first configuration files, the user can perform a selection operation on the visualization interface to select one of the first configuration files that the user considers to be adapted to the server node of the target type as a second configuration file. Since there may be configuration parameters in the second configuration file that are not applicable to the server node of the target type, the user can perform a configuration synchronization operation on the visualization interface, and the server determines one or more first configuration parameters from the configuration parameters of the first configuration file in response to the user configuration synchronization operation on the visualization interface, and synchronizes the one or more first configuration parameters to the second configuration file to obtain an updated second configuration file.

[0086] For example, the first configuration files of the baseboard management controllers of a plurality of types of server nodes are A, B, and C, the user considers that A is adapted to the server node of the target type, and A is selected as the second configuration file adapted to the server node of the target type. For another example, the configuration parameters in A are Q, W, and E, but some of the configuration parameters in A are not applicable to the server node of the target type (for example, the server node of the target type cannot use a configuration parameter W in A). The user can perform a configuration synchronization operation on the visualization interface, and the server determines one applicable first configuration parameter T from the configuration parameters R, T, and Y in the first configuration file B or C in response to the user configuration synchronization operation on the visualization interface, and synchronizes the first configuration parameter T to the second configuration file A to obtain an updated second configuration file. At this time, the configuration parameters in the second configuration file are Q, T, and E.

[0087] In some examples, the configuration parameter can be a function that can be implemented according to the configuration parameter.

[0088] In some examples, for example, Figure 3For example, the first configuration files of the baseboard management controllers in multiple types of server nodes are respectively configuration A and configuration B, a user considers that configuration B can be adapted to a target type of server node, and configuration B is taken as a second configuration file adapted to the target type of server node. Configuration parameters in configuration B are configuration 1, configuration 3, and configuration 4, and configuration 2 is not included. The user can perform a configuration synchronization operation on the visual interface, and the server responds to the configuration synchronization operation of the user on the visual interface. The user determines an applicable first configuration parameter (configuration 2) from the configuration parameters (configuration 1, configuration 2, configuration 3, and configuration 4) in the first configuration file configuration A, and synchronizes the first configuration parameter (configuration 2) to the second configuration file (configuration B) to obtain an updated second configuration file. At this time, the configuration parameters in the second configuration file are (configuration 1, configuration 2 (configuration 2 in the first configuration file configuration B), configuration 3, and configuration 4).

[0089] In some embodiments, in response to a configuration splitting operation of the user on the visual interface, one or more second configuration parameters are determined in the first configuration file, and a second configuration file is generated according to the one or more second configuration parameters split from the first configuration file.

[0090] In actual application, the user can also perform a splitting operation on the first configuration file on the visual interface. When the user needs to configure the baseboard management controller of a target type of server node, but some configuration parameters in the obtained first configuration file are not needed by the target type of server node, one or more second configuration parameters in the first configuration file can be split to generate a second configuration file.

[0091] In some examples, as Figure 4 the user selects a first configuration file (configuration A) considered to be able to adapt to a target type of server node from multiple first configuration files, but some configuration parameters (configuration 2 and configuration 4) are not needed by the target type of server node (B node), the second configuration parameters (configuration 1 and configuration 3) in configuration A can be split to generate a second configuration file.

[0092] For another example, the user selects a first configuration file (configuration A) considered to be able to adapt to a target type of server node from multiple first configuration files, but some configuration parameters (configuration 1 and configuration 3) are not needed by the target type of server node (C), and the second configuration parameters (configuration 2 and configuration 4) in configuration A can be split to generate a second configuration file.

[0093] In the embodiments of the present application, a new configuration file is obtained by splitting an existing configuration file, which can reduce manual configuration and is more suitable for a large quantity of configuration scenarios.

[0094] In some embodiments, in response to a user performing a configuration merge operation on the visualization interface, one or more third configuration parameters are determined in a plurality of the first configuration files, and the one or more third configuration parameters determined in the plurality of the first configuration files are merged to generate a second configuration file.

[0095] In actual applications, when a user configures a target type of server node, after selecting a first configuration file that is considered to be suitable for the target type of server node from a plurality of first configuration files, if the required configuration parameters are in two first configuration files, one or more third configuration parameters required in the two first configuration files can be determined, and the one or more third configuration parameters determined in the two first configuration files are merged to generate a second configuration file.

[0096] As Figure 4 , when a user configures a target type of server node (A), if there is no suitable first configuration file that can be used as a second configuration file, suitable third configuration parameters can be found from a plurality of first configuration files, such as configuration 1 and configuration 3 of configuration B, and configuration 2 and configuration 4 of configuration C. The configuration parameters in the first configuration files configuration B and configuration C are merged to generate a second configuration file (configuration A), and the configuration parameters in configuration A include configuration 1, configuration 2, configuration 3, and configuration 4.

[0097] In step 103, the client obtains a plurality of fourth configuration files of server nodes for the baseboard management controller, and generates a modified configuration file according to the difference between the third configuration file and the fourth configuration file.

[0098] In actual applications, after the client obtains a plurality of fourth configuration files of server nodes for the baseboard management controller, the third configuration file and the fourth configuration file can be compared to determine the difference, and a modified configuration file is generated according to the difference, and is sent to the client.

[0099] In some examples, as Figure 5 , after the server and the client establish communication, the user can also use the configuration reading function of the visualization interface of the server to request configuration information data from the client on each server node. The client reads the baseboard management controller configuration information as a fourth configuration file, and sends it to the server, which is uploaded to the cloud storage.

[0100] In some embodiments of the present application, the configuration files in the server and / or the client are stored in a tree structure entry, and the configuration files in the server and / or the client are Extensible Markup Language type files.

[0101] As Figure 3The configuration file in the server and / or the client adopts a tree structure entry storage, the configuration classification is divided into tree structure entries, configuration 1 is the default configuration of each model, and the record is a configuration modification item, which only modifies the content on the basis of the default configuration, and the division can effectively save the storage space.

[0102] In some examples, the server can collect the configuration of the client and the configuration downloaded from the cloud, analyze and compare the modification items according to the tree structure entries, find the differences between the two data, generate a modified configuration file according to the difference items, and issue the modified configuration file to the client.

[0103] In some examples, the configuration file can adopt an xml (extensible markup language) type file to realize the function configuration synchronization between different models, the configuration splitting, the combination of multiple configurations, and reduce the manual operation in batch configuration.

[0104] In some examples, the configuration file can also adopt other forms, such as a list form.

[0105] In step 104, the modified configuration file is issued to the client in the plurality of server nodes through the batch processing interface, so that the client issues an execution task to the plurality of server nodes according to the modified configuration file, and modifies the baseboard management controller configuration in the plurality of server nodes.

[0106] In actual application, for the on-site situation, the same cluster environment, the baseboard management controller basic configuration may be slightly different, and other functions are basically the same; the server can provide a batch processing interface to batch modify the baseboard management controller basic configuration, and the server can realize the configuration by one key after selecting each client; after generating the modified configuration file, the modified configuration file is issued to the client in the plurality of server nodes through the batch processing interface provided by the server, so that the client issues an execution task to the plurality of server nodes according to the modified configuration file, and modifies the baseboard management controller configuration in the plurality of server nodes.

[0107] In some embodiments of the application, the method further comprises: uploading the third configuration file to the cloud; when triggering consistency verification, downloading the third configuration file from the cloud, and acquiring the latest fourth configuration file for the baseboard management controller in the plurality of server nodes through the client; and performing consistency verification according to the third configuration file and the fourth configuration file.

[0108] In actual application, after the user modifies the second configuration file in the visual interface to obtain a third configuration file, the server can upload the third configuration file to the cloud for storage; when consistency verification is triggered, the third configuration file can be downloaded from the cloud, and the latest fourth configuration file in the baseboard management controller of the plurality of server nodes is obtained through the client, and the downloaded third configuration file is subjected to consistency verification with the latest fourth configuration file.

[0109] In some embodiments of the application, the method further comprises:

[0110] According to the consistency verification result, an alarm message is generated, or the baseboard management controller configuration of the server node with inconsistent configuration is restored through the client.

[0111] In actual application, after the downloaded third configuration file and the latest fourth configuration file are subjected to consistency verification, a consistency verification result is generated, when the consistency verification result indicates inconsistency, the server generates an alarm message, or the baseboard management controller configuration of the server node with inconsistent configuration is restored through the client, the consistency of the configuration is ensured by verifying the consistency of the local configuration of the node and the configuration in the cloud, and the situation of misconfiguration of part of the nodes is avoided, and the reliability is improved.

[0112] As an example, when the consistency verification result indicates that the fourth configuration file is missing, the third configuration file can be downloaded from the cloud by the server at any time and sent to the client, and the baseboard management controller configuration and the taking effect are completed by the client.

[0113] As an example, the client can read the baseboard management controller configuration information from the local through an ipmi (intelligent platform management) interface, the server reads the configuration from the client through the network, and compares with the cloud data to find the difference between the third configuration file and the latest fourth configuration file.

[0114] In some embodiments of the application, the method further comprises:

[0115] The latest fourth configuration file in the baseboard management controller of the plurality of server nodes is obtained through the client, and dependency checking is performed on all configuration parameters in the latest fourth configuration file; and a dependency solution is generated according to the result of the dependency checking.

[0116] In actual application, the server can obtain the latest fourth configuration file in the baseboard management controller of the plurality of server nodes through the client, and perform dependency checking on all configuration parameters in the latest fourth configuration file; for example, the function of configuration parameter B depends on the function of configuration parameter A, a dependency result is generated according to the dependency checking, and a dependency solution is generated.

[0117] In some embodiments of the present application, the dependency check on all configurations in the latest fourth configuration file includes:

[0118] An index table of dependencies is obtained, which records other configuration items that each configuration item depends on; in the process of dependency check on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, it is checked whether the other configuration items that depend on have been configured; if the other configuration items that depend on have not been configured, it is determined that there is a dependency configuration exception.

[0119] In actual application, the index table of dependencies records other configuration items that each configuration item depends on; assuming that B function depends on A function, if B function needs to be implemented, but A function is not checked, at this time, the reason why B function is not implemented is given, the index table of dependencies of B function on other functions is obtained, and a prompt option example is given; in the process of dependency check on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, it is checked whether the other configuration items that depend on have been configured; if the other configuration items that depend on have not been configured, it is determined that there is a dependency configuration exception.

[0120] In the embodiments of the present application, by performing dependency check on all configurations in the latest configuration file, it can be avoided that errors occur when the service is configured, and thus it can be avoided that the node has configuration exception, the security and reliability of the configuration are improved, and the occurrence of faults is reduced.

[0121] The following will be described in conjunction with the accompanying drawings Figure 6 for exemplary illustration:

[0122] S1, the machine is not configured.

[0123] There are multiple server nodes in the server cluster, and each server node has a baseboard management controller, so that the client can be installed in the service node, and the configuration of the baseboard management controller in the service node can be realized by controlling the client.

[0124] The server can communicate with the client, and the server can provide visual management of the configuration, and the user can query whether there is a server node without a configured baseboard management controller through the visual interface in the visual management, and configure the unconfigured machine (service node).

[0125] S2, model query adaptation, if yes, S3 is performed, otherwise, the configuration fails.

[0126] When a user needs to configure the baseboard management controller of a server node of a target type, the user can operate on the visual interface of the server to obtain a first configuration file from the cloud; and determine whether the first configuration file is adapted to the baseboard management controller of the server node of the target type, and if yes, S3 is performed, otherwise, no configuration is performed.

[0127] S3, configuration check.

[0128] The first configuration file adapted to the baseboard management controller of the server node of the target type is taken as a second configuration file, and the second configuration file is checked or modified to obtain a third configuration file.

[0129] S5, whether there is an existing configuration, otherwise, S6 is performed, and if yes, the client is issued.

[0130] The latest fourth configuration file of the server node for the baseboard management controller is obtained through the client, and whether there is a default configuration is detected according to the fourth configuration file, and if yes, the third configuration file can be issued to the client; and if no, the configuration is formulated on the server.

[0131] S6, the configuration is formulated on the server, and then issued to the client.

[0132] If the latest fourth configuration file of the client has no default configuration or lacks a configuration item, the server obtains the first configuration file by responding to the operation of the user on the visual interface, the user can select / modify / split / merge the first configuration file as the second configuration file adapted to the server node of the target type on the visual interface, and modify the second configuration file to obtain the third configuration file, formulate the configuration for it, and then issue it to the server.

[0133] S7, configuration check.

[0134] According to the difference items of the third configuration file and the fourth configuration file, a modified configuration file is generated, and consistency check and dependency check are performed.

[0135] S8, the server takes effect on the configuration.

[0136] After the configuration check, the client issues an execution task to the server node according to the modified configuration file to modify the baseboard management controller configuration in the plurality of server nodes.

[0137] In the embodiment of the present application, the server provides a visual interface for configuring the baseboard management controller, the server communicates with the client, the client is deployed on the server node in the server cluster; a first configuration file for the baseboard management controller in the server node of multiple types is acquired; in response to the operation of the user on the visual interface, a second configuration file is determined according to the first configuration file, the second configuration file is modified to obtain a third configuration file; a fourth configuration file for the baseboard management controller of the multiple server nodes is acquired through the client, and a modification configuration file is generated according to the difference items of the third configuration file and the fourth configuration file; the modification configuration file is issued to the client in the multiple server nodes through the batch processing interface, so that the client issues an execution task to the multiple server nodes according to the modification configuration file, the baseboard management controller configuration in the multiple server nodes is modified, the baseboard management controller in the server node is configured in batches through the interaction between the server and the client, the efficiency and accuracy of the baseboard management controller configuration are improved, and the cost and risk of manual intervention are reduced.

[0138] It should be noted that, for the method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited to the order of the described actions, because according to the embodiments of the present application, certain steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of the present application.

[0139] Referring to Figure 7 , a structure schematic diagram of a processing device based on a baseboard management controller is shown, which is provided by some embodiments of the present application.

[0140] The device is applied to a server, the server provides a visual interface for configuring the baseboard management controller, the server communicates with the client, and the client is deployed on the server node in the server cluster.

[0141] The specific device can include the following modules:

[0142] The first configuration file acquisition module 701 is configured to acquire a first configuration file for the baseboard management controller in the server node of multiple types;

[0143] The third configuration file obtaining module 702 is configured to, in response to the operation of the user on the visual interface, determine a second configuration file according to the first configuration file, modify the second configuration file to obtain a third configuration file;

[0144] The modification configuration file generation module 703 is configured to acquire, by the client, a fourth configuration file for the baseboard management controller from the plurality of server nodes, and generate a modification configuration file according to a difference between the third configuration file and the fourth configuration file.

[0145] The modification configuration file delivery module 704 is configured to deliver the modification configuration file to the client in the plurality of server nodes through the batch processing interface, so that the client delivers an execution task according to the modification configuration file to the plurality of server nodes, and modifies the baseboard management controller configuration in the plurality of server nodes.

[0146] In some embodiments of the present application, the device is further configured to:

[0147] upload the third configuration file to the cloud;

[0148] when the consistency check is triggered, download the third configuration file from the cloud, and acquire, by the client, a latest fourth configuration file for the baseboard management controller from the plurality of server nodes;

[0149] perform the consistency check according to the third configuration file and the fourth configuration file.

[0150] In some embodiments of the present application, the device is further configured to:

[0151] generate an alarm message according to the consistency check result, or restore the baseboard management controller configuration in the server node with inconsistent configuration by the client.

[0152] In some embodiments of the present application, the device is further configured to:

[0153] acquire, by the client, a latest fourth configuration file for the baseboard management controller from the plurality of server nodes, and perform dependency checking on all configurations in the latest fourth configuration file;

[0154] generate a dependency solution according to the result of the dependency checking.

[0155] In some embodiments of the present application, the dependency checking on all configurations in the latest fourth configuration file includes:

[0156] acquire a dependency index table, the dependency index table recording other configuration items that each configuration item depends on;

[0157] In the process of the dependency checking on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, it is checked whether the other configuration items that the configuration item depends on have been configured.

[0158] If other configuration items on which the first configuration file depends are not configured, it is determined that there is a dependency configuration exception.

[0159] In some embodiments of the present application, the second configuration file is determined according to the first configuration file in response to the operation of the user on the visualization interface, comprising:

[0160] In response to the configuration selection operation of the user on the visualization interface, the second configuration file adapted to the target type of server node is selected from the first configuration file.

[0161] Alternatively, in response to the configuration selection operation of the user on the visualization interface, the second configuration file adapted to the target type of server node is selected from the first configuration file.

[0162] In response to the configuration synchronization operation of the user on the visualization interface, one or more first configuration parameters are determined in the configuration parameters of the first configuration file, and the one or more first configuration parameters are synchronized to the second configuration file to obtain an updated second configuration file.

[0163] Alternatively, in response to the configuration split operation of the user on the visualization interface, one or more second configuration parameters are determined in the first configuration file, and the second configuration file is generated according to the one or more second configuration parameters split from the first configuration file.

[0164] Alternatively, in response to the configuration merge operation of the user on the visualization interface, one or more third configuration parameters are determined in a plurality of first configuration files, and the second configuration file is generated by merging the one or more third configuration parameters in the plurality of first configuration files.

[0165] In some embodiments of the present application, the configuration file in the server and / or the client adopts tree structure entry storage, and the configuration file in the server and / or the client adopts extensible markup language type file.

[0166] In the embodiment of the present application, the server provides a visual interface for the configuration of the baseboard management controller, the server communicates with the client, and the client is deployed on the server node in the server cluster; a first configuration file for the baseboard management controller in the server node of multiple types is acquired; in response to the operation of the user on the visual interface, a second configuration file is determined according to the first configuration file, the second configuration file is modified to obtain a third configuration file; a fourth configuration file for the baseboard management controller of the multiple server nodes is acquired through the client, and a modification configuration file is generated according to the difference items of the third configuration file and the fourth configuration file; the modification configuration file is issued to the client in the multiple server nodes through the batch processing interface, so that the client issues an execution task to the multiple server nodes according to the modification configuration file, and the configuration of the baseboard management controller in the multiple server nodes is modified, thereby realizing the configuration of the baseboard management controller in the server node through the interaction between the server and the client, improving the efficiency and accuracy of the configuration of the baseboard management controller, and reducing the cost and risk of manual intervention.

[0167] Reference Figure 8 Some embodiments of the present application provide an electronic device, which comprises a processor 801, a memory 802, and a computer program stored in the memory 802 and capable of running on the processor 801, and the computer program is executed by the processor to implement the method described above.

[0168] Reference Figure 9 Some embodiments of the present application provide a computer readable storage medium 900, which stores a computer program, and the computer program is executed by the processor to implement the method described above.

[0169] Reference Figure 10 Some embodiments of the present application provide a computer program product 1000, which comprises a computer program, and the computer program is executed by the processor to implement the method described above.

[0170] For the device embodiment, it is basically similar to the method embodiment, so the description is relatively simple, and the related parts are described in the part of the method embodiment.

[0171] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.

[0172] The various embodiments described in this specification are intended to be illustrative only. Each embodiment was chosen for illustration only, and not as a limitation of the scope of the disclosure. Numerous alternatives not specifically set forth herein will be apparent in view of the teachings herein.

[0173] Those skilled in the art will appreciate that embodiments of the present application can be readily used as software, hardware, or a combination of software and hardware. In a software embodiment, various embodiments of the present application can be implemented by computer software programs or

[0174] Embodiments of the present application are described herein with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for performing each of the functions specified in the flowchart illustrations and / or block diagrams.

[0175] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing terminal devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for performing each of the functions specified in the flowchart illustrations and / or block diagrams.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal devices to cause a series of operational steps to be performed on the computer or other programmable terminal devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for performing each of the functions specified in the flowchart illustrations and / or block diagrams.

[0177] While the preferred embodiments of the application have been described above, it will be recognized and understood that various modifications and changes can be made to these embodiments by those skilled in the art which do not depart from the spirit and scope of the application. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.

[0178] Finally, it is also important to note that the use of relational terms such as first and second, and the like, are used solely to distinguish one from another entity or action without necessarily implying any actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the recited element.

[0179] The above provides a substrate management controller-based processing method, device, electronic equipment and medium, which is described in detail. The principles and implementation manners of the present application are described by using specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application scope can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A method of processing based on a baseboard management controller, the method comprising: The method is applied to a server providing a visual interface for visualizing a baseboard management controller configuration, the server communicates with a client deployed on a server node in a server cluster, and the method comprises: obtaining a first configuration file for a baseboard management controller in a plurality of types of server nodes; in response to a user operation on the visual interface, determining a second configuration file according to the first configuration file, modifying the second configuration file, and obtaining a third configuration file; obtaining a fourth configuration file for a baseboard management controller in a plurality of server nodes through the client, and generating a modification configuration file according to the difference between the third configuration file and the fourth configuration file; downloading the modification configuration file to the client in the plurality of server nodes through a batch processing interface, so as to download an execution task to the plurality of server nodes through the client according to the modification configuration file, and modify the baseboard management controller configuration in the plurality of server nodes; wherein, in response to a user operation on the visual interface, determining a second configuration file according to the first configuration file comprises: in response to a configuration selection operation of the user on the visual interface, selecting a second configuration file adapted to a target type of server node from the first configuration file; or, in response to a configuration selection operation of the user on the visual interface, selecting a second configuration file adapted to a target type of server node from the first configuration file; in response to a configuration synchronization operation of the user on the visual interface, determining one or more first configuration parameters in the configuration parameters of the first configuration file, and synchronizing the one or more first configuration parameters to the second configuration file to obtain an updated second configuration file; or, in response to a configuration splitting operation of the user on the visual interface, determining one or more second configuration parameters in the first configuration file, and generating a second configuration file according to the one or more second configuration parameters split from the first configuration file; or, in response to a configuration merging operation of the user on the visual interface, determining one or more third configuration parameters in a plurality of first configuration files, and merging the one or more third configuration parameters in the plurality of first configuration files to generate a second configuration file.

2. The method of claim 1, wherein, The method further comprises: uploading the third configuration file to the cloud; when consistency checking is triggered, downloading the third configuration file from the cloud, and obtaining the latest fourth configuration file for a baseboard management controller in the plurality of server nodes through the client; performing consistency checking according to the third configuration file and the fourth configuration file.

3. The method of claim 2, wherein, The method further comprises: generating an alarm message according to the consistency checking result, or restoring the baseboard management controller configuration in the server node with configuration inconsistency through the client.

4. The method of claim 1, wherein, The method further comprises: obtaining the latest fourth configuration file for a baseboard management controller in the plurality of server nodes through the client, and performing dependency checking on all configurations in the latest fourth configuration file; A dependency solution is generated according to a result of the dependency check.

5. The method of claim 4, wherein, The dependency check on all configurations in the latest fourth configuration file includes: An index table of dependencies is obtained, which records other configuration items on which each configuration item depends; In the process of the dependency check on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, it is checked whether the other configuration items on which the configuration item depends have been configured; If the other configuration items on which the configuration item depends have not been configured, it is determined that there is a dependency configuration exception.

6. The method of claim 1, wherein, The configuration file in the server and / or the client adopts a tree structure entry storage, and the configuration file in the server and / or the client adopts an extensible markup language type file.

7. A processing device based on a baseboard management controller, characterized by The device is applied to a server, the server provides a visual interface for configuration of a baseboard management controller, the server communicates with a client, the client is deployed on a server node in a server cluster, and the device comprises: A first configuration file obtaining module is configured to obtain a first configuration file of a baseboard management controller in a plurality of types of server nodes; A third configuration file obtaining module is configured to determine a second configuration file according to the first configuration file and modify the second configuration file to obtain a third configuration file in response to user operation on the visual interface; A modified configuration file generating module is configured to obtain fourth configuration files of the baseboard management controller of a plurality of server nodes through the client, and generate a modified configuration file according to difference items of the third configuration file and the fourth configuration file; A modified configuration file issuing module is configured to issue the modified configuration file to the client in the plurality of server nodes through a batch processing interface, so that the client issues an execution task to the plurality of server nodes according to the modified configuration file to modify the baseboard management controller configuration in the plurality of server nodes; The third configuration file obtaining module comprises: In response to configuration selection operation of the user on the visual interface, a second configuration file adapted to a target type of server node is selected from the first configuration file; Alternatively, in response to configuration selection operation of the user on the visual interface, a second configuration file adapted to a target type of server node is selected from the first configuration file; In response to configuration synchronization operation of the user on the visual interface, one or more first configuration parameters are determined in configuration parameters of the first configuration file, and the one or more first configuration parameters are synchronized to the second configuration file to obtain an updated second configuration file; Alternatively, in response to configuration splitting operation of the user on the visual interface, one or more second configuration parameters are determined in the first configuration file, and a second configuration file is generated according to the one or more second configuration parameters split from the first configuration file; Alternatively, in response to a user performing a merge operation on the configuration of the visualization interface, one or more third configuration parameters are determined in a plurality of the first configuration files, and the one or more third configuration parameters determined in the plurality of the first configuration files are merged to generate a second configuration file.

8. An electronic device, comprising: A computer program product comprising a processor, a memory, and a computer program stored on the memory and loadable on the processor, the computer program, when executed by the processor, implementing the method of any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, A computer program product comprising a processor, a memory, and a computer program stored on the memory and loadable on the processor, the computer program, when executed by the processor, implementing the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Server BMC batch configuration method and system based on client site

    CN111459556A

  • Configuration information processing method and device, storage medium and electronic device

    CN114860304A