CN117632204A - Firmware upgrade management method, device, equipment and machine-readable storage medium - Google Patents

Firmware upgrade management method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN117632204A
CN117632204A CN202311587712.3A CN202311587712A CN117632204A CN 117632204 A CN117632204 A CN 117632204A CN 202311587712 A CN202311587712 A CN 202311587712A CN 117632204 A CN117632204 A CN 117632204A
Authority
CN
China
Prior art keywords
bmc
processing unit
bmc processing
firmware upgrade
firmware
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
CN202311587712.3A
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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies 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 New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202311587712.3A priority Critical patent/CN117632204A/en
Publication of CN117632204A publication Critical patent/CN117632204A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Abstract

The present disclosure provides a firmware upgrade management method, apparatus, device, and machine-readable storage medium, the method comprising: acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to a second BMC processing unit; configuring a second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment; and sending the firmware upgrade file to the first BMC processing unit. According to the technical scheme, the dual BMC processing units are arranged on the BMC chip, BMC service data of the main BMC processing units and the standby BMC processing units are configured to be the main BMC and the standby BMC processing units are synchronized, and the BMC processing units in the standby state are preferentially upgraded, so that when a new firmware program is started as soon as possible, the BMC service is kept uninterrupted, the firmware upgrade is not interrupted when the service of the BMC processing units is realized, and meanwhile, the power supply and communication circuit design difficulty of a main board is not increased when a single chip is designed.

Description

Firmware upgrade management method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a firmware upgrade management method, apparatus, device, and machine-readable storage medium.
Background
Currently, the BMC processing unit applied in the scene of a server and the like is only a single processor chip. Therefore, when the BMC processing unit performs firmware upgrade, the BMC restarts to reset, which means that the service is interrupted. The current BMC restart process takes 1-3 minutes, and during this process, the following problems occur due to the BMC function failure: the temperature cannot be obtained and the fan of the case can not be controlled, so that the process must be protected by the full rotation of the fan controlled by the CPLD logic of the main board; management and monitoring services cannot be provided, and the out-of-band monitoring function is temporarily disabled; if the host component fails in the process, the host component cannot sense and alarm. Therefore, for the high-reliability application of the data center, the current server BMC out-of-band monitoring lacks a function of updating firmware without interrupting service, and cannot guarantee the high reliability of the server out-of-band monitoring service.
Disclosure of Invention
In view of the above, the present disclosure provides a firmware upgrade management method and apparatus, an electronic device, and a machine-readable storage medium, so as to solve the above problem of difficult service uninterrupted firmware upgrade.
The technical scheme is as follows:
the disclosure provides a firmware upgrade management method, which is applied to a BMC chip of a server, and comprises the following steps: acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit; configuring a second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment; transmitting the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit; the first BMC processing unit and the second BMC processing unit are two BMC processing units with a master-slave relationship of the server device, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service master BMC processing unit for maintaining the local device.
As a technical scheme, the BMC chip comprises a CPLD controller, wherein the CPLD controller is used for preferentially configuring the BMC processing unit which is newer in the current firmware version and is not in an upgrading state as a main BMC processing unit according to the firmware upgrading states of the first BMC processing unit and the second BMC processing unit.
As a technical solution, the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC service data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
As a technical solution, the first BMC processing unit and/or the second BMC processing unit are configured to obtain and only obtain a storage access read only right when configured as a standby BMC processing unit.
The present disclosure also provides a firmware upgrade management apparatus, applied to a BMC chip of a server, the apparatus comprising: the first module is used for acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit; the second module is used for configuring the second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment; the third module is used for sending the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit; the first BMC processing unit and the second BMC processing unit are two BMC processing units with a master-slave relationship of the server device, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service master BMC processing unit for maintaining the local device.
As a technical scheme, the BMC chip comprises a CPLD controller, wherein the CPLD controller is used for preferentially configuring the BMC processing unit which is newer in the current firmware version and is not in an upgrading state as a main BMC processing unit according to the firmware upgrading states of the first BMC processing unit and the second BMC processing unit.
As a technical solution, the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC service data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
As a technical solution, the first BMC processing unit and/or the second BMC processing unit are configured to obtain and only obtain a storage access read only right when configured as a standby BMC processing unit.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned firmware upgrade management method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned firmware upgrade management method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
the BMC chip is provided with the double BMC processing units, the BMC service data of the main BMC processing units and the standby BMC processing units are configured as the main BMC processing units and the standby BMC processing units are synchronized, and the BMC processing units in the standby state are preferentially upgraded, so that the new firmware program is started as soon as possible, the BMC service is kept uninterrupted, the firmware upgrade of the service of the BMC processing units is realized, and meanwhile, the power supply and communication circuit design difficulty of a main board is not increased in the single-chip design.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a firmware upgrade management method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a firmware upgrade management apparatus in one embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in one embodiment of the present disclosure.
Reference numerals: a first module 21, a second module 22, a third module 23.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
The disclosure provides a firmware upgrade management method and device, an electronic device and a machine-readable storage medium, so as to improve the technical problems.
The specific technical scheme is as follows.
In one embodiment, the present disclosure provides a firmware upgrade management method applied to a BMC chip of a server, the method including: acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit; configuring a second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment; transmitting the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit; the first BMC processing unit and the second BMC processing unit are two BMC processing units with a master-slave relationship of the server device, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service master BMC processing unit for maintaining the local device.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, a firmware upgrade file to be upgraded is obtained, and the firmware upgrade file is sent to the second BMC processing unit, so that the second BMC processing unit upgrades the firmware program of the second BMC processing unit;
step S12, configuring a second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment;
step S13, the firmware upgrade file is sent to the first BMC processing unit, so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit.
The BMC chip is provided with the double BMC processing units, the BMC service data of the main BMC processing units and the standby BMC processing units are configured as the main BMC processing units and the standby BMC processing units are synchronized, and the BMC processing units in the standby state are preferentially upgraded, so that the new firmware program is started as soon as possible, the BMC service is kept uninterrupted, the firmware upgrade of the service of the BMC processing units is realized, and meanwhile, the power supply and communication circuit design difficulty of a main board is not increased in the single-chip design.
In an embodiment, the BMC chip includes a CPLD controller, where the CPLD controller is configured to preferentially configure, according to firmware upgrade states of the first BMC processing unit and the second BMC processing unit, a BMC processing unit that is newer in a current firmware version and is not in an upgrade state as a master BMC processing unit.
In one embodiment, the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC service data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
In one embodiment, the first BMC processing unit and/or the second BMC processing unit are configured to obtain and only obtain the storage access read only rights when configured as a standby BMC processing unit.
In one embodiment, the two BMC processing units of the BMC chip are set to meet the requirement of independently running out-of-band monitoring service, the two BMC processing units have arbitrated capacity, can confirm the main-standby relation according to the starting running state, have interaction channels between the two BMC processing units, can carry out service notification and data synchronous backup, have the capacity of accessing the BMC chip to external IO and BUS buses, and can completely realize out-of-band monitoring function.
When the BMC service is processed, the main and standby arbitration needs to be followed, the BMC processing unit started first is the main and the other BMC processing unit is in the standby state, and when the standby BMC processing unit is restarted, the main BMC processing unit ensures that the service normally operates, and the identity of the main BMC processing unit is not changed. When the main BMC processing unit is restarted, the original BMC processing unit in the standby state is switched to the main state, and the running of the BMC service is replaced seamlessly.
In one embodiment, as shown in fig. 2, the present disclosure also provides a firmware upgrade management apparatus, applied to a BMC chip of a server, the apparatus including: the first module is used for acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit; the second module is used for configuring the second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment; the third module is used for sending the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit; the first BMC processing unit and the second BMC processing unit are two BMC processing units with a master-slave relationship of the server device, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service master BMC processing unit for maintaining the local device.
In an embodiment, the BMC chip includes a CPLD controller, where the CPLD controller is configured to preferentially configure, according to firmware upgrade states of the first BMC processing unit and the second BMC processing unit, a BMC processing unit that is newer in a current firmware version and is not in an upgrade state as a master BMC processing unit.
In one embodiment, the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC service data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
In one embodiment, the first BMC processing unit and/or the second BMC processing unit are configured to obtain and only obtain the storage access read only rights when configured as a standby BMC processing unit.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned firmware upgrade management method, and from a hardware level, a hardware architecture diagram may be shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned firmware upgrade management method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware when implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A firmware upgrade management method, which is applied to a BMC chip of a server, the method comprising:
acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit;
configuring a second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment;
transmitting the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit;
the first BMC processing unit and the second BMC processing unit are two BMC processing units with a main-standby relation of the BMC chip, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service main BMC processing unit for maintaining the local equipment, and the first BMC processing unit and the second BMC processing unit share an IO channel of the BMC chip.
2. The method of claim 1, wherein the BMC chip includes a CPLD controller configured to preferentially configure a BMC processing unit that is newer in a current firmware version and not in an upgraded state as a master BMC processing unit according to firmware upgrade states of the first and second BMC processing units.
3. The method of claim 1, wherein the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC traffic data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
4. The method of claim 1, wherein the first and/or second BMC processing units are configured to obtain and only obtain storage access read-only rights when configured as a standby BMC processing unit.
5. A firmware upgrade management apparatus, wherein a BMC chip applied to a server, the apparatus comprising:
the first module is used for acquiring a firmware upgrade file to be upgraded, and sending the firmware upgrade file to the second BMC processing unit so that the second BMC processing unit upgrades a firmware program of the second BMC processing unit;
the second module is used for configuring the second BMC processing unit as a main BMC processing unit, and running the updated firmware program to maintain BMC service of the local equipment;
the third module is used for sending the firmware upgrade file to the first BMC processing unit so that the first BMC processing unit upgrades the firmware program of the first BMC processing unit;
the first BMC processing unit and the second BMC processing unit are two BMC processing units with a main-standby relation of the BMC chip, and when the second BMC processing unit is updated, the first BMC processing unit is a BMC service main BMC processing unit for maintaining the local equipment, and the first BMC processing unit and the second BMC processing unit share an IO channel of the BMC chip.
6. The apparatus of claim 5, wherein the BMC chip includes a CPLD controller configured to preferentially configure a BMC processing unit that is newer in a current firmware version and not in an upgraded state as a master BMC processing unit according to firmware upgrade states of the first and second BMC processing units.
7. The apparatus of claim 5, wherein the first BMC processing unit and/or the second BMC processing unit are configured to synchronize BMC traffic data to a BMC processing unit configured as a standby BMC processing unit when configured as a master BMC processing unit.
8. The apparatus of claim 5, wherein the first BMC processing unit and/or the second BMC processing unit are configured to obtain and only obtain storage access read-only rights when configured as a standby BMC processing unit.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-4.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-4.
CN202311587712.3A 2023-11-24 2023-11-24 Firmware upgrade management method, device, equipment and machine-readable storage medium Pending CN117632204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311587712.3A CN117632204A (en) 2023-11-24 2023-11-24 Firmware upgrade management method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311587712.3A CN117632204A (en) 2023-11-24 2023-11-24 Firmware upgrade management method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN117632204A true CN117632204A (en) 2024-03-01

Family

ID=90026308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311587712.3A Pending CN117632204A (en) 2023-11-24 2023-11-24 Firmware upgrade management method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN117632204A (en)

Similar Documents

Publication Publication Date Title
US9734093B2 (en) Management of secured storage devices in an information handling system
CN110597910A (en) Remote data synchronization method, device and system
EP3761564A1 (en) Master/standby container system switch
US20200193027A1 (en) Firmware upgrade method, slave station of robot, and machine readable storage medium
CN109413497B (en) Intelligent television and system starting method thereof
CN111147567A (en) Service calling method, device, equipment and medium
CN111459724B (en) Node switching method, device, equipment and computer readable storage medium
US10893626B2 (en) Information handling system having synchronized power loss detection armed state
US10387257B1 (en) Systems and methods for reliable redundant management controller firmware update
JP2013041390A (en) Information processor, startup method, and program
CN110612510B (en) Input/output (I/O) isolation without special arbiter
CN117632204A (en) Firmware upgrade management method, device, equipment and machine-readable storage medium
CN107623705B (en) Storage mode upgrading method, device and system based on video cloud storage system
CN111158963A (en) Server firmware redundancy starting method and server
US20200364040A1 (en) System and Method for Restoring a Previously Functional Firmware Image on a Non-Volatile Dual Inline Memory Module
JP6041056B2 (en) Information processing apparatus and method
CN111142921A (en) Software upgrading method and device
CN112486868B (en) CPLD (Complex programmable logic device) -based storage double-control synchronization system, method and device and storage medium
CN114443150B (en) Method, system, terminal and storage medium for synchronizing factory information of switch
CN117421156A (en) Firmware management method, device, equipment and machine-readable storage medium
CN110968350B (en) Power amplifier control method and device
CN112445503A (en) Upgrading method, communication equipment and computer readable storage medium
EP3442161A1 (en) Application synchronization method and device
US20220215001A1 (en) Replacing dedicated witness node in a stretched cluster with distributed management controllers
CN117240693A (en) Server management method, device, equipment and machine-readable storage medium

Legal Events

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