CN112130876A - Remote upgrading method, system and device for BMC firmware - Google Patents

Remote upgrading method, system and device for BMC firmware Download PDF

Info

Publication number
CN112130876A
CN112130876A CN202010886622.4A CN202010886622A CN112130876A CN 112130876 A CN112130876 A CN 112130876A CN 202010886622 A CN202010886622 A CN 202010886622A CN 112130876 A CN112130876 A CN 112130876A
Authority
CN
China
Prior art keywords
bmc
firmware
tool
target
working machine
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
CN202010886622.4A
Other languages
Chinese (zh)
Inventor
张国奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202010886622.4A priority Critical patent/CN112130876A/en
Publication of CN112130876A publication Critical patent/CN112130876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a system and a device for remotely upgrading BMC firmware.A working machine for remotely refreshing the BMC firmware and servers of BMC to be refreshed are configured in the same network segment in advance; acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; and if so, running an upgrading script on the working machine so that the working machine remotely refreshes the firmware of the target BMC based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC. Therefore, the BMC firmware upgrading method and system can upgrade the BMC firmware of multiple servers at one time, is high in upgrading efficiency, and is suitable for upgrading the BMC firmware in batches; moreover, the remote upgrading operation of the BMC firmware is simple and convenient, and the user operation is facilitated.

Description

Remote upgrading method, system and device for BMC firmware
Technical Field
The invention relates to the field of system upgrading, in particular to a method, a system and a device for remotely upgrading BMC firmware.
Background
Currently, a common way for an X86 server platform to upgrade BMC (Baseboard Management Controller) firmware is as follows: after logging in a webpage of the BMC, setting- > BMC firmware updating- > selecting a file- > uploading a BMC firmware file, and updating the BMC firmware by bin- >.
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 invention aims to provide a method, a system and a device for remotely upgrading BMC firmware, which can upgrade the BMC firmware of a plurality of servers at one time, have higher upgrading efficiency and are suitable for upgrading the BMC firmware in batch; moreover, the remote upgrading operation of the BMC firmware is simple and convenient, and the user operation is facilitated.
In order to solve the technical problem, the invention provides a method for remotely upgrading BMC firmware, which comprises the following steps:
configuring a working machine for remotely refreshing BMC firmware and each BMC to be refreshed server in the same network segment in advance;
acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; wherein the target BMC is any BMC to be refreshed;
and if so, running an upgrading script on the working machine so as to enable the working machine to remotely refresh the firmware of the target BMC based on a refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
Preferably, the process of acquiring the IP address of each BMC to be refreshed and checking whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC includes:
configuring a BMC _ IP tool for acquiring an IP address of BMC to be refreshed and a checking tool for checking whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC in advance on the working machine;
operating the BMC _ IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating the checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
Preferably, the method for remotely upgrading BMC firmware further includes:
and when the communication between the working machine and the target BMC is checked to be abnormal, writing the IP address of the target BMC with the abnormal communication into a check file for subsequent maintenance.
Preferably, the process of running the upgrade script on the working machine to enable the working machine to remotely refresh the firmware of the target BMC based on the refresh tool and the image file of the firmware pre-flashed to the target BMC includes:
configuring an upgrading script used for verifying whether information obtained by tool operation is valid on the working machine in advance, and writing a Flash refreshing tool and a mirror image file of firmware pre-refreshed to the target BMC into an upgrading file corresponding to the upgrading script;
and running the upgrading script to check whether the information obtained by running the BMC _ IP tool and the check tool is valid, and remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and a mirror image file in the upgrading file after the information is valid.
Preferably, the process of checking whether the information obtained by the operation of the BMC _ IP tool and the checking tool is valid, and remotely refreshing the firmware of the target BMC by using the Flash refreshing tool and the image file in the upgrade file after the information is valid includes:
and checking whether the information obtained by the operation of the BMC _ IP tool and the checking tool is valid for multiple times, confirming that the information is valid after the information is valid for multiple times, and then remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and a mirror image file in the upgrade file.
Preferably, the method for remotely upgrading BMC firmware further includes:
and after checking that the information obtained by the operation of the BMC-IP tool and the checking tool is invalid, carrying out message invalidity prompt.
Preferably, the process of configuring the working machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance includes:
loading a remote network ipmi tool on a working machine for remotely refreshing BMC firmware in advance so as to establish network communication between the working machine and each server of BMC to be refreshed by using the remote network ipmi tool; and the working machine and each server of the BMC to be refreshed are configured in the same network segment.
In order to solve the above technical problem, the present invention further provides a system for remotely upgrading a BMC firmware, including:
the configuration module is used for configuring a working machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance;
the checking module is used for acquiring the IP address of each BMC to be refreshed and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; if yes, executing a refreshing module; wherein the target BMC is any BMC to be refreshed;
and the refreshing module is used for operating the upgrading script on the working machine so as to enable the working machine to remotely refresh the firmware of the target BMC based on a refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
Preferably, the verification module is specifically configured to:
configuring a BMC _ IP tool for acquiring an IP address of BMC to be refreshed and a checking tool for checking whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC in advance on the working machine;
operating the BMC _ IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating the checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
In order to solve the above technical problem, the present invention further provides a device for remotely upgrading a BMC firmware, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the methods for remotely upgrading the BMC firmware when executing the computer program.
The invention provides a remote upgrading method of BMC firmware, which is characterized in that a working machine for remotely refreshing the BMC firmware and each server of BMC to be refreshed are configured in the same network segment in advance; acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; and if so, running an upgrading script on the working machine so that the working machine remotely refreshes the firmware of the target BMC based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC. Therefore, the BMC firmware upgrading method and system can upgrade the BMC firmware of multiple servers at one time, is high in upgrading efficiency, and is suitable for upgrading the BMC firmware in batches; moreover, the remote upgrading operation of the BMC firmware is simple and convenient, and the user operation is facilitated.
The invention also provides a system and a device for remotely upgrading the BMC firmware, and the system and the device have the same beneficial effects as the remote upgrading method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and 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 invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a method for remotely upgrading BMC firmware according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a system for remotely upgrading BMC firmware according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a method, a system and a device for remotely upgrading BMC firmware, which can upgrade the BMC firmware of a plurality of servers at one time, have higher upgrading efficiency and are suitable for upgrading the BMC firmware in batch; moreover, the remote upgrading operation of the BMC firmware is simple and convenient, and the user operation is facilitated.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for remotely upgrading BMC firmware according to an embodiment of the present invention.
The remote upgrading method of the BMC firmware comprises the following steps:
step S1: and configuring a working machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance.
Specifically, the BMC to be refreshed is configured with a working Machine (such as an ARM (Advanced RISC Machine, RISC microprocessor) server in a Linux environment) for remotely refreshing the BMC firmware, and in order to implement network communication between the working Machine and each server of the BMC to be refreshed, the working Machine and each server of the BMC to be refreshed (configured by using a management network port of the server) are configured in the same network segment in advance.
Step S2: acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; if yes, go to step S3.
It should be noted that the target BMC of the present application is any BMC to be refreshed.
Specifically, before the working machine is used for remotely refreshing the firmware of the target BMC, it is required to ensure that the communication between the working machine and the target BMC is normal, so that the application first obtains an Internet Protocol (IP) address of the target BMC, so as to check whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC, and only when the communication between the working machine and the target BMC is normal, the working machine can be successfully used for remotely refreshing the firmware of the target BMC.
Step S3: and running the upgrading script on the working machine to enable the working machine to remotely refresh the firmware of the target BMC based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
Specifically, the working machine is loaded with a refreshing tool and an image file of firmware pre-written to the target BMC, and based on the refreshing tool and the image file, the working machine is adopted to remotely refresh the firmware of the target BMC: and running an upgrade (update) script on the working machine, and remotely refreshing the firmware of the target BMC by the working machine based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
It should be noted that the working machine can refresh the firmware of a plurality of BMCs to be refreshed at the same time, and is suitable for upgrading the BMC firmware in batches.
The invention provides a remote upgrading method of BMC firmware, which is characterized in that a working machine for remotely refreshing the BMC firmware and each server of BMC to be refreshed are configured in the same network segment in advance; acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; and if so, running an upgrading script on the working machine so that the working machine remotely refreshes the firmware of the target BMC based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC. Therefore, the BMC firmware upgrading method and system can upgrade the BMC firmware of multiple servers at one time, is high in upgrading efficiency, and is suitable for upgrading the BMC firmware in batches; moreover, the remote upgrading operation of the BMC firmware is simple and convenient, and the user operation is facilitated.
On the basis of the above-described embodiment:
as an optional embodiment, the process of acquiring the IP address of each BMC to be refreshed and verifying whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC includes:
a BMC-IP tool used for acquiring the IP address of the BMC to be refreshed and a verification tool used for verifying whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC are configured on the working machine in advance;
operating a BMC-IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating a checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
Specifically, a BMC _ IP tool is configured on a working machine in advance, and the BMC _ IP tool is used for acquiring IP addresses of BMC to be refreshed and writing the acquired IP addresses into IP files corresponding to the BMC _ IP tool; and a check tool is also configured on the working machine and is used for acquiring the IP address of each BMC to be refreshed from the IP file and correspondingly checking whether the communication between the working machine and each BMC to be refreshed is normal or not according to the IP address of each BMC to be refreshed.
Based on this, before adopting the working machine to remotely refresh the firmware of the target BMC, in order to ensure that the communication between the working machine and the target BMC is normal, the BMC _ IP tool and the verification tool are sequentially operated, so that the following effects are achieved: 1) acquiring the IP address of each BMC to be refreshed, and writing the IP address into an IP file; 2) and acquiring the IP address of the target BMC from the IP file, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
As an optional embodiment, the method for remotely upgrading BMC firmware further includes:
and when the communication between the working machine and the target BMC is checked to be abnormal, writing the IP address of the target BMC with the abnormal communication into a check file for subsequent maintenance.
Furthermore, when the communication between the working machine and the target BMC is abnormal according to the IP address of the target BMC, the IP address of the target BMC with the abnormal communication can be written into the check file corresponding to the check tool, so that the BMC with the abnormal communication with the working machine can be known by checking the check file, and the follow-up maintenance and use are facilitated.
As an alternative embodiment, the process of running an upgrade script on the working machine to enable the working machine to remotely refresh the firmware of the target BMC based on the refresh tool and the image file of the firmware pre-flashed to the target BMC includes:
an upgrading script used for verifying whether information obtained by tool operation is valid is configured on a working machine in advance, and a Flash refreshing tool and a mirror image file of firmware pre-refreshed to a target BMC are written into an upgrading file corresponding to the upgrading script;
and running the upgrading script to check whether the information obtained by running the BMC-IP tool and the checking tool is valid, and remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and a mirror image file in the upgrading file after the information is valid.
Specifically, an upgrade script is configured on a working machine in advance, the upgrade script is used for verifying whether information obtained by running a BMC _ IP tool and a verification tool is valid, and after the information is valid, a Flash refreshing tool and an image file in an upgrade file are used (the Flash refreshing tool and the image file need to be written into the upgrade file corresponding to the upgrade script in advance, the image file can be mounted on an openssl tool loaded on the working machine in advance, the firmware refreshing of BMC is actually writing the image file into a Flash chip corresponding to the BMC), and the firmware of the target BMC is refreshed remotely, so that the safe and stable upgrade of the BMC firmware is ensured.
As an optional embodiment, the process of checking whether the information obtained by running the BMC _ IP tool and the checking tool is valid, and remotely refreshing the firmware of the target BMC by using the Flash refresh tool and the image file in the upgrade file after the information is valid includes:
and checking whether the information obtained by the operation of the BMC-IP tool and the checking tool is valid for multiple times, confirming that the information is valid after the information is valid for multiple times, and then executing the step of remotely refreshing the firmware of the target BMC by using the Flash refreshing tool and the image file in the upgrade file.
Specifically, when the upgrading script is configured, whether the information obtained by running the BMC _ IP tool and the verification tool is valid or not can be verified for multiple times, and the validity of the information is confirmed after the information is valid in multiple verification results, so that the verification accuracy is improved.
As an optional embodiment, the method for remotely upgrading BMC firmware further includes:
and after the information obtained by the operation of the BMC-IP tool and the verification tool is verified to be invalid, carrying out message invalidity prompt.
Further, after the information obtained by the operation of the BMC-IP tool and the verification tool is verified to be invalid, a message invalidity prompt can be performed to remind a user that the information obtained by the operation of the BMC-IP tool and the verification tool is invalid.
As an optional embodiment, the process of configuring a work machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance includes:
loading a remote network ipmi tool on a working machine for remotely refreshing BMC firmware in advance so as to establish network communication between the working machine and each server of BMC to be refreshed by using the remote network ipmi tool; the working machine and each server of the BMC to be refreshed are configured in the same network segment.
Specifically, the present application may load a remote network ipmi (Intelligent Platform Management Interface) tool on a working machine for remotely refreshing BMC firmware in advance, so as to establish network communication between the working machine and each server of the BMC to be refreshed by using the remote network ipmi tool.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a system for remotely upgrading BMC firmware according to an embodiment of the present invention.
The remote upgrading system of the BMC firmware comprises:
the configuration module 1 is used for configuring a working machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance;
the checking module 2 is used for acquiring the IP address of each BMC to be refreshed and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; if yes, executing a refreshing module 3; wherein the target BMC is any BMC to be refreshed;
and the refreshing module 3 is used for running the upgrading script on the working machine so as to enable the working machine to remotely refresh the firmware of the target BMC based on the refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
As an optional embodiment, the verification module 2 is specifically configured to:
a BMC-IP tool used for acquiring the IP address of the BMC to be refreshed and a verification tool used for verifying whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC are configured on the working machine in advance;
operating a BMC-IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating a checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
For introduction of the remote upgrade system provided in the present application, reference is made to the above-mentioned embodiment of the remote upgrade method, which is not described herein again.
The application also provides a remote upgrading device of BMC firmware, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the BMC firmware remote upgrading methods when executing the computer program.
For the introduction of the remote upgrade apparatus provided in the present application, please refer to the above-mentioned embodiment of the remote upgrade method, which is not described herein again.
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 invention. 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 invention. Thus, the present invention 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 method for remotely upgrading BMC firmware is characterized by comprising the following steps:
configuring a working machine for remotely refreshing BMC firmware and each BMC to be refreshed server in the same network segment in advance;
acquiring the IP address of each BMC to be refreshed, and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; wherein the target BMC is any BMC to be refreshed;
and if so, running an upgrading script on the working machine so as to enable the working machine to remotely refresh the firmware of the target BMC based on a refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
2. The method for remotely upgrading BMC firmware of claim 1, wherein the step of acquiring an IP address of each BMC to be refreshed and checking whether the communication between the work machine and the target BMC is normal according to the IP address of the target BMC includes:
configuring a BMC _ IP tool for acquiring an IP address of BMC to be refreshed and a checking tool for checking whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC in advance on the working machine;
operating the BMC _ IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating the checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
3. The method for remotely upgrading BMC firmware of claim 2, wherein the method for remotely upgrading BMC firmware further comprises:
and when the communication between the working machine and the target BMC is checked to be abnormal, writing the IP address of the target BMC with the abnormal communication into a check file for subsequent maintenance.
4. The method for remotely upgrading BMC firmware of claim 2, wherein the process of running an upgrade script on the work machine to cause the work machine to remotely refresh the firmware of the target BMC based on a refresh tool and an image file of the firmware pre-flashed to the target BMC comprises:
configuring an upgrading script used for verifying whether information obtained by tool operation is valid on the working machine in advance, and writing a Flash refreshing tool and a mirror image file of firmware pre-refreshed to the target BMC into an upgrading file corresponding to the upgrading script;
and running the upgrading script to check whether the information obtained by running the BMC _ IP tool and the check tool is valid, and remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and a mirror image file in the upgrading file after the information is valid.
5. The method for remotely upgrading BMC firmware of claim 4, wherein the process of checking whether the information obtained by running the BMC _ IP tool and the checking tool is valid, and remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and an image file in the upgrade file after the information is valid comprises:
and checking whether the information obtained by the operation of the BMC _ IP tool and the checking tool is valid for multiple times, confirming that the information is valid after the information is valid for multiple times, and then remotely refreshing the firmware of the target BMC by using a Flash refreshing tool and a mirror image file in the upgrade file.
6. The method for remotely upgrading BMC firmware of claim 4, wherein the method for remotely upgrading BMC firmware further comprises:
and after checking that the information obtained by the operation of the BMC-IP tool and the checking tool is invalid, carrying out message invalidity prompt.
7. The method for remotely upgrading BMC firmware according to claim 1, wherein the step of configuring a work machine for remotely refreshing BMC firmware and each server of BMC to be refreshed in the same network segment in advance comprises:
loading a remote network ipmi tool on a working machine for remotely refreshing BMC firmware in advance so as to establish network communication between the working machine and each server of BMC to be refreshed by using the remote network ipmi tool; and the working machine and each server of the BMC to be refreshed are configured in the same network segment.
8. A system for remotely upgrading BMC firmware, comprising:
the configuration module is used for configuring a working machine for remotely refreshing the BMC firmware and each server of the BMC to be refreshed in the same network segment in advance;
the checking module is used for acquiring the IP address of each BMC to be refreshed and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC; if yes, executing a refreshing module; wherein the target BMC is any BMC to be refreshed;
and the refreshing module is used for operating the upgrading script on the working machine so as to enable the working machine to remotely refresh the firmware of the target BMC based on a refreshing tool and the image file of the firmware pre-refreshed to the target BMC.
9. The remote upgrade system for BMC firmware of claim 8, wherein the check module is specifically configured to:
configuring a BMC _ IP tool for acquiring an IP address of BMC to be refreshed and a checking tool for checking whether the communication between the working machine and the target BMC is normal according to the IP address of the target BMC in advance on the working machine;
operating the BMC _ IP tool to acquire an IP address of the BMC to be refreshed and writing the IP address into an IP file;
and operating the checking tool to acquire the IP address from the IP file and checking whether the communication between the working machine and the target BMC is normal or not according to the IP address of the target BMC.
10. A device for remotely upgrading BMC firmware, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for remote upgrade of BMC firmware according to any of claims 1 to 7 when executing said computer program.
CN202010886622.4A 2020-08-28 2020-08-28 Remote upgrading method, system and device for BMC firmware Pending CN112130876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010886622.4A CN112130876A (en) 2020-08-28 2020-08-28 Remote upgrading method, system and device for BMC firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010886622.4A CN112130876A (en) 2020-08-28 2020-08-28 Remote upgrading method, system and device for BMC firmware

