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

Through the interaction between the server and the client, the visual interface is used to automatically manage the baseboard management controller configuration, which solves the problems of low configuration efficiency and low accuracy in the existing technology, achieves efficient and accurate configuration management, and reduces the cost of manual intervention. and risks.

CN118677764AActive Publication Date: 2024-09-20JINAN INSPUR DATA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the configuration setting of the baseboard management controller is inefficient, inaccurate and error-prone, and is inefficient during batch setting, leading to customer complaints. The existing configuration checking method requires manual command query, which is inconvenient to operate and easy to miss items. .

Method used

Provides a processing method based on the baseboard management controller, provides a visual interface through the server to communicate with the client, obtains configuration files of multiple types of server nodes, generates modified configuration files based on user operations, and delivers them to multiple servers through the batch processing interface Server nodes implement automated configuration management.

Benefits of technology

It improves the efficiency and accuracy of baseboard management controller configuration, reduces the cost and risk of manual intervention, realizes automated and intelligent management, and improves server availability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677764A
    Figure CN118677764A
Patent Text Reader

Abstract

The embodiment of the invention provides a processing method and device based on a baseboard management controller, electronic equipment and a medium, is applied to a server technology, and comprises the following steps: acquiring a first configuration file for the baseboard management controller in various types of server nodes; in response to an operation of a user on the visual interface, determining a second configuration file according to the first configuration file, and modifying the second configuration file to obtain a third configuration file; obtaining a fourth configuration file of the plurality of server nodes for the baseboard management controller through the client, and generating a modification configuration file according to a difference item of the third configuration file and the fourth configuration file; the configuration modification file is issued to the client in the plurality of server nodes to modify the configuration of the substrate management controllers in the plurality of server nodes, so that the substrate management controllers in the server nodes are configured in batches through interaction between the server and the client, and the configuration efficiency and accuracy of the substrate management controllers are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In data centers, server management and maintenance become extremely important. In order to improve the availability and reliability of servers, it is usually necessary to remotely manage and monitor the servers. As an embedded management controller, BMC (Baseboard Management Controller) can realize remote management and monitoring of servers. However, in order to realize some functions of remote management and monitoring of servers, the baseboard management controller needs to configure parameters of these functions.

[0003] For example, to implement the SNMP trap (Simple Network Management Protocol trap) alarm function of the baseboard management controller, you need to set the trap version, event level, community name, alarm port number, and target IP address through ipmi commands, web and other interfaces.

[0004] However, when this method is adopted, when configuring the parameters of the baseboard management controller and using the command line, the user's professionalism is required to be 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 misoperated or modified by someone, some functions of the baseboard management controller may not meet customer expectations, resulting in customer complaints; and the configuration checking method in the prior art requires manual command query, which is very inconvenient to operate, and is prone to errors, missing items, and other problems. Summary of the invention

[0005] In view of the above problems, a processing method, device, electronic device and medium based on a baseboard management controller are proposed to overcome the above problems or at least partially solve the above problems, including:

