A method, system and apparatus for updating a baseboard management controller recovery area

By implementing automated monitoring and data recovery mechanisms for the baseboard management controller, the problem of manual intervention in updating the recovery area in existing technologies is solved, thereby improving server boot efficiency.

CN115292087BActive Publication Date: 2026-04-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-07-21
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

The existing BMC update recovery area requires manual intervention and affects server boot efficiency.

Method used

By monitoring the operating status of the baseboard management controller, the consistency of file versions between the temporary storage area and the active area is checked under preset conditions. Data in the recovery area is destroyed, and the data in the recovery area is restored through the temporary storage area file when the server is powered on next time, thus achieving automatic updates.

Benefits of technology

It enables unattended recovery region updates, avoiding the impact of outdated versions on normal server operation and improving server boot efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115292087B_ABST
    Figure CN115292087B_ABST
Patent Text Reader

Abstract

The application provides a method, system and device for updating a recovery area of a baseboard management controller, the method comprising: monitoring a running state of the baseboard management controller; checking consistency of file versions of a temporary storage area and an active area of the baseboard management controller when a preset monitoring condition is met within a preset time; destroying data of a recovery area of the baseboard management controller when the file versions are consistent; and restoring the data of the recovery area by using a file of the temporary storage area when a server is powered on next time. The application sets a monitoring strategy for a running state of the baseboard management controller, destroys data of a recovery area when a preset monitoring condition is met, restores the data of the recovery area by using a temporary storage area when the server is powered on or restarted, updates the recovery area, and realizes the whole process without human intervention and without emptying configuration files of the baseboard management controller, thereby improving server startup efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of server technology, and in particular to a method, system, and apparatus for updating the recovery area of ​​a baseboard management controller. Background Technology

[0002] A server's Baseboard Manager Controller (BMC) with PFR (Platform Firmware Resilience) functionality is divided into an active region, a recovery region, and a stag region. The BMC boots from the active region. When the active region is corrupted, the Complex Programmable Logic Device (CPLD) uses the recovery region to restore the active region. When the recovery region is corrupted, the CPLD uses the stag region to restore the recovery region. Each time the active region is upgraded via the BMC, the stag region is updated first.

[0003] The recovery area needs to store a stable version of the BMC image archive. Actively updating the recovery area will erase all current BMC configurations because it will simultaneously update the active area. Normally, the recovery area is not actively updated. This means that if the active area is corrupted, the active version restored from the recovery area may be outdated and not the version the customer needs, or even incompatible with the current CPLD or BIOS version, causing the server or BMC to malfunction. Therefore, updating the recovery area is necessary.

[0004] Currently, updating the recovery region requires manual verification of the BMC version's stability. Furthermore, updating the recovery region will erase all current BMC configurations, impacting server boot efficiency. Summary of the Invention

[0005] This invention provides a method, system, and apparatus for updating the recovery area of ​​a baseboard management controller (BMC), which solves the problem that updating the recovery area of ​​an existing BMC requires manual intervention and affects server boot efficiency.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] The first aspect of the present invention provides a method for updating the recovery area of ​​a baseboard management controller, the method comprising the following steps:

[0008] Monitor the operating status of the baseboard management controller. If the preset monitoring conditions are met within a preset time, check the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller.

[0009] When the file versions are identical, the data in the recovery area of ​​the corrupted baseboard management controller is destroyed.

[0010] When the server boots up again, the data in the recovery area is restored using the temporary storage area file.

[0011] Furthermore, the status monitoring of the baseboard management controller includes:

[0012] The process can freeze, restart, or run normally.

[0013] Furthermore, the preset monitoring conditions are as follows:

[0014] After repeatedly monitoring the operating status of the baseboard management controller a preset number of times, no process abnormalities or restarts were observed.

[0015] Furthermore, the specific steps of restoring the data in the recovery area using the temporary storage area file are as follows:

[0016] Copy the image file from the temporary storage area to the recovery area.

[0017] Furthermore, after the server is powered on again, before restoring the data in the recovery area through the temporary storage area file, the process also includes verifying the recovery area of ​​the basic management controller.

[0018] If the verification fails, the data in the recovery area will be restored using the temporary storage area file.

[0019] A second aspect of the present invention provides a system for updating the recovery area of ​​a baseboard management controller, the system comprising:

[0020] The monitoring unit is used to monitor the operating status of the baseboard management controller. When the preset monitoring conditions are met within a preset time, it checks the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller.

[0021] The data processing unit, when the file versions are identical, corrupts the data in the recovery area of ​​the baseboard management controller;

[0022] The data update control unit restores the data in the recovery area by using the temporary area file when the server is powered on.

[0023] Furthermore, the system also includes a verification unit. After the server is powered on, the verification unit verifies the recovery area of ​​the baseboard management controller. If the verification fails, the data update control unit is invoked to restore the data in the recovery area.

[0024] Furthermore, the system also includes a monitoring condition configuration unit, which is used to obtain the monitoring period, number of monitoring sessions, and monitoring items set by the user.

[0025] A third aspect of the present invention provides an apparatus for updating the recovery area of ​​a baseboard management controller. The apparatus includes a complex programmable logic device (CPLD) connected to the baseboard management controller, and the system described above is deployed within the CPLD.

[0026] A fourth aspect of the present invention provides a computer storage medium storing computer instructions, which, when executed on the system, cause the system to perform the steps of the method.

[0027] The system for updating the recovery area of ​​the baseboard management controller according to the second aspect of the present invention can implement the methods in the first aspect and various implementations of the first aspect and achieve the same effect.

[0028] The effects described in the invention are merely those of the embodiments, and not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:

[0029] This invention establishes a monitoring strategy for the baseboard management controller's operating status. When preset monitoring conditions are met, the data in the recovery area is destroyed. When the server powers on or restarts, the data in the recovery area is restored through the stage temporary storage area, thus updating the recovery area. The entire process requires no manual intervention and does not clear the baseboard management controller's configuration file, improving server boot efficiency. Furthermore, based on the preset monitoring strategy, the recovery area is updated periodically, preventing issues caused by an outdated recovery area version affecting normal server operation when the active area is damaged and needs restoration. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of an embodiment of the method described in this invention;

[0032] Figure 2 This is a flowchart illustrating one implementation of the method described in this invention.

[0033] Figure 3 This is a schematic diagram of the structure of an embodiment of the system described in this invention;

[0034] Figure 4 This is a schematic diagram of an embodiment of the device described in this invention. Detailed Implementation

[0035] To clearly illustrate the technical features of this solution, the invention will be described in detail below through specific embodiments and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the invention. To simplify the disclosure of the invention, components and arrangements of specific examples are described below. Furthermore, reference numerals and / or letters may be repeated in different examples. This repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that the components illustrated in the drawings are not necessarily drawn to scale. Descriptions of well-known components, processing techniques, and processes are omitted in this invention to avoid unnecessarily limiting the invention.

[0036] like Figure 1 As shown, this embodiment of the invention provides a method for updating the recovery area of ​​a baseboard management controller, the method comprising the following steps:

[0037] S1, monitor the operating status of the baseboard management controller, and when the preset monitoring conditions are met within a preset time, check the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller.

[0038] S2, When the file versions are consistent, the data in the recovery area of ​​the corrupted substrate management controller is destroyed;

[0039] S3, When the server boots up again, the data in the recovery area is restored using the temporary storage area file.

[0040] In step S1, the status monitoring of the substrate management controller includes:

[0041] The process can freeze, restart, or run normally.

[0042] The preset monitoring conditions are:

[0043] After repeatedly monitoring the operating status of the baseboard management controller a preset number of times, no process abnormalities or restarts were observed.

[0044] In step S3, the specific steps of restoring the data in the recovery area using the temporary storage area file are as follows:

[0045] Copy the image file from the temporary storage area to the recovery area.

[0046] After the server is powered on again, before restoring the data in the recovery area through the temporary storage area file, the process also includes verifying the recovery area of ​​the basic management controller.

[0047] If the verification fails, the data in the recovery area will be restored using the temporary storage area file.

[0048] like Figure 2 As shown, after the server is powered on, the Basic Management Controller (BMC) is updated and starts normally. Every 24 hours, the BMC automatically checks the process running status. If there are no abnormal interruptions or restarts of the process for 7 consecutive times, the BMC checks whether the stage area is available and whether the version is consistent with the active area. If it is available and the version is consistent, the BMC notifies the Programmable Logic Device (CPLD) to clear or destroy the BMC's recovery area. After the server restarts or is powered on, the CPLD uses the stage area to restore the recovery area, realizing the automatic update of the recovery area.

[0049] It should be noted that data recovery and updating within the BMC are two independent actions.

[0050] The active area contains the actual, usable BMC program, which is usually updated separately. The recovery area is a backup compressed file used to restore the active area when it is corrupted.

[0051] PFR's upgrade strategy includes two options: upgrading the active region and upgrading the recovery region. Generally, the active region is upgraded by default, updating both the stag and active regions simultaneously, while the recovery region remains unchanged. Only when the recovery region is selected will both regions be upgraded concurrently.

[0052] like Figure 3 As shown, this embodiment of the invention provides a system for updating the recovery area of ​​a baseboard management controller, including a monitoring unit 1, a data processing unit 2, and a data update control unit 3.

[0053] Monitoring unit 1 is used to monitor the operating status of the baseboard management controller. When the preset monitoring conditions are met within a preset time, it checks the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller.

[0054] Data processing unit 2 corrupts the data in the recovery area of ​​the baseboard management controller when the file versions are identical;

[0055] When the server is powered on, the data update control unit 3 restores the data in the recovery area using the temporary storage area file.

[0056] In one implementation of the system embodiment of the present invention, the system further includes a verification unit 4. After the server is powered on, the verification unit 4 verifies the recovery area of ​​the baseboard management controller. If the verification fails, the data update control unit is invoked to restore the data in the recovery area.

[0057] In one implementation of the system embodiment shown in this invention, the system further includes a monitoring condition configuration unit 5, which is used to obtain the monitoring period, number of monitoring sessions and monitoring items set by the user.

[0058] like Figure 4 As shown, this embodiment of the invention also provides an apparatus for updating the recovery area of ​​a baseboard management controller, including a complex programmable logic device (CPLD). The CPLD is connected to the baseboard management controller, and the system described in the above embodiment is deployed within the CPLD.

[0059] This invention also provides a computer storage medium storing computer instructions, which, when executed on the system, cause the system to perform the steps of the method.

[0060] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for updating the recovery area of ​​a baseboard management controller, characterized in that, The method includes the following steps: The operating status of the baseboard management controller is monitored. When the preset monitoring conditions are met within a preset time, the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller is checked. The preset monitoring conditions are: after monitoring the operating status of the baseboard management controller a preset number of times, no process abnormality or restart occurs. When the file versions are identical, the data in the recovery area of ​​the corrupted baseboard management controller is destroyed. When the server boots up again, the data in the recovery area is restored using the temporary storage area file.

2. The method for updating the recovery area of ​​the baseboard management controller according to claim 1, characterized in that, The status monitoring of the substrate management controller includes: The process can freeze, restart, or run normally.

3. The method for updating the recovery area of ​​the baseboard management controller according to claim 1, characterized in that, The specific steps of restoring the data in the recovery area using the temporary storage area file are as follows: Copy the image file from the temporary storage area to the recovery area.

4. The method for updating the recovery area of ​​the baseboard management controller according to claim 1, characterized in that, After the server is powered on again, before restoring the data in the recovery area through the temporary storage area file, the process also includes verifying the recovery area of ​​the basic management controller. If the verification fails, the data in the recovery area will be restored using the temporary storage area file.

5. A system for updating the recovery area of ​​a baseboard management controller, characterized in that, The system includes: The monitoring unit is used to monitor the operating status of the baseboard management controller. When the preset monitoring conditions are met within a preset time, it checks the consistency of the file versions in the temporary storage area and the active area of ​​the baseboard management controller. The preset monitoring conditions are: after monitoring the operating status of the baseboard management controller a preset number of times, no process abnormality or restart occurs. The data processing unit, when the file versions are identical, corrupts the data in the recovery area of ​​the baseboard management controller; The data update control unit restores the data in the recovery area by using the temporary area file when the server is powered on.

6. The system for updating the recovery area of ​​the baseboard management controller according to claim 5, characterized in that, The system also includes a verification unit. After the server is powered on, the verification unit verifies the recovery area of ​​the baseboard management controller. If the verification fails, the data update control unit is invoked to restore the data in the recovery area.

7. The system for updating the recovery area of ​​the baseboard management controller according to claim 5, characterized in that, The system also includes a monitoring condition configuration unit, which is used to obtain the monitoring period, number of monitoring sessions and monitoring items set by the user.

8. An apparatus for updating the recovery area of ​​a substrate management controller, the apparatus comprising a complex programmable logic device, characterized in that, The complex programmable logic device is connected to a baseboard management controller, and the complex programmable logic device has the system according to any one of claims 5-7 deployed within it.

9. A computer storage medium storing computer instructions, characterized in that, When the computer instructions are executed on the system according to any one of claims 5-7, the system causes the system to perform the steps of the method according to any one of claims 1-4.

Citation Information

Patent Citations

  • BMC firmware protection method, system and device and readable storage medium

    CN113626803A

  • Server firmware data storage method and device, server firmware data starting method and device, equipment and medium

    CN113849432A