CN112328431A - Recovery device and method for BMC (baseboard management controller) system - Google Patents
Recovery device and method for BMC (baseboard management controller) system Download PDFInfo
- Publication number
- CN112328431A CN112328431A CN202011224520.2A CN202011224520A CN112328431A CN 112328431 A CN112328431 A CN 112328431A CN 202011224520 A CN202011224520 A CN 202011224520A CN 112328431 A CN112328431 A CN 112328431A
- Authority
- CN
- China
- Prior art keywords
- module
- target function
- function module
- working state
- bmc system
- 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
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 68
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000008569 process Effects 0.000 claims description 13
- 238000005192 partition Methods 0.000 claims description 5
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 54
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses recovery unit of BMC system includes: the storage module is used for storing the configuration parameters of the functional modules in the BMC system in each working state; and the signal processing module is used for selecting the configuration parameters corresponding to the current working state of the target function module from the storage module when detecting that the reset operation of the target function module meeting the quick recovery condition exists in the BMC system, and executing the recovery operation on the target function module so as to recover the target function module to the current working state. According to the method and the system, the target function module can be recovered from the intermediate stage, the time for recovering the target function module to be in a normal working state is saved, and the operation efficiency of the BMC system is improved. The application also discloses a recovery method of the BMC system, which has the beneficial effects.
Description
Technical Field
The present application relates to the field of BMC systems, and in particular, to a BMC system recovery apparatus and method.
Background
In the hardware configuration, a BMC (Baseboard Management Controller) is responsible for a series of monitoring and control functions, and an operation target is system hardware. For example, the system is ensured to be in a healthy state by monitoring the temperature, voltage, fan, power supply and the like of the system and performing corresponding adjustment work, and meanwhile, the system is also responsible for recording information and log records of various hardware and is used for prompting a user and positioning subsequent problems.
In the BMC system, because there are many modules connected to the processor, an error occurring in one of the modules may affect an error occurring in a plurality of local associated modules, and at this time, a reset operation is required, the existing reset operation is to restore the module to an initial state, a certain time is required from the initial state to a normal operating state, and when a BMC system is more complex in function and more associated modules are, a time loss caused by the reset operation is larger, thereby possibly affecting the normal operation of the system.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the present application is to provide a recovery apparatus and method for a BMC system, which can recover from an intermediate stage, save the time for a target function module to recover to a normal operating state, and improve the operating efficiency of the BMC system.
In order to solve the above technical problem, the present application provides a recovery apparatus for a BMC system, including:
the storage module is used for storing the configuration parameters of the functional modules in the BMC system in each working state;
and the signal processing module is used for selecting configuration parameters corresponding to the current working state of the target function module from the storage module when detecting that the reset operation of the target function module meeting the quick recovery condition exists in the BMC system, and executing the recovery operation on the target function module so as to recover the target function module to the current working state.
Preferably, the storage module is specifically configured to store configuration parameters of the functional module in the BMC system in a partitioned manner in each operating state.
Preferably, the signal processing module is connected with a bus module in the BMC system;
correspondingly, the signal processing module is specifically configured to:
the method comprises the steps that whether a reset operation of a target function module meeting a quick recovery condition exists in the BMC system is detected through the bus module, if yes, a configuration parameter corresponding to the current working state of the target function module is selected from the storage module, and the configuration parameter is sent to the target function module through the bus module so as to execute a recovery operation on the target function module and enable the target function module to be recovered to the current working state.
Preferably, the signal processing module is connected with a bus module in the BMC system through an AHB bus.
Preferably, the quick recovery condition is that the target function module is any one of the function modules.
Preferably, the process of selecting the configuration parameter corresponding to the current working state of the target function module from the storage module specifically includes:
and selecting configuration parameters corresponding to the current working state of the target function module from the storage module according to the reset type.
Preferably, the reset type includes a single module reset or a plurality of associated module resets.
In order to solve the above technical problem, the present application further provides a method for restoring a BMC system, which is applied to a restoring apparatus of a BMC system according to any one of the above embodiments, and the method includes:
the storage module stores configuration parameters of the functional modules in the BMC system in each working state;
and the signal processing module detects that the reset operation of a target function module meeting a quick recovery condition exists in the BMC system, selects a configuration parameter corresponding to the current working state of the target function module from the storage module, and executes a recovery operation on the target function module so as to recover the target function module to the current working state.
Preferably, the process of the storage module storing the configuration parameters of the functional module in the BMC system in each working state specifically includes:
and the storage module partitions store the configuration parameters of the functional modules in the BMC system in each working state.
Preferably, the signal processing module is connected with a bus module in the BMC system;
correspondingly, the recovery method further comprises the following steps:
the signal processing module detects whether a reset operation of a target function module meeting a quick recovery condition exists in the BMC system through the bus module;
correspondingly, the process of executing the recovery operation on the target function module to recover the target function module to the current working state specifically includes:
and sending the configuration parameters to the target function module through the bus module so as to execute recovery operation on the target function module and recover the target function module to the current working state.
The application provides a recovery device of a BMC (baseboard management controller) system, a storage module prestores configuration parameters of functional modules in the BMC system in each working state, when a signal processing module detects that a target functional module meeting a quick recovery condition in the BMC system is reset, the configuration parameters corresponding to the current working state of the target functional module are selected from the storage module and sent to the corresponding target functional module, so that the target functional module is quickly recovered to the current working state, when the recovery operation is executed, the target functional module does not need to be recovered to an initial configuration state, the recovery can be carried out from an intermediate stage, the time for recovering the target functional module to the normal working state is saved, and the operation efficiency of the BMC system is improved. The application also provides a recovery method of the BMC system, which has the same beneficial effects as the recovery device of the BMC system.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic structural diagram of a recovery apparatus of a BMC system according to the present application;
fig. 2 is a flowchart illustrating steps of a method for restoring a BMC system according to the present application.
Detailed Description
The core of the application is to provide a recovery device and a recovery method for a BMC system, which can recover from an intermediate stage, save the time for recovering a target function module to a normal working state, and improve the operation efficiency of the BMC system.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a recovery device of a BMC system provided in the present application, where the recovery device of the BMC system includes:
the memory module 1 is used for storing configuration parameters of the functional modules in the BMC system in each working state;
and the signal processing module 2 is used for selecting the configuration parameters corresponding to the current working state of the target function module from the storage module 1 when detecting that the reset operation of the target function module meeting the quick recovery condition exists in the BMC system, and executing the recovery operation on the target function module so as to recover the target function module to the current working state.
Specifically, the recovery device provided by the application comprises a storage module 1 and a signal processing module 2, the signal processing module 2 is connected with a bus module of the BMC system through an AHB bus, and the storage module 1 is connected with the signal processing module 2, it can be understood that when a processor of the BMC system configures each working state of each functional module, configuration parameters are firstly transmitted to the bus module through an ACE bus, then the bus module sends the configuration parameters to each functional module and the recovery device at the same time, and the configuration parameters are analyzed and processed by the signal processing module 2 in the recovery device and then stored in the storage module 1.
Specifically, the storage module 1 may store configuration parameters of all functional modules in the BMC system in each normal operating state, and may also store configuration parameters of some functional modules in the BMC system in each normal operating state, and the storage is selected according to the size of the storage module 1, which is not specifically limited herein. As a preferred embodiment, the storage module 1 may be grouped according to different functional modules, that is, the configuration parameters of the functional modules in the BMC system in each working state are stored in a partition manner, so as to simultaneously store the configuration parameters and valid data of the different functional modules. Specifically, the partitioned storage can be performed according to the IP address, and correspondingly, the configuration parameters can be quickly selected according to the IP address, so that the efficiency is improved.
Specifically, when there is a reset operation in the BMC system, that is, the signal processing module 2 receives a corresponding reset signal through the bus module, it first determines whether a target function module corresponding to the reset operation satisfies a fast recovery condition, where the fast recovery condition is that the target function module is any function module, that is, it determines whether the target function module is a function module having configuration parameters stored in the storage module 1, if so, it determines that the fast recovery condition is satisfied, at this time, a configuration parameter corresponding to a current working state of the target function module is selected from the storage module 1, where the current working state is a working state when the reset operation occurs, and the corresponding configuration parameter is sent to the corresponding target function module through the bus module to complete the reset operation, unlike the conventional reset operation, the conventional reset completely resets the entire flow, in the embodiment, the reset can be performed as far as possible on the premise of avoiding the conflict, so that the reset waiting time is saved, and the running efficiency of the BMC system is improved.
It can be seen that, in this embodiment, the storage module stores configuration parameters of the functional modules in the BMC system in each working state in advance, and when the signal processing module detects that there is a reset operation of a target functional module that meets a quick recovery condition in the BMC system, the signal processing module selects a configuration parameter corresponding to a current working state of the target functional module from the storage module and sends the configuration parameter to the corresponding target functional module, so that the target functional module is quickly recovered to the current working state.
On the basis of the above-described embodiment:
as a preferred embodiment, the process of selecting the configuration parameter corresponding to the current working state of the target function module from the storage module 1 specifically includes:
and selecting the configuration parameters corresponding to the current working state of the target function module from the storage module 1 according to the reset type.
As a preferred embodiment, the reset type includes a single module reset or a plurality of associated module resets.
Specifically, considering that a plurality of associated functional modules exist in the BMC system, a functional module needs to be reset when a fault occurs, and the associated functional module needs to be reset correspondingly, therefore, when the signal processing module 2 detects that a reset operation exists, the signal processing module determines the reset type of the current reset operation according to the reset signal generated by the reset operation, that is, the reset is performed by a single module or the reset is performed by a plurality of associated modules, if the plurality of associated modules are reset, when the configuration parameters are selected from the storage system, the configuration parameters required by all the functional modules to be reset are selected and respectively sent to the functional modules to be reset, and the reset operation is completed.
In summary, according to the scheme of the application, when the BMC system has the positioning operation, the configuration state before the functional module to be reset can be quickly positioned and quickly restored, so that the running efficiency of the BMC system is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for restoring a BMC system according to the present application, which is applied to a restoring apparatus of a BMC system according to any one of the above embodiments, and the method includes:
s101: the storage module stores configuration parameters of the functional modules in the BMC system in each working state;
s102: the signal processing module detects that the reset operation of the target function module meeting the quick recovery condition exists in the BMC system, selects the configuration parameter corresponding to the current working state of the target function module from the storage module, and executes the recovery operation on the target function module so as to enable the target function module to recover to the current working state.
It can be seen that, in this embodiment, the storage module stores configuration parameters of the functional modules in the BMC system in each working state in advance, and when the signal processing module detects that there is a reset operation of a target functional module that meets a quick recovery condition in the BMC system, the signal processing module selects a configuration parameter corresponding to a current working state of the target functional module from the storage module and sends the configuration parameter to the corresponding target functional module, so that the target functional module is quickly recovered to the current working state.
As a preferred embodiment, the process of the storage module storing the configuration parameters of the functional module in the BMC system in each operating state specifically includes:
and the storage module partitions store the configuration parameters of the functional modules in the BMC system in each working state.
In a preferred embodiment, the signal processing module is connected with a bus module in the BMC system;
correspondingly, the recovery method further comprises the following steps:
the signal processing module detects whether a reset operation of a target function module meeting a quick recovery condition exists in the BMC system through the bus module;
correspondingly, the process of executing the recovery operation on the target function module to recover the target function module to the current working state specifically includes:
and sending the configuration parameters to the target function module through the bus module so as to execute recovery operation on the target function module and recover the target function module to the current working state.
In a preferred embodiment, the signal processing module is connected with a bus module in the BMC system through an AHB bus.
As a preferred embodiment, the quick recovery condition is that the target function module is any function module.
As a preferred embodiment, the process of selecting the configuration parameter corresponding to the current working state of the target function module from the storage module specifically includes:
and selecting the configuration parameters corresponding to the current working state of the target function module from the storage module according to the reset type.
As a preferred embodiment, the reset type includes a single module reset or a plurality of associated module resets.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A recovery apparatus for a BMC system, comprising:
the storage module is used for storing the configuration parameters of the functional modules in the BMC system in each working state;
and the signal processing module is used for selecting configuration parameters corresponding to the current working state of the target function module from the storage module when detecting that the reset operation of the target function module meeting the quick recovery condition exists in the BMC system, and executing the recovery operation on the target function module so as to recover the target function module to the current working state.
2. The recovery apparatus according to claim 1, wherein the storage module is specifically configured to store the configuration parameters of the functional modules in the BMC system in the partition mode in each operating state.
3. The recovery apparatus of claim 1, wherein the signal processing module is connected to a bus module in the BMC system;
correspondingly, the signal processing module is specifically configured to:
the method comprises the steps that whether a reset operation of a target function module meeting a quick recovery condition exists in the BMC system is detected through the bus module, if yes, a configuration parameter corresponding to the current working state of the target function module is selected from the storage module, and the configuration parameter is sent to the target function module through the bus module so as to execute a recovery operation on the target function module and enable the target function module to be recovered to the current working state.
4. The recovery apparatus of claim 3, wherein the signal processing module is connected to the bus module in the BMC system via an AHB bus.
5. The recovery apparatus according to claim 1, wherein the quick recovery condition is that the target function module is any one of the function modules.
6. The recovery apparatus according to claim 1, wherein the process of selecting the configuration parameter corresponding to the current operating state of the target function module from the storage module specifically comprises:
and selecting configuration parameters corresponding to the current working state of the target function module from the storage module according to the reset type.
7. The recovery apparatus of claim 6 wherein the reset type comprises a single module reset or a plurality of associated module resets.
8. A method for restoring a BMC system, which is applied to the restoring apparatus of the BMC system according to any one of claims 1 to 7, the method comprising:
the storage module stores configuration parameters of the functional modules in the BMC system in each working state;
and the signal processing module detects that the reset operation of a target function module meeting a quick recovery condition exists in the BMC system, selects a configuration parameter corresponding to the current working state of the target function module from the storage module, and executes a recovery operation on the target function module so as to recover the target function module to the current working state.
9. The recovery method according to claim 8, wherein the process of the storage module storing the configuration parameters of the functional module in the BMC system in each operating state specifically includes:
and the storage module partitions store the configuration parameters of the functional modules in the BMC system in each working state.
10. The recovery method of claim 8, wherein the signal processing module is connected to a bus module in the BMC system;
correspondingly, the recovery method further comprises the following steps:
the signal processing module detects whether a reset operation of a target function module meeting a quick recovery condition exists in the BMC system through the bus module;
correspondingly, the process of executing the recovery operation on the target function module to recover the target function module to the current working state specifically includes:
and sending the configuration parameters to the target function module through the bus module so as to execute recovery operation on the target function module and recover the target function module to the current working state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011224520.2A CN112328431A (en) | 2020-11-05 | 2020-11-05 | Recovery device and method for BMC (baseboard management controller) system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011224520.2A CN112328431A (en) | 2020-11-05 | 2020-11-05 | Recovery device and method for BMC (baseboard management controller) system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112328431A true CN112328431A (en) | 2021-02-05 |
Family
ID=74315839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011224520.2A Pending CN112328431A (en) | 2020-11-05 | 2020-11-05 | Recovery device and method for BMC (baseboard management controller) system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112328431A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150222A (en) * | 2013-01-28 | 2013-06-12 | 中兴通讯股份有限公司 | Method and device for restoring embedded system from abnormal state |
TW201426297A (en) * | 2012-12-20 | 2014-07-01 | Hon Hai Prec Ind Co Ltd | System and method for securing baseboard management controller |
CN109062733A (en) * | 2018-07-26 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method, system, equipment and storage medium restoring BMC initial setting up |
CN111176891A (en) * | 2019-12-22 | 2020-05-19 | 北京浪潮数据技术有限公司 | Method, device and equipment for recovering configuration information of baseboard management controller |
-
2020
- 2020-11-05 CN CN202011224520.2A patent/CN112328431A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201426297A (en) * | 2012-12-20 | 2014-07-01 | Hon Hai Prec Ind Co Ltd | System and method for securing baseboard management controller |
CN103150222A (en) * | 2013-01-28 | 2013-06-12 | 中兴通讯股份有限公司 | Method and device for restoring embedded system from abnormal state |
CN109062733A (en) * | 2018-07-26 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method, system, equipment and storage medium restoring BMC initial setting up |
CN111176891A (en) * | 2019-12-22 | 2020-05-19 | 北京浪潮数据技术有限公司 | Method, device and equipment for recovering configuration information of baseboard management controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9015458B2 (en) | Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller | |
JP5075736B2 (en) | System failure recovery method and system for virtual server | |
US5875290A (en) | Method and program product for synchronizing operator initiated commands with a failover process in a distributed processing system | |
EP3142011B1 (en) | Anomaly recovery method for virtual machine in distributed environment | |
US7865782B2 (en) | I/O device fault processing method for use in virtual computer system | |
WO2021027481A1 (en) | Fault processing method, apparatus, computer device, storage medium and storage system | |
CN111045866B (en) | BMC fault processing method and device, electronic equipment and storage medium | |
CN112199240B (en) | Method for switching nodes during node failure and related equipment | |
US9442784B2 (en) | Management device, management method, and medium storing management program | |
CN111478796B (en) | Cluster capacity expansion exception handling method for AI platform | |
CN111352779A (en) | On-off test method of AC power supply of MOC card and related assembly | |
CN112083972B (en) | BMC system configuration method, device, equipment and readable storage medium | |
CN112631820A (en) | Fault recovery method and device of software system | |
US11930292B2 (en) | Device state monitoring method and apparatus | |
CN111130856A (en) | Server configuration method, system, equipment and computer readable storage medium | |
CN112328431A (en) | Recovery device and method for BMC (baseboard management controller) system | |
CN114124803B (en) | Device management method and device, electronic device and storage medium | |
CN112835598A (en) | Automobile ECU (electronic control Unit) flashing method and system and computer readable storage medium | |
CN111935337B (en) | MAC address keep-alive method, equipment and storage medium of aggregation link | |
CN107729170B (en) | Method and device for generating dump file by HBA card | |
US10795848B2 (en) | Dual way communication method, system, and master device thereof | |
CN108319679B (en) | Method and device for generating primary key | |
JP2005056347A (en) | Method and program for succeeding server function | |
CN107704399B (en) | Method and device for storing data | |
CN117349127B (en) | GPU card-falling detection method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210205 |
|
RJ01 | Rejection of invention patent application after publication |