[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 the baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster, the method includes:

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

[0008] In response to the user's operation on the visual interface, determining a second configuration file according to the first configuration file, and modifying the second configuration file to obtain a third configuration file;

[0009] Acquire, through the client, fourth configuration files of the plurality of server nodes for the baseboard management controller, and generate a modified configuration file according to the difference items between the third configuration file and the fourth configuration file;

[0010] A modified configuration file is sent to clients in the multiple server nodes through a batch processing interface, so that execution tasks are sent to the multiple server nodes through the clients according to the modified configuration file to modify the baseboard management controller configurations in the multiple server nodes.

[0011] Optionally, the method further comprises:

[0012] Uploading the third configuration file to the cloud;

[0013] When the consistency check is triggered, the third configuration file is downloaded from the cloud, and the latest fourth configuration files in the baseboard management controller of the multiple server nodes are obtained through the client;

[0014] A consistency check is performed according to the third configuration file and the fourth configuration file.

[0015] Optionally, the method further comprises:

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

[0017] Optionally, the method further comprises:

[0018] Obtaining, through the client, the latest fourth configuration files in the baseboard management controller from the multiple server nodes, and performing dependency checks on all configurations in the latest fourth configuration file;

[0019] Based on the results of the dependency check, a dependency resolution is generated.

[0020] Optionally, the performing dependency check on all configurations in the latest fourth configuration file includes:

[0021] Obtain a dependency index table, where the dependency index table records other configuration items that each configuration item depends on;

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

[0023] If other dependent configuration items are not configured, it is determined that there is a dependency configuration exception.

[0024] Optionally, in response to the user's operation on the visual interface, determining the second configuration file according to the first configuration file includes:

[0025] In response to a configuration selection operation of the user on the visual interface, selecting a second configuration file adapted to a server node of a target type from the first configuration file;

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

[0027] In response to a 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 a 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 a configuration merging operation of the user on the visualization interface, one or more third configuration parameters are determined in the plurality of first configuration files, and the one or more third configuration parameters determined 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 tree structure entries, and the configuration files in the server and / or the client are in the form of extensible markup language files.

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

[0032] A first configuration file acquisition module, used to acquire first configuration files for baseboard management controllers in multiple types of server nodes;

[0033] A third configuration file obtaining module, configured to determine a second configuration file according to the first configuration file in response to an operation of the user on the visual interface, and to modify the second configuration file to obtain a third configuration file;

[0034] A modified configuration file generating module, configured to obtain, through the client, fourth configuration files of the plurality of server nodes for the baseboard management controller, and generate a modified configuration file according to the difference items between the third configuration file and the fourth configuration file;

[0035] The modified configuration file sending module is used to send the modified configuration file to the clients in the multiple server nodes through the batch processing interface, so as to send execution tasks to the multiple server nodes through the clients according to the modified configuration file to modify the baseboard management controller configuration in the multiple server nodes.

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

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

[0038] The embodiments of the present invention have the following advantages:

[0039] In an embodiment of the present invention, a server provides a visual interface for configuring a baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster; a first configuration file for a baseboard management controller in multiple types of server nodes is obtained; in response to a user's operation on the visual 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; a fourth configuration file for the baseboard management controller of multiple server nodes is obtained through the client, and a modified configuration file is generated according to the difference between the third configuration file and the fourth configuration file; the modified configuration file is sent to the clients in the multiple server nodes through a batch processing interface, so that execution tasks are sent to the multiple server nodes through the client according to the modified configuration file, and the configuration of the baseboard management controller in the multiple server nodes is modified, thereby realizing batch configuration of the baseboard management controller in the server nodes 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0041] Figure 1 is a flowchart of a processing method based on a baseboard management controller provided by some embodiments of the present invention;

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

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

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

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

[0046] Figure 6 is a flowchart of another processing method based on a baseboard management controller provided by some embodiments of the present invention;

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

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

[0049] Fig. 9 is a structural block diagram of a storage medium provided by some embodiments of the present invention;

[0050] Fig.10 It is a computer program product provided by some embodiments of the present invention. DETAILED DESCRIPTION

[0051] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] In the related technologies, the most common application scenarios of baseboard management controller configuration settings are: server deployment stage and maintenance stage (replacing the mainboard); the baseboard management controller uses the default configuration when it leaves the factory, and the server needs to be configured and set up when it enters the site for the first time; the traditional baseboard management controller configuration settings require service engineers to write different scripts according to different application scenarios, and configure the baseboard management controller by running the scripts; when replacing the mainboard or replacing the FLASH device of the baseboard management controller, the original configuration will no longer exist and needs to be reconfigured.

[0053] In the related technologies, the configuration setting and configuration checking methods of the baseboard management controller have problems such as low efficiency, low accuracy and high cost of manual intervention; and because electronic equipment such as servers and storage devices are updated quickly, there are large differences between different models and versions, and the IPMI commands between different models are also different, making maintenance and use difficult. Therefore, it is obviously necessary to manage different models of equipment in a unified way.

[0054] Therefore, the present invention proposes to provide a visual interface through the server module to complete the display and modification of the configuration; the client module obtains the hardware information of the server and reports it to the server, the server gives the configuration method and strategy according to the hardware information, and the configuration data module generates the corresponding configuration file according to the obtained hardware information; the configuration inspection module checks and inspects the configuration after installation to effectively improve the efficiency and accuracy of the configuration settings of the server baseboard management controller, while reducing the cost and risk of manual intervention.

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

[0056] It brings a series of beneficial effects to data center and server operation 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 without manual operations on each server, greatly improving management efficiency.

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

[0059] 3. Improve server availability: Through automated remote management, you can quickly respond to server problems and reduce server downtime even when the physical location is remote or cannot be directly accessed.

