CN116302016A - Configuration information management method and device for baseboard management controller - Google Patents

Configuration information management method and device for baseboard management controller Download PDF

Info

Publication number
CN116302016A
CN116302016A CN202310277926.4A CN202310277926A CN116302016A CN 116302016 A CN116302016 A CN 116302016A CN 202310277926 A CN202310277926 A CN 202310277926A CN 116302016 A CN116302016 A CN 116302016A
Authority
CN
China
Prior art keywords
configuration information
management controller
baseboard management
target
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310277926.4A
Other languages
Chinese (zh)
Inventor
张鲁营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310277926.4A priority Critical patent/CN116302016A/en
Publication of CN116302016A publication Critical patent/CN116302016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method and a device for managing configuration information of a substrate management controller, and relates to the technical field of servers. The method comprises the following steps: transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters; and transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the self configuration information operation by the target baseboard management controller. By implementing the configuration information management method and device disclosed by the embodiment of the invention, the operation related to the configuration information in the user operation can be effectively monitored and recorded, so that the change process of the configuration information has traceability; the management of the configuration information has independence; when the primary mirror image of the baseboard management controller fails, the secondary mirror image can acquire the latest configuration information through the file server so as to ensure the normal operation of the server; and the configuration information loss caused by the failure of the version updating of the baseboard management controller can be avoided.

Description

