CN113127030A - Multi-node server BMC loading method, system, device and storage medium - Google Patents
Multi-node server BMC loading method, system, device and storage medium Download PDFInfo
- Publication number
- CN113127030A CN113127030A CN202110290167.6A CN202110290167A CN113127030A CN 113127030 A CN113127030 A CN 113127030A CN 202110290167 A CN202110290167 A CN 202110290167A CN 113127030 A CN113127030 A CN 113127030A
- Authority
- CN
- China
- Prior art keywords
- bmc
- node
- program
- cmc
- management node
- 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
- 238000011068 loading method Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000002159 abnormal effect Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012423 maintenance Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a method and a device for loading and updating a BMC of a multi-node server, which are applied to CMC nodes and comprise the following steps: restarting by utilizing a restart signal sent by a BMC management node; and remotely mounting the BMC program in the BMC management node and running. According to the application, the CMC node does not locally store a BMC program any more, but remotely mounts the BMC program in the BMC management node, so that the consistency with the BMC program in the BMC management node is ensured, and after the BMC program in the BMC management node is updated, the remotely mounted CMC node also equivalently completes the updating of the BMC program, does not need to receive an update data packet to update locally, so that a flash chip is not needed any more, the updating and running efficiency is improved, and the hardware cost is saved.
Description
Technical Field
The invention relates to the field of distributed storage, in particular to a method and a device for loading and updating a multi-node server BMC.
Background
With the development of mobile internet, the demand of each large internet manufacturer on the server is continuously increased, and the multi-node server is increasingly used due to the advantages of large storage capacity, low cost, small occupied space and the like.
In the prior art, a conventional multi-node server is composed of a BMC node (BMC, Baseboard Management Controller) and a plurality of CMC nodes (CMC, Chassis Management Controller), each node has an independent processor and a flash, and if a BMC image needs to be updated once for each node, the update time is long, and the update is inconvenient.
For this reason, a more rapid BMC loading and updating method is needed.
Disclosure of Invention
In view of this, the present invention provides a method and a device for loading and updating a BMC of a multi-node server, so as to improve the update and loading speed of the BMC. The specific scheme is as follows:
a multi-node server BMC loading method is applied to CMC nodes and comprises the following steps:
restarting by utilizing a restart signal sent by a BMC management node;
and remotely mounting and operating the BMC program in the BMC management node.
Optionally, the process of remotely mounting and running the BMC program in the BMC management node includes:
and remotely mounting the BMC mirror image in the BMC management node and operating.
Optionally, the process of remotely mounting and running the BMC image in the BMC management node includes:
and remotely mounting the BMC mirror image in the BMC management node through a network router and operating.
Optionally, the process of remotely mounting and running the BMC image in the BMC management node through the network router includes:
remotely mounting the BMC mirror image in the BMC management node to a local memory through a network router;
and operating the BMC mirror image in the local memory.
The invention also discloses a BMC updating method of the multi-node server, which is applied to the BMC management node and comprises the following steps:
receiving BMC updating data;
updating a local BMC program by utilizing the BMC updating data;
loading and running a local BMC program;
and sending a restart signal to all the CMC nodes so that all the CMC nodes remotely mount the local latest BMC program again and operate the program.
Optionally, the process of receiving BMC update data includes:
and receiving the BMC update image uploaded in band or out of band.
Optionally, the updating a local BMC program by using the BMC update data includes:
and updating the local BMC mirror image by using the BMC update mirror image.
Optionally, after sending the restart signal to all CMC nodes, the method further includes:
judging whether abnormal CMC nodes which are not started normally exist;
and if the abnormal CMC node exists, sending a restarting signal to the abnormal CMC node so as to enable the abnormal CMC node to remotely mount the local latest BMC program again and run.
The invention also discloses a multi-node server BMC loading device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the multi-node server BMC loading method as described above.
The invention also discloses a multi-node server BMC updating device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the multi-node server BMC loading method as described above.
In the invention, the method for loading the BMC of the multi-node server is applied to the CMC node and comprises the following steps: restarting by utilizing a restart signal sent by a BMC management node; and remotely mounting the BMC program in the BMC management node and running.
The CMC node does not locally store a BMC program any longer, but remotely mounts the BMC program in the BMC management node, so that the consistency with the BMC program in the BMC management node is ensured, and after the BMC program in the BMC management node is updated, the remotely mounted CMC node equivalently completes the updating of the BMC program and does not need to receive an update data packet for updating locally, so that a flash chip is not needed any longer, the updating and running efficiency is improved, and the hardware cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for loading a BMC of a multi-node server according to an embodiment of the invention;
FIG. 2 is a schematic structural diagram of a multi-node server according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for updating a BMC of a multi-node server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
The embodiment of the invention discloses a BMC loading method of a multi-node server, which is applied to CMC nodes and is shown in figure 1, and the method comprises the following steps:
s11: restarting by utilizing a restart signal sent by a BMC management node;
s12: and remotely mounting the BMC program in the BMC management node and running.
Specifically, after the local BMC program is updated, the BMC management node sends a restart signal to each CMC node, so that each CMC node remotely mounts the BMC program in the BMC management node again and runs the BMC program.
Specifically, after being powered on, the CMC node can actively access the BMC management node, find the latest BMC program in the BMC management node, mount the latest BMC program in the BMC management node remotely, project the latest BMC program in the BMC management node to the local and operate, the CMC node does not need to store the BMC program locally, and does not need to receive new BMC update data when the BMC is updated, so that a flash chip can be removed, and hardware cost can be saved.
Specifically, after the CMC node is started each time, the latest or currently used BMC program in the BMC management node is remotely mounted, so that after the BMC program is updated by the BMC management node, the CMC node can also mount the same or the latest BMC program as that in the BMC management node after being restarted, thereby upgrading the BMC program of the CMC node.
Therefore, in the embodiment of the invention, the CMC node does not locally store the BMC program, but remotely mounts the BMC program in the BMC management node, so that the consistency with the BMC program in the BMC management node is ensured, and after the BMC program in the BMC management node is updated, the remotely mounted CMC node also completes the update of the BMC program, and does not need to receive an update data packet to update locally, so that a flash chip is not needed, the update and operation efficiency is improved, and the hardware cost is saved.
Further, the BMC program in the BMC management node may be stored in a BMC mirror mode, and the CMC node remotely mounts the BMC mirror in the BMC management node so as to project the BMC mirror to the local and run the BMC program stored therein.
Further, as shown in fig. 2, the CMC node 1 and the BMC management node 2 may communicate with each other through a network router 3 via a network to construct a remote mount channel, and specifically, a network router inside a multi-node server may be used.
It is to be appreciated that the BMC management node may be communicatively interconnected in parallel with a plurality of CMC nodes via a network router.
Furthermore, the CMC node can remotely mount the BMC mirror image in the BMC management node to the local memory through the network router, and then operate the BMC mirror image from the local memory.
Correspondingly, the embodiment of the invention also discloses a multi-node server BMC updating method, which is applied to BMC management nodes and is shown in fig. 3, and the method comprises the following steps:
s21: receiving BMC updating data;
s22: and updating the local BMC program by utilizing the BMC updating data.
Specifically, when the BMC program in the BMC management node needs to be updated, the local BMC program may be updated through the BMC update data uploaded in-band or out-of-band.
S23: and loading and running a local BMC program.
Specifically, after the update is completed, the local latest BMC program is recorded and run, so as to continuously manage and control other CMC nodes.
Furthermore, if the update fails, the updated local BMC program cannot run, a rollback may be performed to rollback the version of the BMC program to a version before the update, and the update failure is prompted, so that maintenance personnel can perform maintenance conveniently.
S24: and sending a restart signal to all the CMC nodes so that all the CMC nodes remotely mount the local latest BMC program again and operate the program.
Specifically, after the update is completed, a restart signal is sent to all CMC nodes to restart all CMC nodes, and after the CMC nodes are restarted, the BMC program in the BMC management node is remotely mounted again, so that the BMC program update of the CMC nodes is realized.
Therefore, the BMC program of the whole multi-node server can be updated only by updating the BMC program in the BMC management node, besides, the CMC node does not locally store the BMC program any more, but remotely mounts the BMC program in the BMC management node, so that the consistency with the BMC program in the BMC management node is ensured, and after the BMC program in the BMC management node is updated, the remotely mounted CMC node also equivalently completes the updating of the BMC program, and does not need to receive an update data packet to update locally, so that a flash chip is not needed any more, the updating and operating efficiency is improved, and the hardware cost is saved.
Specifically, the received BMC update data may be specifically a BMC update mirror, the local BMC mirror is updated through the BMC update mirror, and the local BMC management node runs the updated local BMC mirror, thereby running the latest BMC program.
Further, after sending the restart signal to all CMC nodes, S25 and S26 may be further included; wherein,
s25: judging whether abnormal CMC nodes which are not started normally exist;
s26: and if the abnormal CMC node exists, sending a restarting signal to the abnormal CMC node so as to enable the abnormal CMC node to remotely mount the local latest BMC program again and run.
Specifically, part of the CMC nodes may cause the CMC nodes to be unable to be normally started due to compatibility or other reasons, and therefore, after sending the resume instruction, it is necessary to determine whether there is an abnormal CMC node that is not normally started, and if there is an abnormal CMC node, a resume signal may be sent to the abnormal CMC node again, so that the abnormal CMC node remotely mounts the local latest BMC program again to try to run, so that the abnormal CMC node may be recovered to be normal.
Furthermore, the restarting frequency can be set, if the problem still cannot be solved after the same abnormal CMC node is restarted for multiple times and reaches the preset restarting frequency, the abnormal CMC node is not restarted, but prompt information can be generated to prompt a user to maintain.
In addition, the embodiment of the invention also discloses a multi-node server BMC loading device, which comprises:
a memory for storing a computer program;
a processor for executing a computer program to implement the multi-node server BMC loading method as described above.
In addition, the embodiment of the invention also discloses a multi-node server BMC updating device, which comprises:
a memory for storing a computer program;
a processor for executing a computer program to implement the multi-node server BMC loading method as described above.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The technical content provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the above description of the examples is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A multi-node server BMC loading method is applied to CMC nodes and comprises the following steps:
restarting by utilizing a restart signal sent by a BMC management node;
and remotely mounting and operating the BMC program in the BMC management node.
2. The multi-node server BMC loading method of claim 1, wherein said remotely mounting and running the BMC program in the BMC management node comprises:
and remotely mounting the BMC mirror image in the BMC management node and operating.
3. The multi-node server BMC loading method of claim 2, wherein said remotely mounting and running a BMC image in the BMC management node comprises:
and remotely mounting the BMC mirror image in the BMC management node through a network router and operating.
4. The multi-node server BMC loading method of claim 3, wherein the process of remotely mounting and running the BMC image in the BMC management node via a network router comprises:
remotely mounting the BMC mirror image in the BMC management node to a local memory through a network router;
and operating the BMC mirror image in the local memory.
5. A multi-node server BMC updating method is applied to a BMC management node and comprises the following steps:
receiving BMC updating data;
updating a local BMC program by utilizing the BMC updating data;
loading and running a local BMC program;
and sending a restart signal to all the CMC nodes so that all the CMC nodes remotely mount the local latest BMC program again and operate the program.
6. The multi-node server BMC update method of claim 5, wherein the receiving BMC update data process comprises:
and receiving the BMC update image uploaded in band or out of band.
7. The multi-node server BMC update method of claim 6, wherein the updating a local BMC program with the BMC update data comprises:
and updating the local BMC mirror image by using the BMC update mirror image.
8. The multi-node server BMC update method of any of claims 5-7, wherein after sending a reboot signal to all CMC nodes, further comprising:
judging whether abnormal CMC nodes which are not started normally exist;
and if the abnormal CMC node exists, sending a restarting signal to the abnormal CMC node so as to enable the abnormal CMC node to remotely mount the local latest BMC program again and run.
9. A multi-node server BMC loading apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the multi-node server BMC loading method as claimed in any of claims 1 to 4.
10. A multi-node server BMC updating apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the multi-node server BMC loading method as claimed in any of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110290167.6A CN113127030A (en) | 2021-03-18 | 2021-03-18 | Multi-node server BMC loading method, system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110290167.6A CN113127030A (en) | 2021-03-18 | 2021-03-18 | Multi-node server BMC loading method, system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113127030A true CN113127030A (en) | 2021-07-16 |
Family
ID=76773292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110290167.6A Pending CN113127030A (en) | 2021-03-18 | 2021-03-18 | Multi-node server BMC loading method, system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113127030A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109254780A (en) * | 2018-08-30 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method, apparatus and controlled terminal of batch refresh server node firmware |
CN109491685A (en) * | 2018-11-01 | 2019-03-19 | 郑州云海信息技术有限公司 | Method, apparatus, equipment and the storage medium of CPLD version are brushed under server |
CN109873714A (en) * | 2019-01-04 | 2019-06-11 | 平安科技(深圳)有限公司 | Cloud computing node configures update method and terminal device |
CN111124749A (en) * | 2019-09-06 | 2020-05-08 | 无锡江南计算技术研究所 | Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system |
-
2021
- 2021-03-18 CN CN202110290167.6A patent/CN113127030A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109254780A (en) * | 2018-08-30 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method, apparatus and controlled terminal of batch refresh server node firmware |
CN109491685A (en) * | 2018-11-01 | 2019-03-19 | 郑州云海信息技术有限公司 | Method, apparatus, equipment and the storage medium of CPLD version are brushed under server |
CN109873714A (en) * | 2019-01-04 | 2019-06-11 | 平安科技(深圳)有限公司 | Cloud computing node configures update method and terminal device |
CN111124749A (en) * | 2019-09-06 | 2020-05-08 | 无锡江南计算技术研究所 | Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1887759B1 (en) | Method and system for realizing automatic restoration after a device failure | |
JP5564956B2 (en) | Information processing apparatus and firmware update method for information processing apparatus | |
CN100545809C (en) | A kind of method for upgrading software and system thereof | |
WO2017149825A1 (en) | Program update system, program update method, and computer program | |
CN100525206C (en) | Realizing method and system for automatic restoring equipment fault | |
CN102238093B (en) | Service interruption prevention method and device | |
CN102098182B (en) | Method for restoring allocation of distributed equipment and distributed equipment | |
US10430082B2 (en) | Server management method and server for backup of a baseband management controller | |
CN111273924B (en) | Software updating method and device | |
CN111104147A (en) | BMC upgrading method, device, terminal and storage medium | |
CN112433739A (en) | Firmware upgrading method | |
CN109710297B (en) | Method for upgrading and backing equipment wholly or in modules | |
WO2024113995A1 (en) | Bmc heterogeneous upgrading method and system, device, and readable storage medium | |
CN113127030A (en) | Multi-node server BMC loading method, system, device and storage medium | |
CN113448609B (en) | Container upgrading method, device, equipment and storage medium | |
CN115756304A (en) | Method, device, equipment and readable medium for realizing configuration data consistency | |
CN116243946A (en) | Service upgrading processing method and system | |
CN100484038C (en) | Network element version switching method and device | |
CN113377425A (en) | BMC firmware generation method and device, BMC starting method and device and storage medium | |
CN106293802A (en) | The upgrade method of agency in instance system and instance system | |
KR100456978B1 (en) | Method for File Downloading in Agent | |
CN112445503A (en) | Upgrading method, communication equipment and computer readable storage medium | |
JP2001067214A (en) | Computer system and program file updating method | |
CN116431291B (en) | Deployment method, system, equipment and storage medium of virtualization management platform | |
CN1996884A (en) | Expansion method and communication device of communication 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: 20210716 |
|
RJ01 | Rejection of invention patent application after publication |