[0060] 4. Enhanced security: Automatic configuration management can ensure that security settings are applied correctly, such as timely updating of firmware to fix security vulnerabilities, as well as configuring access control and data encryption transmission.

[0061] 5. Optimize resource allocation: The automation solution can dynamically adjust server resources according to real-time business needs and improve resource utilization.

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

[0063] 7. Improve fault response: Automated configuration management solutions can quickly identify hardware failures and trigger alarms, enabling the operation and maintenance team to respond in a timely manner and reduce the impact of failures.

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

[0065] 9. Simplify 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 large-scale deployment: For data centers with a large number of servers, automatic configuration management solutions are particularly important, as they make unified management of large-scale servers possible.

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

[0068] 12. Flexible policy application: The automation solution can automatically adjust the server configuration according to the preset business policies to adapt to different workload requirements.

[0069] 13. Audit and Compliance: Automated configuration management solutions help record all configuration changes for easy auditing and compliance.

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

[0071] Reference Figure 1, shows a flowchart of the steps of a processing method based on a baseboard management controller provided by some embodiments of the present invention, the method is applied to a server, the server provides a visual interface for configuring the baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster. In actual applications, there are multiple server nodes in a server cluster, and each server node has a baseboard management controller, so 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.

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

[0073] In some examples, the server provides visual management of the configuration, which may include configuration add, delete, modify, and query functions as well as batch processing and modular configuration modification. After the server sets the configuration of a single machine, it sends the data to the client. The client receives the data sent by the server and executes the sent tasks based on the data analysis. The server can be installed in a service node in a server cluster or in an external node (a computer that can install and execute the server). The present invention does not limit the location of the server and can be arranged according to actual conditions.

[0074] As an example, the client receives data sent by the server, and forms an execution task based on data analysis. The specific task can be decomposed into the form of ipmi instructions, and special settings integrate the tool into the client.

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

[0076] Step 101: Obtain a first configuration file for a baseboard management controller in multiple types of server nodes.

[0077] In some examples, the types of multiple types of server nodes can be server models, or they can be divided according to the functional types of the servers, such as front-end servers and back-end servers, to achieve personalized customization and be more adaptable to actual scenarios.

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

[0079] Step 102: In response to the user's operation on the visual 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 actual applications, 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, such as obtaining a first configuration file from the cloud; the server obtains the first configuration file in response to the user's operation on the visual interface, and the user can select / modify / split / merge the first configuration file on the visual interface as a second configuration file adapted to the server node of the target type. After obtaining the second configuration file, the user can modify the second configuration file on the visual interface to obtain a third configuration file.

[0081] In some embodiments of the present invention, determining the second configuration file according to the first configuration file in response to the user's operation on the visual interface includes:

[0082] In some embodiments, in response to a configuration selection operation by a user 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 actual applications, since there are first configuration files of baseboard management controllers in multiple types of server nodes, when a user needs to configure the baseboard management controller of a server node of a target type, after the server obtains multiple first configuration files, the user can perform selection operations in a visual interface, and select a first configuration file that the user believes can adapt to the target type of server node from the multiple first configuration files as the second configuration file; for example, if the first configuration files of the baseboard management controllers in multiple types of server nodes are ABC respectively, and the user believes that A can adapt to the target type of server node, then A will be used as the second configuration file adapted to the target type of server node.

[0084] In some embodiments, in response to a user's configuration selection operation in the visualization interface, a second configuration file adapted to the target type of server node is selected from the first configuration file; in response to a user's configuration synchronization operation in 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.

[0085] In actual applications, when a user needs to configure a baseboard management controller of a server node of a target type, after the server obtains multiple first configuration files, the user can perform selection operations in a visual interface, and select a first configuration file that the user believes can adapt to the server node of the target type as the second configuration file from the multiple first configuration files; because the second configuration file may contain configuration parameters that are not applicable to the server node of the target type, the user can perform configuration synchronization operations in the visual interface, and the server responds to the user's configuration synchronization operation in the visual interface, and then determines one or more first configuration parameters from the configuration parameters of the first configuration file, 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 controller in multiple types of server nodes are A, B, and C respectively, and the user believes that A can adapt to the target type of server node, then A is used as the second configuration file adapted to the target type of server node. For example, the configuration parameters in A are Q, W, and E, but some configuration parameters in A are not applicable to the target type of server node (for example, there is a configuration parameter (W) in A that is not applicable to the target type of server node), then the user can perform a configuration synchronization operation on the visual interface. The server responds to the user's configuration synchronization operation on the visual interface. The user determines an applicable first configuration parameter (T) from the configuration parameters (R, T, Y) of the first configuration file B or C, and synchronizes the first configuration parameter (T) to the second configuration file (A), thereby obtaining an updated second configuration file. At this time, the configuration parameters in the second configuration file are (Q, T, E).

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

[0088] In some examples, such as Figure 3For example, if the first configuration files of the baseboard management controller in multiple types of server nodes are obtained, which are configuration A and configuration B respectively, and the user believes that configuration B can adapt to the target type of server nodes, then configuration B is used as the second configuration file adapted to the target type of server nodes, and the configuration parameters in configuration B are configuration 1, configuration 3, and configuration 4, and there is no configuration 2, then the user can perform a configuration synchronization operation in the visual interface, and the server responds to the user's configuration synchronization operation in the visual interface, and the user determines an applicable first configuration parameter (configuration 2) from the configuration parameters of the first configuration file configuration A (configuration 1, configuration 2, configuration 3, configuration 4), and synchronizes the first configuration parameter (configuration 2) to the second configuration file (configuration B), and obtains 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, configuration 4).

[0089] In some embodiments, in response to a configuration splitting operation performed by a user in 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.

[0090] In actual applications, users can also split the first configuration file in 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 required by the target type of server node, one or more second configuration parameters in the first configuration file can be split out to generate a second configuration file.

[0091] In some examples, such as Figure 4 The user selects a first configuration file (configuration A) from multiple first configuration files that he thinks can adapt to the target type of server node, but the target type of server node (node ​​B) does not require certain configuration parameters (configuration 2, configuration 4). In this case, the second configuration parameters (configuration 1, configuration 3) in configuration A can be split out to generate a second configuration file.

[0092] For example, if the user selects a first configuration file (configuration A) that is considered to be suitable for the target type of server node from multiple first configuration files, but the target type of server node (C) does not require certain configuration parameters (configuration 1, configuration 3), the second configuration parameters (configuration 2, configuration 4) in configuration A can be split out to generate a second configuration file.

[0093] In the embodiment of the present invention, by splitting the existing configuration file to obtain a new configuration file, manual configuration can be reduced and the configuration is more suitable for the scenario of mass configuration.

[0094] In some embodiments, in response to a configuration merging operation performed by a user in 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 server node of a target type, after selecting a first configuration file that is considered to be adaptable to the server node of the target type from multiple first configuration files, but the required configuration parameters are in two first configuration files, at this time, one or more required third configuration parameters can be determined in the two first configuration files, and the one or more third configuration parameters determined in the two first configuration files can be merged to generate a second configuration file.

[0096] like Figure 4 When the user configures a server node (A) of the target type, there is no suitable first configuration file that can be used as the second configuration file. In this case, the user can find the third configuration parameters that are suitable from multiple first configuration files, such as configuration 1 and configuration 3 of configuration B; 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). At this time, the configuration parameters in configuration A include configuration 1, configuration 2, configuration 3, and configuration 4.

[0097] Step 103: obtaining, through the client, fourth configuration files of multiple server nodes for the baseboard management controller, and generating a modified configuration file according to the difference between the third configuration file and the fourth configuration file.

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

[0099] In some examples, such as Figure 5 ,After establishing communication between the server and the client, the user can also request ,configuration information data from the client on each server node through the ,configuration reading function of the visual interface of the server, and the client reads the ,baseboard management controller configuration information as the fourth ,configuration file, which is

[0100] In some embodiments of the present invention, the configuration files in the server and / or the client are stored using tree structure entries, and the configuration files in the server and / or the client are XML type files.

[0101] like Figure 3,The configuration files in the server and / or client are stored in a tree structure entry, and the configuration categories and modules are split into tree structure entries. Configuration 1 is the default configuration for each model, which is recorded as a configuration modification item. Only the content is modified based on the default configuration. This division can effectively save storage space.

[0102] In some examples, the server can collect the client's configuration and download the cloud configuration, analyze and compare the modified items according to the tree items, find the differences between the two data, generate a modified configuration file based on the differences, and send it to the client.

[0103] In some examples, the configuration file may adopt an XML (Extensible Markup Language) type file to achieve functional configuration synchronization between different models, configuration splitting, and merging of multiple configurations, thereby reducing manual operations during batch configuration.

[0104] In some examples, the configuration file may also be in other forms, such as in the form of a list.