Configuration information management method and device for baseboard management controller
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method and an apparatus for managing configuration information of a baseboard management controller.
Background
A Baseboard Management Controller (BMC) is used as a core component of the server, and plays an important role in server monitoring. In the daily maintenance process of the server, the version of the baseboard management controller needs to be updated continuously, and the problem in the hardware operation process is solved or the hardware operation requirement specified by a user is met through the version update of the baseboard management controller. The user is typically allowed to choose whether to retain the current configuration information when updating the baseboard management controller version. At this time, if the user chooses to keep the configuration information, the configuration information is written into an Electrically Erasable Programmable Read Only Memory (EEPROM), and after the version is updated, the relevant configuration is performed according to the configuration information in the electrically erasable programmable read only memory. In the existing running flow of the server, access to configuration information is only involved in the process of updating the BMC version, monitoring and management means for operation configuration information during non-version updating are absent, and the problem that a standby baseboard management controller is difficult to configure in time when a main baseboard management controller fails exists; and failure of the baseboard management controller version update, resulting in a risk of configuration information loss.
Disclosure of Invention
In order to solve the problem of remote backup of configuration information of a baseboard management controller and tracing of configuration information operation in the prior art, the embodiment of the invention provides a method and a device for managing the configuration information of the baseboard management controller, which enable the configuration information of the baseboard management controller and operation records thereof to be completely stored, and can provide current configuration information for the standby baseboard management controller in time when the main/standby baseboard management controller of a server is switched, thereby guaranteeing normal operation of the server and providing basis for tracing of configuration information operation. In order to solve one or more of the above technical problems, the technical solution adopted by the present invention is as follows:
in a first aspect, a method for managing configuration information of a baseboard management controller is provided, and the method is applied to a target server, and includes:
transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the identity parameters comprise: at least one of a baseboard management controller version number, a basic input/output system version number, a server material number and a server main board model, wherein configuration information log records configuration information of a target baseboard management controller corresponding to a target server, and the target baseboard management controller is a baseboard management controller of the target server;
And transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
Further, before the operation of monitoring and recording the configuration information by the target baseboard management controller, the method further comprises the following steps:
in response to the file server not recording the configuration information of the target baseboard management controller, transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information.
Further, the baseboard management controller configuration information management method further includes:
and in response to the failure of the target baseboard management controller, enabling the standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is the same as the target baseboard management controller in type.
Further, enabling the standby baseboard management controller to take over the target server includes:
activating a standby baseboard management controller;
sending a current configuration information acquisition request to a file server;
and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
In a second aspect, a baseboard management controller configuration information management method is provided, and is used for a file server, and the method includes:
receiving an identity parameter of a target server, and retrieving a configuration information log of a target baseboard management controller corresponding to the target server stored in a file server according to the identity parameter, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
Further, retrieving the configuration information log stored in the file server according to the identity parameter includes:
in response to the file server not recording the configuration information log corresponding to the configuration information of the target baseboard management controller, requesting the current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
Further, the baseboard management controller configuration information management method further includes:
responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
And transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
Further, the baseboard management controller configuration information management method further includes:
and transmitting the configuration information log and the current configuration information file to the backup server.
In a third aspect, there is provided a baseboard management controller configuration information management apparatus for a target server, the apparatus comprising:
the identity parameter transmission module is used for transmitting the identity parameter of the target server to the file server, wherein the identity parameter at least comprises one or a combination of a plurality of base plate management controller version numbers, basic input and output system version numbers, server material numbers and server main board models;
the configuration information management module is used for monitoring and recording configuration information operation by the target baseboard management controller and transmitting the configuration information operation to the file server, wherein the target baseboard management controller is the baseboard management controller of the target server, and the configuration information operation is the configuration operation executed on the target baseboard management controller.
In a fourth aspect, there is provided a baseboard management controller configuration information management apparatus for a file server, the apparatus comprising:
the identity recognition module is used for receiving the identity parameters of the target server and retrieving a configuration information log stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
the configuration information recording module is used for receiving the configuration information operation and recording the configuration information operation in the configuration information log.
A fifth aspect of the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the baseboard management controller configuration information management method according to the first and second aspects of the present invention when executing the computer program.
A sixth aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the baseboard management controller configuration information management method described in the first and second aspects.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
1. By implementing the method and the device for managing the configuration information of the baseboard management controller disclosed by the embodiment of the invention, the effect of monitoring and recording the operation of the configuration information related to a user can be achieved, and the change process of the configuration information is traceable;
2. independent management of configuration information, and inquiry of the configuration information can be carried out when the baseboard management controller carries out version upgrading;
3. when the primary mirror image of the substrate management controller fails, the secondary mirror image can acquire the latest configuration information through the file server so as to ensure that the configuration environment of the operation of the secondary mirror image is the same as that of the operation of the primary mirror image;
4. and the configuration information loss caused by the failure of the version updating of the baseboard management controller is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a baseboard management controller configuration information management method applied to a target server according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of a baseboard management controller configuration information management method applied to a file server according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a baseboard management controller configuration information management device applied to a target server according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a baseboard management controller configuration information management device applied to a file server according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some examples of the present invention, not all examples. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, technical or scientific terms used in this disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in this disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Likewise, the terms "a," "an," or "the" and similar terms do not denote a limitation of quantity, but rather denote the presence of at least one. The numerals in the drawings of the specification merely denote distinction of respective functional components or modules, and do not denote logical relationships between the components or modules. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Note that in the drawings, the same reference numerals are given to constituent parts having substantially the same or similar structures and functions, and repeated description thereof will be omitted.
Aiming at the problem of remote backup of configuration information of a baseboard management controller and tracing of configuration information operation in the prior art, the embodiment of the invention provides a method and a device for managing the configuration information of the baseboard management controller, which enable the configuration information of the baseboard management controller and operation records thereof to be completely stored, and can provide current configuration information for the standby baseboard management controller in time when the main/standby baseboard management controller of a server is switched, thereby guaranteeing normal operation of the server and providing basis for tracing of configuration information operation.
In one embodiment, as shown in fig. 1, a baseboard management controller configuration information management method is applied to a target server, and the method includes:
a110: transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the identity parameters comprise: at least one of a baseboard management controller version number, a basic input and output system version number, a server material number and a server main board model, wherein the configuration information log records configuration information of a target baseboard management controller corresponding to a target server, and the target baseboard management controller is a baseboard management controller of the target server.
After the user logs in the baseboard management controller account, the user can obtain the configuration information modification authority of the corresponding baseboard management controller. After a user logs in the baseboard management controller account, the baseboard management controller configuration information management method disclosed by the application is executed, the change process of the configuration information can be completely recorded, so that the latest configuration information of the corresponding target baseboard management controller can be accurately restored according to the configuration information log recorded by the file server (or called the file server), the backup configuration information is played, the configuration information is modified and traced, and the management of the configuration information is facilitated. The specific implementation is described as follows:
the user establishes a connection between the target server and the file server through the client, and establishes a data transmission channel between the target server and the file server through the connection, wherein the connection can be a wired connection or a wireless communication connection. Typically, the file server has a fixed IP, and the target server is connected to the device to which the IP is directed (i.e., the file server herein) so that data can be transferred between the target server and the file server. After the connection is completed, the file server records the media access control address (MAC) address of the target server as the basis for the subsequent data transmission. The target server transmits identity parameters for identity recognition to the file server, wherein the identity parameters are generally unique parameters capable of recognizing the target server, and at least comprise: one of a baseboard management controller version number, a Basic Input Output System (BIOS) version number, a server material number, a server motherboard model, or a combination of several items. Typically, ipmtool is used to read the identity parameters of the target server from its internal memory; and transmitting the identity parameters to a file server by utilizing network communication.
A120: and transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
The content of the configuration information operation at least comprises: the operation time, the operation use, the operation content, the pre-operation check information, the post-operation check information and the like are used for checking or tracing the configuration information operation of the target baseboard management controller.
The monitoring, recording configuration information operations are typically performed by a target baseboard management controller.
When the user directly performs an action of accessing, querying, modifying configuration information, or the like, or when any operation content of the user indirectly relates to a configuration information item, it is identified as operation content; the pre-operation check information may be the entire content of the pre-operation configuration information, or may be a check code generated according to the entire content of the pre-operation configuration information; the post-operation check information may be the entire content of the post-operation configuration information, or may be a check code generated according to the entire content of the post-operation configuration information.
If the target server is first connected with the file server, before the operation of monitoring and recording the configuration information by the target baseboard management controller, the method further comprises:
a111: in response to the file server not recording the configuration information of the target baseboard management controller, transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information.
This current configuration information should be understood as: and before the target baseboard management controller logs out last time, the configuration information of the target baseboard management controller is obtained after the configuration information operation is executed last time.
When the target baseboard management controller fails, in order to timely migrate the configuration information to the standby baseboard management controller, the management method further includes:
a200: and in response to the failure of the target baseboard management controller, enabling the standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is the same as the target baseboard management controller in type.
Specifically, enabling the standby baseboard management controller to take over the target server includes:
a210: activating a standby baseboard management controller;
a220: sending a current configuration information acquisition request to a file server;
A230: and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
In another embodiment, as shown in fig. 2, there is provided a baseboard management controller configuration information management method for a file server, the method including:
b110: and receiving the identity parameters of the target server, and retrieving a configuration information log of the target baseboard management controller corresponding to the target server stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller.
According to the configuration information log, the configuration information of the latest baseboard management controller of the corresponding target baseboard management controller before the current log-out can be restored.
B120: and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
For users with various authorities, the configuration information log is only used for consulting in a file server and cannot be changed.
If the target server is connected with the file server for the first time, the step of retrieving the configuration information log stored in the file server according to the identity parameter includes:
b111: in response to the file server not recording the configuration information log corresponding to the configuration information of the target baseboard management controller, requesting the current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
Because the configuration information log is not established when the target server and the file server execute the configuration information management method of the baseboard management controller for the first time, the newly built configuration information log is needed, and the current configuration information of the target baseboard management controller is used as initial configuration information.
The target baseboard management controller fails, and in order to timely migrate the configuration information to the standby baseboard management controller, the method further includes:
b210: responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
b220: and transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
In order to ensure the safety of the configuration information, the configuration information stored in the file server can be further backed up, and the method further comprises the following steps:
b300: and transmitting the configuration information log and the current configuration information file to the backup server.
In another embodiment, as shown in fig. 3, there is provided a baseboard management controller configuration information management apparatus for a target server, the apparatus comprising:
the identity parameter transmission module is used for transmitting the identity parameter of the target server to the file server, wherein the identity parameter at least comprises one or a combination of a plurality of base plate management controller version numbers, basic input and output system version numbers, server material numbers and server main board models;
the configuration information management module is used for monitoring and recording configuration information operation by the target baseboard management controller and transmitting the configuration information operation to the file server, wherein the target baseboard management controller is the baseboard management controller of the target server, and the configuration information operation is the configuration operation executed on the target baseboard management controller.
Further comprises: and the initialization module is used for transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information in response to the configuration information of the target baseboard management controller not recorded in the file server.
The module typically performs the above-described operations when the target server is first connected to a file server.
Further comprises: and the standby baseboard management controller starting module is used for starting the standby baseboard management controller to take over the target server in response to the failure of the target baseboard management controller, wherein the standby target baseboard management controller is arranged in the target server and is provided with chips with the same model as the target baseboard management controller.
Specifically, for activating a standby baseboard management controller;
sending a current configuration information acquisition request to a file server;
and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
The module typically performs this operation when the target baseboard management controller fails, in order to be able to migrate configuration information to the standby baseboard management controller in time, and resume operation of the target server.
In another embodiment, as shown in fig. 4, there is provided a baseboard management controller configuration information management device for a file server, the device comprising:
The identity recognition module is used for receiving the identity parameters of the target server and retrieving a configuration information log stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
the configuration information recording module is used for receiving the configuration information operation and recording the configuration information operation in the configuration information log.
Further comprises: and the initial recording module is used for requesting the current configuration information of the target baseboard management controller to the target baseboard management controller as initial configuration information in response to the configuration information log corresponding to the configuration information of the target baseboard management controller not recorded in the file server.
Further comprises: the file generation module is used for responding to the configuration information acquisition request transmitted by the standby baseboard management controller and generating a current configuration information file according to the configuration information log corresponding to the target baseboard management controller;
and the file returning module is used for transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
Further comprises: and the file backup module is used for transmitting the configuration information log and the current configuration information file to the backup server.
A fifth aspect of the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the baseboard management controller configuration information management method according to the first and second aspects of the present invention when executing the computer program.
A sixth aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the baseboard management controller configuration information management method described in the first and second aspects.
By implementing the method and the device for managing the configuration information of the baseboard management controller disclosed by the embodiment of the invention, the effect of monitoring and recording the operation of the configuration information related to a user can be achieved, and the change process of the configuration information is traceable; independent management of configuration information, and inquiry of the configuration information can be carried out when the baseboard management controller carries out version upgrading; when the primary mirror image of the substrate management controller fails, the secondary mirror image can acquire the latest configuration information through the file server so as to ensure that the configuration environment of the operation of the secondary mirror image is the same as that of the operation of the primary mirror image; and the configuration information loss caused by the failure of the version updating of the baseboard management controller can be avoided.
The specific limitation regarding the baseboard management controller configuration information management device may be referred to above as limitation of the baseboard management controller configuration information management method, and will not be described herein. The respective modules in the above-described baseboard management controller configuration information management apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present invention, which is not described herein.
Example 1
A method for managing configuration information of a baseboard management controller is applied to a target server, and comprises the following steps:
a110: transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the identity parameters comprise: at least one of a baseboard management controller version number, a basic input and output system version number, a server material number and a server main board model, wherein the configuration information log records configuration information of a target baseboard management controller corresponding to a target server, and the target baseboard management controller is a baseboard management controller of the target server.
A111: in response to the file server not recording the configuration information of the target baseboard management controller, transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information.
A120: and transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
A200: in response to a failure of the target baseboard management controller, enabling the standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is the same as a chip of the same model as the target baseboard management controller; specifically, the method comprises the following steps:
a210: activating a standby baseboard management controller;
a220: sending a current configuration information acquisition request to a file server;
a230: and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
Example two
A method for managing configuration information of a baseboard management controller is used for a file server, and the method comprises the following steps:
b110: and receiving the identity parameters of the target server, and retrieving a configuration information log of the target baseboard management controller corresponding to the target server stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller.
B111: in response to the file server not recording the configuration information log corresponding to the configuration information of the target baseboard management controller, requesting the current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
B120: and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
B210: responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
b220: and transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
B300: and transmitting the configuration information log and the current configuration information file to the backup server.
Example III
A baseboard management controller configuration information management apparatus for a target server, the apparatus comprising:
the identity parameter transmission module is used for transmitting the identity parameter of the target server to the file server, wherein the identity parameter at least comprises one or a combination of a plurality of base plate management controller version numbers, basic input and output system version numbers, server material numbers and server main board models;
the configuration information management module is used for monitoring and recording configuration information operation by the target baseboard management controller and transmitting the configuration information operation to the file server, wherein the target baseboard management controller is the baseboard management controller of the target server, and the configuration information operation is the configuration operation executed on the target baseboard management controller.
Example IV
A baseboard management controller configuration information management apparatus for a target server, the apparatus comprising:
the identity parameter transmission module is used for transmitting the identity parameter of the target server to the file server, wherein the identity parameter at least comprises one or a combination of a plurality of base plate management controller version numbers, basic input and output system version numbers, server material numbers and server main board models;
The configuration information management module is used for monitoring and recording configuration information operation by the target baseboard management controller and transmitting the configuration information operation to the file server, wherein the target baseboard management controller is the baseboard management controller of the target server, and the configuration information operation is the configuration operation executed on the target baseboard management controller.
And the initialization module is used for transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information in response to the configuration information of the target baseboard management controller not recorded in the file server.
And the standby baseboard management controller starting module is used for starting the standby baseboard management controller to take over the target server in response to the failure of the target baseboard management controller, wherein the standby target baseboard management controller is arranged in the target server and is provided with chips with the same model as the target baseboard management controller.
Specifically, for activating a standby baseboard management controller;
sending a current configuration information acquisition request to a file server;
and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
Example five
A baseboard management controller configuration information management device for a file server, the device comprising:
the identity recognition module is used for receiving the identity parameters of the target server and retrieving a configuration information log stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
the configuration information recording module is used for receiving the configuration information operation and recording the configuration information operation in the configuration information log.
Example six
A baseboard management controller configuration information management device for a file server, the device comprising:
the identity recognition module is used for receiving the identity parameters of the target server and retrieving a configuration information log stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
the configuration information recording module is used for receiving the configuration information operation and recording the configuration information operation in the configuration information log.
And the initial recording module is used for requesting the current configuration information of the target baseboard management controller to the target baseboard management controller as initial configuration information in response to the configuration information log corresponding to the configuration information of the target baseboard management controller not recorded in the file server.
The file generation module is used for responding to the configuration information acquisition request transmitted by the standby baseboard management controller and generating a current configuration information file according to the configuration information log corresponding to the target baseboard management controller;
and the file returning module is used for transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
And the file backup module is used for transmitting the configuration information log and the current configuration information file to the backup server.
Example seven
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, when executing the computer program, implementing:
a110: transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the identity parameters comprise: at least one of a baseboard management controller version number, a basic input and output system version number, a server material number and a server main board model, wherein the configuration information log records configuration information of a target baseboard management controller corresponding to a target server, and the target baseboard management controller is a baseboard management controller of the target server.
A111: in response to the file server not recording the configuration information of the target baseboard management controller, transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information.
A120: and transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
A200: in response to a failure of the target baseboard management controller, enabling the standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is the same as a chip of the same model as the target baseboard management controller; specifically, the method comprises the following steps:
a210: activating a standby baseboard management controller;
a220: sending a current configuration information acquisition request to a file server;
a230: and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
B110: and receiving the identity parameters of the target server, and retrieving a configuration information log of the target baseboard management controller corresponding to the target server stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller.
B111: in response to the file server not recording the configuration information log corresponding to the configuration information of the target baseboard management controller, requesting the current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
B120: and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
B210: responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
b220: and transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
B300: and transmitting the configuration information log and the current configuration information file to the backup server.
Example eight
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs:
a110: transmitting the identity parameters of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the identity parameters comprise: at least one of a baseboard management controller version number, a basic input and output system version number, a server material number and a server main board model, wherein the configuration information log records configuration information of a target baseboard management controller corresponding to a target server, and the target baseboard management controller is a baseboard management controller of the target server.
A111: in response to the file server not recording the configuration information of the target baseboard management controller, transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information.
A120: and transmitting the record of the configuration information operation to a file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
A200: in response to a failure of the target baseboard management controller, enabling the standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is the same as a chip of the same model as the target baseboard management controller; specifically, the method comprises the following steps:
a210: activating a standby baseboard management controller;
a220: sending a current configuration information acquisition request to a file server;
a230: and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to the initial configuration information and the configuration information operation.
B110: and receiving the identity parameters of the target server, and retrieving a configuration information log of the target baseboard management controller corresponding to the target server stored in the file server according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller.
B111: in response to the file server not recording the configuration information log corresponding to the configuration information of the target baseboard management controller, requesting the current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
B120: and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
B210: responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
b220: and transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
B300: and transmitting the configuration information log and the current configuration information file to the backup server.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program loaded on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or from memory, or from ROM. The above-described functions defined in the methods of the embodiments of the present application are performed when the computer program is executed by an external processor.
It should be noted that, the computer readable medium of the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of the present application, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Whereas in embodiments of the present application, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the server; or may exist alone without being assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring a frame rate of an application on the terminal in response to detecting that a peripheral mode of the terminal is not activated; when the frame rate meets the screen-extinguishing condition, judging whether a user is acquiring screen information of the terminal; and controlling the screen to enter an immediate dimming mode in response to the judgment result that the user does not acquire the screen information of the terminal.
Computer program code for carrying out operations for embodiments of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing has outlined the detailed description of the preferred embodiment of the present application, and the detailed description of the principles and embodiments of the present application has been provided herein by way of example only to facilitate the understanding of the method and core concepts of the present application; also, as will occur to those of ordinary skill in the art, many modifications are possible in view of the teachings of the present application, both in the detailed description and the scope of its applications. In view of the foregoing, this description should not be construed as limiting the application.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A baseboard management controller configuration information management method for a target server, the method comprising:
transmitting the identity parameters of a target server to a file server so that the file server can retrieve configuration information logs stored in the file server according to the identity parameters, wherein the target server and the file server belong to the same server cluster, and the configuration information logs record configuration information of a target baseboard management controller corresponding to the target server;
and transmitting the record of the configuration information operation to the file server based on the monitoring and the record of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
2. The baseboard management controller configuration information management method of claim 1, wherein the target baseboard management controller further comprises, prior to monitoring and recording configuration information operations:
And transmitting the current configuration information of the target baseboard management controller to the file server as initial configuration information in response to the file server not recording the configuration information of the target baseboard management controller.
3. The baseboard management controller configuration information management method of claim 1, further comprising:
and in response to the failure of the target baseboard management controller, starting a standby baseboard management controller to take over the target server, wherein the standby target baseboard management controller is arranged in the target server and is provided with a chip with the same model as the target baseboard management controller.
4. The baseboard management controller configuration information management method of claim 3, wherein enabling the standby baseboard management controller to take over the target server comprises:
activating the standby baseboard management controller;
sending a current configuration information acquisition request to the file server;
and receiving a current configuration information file returned by the file server, and writing the current configuration information about the target baseboard management controller in the current configuration information file into an internal memory of the standby baseboard management controller, wherein the current configuration information file is generated by the file server according to initial configuration information and configuration information operation.
5. A baseboard management controller configuration information management method for a file server, the method comprising:
receiving an identity parameter of a target server, and retrieving a configuration information log of a target baseboard management controller corresponding to the target server, which is stored in the file server, according to the identity parameter, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
and receiving the configuration information operation and recording the configuration information operation in a configuration information log.
6. The baseboard management controller configuration information management method of claim 5, wherein retrieving the configuration information log stored in the file server according to the identity parameter comprises:
in response to the file server not recording a configuration information log corresponding to configuration information of a target baseboard management controller, requesting current configuration information of the target baseboard management controller from the target baseboard management controller as initial configuration information.
7. The baseboard management controller configuration information management method of claim 5, further comprising:
Responding to a configuration information acquisition request transmitted by the standby baseboard management controller, and generating a current configuration information file according to a configuration information log corresponding to the target baseboard management controller;
and transmitting the current configuration information file to the target server so that the target server can write the configuration information about the target baseboard management controller in the current configuration information file into the internal memory of the standby baseboard management controller.
8. The baseboard management controller configuration information management method according to any one of claims 5 to 7, wherein the method further comprises:
and transmitting the configuration information log and the current configuration information file to a backup server.
9. A baseboard management controller configuration information management apparatus for a target server, the apparatus comprising:
the identity parameter transmission module is used for transmitting the identity parameter of the target server to the file server so that the file server can retrieve the configuration information log stored in the file server according to the identity parameter, wherein the target server and the file server belong to the same server cluster, and the identity parameter comprises: at least one of a baseboard management controller version number, a basic input/output system version number, a server material number and a server main board model, wherein the configuration information log records configuration information of a target baseboard management controller corresponding to the target server, and the target baseboard management controller is the baseboard management controller of the target server;
And the configuration information management module is used for transmitting the record of the configuration information operation to the file server based on the monitoring and recording of the configuration information operation of the target baseboard management controller, wherein the configuration information operation is the configuration operation executed on the target baseboard management controller.
10. A baseboard management controller configuration information management apparatus for a file server, the apparatus comprising:
the identity recognition module is used for receiving identity parameters of a target server and retrieving a configuration information log of a target baseboard management controller corresponding to the target server, which is stored in the file server, according to the identity parameters, wherein the configuration information log records initial configuration information and configuration information operation of the target baseboard management controller;
and the configuration information recording module is used for receiving the configuration information operation and recording the configuration information operation in a configuration information log.
CN202310277926.4A 2023-03-21 2023-03-21 Configuration information management method and device for baseboard management controller Pending CN116302016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310277926.4A CN116302016A (en) 2023-03-21 2023-03-21 Configuration information management method and device for baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310277926.4A CN116302016A (en) 2023-03-21 2023-03-21 Configuration information management method and device for baseboard management controller