Publications (1)

Publication Number Publication Date
CN112130876A true CN112130876A (en) 2020-12-25

Family

ID=73847608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010886622.4A Pending CN112130876A (en) 2020-08-28 2020-08-28 Remote upgrading method, system and device for BMC firmware

Country Status (1)

Country Link
CN (1) CN112130876A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815054A (en) * 2017-01-25 2017-06-09 郑州云海信息技术有限公司 A kind of method and device of refreshing BMC firmwares
CN108306959A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares
CN110943860A (en) * 2019-11-22 2020-03-31 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815054A (en) * 2017-01-25 2017-06-09 郑州云海信息技术有限公司 A kind of method and device of refreshing BMC firmwares
CN108306959A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares
CN110943860A (en) * 2019-11-22 2020-03-31 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109844744B (en) Device, method and medium for communication of Internet of things
CN110879712B (en) Cloud data center physical host installation method and related device
CN110399267B (en) PCIE (peripheral component interface express) equipment monitoring method, system and equipment of server and readable storage medium
CN110943860B (en) BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
CN112328440B (en) Hard disk physical position determining method and device
EP3672199A1 (en) Application deployment method, apparatus and system
CN116775079A (en) Vehicle part refreshing method and device, electronic equipment and storage medium
CN114205208A (en) Method, device, equipment and medium for starting servers in batches based on remote end
CN112506539B (en) Firmware updating method and device, electronic equipment and storage medium
CN117687695A (en) Information processing method, information processing device, electronic equipment and storage medium
CN111984520A (en) Buried point testing method, computer device and computer-readable storage medium
US11640290B2 (en) Pushing a firmware update patch to a computing device via an out-of-band path
CN112130876A (en) Remote upgrading method, system and device for BMC firmware
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN113064616A (en) Software updating method and device, storage medium and electronic equipment
CN111857783A (en) Method, device, equipment and storage medium for remotely refreshing BMC (baseboard management controller) firmware
Srivastava et al. An open-source SWUpdate and Hawkbit framework for OTA Updates of RISC-V based resource constrained devices
CN113886218B (en) Method, device, equipment and readable medium for verifying BIOS refreshing
TWI587109B (en) System structure and deployment method for installing operating systems of a plurality of devices under test
CN107832167B (en) Recovery method and system for boot failure caused by BMC (baseboard management controller) fault
CN116955238A (en) Method, device, computer and medium for controlling power-on state of CPU interface
CN114666783A (en) Upgrading method, device, terminal and storage medium of wireless network module
CN115390828A (en) Front-end function generation method, device, equipment and readable storage medium
CN113986271A (en) Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process
CN116781513A (en) Platform server batch firmware configuration delivery method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201225