[0105] Step 104: Send a modified configuration file to the clients in the multiple server nodes through a batch processing interface, so that the clients send execution tasks to the multiple server nodes according to the modified configuration file to modify the baseboard management controller configurations in the multiple server nodes.

[0106] In actual applications, depending on the on-site situation, in the same cluster environment, the basic configuration of the baseboard management controller may be slightly different, and other functions are generally the same; the server can provide a batch processing interface to batch modify the basic configuration of the baseboard management controller, and the server can implement the configuration with one click after selecting each client; after generating the modified configuration file, the modified configuration file can be sent to the clients in multiple server nodes through the batch processing interface provided by the server, so that the execution tasks can be sent to multiple server nodes through the client according to the modified configuration file, thereby modifying the baseboard management controller configuration in multiple server nodes.

[0107] In some embodiments of the present invention, the method also includes: uploading the third configuration file to the cloud; when a consistency check is triggered, downloading the third configuration file from the cloud, and obtaining the latest fourth configuration file in the baseboard management controller of the multiple server nodes through the client; and performing a consistency check based on the third configuration file and the fourth configuration file.

[0108] In actual applications, the user modifies the second configuration file in the visual interface. After obtaining the third configuration file, the server can upload the third configuration file to the cloud for storage; when the consistency check is triggered, the third configuration file can be downloaded from the cloud, and the client can obtain multiple server nodes for the latest fourth configuration file in the baseboard management controller, and the downloaded third configuration file can be verified for consistency with the latest fourth configuration file.

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

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

[0111] In actual applications, the downloaded third configuration file is verified for consistency with the latest fourth configuration file to generate a consistency verification result. When the consistency verification result indicates inconsistency, the server generates an alarm message, or the baseboard management controller configuration in the server node with inconsistent configuration is restored through the client. By performing consistency verification between the local configuration of the node and the configuration in the cloud, the uniformity of the configuration is ensured, the misconfiguration of some 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 client completes the configuration and validation of the baseboard management controller.

[0113] As an example, the client can read the baseboard management controller configuration information locally through the ipmi (intelligent platform management) interface, and the server reads the configuration from the client through the network and compares it 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 present invention, the method further comprises:

[0115] The client obtains the latest fourth configuration files in the baseboard management controller from the multiple server nodes, and performs a dependency check on all configurations in the latest fourth configuration file; and generates a dependency solution according to the result of the dependency check.

[0116] In actual applications, the server can obtain the latest fourth configuration file in the baseboard management controller from multiple server nodes through the client, and perform a dependency check on all configuration parameters in the latest fourth configuration file; if the function of configuration parameter B depends on the function of configuration parameter A, a dependency result is generated based on the dependency check, and a dependency solution is generated.

[0117] In some embodiments of the present invention, the step of performing dependency checking on all configurations in the latest fourth configuration file includes:

[0118] Obtain a dependency index table, wherein the dependency index table records other configuration items that each configuration item depends on; in the process of performing dependency checks on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, check whether other dependent configuration items have been configured; if other dependent configuration items are not configured, it is determined that a dependency configuration exception exists.

[0119] In actual applications, the dependency index table records other configuration items that each configuration item depends on; assuming that function B depends on function A, if function B needs to be implemented but function A is not checked, the reason why function B is not implemented should be given, and the dependency index table of other functions that function B depends on should be obtained, and option examples should be prompted; in the process of performing dependency checks on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, check whether other dependent configuration items have been configured; if other dependent configuration items are not configured, it is determined that a dependency configuration exception exists.

[0120] In the embodiment of the present invention, by performing dependency checks on all configurations in the latest configuration file, errors in server configuration can be avoided, thereby avoiding configuration anomalies in nodes, improving the security and reliability of the configuration, and reducing the occurrence of faults.

[0121] The following is combined with Figure 6 An example explanation is given below:

[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. Therefore, a client can be installed in the service node, and the baseboard management controller in the service node can be configured by controlling the client.

[0124] The server can communicate with the client and provide visual management of configuration. Users can use the visual interface in the visual management to check whether there are server nodes that are not configured with the baseboard management controller and configure the unconfigured machines (service nodes).

[0125] S2: If the model is compatible, proceed to S3; otherwise, the configuration fails.

[0126] When the user needs to configure the baseboard management controller of a server node of a certain target type, the user can operate on the visual interface of the server to obtain the first configuration file from the cloud; and determine whether the first configuration file is compatible with the baseboard management controller of the server node of the target type. If so, proceed to S3, otherwise do not configure.

[0127] S3, configuration check.

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

[0129] S5, whether it has been configured, if not, proceed to S6, if yes, send it to the client.

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

[0131] S6, formulate the configuration on the server and then send it to the client.

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

[0133] S7, configuration check.

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

[0135] S8, server-side configuration takes effect.

[0136] After the configuration check is passed, the client sends execution tasks to the server nodes according to the modified configuration files to modify the baseboard management controller configurations in multiple server nodes.

[0137] In an embodiment of the present invention, a server provides a visual interface for configuring a baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster; a first configuration file for a baseboard management controller in multiple types of server nodes is obtained; in response to a user's operation on the visual 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; a fourth configuration file for the baseboard management controller of multiple server nodes is obtained through the client, and a modified configuration file is generated according to the difference between the third configuration file and the fourth configuration file; the modified configuration file is sent to the clients in the multiple server nodes through a batch processing interface, so that execution tasks are sent to the multiple server nodes through the client according to the modified configuration file, and the configuration of the baseboard management controller in the multiple server nodes is modified, thereby realizing batch configuration of the baseboard management controller in the server nodes 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.

[0138] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0139] Reference Figure 7 , showing a schematic structural diagram of a processing device based on a baseboard management controller provided in some embodiments of the present invention.

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

[0141] Specifically, the device may include the following modules:

[0142] A first configuration file acquisition module 701 is used to acquire first configuration files for baseboard management controllers in multiple types of server nodes;

[0143] A third configuration file obtaining module 702 is used to determine a second configuration file according to the first configuration file in response to the user's operation on the visual interface, and modify the second configuration file to obtain a third configuration file;

[0144] A modified configuration file generating module 703 is used to obtain, through the client, fourth configuration files of multiple server nodes for the baseboard management controller, and generate a modified configuration file according to the difference items between the third configuration file and the fourth configuration file;

[0145] The modified configuration file sending module 704 is used to send the modified configuration file to the clients in the multiple server nodes through the batch processing interface, so as to send execution tasks to the multiple server nodes through the clients according to the modified configuration file to modify the baseboard management controller configurations in the multiple server nodes.

[0146] In some embodiments of the present invention, the device is also used for:

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

[0148] When the consistency check is triggered, the third configuration file is downloaded from the cloud, and the latest fourth configuration files in the baseboard management controller of the multiple server nodes are obtained through the client;

[0149] A consistency check is performed according to the third configuration file and the fourth configuration file.

[0150] In some embodiments of the present invention, the device is also used for:

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

[0152] In some embodiments of the present invention, the device is also used for:

[0153] Obtaining, through the client, the latest fourth configuration files in the baseboard management controller from the multiple server nodes, and performing dependency checks on all configurations in the latest fourth configuration file;

[0154] Based on the results of the dependency check, a dependency resolution is generated.

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

[0156] Obtain a dependency index table, where the dependency index table records other configuration items that each configuration item depends on;

[0157] In the process of performing dependency check on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, checking whether other dependent configuration items have been configured;

[0158] If other dependent configuration items are not configured, it is determined that there is a dependency configuration exception.

[0159] In some embodiments of the present invention, determining the second configuration file according to the first configuration file in response to the user's operation on the visual interface includes:

[0160] In response to a configuration selection operation of the user on the visual interface, selecting a second configuration file adapted to a server node of a target type from the first configuration file;

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

[0162] In response to a 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 a 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;

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

[0165] In some embodiments of the present invention, the configuration files in the server and / or the client are stored using tree structure entries, and the configuration files in the server and / or the client are XML type files.

[0166] In an embodiment of the present invention, a server provides a visual interface for configuring a baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster; a first configuration file for a baseboard management controller in multiple types of server nodes is obtained; in response to a user's operation on the visual 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; a fourth configuration file for the baseboard management controller of multiple server nodes is obtained through the client, and a modified configuration file is generated according to the difference between the third configuration file and the fourth configuration file; the modified configuration file is sent to the clients in the multiple server nodes through a batch processing interface, so that execution tasks are sent to the multiple server nodes through the client according to the modified configuration file, and the configuration of the baseboard management controller in the multiple server nodes is modified, thereby realizing batch configuration of the baseboard management controller in the server nodes 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 , shows an electronic device provided by some embodiments of the present invention, including 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 above method is implemented when the computer program is executed by the processor.

[0168] Reference Fig. 9 , shows a computer-readable storage medium 900 provided in some embodiments of the present invention, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0169] Reference Fig.10 , shows a computer program product 1000 provided by some embodiments of the present invention, including a computer program, and the computer program implements the above method when executed by a processor.

[0170] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0171] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0172] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0173] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0174] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0177] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0178] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0179] The above provides a detailed introduction to the processing method, device, electronic device and medium based on the baseboard management controller. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A processing method based on a baseboard management controller, characterized in that: 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, and the client is deployed on a server node in a server cluster. The method includes: Obtaining a first configuration file for a baseboard management controller in multiple types of server nodes; In response to the user's operation on the visual interface, determining a second configuration file according to the first configuration file, and modifying the second configuration file to obtain a third configuration file; Acquire, through the client, fourth configuration files of the plurality of server nodes for the baseboard management controller, and generate a modified configuration file according to the difference items between the third configuration file and the fourth configuration file; A modified configuration file is sent to clients in the multiple server nodes through a batch processing interface, so that execution tasks are sent to the multiple server nodes through the clients according to the modified configuration file to modify the baseboard management controller configurations in the multiple server nodes.

2. The method according to claim 1, characterized in that The method further comprises: Uploading the third configuration file to the cloud; When the consistency check is triggered, the third configuration file is downloaded from the cloud, and the latest fourth configuration files in the baseboard management controller of the multiple server nodes are obtained through the client; A consistency check is performed according to the third configuration file and the fourth configuration file.

3. The method according to claim 2, characterized in that The method further comprises: According to the consistency check result, an alarm message is generated, or the baseboard management controller configuration in the server node with inconsistent configuration is restored through the client.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining, through the client, the latest fourth configuration files in the baseboard management controller from the multiple server nodes, and performing dependency checks on all configurations in the latest fourth configuration file; Based on the results of the dependency check, a dependency resolution is generated.

5. The method according to claim 4, characterized in that The dependency check is performed on all configurations in the latest fourth configuration file, including: Obtain a dependency index table, where the dependency index table records other configuration items that each configuration item depends on; In the process of performing dependency check on all configurations in the latest fourth configuration file, for each configuration item in the latest fourth configuration file, checking whether other dependent configuration items have been configured; If other dependent configuration items are not configured, it is determined that there is a dependency configuration exception.

6. The method according to any one of claims 1 to 5, characterized in that: The determining, in response to the user's operation on the visual interface and according to the first configuration file, a second configuration file includes: In response to a configuration selection operation of the user on the visual interface, selecting a second configuration file adapted to a server node of a target type from the first configuration file; Alternatively, in response to a configuration selection operation of the user on the visual interface, a second configuration file adapted to a server node of a target type is selected from the first configuration file; In response to a 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; Alternatively, in response to a 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; Alternatively, in response to a configuration merging operation of the user on the visualization interface, one or more third configuration parameters are determined in the plurality of first configuration files, and the one or more third configuration parameters determined in the plurality of first configuration files are merged to generate a second configuration file.

7. The method according to claim 1, characterized in that The configuration files in the server and / or the client are stored in tree structure entries, and the configuration files in the server and / or the client are in the form of extensible markup language files.

8. A processing device based on a baseboard management controller, characterized in that: The device is applied to a server, the server provides a visual interface for configuring a baseboard management controller, the server communicates with a client, and the client is deployed in a server node in a server cluster. The device includes: A first configuration file acquisition module, used to acquire first configuration files for baseboard management controllers in multiple types of server nodes; A third configuration file obtaining module, configured to determine a second configuration file according to the first configuration file in response to an operation of the user on the visual interface, and to modify the second configuration file to obtain a third configuration file; A modified configuration file generating module, configured to obtain, through the client, fourth configuration files of the plurality of server nodes for the baseboard management controller, and generate a modified configuration file according to the difference items between the third configuration file and the fourth configuration file; The modified configuration file sending module is used to send the modified configuration file to the clients in the multiple server nodes through the batch processing interface, so as to send execution tasks to the multiple server nodes through the clients according to the modified configuration file to modify the baseboard management controller configuration in the multiple server nodes.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

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

  • Baseboard management controller control method and device, electronic equipment and storage medium

    CN116149752A

  • Management configuration method, computing device and server

    CN117354149A

  • Version updating method, device and equipment of baseboard management controller, and medium

    CN117742764A