Publications (1)

Publication Number Publication Date
CN116302016A true CN116302016A (en) 2023-06-23

Family

ID=86821980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310277926.4A Pending CN116302016A (en) 2023-03-21 2023-03-21 Configuration information management method and device for baseboard management controller

Country Status (1)

Country Link
CN (1) CN116302016A (en)

Similar Documents

Publication Publication Date Title
US10175973B2 (en) Microcode upgrade in a storage system
US7111026B2 (en) Method and device for acquiring snapshots and computer system with snapshot acquiring function
US10936350B2 (en) Active drive API
US9690593B2 (en) Server information handling system configuration from an end state definition file
CN110098952B (en) Server management method and device
CN105324750A (en) Development-environment system, development-environment device, and development-environment provision method and program
CN108964977B (en) Node exception handling method and system, storage medium and electronic device
US20180082066A1 (en) Secure data erasure in hyperscale computing systems
US7805734B2 (en) Platform management of high-availability computer systems
US8499080B2 (en) Cluster control apparatus, control system, control method, and control program
CN114356521A (en) Task scheduling method and device, electronic equipment and storage medium
CN112506539B (en) Firmware updating method and device, electronic equipment and storage medium
CN111953809A (en) Method, device, equipment and system for managing resource address
US11789746B2 (en) Computing device reboot
CN116302016A (en) Configuration information management method and device for baseboard management controller
US9191445B2 (en) Systems and methods for managing emulation sessions
CN108804886A (en) A kind of user information management method and device of outband management system
EP3961436A1 (en) Methods and systems for controlling access to at least one computer program
CN107018032A (en) A kind of monitoring system server and method
CN114047976A (en) Plug-in loading method and device, electronic equipment and storage medium
CN111459525A (en) Application update data processing system, application update data processing method, storage medium, and computer
CN110955870A (en) Connection method and device for supporting connection use of multiple operation and maintenance tools and obtaining audit
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
US11902089B2 (en) Automated networking device replacement system
CN118075252A (en) High-efficiency and high-reliability server file distribution method and related equipment thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination