CN113778474A - Upgrading method, device, equipment and storage medium - Google Patents

Upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN113778474A
CN113778474A CN202010525789.8A CN202010525789A CN113778474A CN 113778474 A CN113778474 A CN 113778474A CN 202010525789 A CN202010525789 A CN 202010525789A CN 113778474 A CN113778474 A CN 113778474A
Authority
CN
China
Prior art keywords
bmc
upgrading
image file
firmware
server
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
CN202010525789.8A
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010525789.8A priority Critical patent/CN113778474A/en
Publication of CN113778474A publication Critical patent/CN113778474A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an upgrading method, an upgrading device, upgrading equipment and a storage medium. Wherein the method comprises the following steps: the control server packages a Baseboard Management Controller (BMC) upgrading firmware in an image file; sending the image file to at least two target servers through a pre-boot execution environment (PXE) process; the image file is used for each target server in the at least two target servers to upgrade the BMC.

Description

Upgrading method, device, equipment and storage medium
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to an upgrade method, apparatus, device, and storage medium.
Background
In general, a Baseboard Management Controller (BMC) may be disposed on a motherboard of a server, and in order to implement remote status management and monitoring of components in the server, the following operations may be performed by the BMC: the method comprises the steps of controlling the firmware state of the server, executing a remote console instruction, executing a startup and shutdown instruction and the like. The BMC can provide various interfaces for the upper network management to inquire the information of the server, and the upgrading of the BMC becomes more and more frequent along with the continuous upgrading of the BMC interfaces. At present, the upgrading method of BMC has the problems of long time consumption and small-batch upgrading, so that the upgrading efficiency of BMC is low.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide an upgrade method, apparatus, device, and storage medium.
The technical scheme of the embodiment of the invention is realized as follows:
at least one embodiment of the present invention provides an upgrade method applied to a control server, including:
packaging the BMC upgrading firmware in a mirror image file;
sending the image file to at least two target servers through a pre-boot eXecution Environment (PXE) process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
Furthermore, according to at least one embodiment of the present invention, the encapsulating the BMC upgrade firmware in an image file includes:
acquiring BMC upgrading firmware and upgrading commands;
and packaging the BMC upgrading firmware and the upgrading command in an image file.
Furthermore, according to at least one embodiment of the present invention, the obtaining the BMC upgrade firmware and the upgrade command includes:
determining the models respectively corresponding to the at least two target servers;
searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware;
and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
Furthermore, according to at least one embodiment of the present invention, the encapsulating the BMC upgrade firmware and the upgrade command in an image file includes:
and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
Further, according to at least one embodiment of the present invention, the sending the image file to at least two target servers through the PXE process includes:
carrying a preset program in a mirror image file; the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file;
and sending the image file to at least two target servers through the PXE process.
At least one embodiment of the present invention provides an upgrade method, which is applied to a target server, and the method includes:
receiving a mirror image file sent by a control server through a PXE process; the mirror image file is packaged with BMC upgrading firmware;
and upgrading the BMC by using the mirror image file.
Further, in accordance with at least one embodiment of the present invention, the image file includes a preset program; before the BMC is upgraded by using the image file, the method further comprises:
executing the preset program to realize that:
comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result;
and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
Furthermore, in accordance with at least one embodiment of the present invention, the image file contains a BMC upgrade firmware, an upgrade command; the upgrading of the BMC by using the image file comprises the following steps:
the modem of the target server sends the BMC upgrading firmware and the upgrading command contained in the image file to the BMC of the target server through a redfish interface;
and the BMC of the target server updates the BMC by using the updating command and the updating firmware.
At least one embodiment of the present invention provides an upgrade apparatus, including:
the first processing unit is used for packaging the BMC upgrading firmware of the substrate management controller in an image file;
the sending unit is used for sending the image file to at least two target servers through the PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
Furthermore, according to at least one embodiment of the present invention, the first processing unit is specifically configured to:
acquiring BMC upgrading firmware and upgrading commands;
and packaging the BMC upgrading firmware and the upgrading command in an image file.
Furthermore, according to at least one embodiment of the present invention, the first processing unit is specifically configured to:
determining the models respectively corresponding to the at least two target servers;
searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware;
and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
Furthermore, according to at least one embodiment of the present invention, the first processing unit is specifically configured to:
and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
Furthermore, according to at least one embodiment of the present invention, the sending unit is specifically configured to:
carrying a preset program in a mirror image file; the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file;
and sending the image file to at least two target servers through the PXE process.
At least one embodiment of the present invention provides an upgrade apparatus, including:
the receiving unit is used for receiving the mirror image file sent by the control server through the PXE process; the mirror image file is packaged with BMC upgrading firmware;
and the second processing unit is used for upgrading the BMC by using the mirror image file.
Further, in accordance with at least one embodiment of the present invention, the image file includes a preset program; the device further comprises:
an execution unit configured to execute the preset program to implement:
comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result;
and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
Furthermore, in accordance with at least one embodiment of the present invention, the image file contains a BMC upgrade firmware, an upgrade command; the second processing unit is specifically configured to:
the modem of the target server sends the BMC upgrading firmware and the upgrading command contained in the image file to the BMC of the target server through a redfish interface;
and upgrading the BMC by using the upgrading command and the BMC upgrading firmware of the target server.
At least one embodiment of the present invention provides a control server, including:
the first processor is used for packaging the BMC upgrading firmware in the mirror image file;
the first communication interface is used for sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
At least one embodiment of the present invention provides a target server comprising:
the second communication interface is used for receiving the mirror image file sent by the control server through the PXE process; the mirror image file is packaged with BMC upgrading firmware;
and the second processor is used for upgrading the BMC by using the mirror image file.
At least one embodiment of the invention provides a control server comprising a first processor and a first memory for storing a computer program capable of running on the processor,
wherein the first processor is configured to execute the steps of any of the above methods of the control server side when running the computer program.
At least one embodiment of the invention provides a target server comprising a second processor and a second memory for storing a computer program capable of running on the processor,
wherein the second processor is configured to execute the steps of any one of the methods of the target server side when running the computer program.
At least one embodiment of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
According to the upgrading method, the upgrading device, the upgrading equipment and the upgrading storage medium provided by the embodiment of the invention, the control server packages the BMC upgrading firmware in the image file; sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC. By adopting the technical scheme of the embodiment of the invention, one control server is deployed, and the control server directly sends the image file to at least two target servers through a PXE process; the image file is used for each target server of the at least two target servers to upgrade the BMC, and compared with a mode that in the related technology, when a user upgrades the BMC of the target servers through one personal computer on the spot, the upgrading time is longer, and the small-batch upgrading is realized, the batch parallel upgrading aiming at a large-scale target server can be realized, and the upgrading efficiency can be improved by shortening the upgrading time.
Drawings
FIG. 1 is a schematic diagram of BMC in the related art
FIG. 2 is a first schematic flow chart illustrating an implementation of an upgrade method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating an implementation of sending an image file to at least two target servers by a control server according to an embodiment of the present invention;
FIG. 4 is a first flowchart illustrating an implementation process of encapsulating the BMC upgrade firmware in an image file by the control server according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of a second implementation flow of encapsulating the BMC upgrade firmware in the image file by the control server according to the embodiment of the present invention;
FIG. 6 is a flowchart illustrating an implementation of sending an image file to at least two target servers by a control server according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a second implementation flow of the upgrade method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating an implementation process of a target server upgrading a BMC using the image file according to the embodiment of the present invention;
FIG. 9 is a first schematic diagram of the upgrading apparatus according to the embodiment of the present invention;
FIG. 10 is a schematic diagram of the second exemplary embodiment of the upgrade apparatus;
FIG. 11 is a schematic diagram of the component structure of the upgrade system according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of interaction between a control server and a target server according to an embodiment of the invention;
FIG. 13 is a schematic diagram of a configuration of a control server according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a target server according to an embodiment of the present invention.
Detailed Description
Before the technical solution of the embodiment of the present invention is introduced, a description is given of a related art.
In the related art, a BMC may be set on a motherboard of a server, fig. 1 is a schematic diagram of the BMC in the related art, and as shown in fig. 1, the BMC is used as a small system of the server independent of an operating system, and is used for remote state management and monitoring of all components of the server, and the server may control a firmware state of the server, execute a remote console instruction, power on/off operations, and the like through the BMC when the server is in a power-on/off state. The BMC operates independently without depending on a Basic Input Output System (BIOS) or an Operating System (OS) of the server, but may better interact with the BIOS and the OS to perform hardware management. The BMC can provide various interfaces for upper layer network management to inquire server information, such as interfaces of SNMP, IPMI, Restful and the like. With the continuous updating and perfection of hardware and chip technology, the BMC is also continuously following adjustment and adaptation, such as adapting a home-made chip and opening read-write interfaces of more components and more information. Meanwhile, the unification and standardization of the data interface collected by the upper network management system also promotes the continuous perfection of the BMC. After the server leaves a factory or is put into use, loading of the BMC controller is completed, if a new interface or technology of BMC is required, BMC upgrading is an essential stage, namely, the BMC upgrading technology also becomes a necessary link for accelerating the improvement of the BMC technology and realizing data collection standardization of a network manager.
In the related art, one way to upgrade the BMC is: a user connects a personal computer provided with a BMC upgrading tool to the hard tube switch on site, and the target server is controlled by the personal computer to upgrade the BMC. The defects of the BMC upgrading mode include: on one hand, the upper limit value of the number of servers which are sent by the computer for parallel upgrade at one time is about 30 servers, the upgrade time is about 10-15 minutes, and according to field investigation and verification, if the server BMC is calculated by 1500 large-scale hardware resource pools, 2 working days are needed for upgrading the server BMC in the whole pool; the number of upgrading the BMC by the server each time is limited by the network card bandwidth of the upgrading source equipment and the bottleneck of concurrent processing of tools; the preparation configuration operation before the large-scale resource pool is configured repeatedly each time, the workload is increased, and all server BMC firmware needing to be updated cannot be completed quickly and efficiently. On the other hand, the upgrading firmware and upgrading tool of the BMC are mainly issued in a centralized manner, in a serial manner or in a small-scale parallel manner, the whole resource pool cannot be completed in a parallel manner and upgraded at one time, manual operation consumes long time due to small-module upgrading, the maintenance period of the BMC is prolonged, and the effectiveness and timeliness of a network management system and service collection data are influenced. The other upgrading mode for the BMC is as follows: downloading an upgrading file and an upgrading tool required by BMC upgrading according to the parameters of the configuration file; determining upgrading command parameters through an upgrading file and an upgrading tool, and establishing a corresponding upgrading process according to the command parameters; and filtering and selecting a server node to be upgraded, and upgrading according to the server node and the upgrading process time BMC. The defects of the BMC upgrading mode include: the upgrading of the server BMC firmware depends on a third-party tool and configuration; an FTP server is required to be established firstly, a BMC upgrading tool and an upgrading file are uploaded to the FTP server, corresponding intercommunication parameters are configured on uplink network equipment, and then the BMC upgrading tool and upgrading firmware are distributed and downloaded to a server end required to be upgraded through the FTP server, so that the preparation workload before upgrading is increased, and the time consumption of the whole upgrading process is prolonged; and meanwhile, the BMC upgrading tool is issued to occupy bandwidth resources, so that the parallel upgrading speed in unit time is relatively reduced.
Based on this, in various embodiments of the invention, the BMC upgrade firmware is encapsulated in an image file; sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
An embodiment of the present invention provides an upgrade method, which is applied to a control server, and as shown in fig. 2, the method includes:
step 201: packaging the BMC upgrading firmware in a mirror image file;
step 202: sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
Here, in step 201, the BMC upgrade firmware may refer to software for upgrading a BMC in the target server. The image file may refer to a file in a certain format, such as an IMG format, which encapsulates data corresponding to software that upgrades the BMC of the target server.
Here, in step 202, the PXE process may refer to a process for data transmission between the control server and the target server. The control server and the target servers are respectively provided with corresponding PXE processes, and after the at least two target servers respectively start the PXE processes and establish communication with the PXE processes on the control server through the own PXE processes, the control server can determine that the at least two target servers are started, so that the control server can send the image file to the at least two target servers through the own PXE processes.
In actual application, in the process of upgrading the BMCs of a plurality of target servers, the control server may package the BMC upgrade firmware into an image file, and send the image file to the plurality of target servers through the PXE process; after each of the target servers receives the image file, the operating system of the BMC can be operated in the memory by taking the image file as a medium, and the BMC is upgraded by utilizing BMC upgrading firmware contained in the image file after the operating system of the BMC is operated. In addition, in order to improve the efficiency of upgrading the BMC of the plurality of target devices, the smaller the size of the image file sent by the control server to each target server in the plurality of target servers is, the better the image file is, so that the bandwidth resource of the control server can be saved, the transmission speed of the image file is increased, and the target server can be ensured to quickly receive the image file and realize quick upgrading of the BMC.
Based on this, in an embodiment, the encapsulating the BMC upgrade firmware in an image file includes:
acquiring BMC upgrading firmware and upgrading commands;
and packaging the BMC upgrading firmware and the upgrading command in an image file.
The BMC upgrade firmware may refer to a file for upgrading a BMC of a target server. The upgrade command may be a command capable of operating the BMC to upgrade firmware, such as a command to acquire, delete, run, copy, and the like.
The image file may further include a storage directory of the BMC upgrade firmware in the target server, so that after receiving the image file, the target server may store the corresponding BMC upgrade firmware in the storage directory specified by the image file, which is convenient for the target server to perform subsequent processing on the BMC upgrade firmware.
In one example, as shown in FIG. 3, a process is described for a control server sending an image file to at least two target servers, comprising:
step 301: and the control server encapsulates the BMC upgrade firmware in the image file.
Here, a control server may be deployed prior to step 301. The control server can also be called a PXE server, and after the PXE server is built, the PXE server can be used as a fixed source device for upgrading the BMC of the target server. If the BMC firmware of at least two target servers needs to be upgraded, the PXE server can be used for upgrading at any time. If the need for upgrading the BMC firmware of at least two target servers does not exist, the PXE server can be unloaded after the target servers finish one-time upgrading of the BMC, and other functions can be realized by using the PXE server.
Here, the image file may refer to an Initrd image file.
As shown in fig. 4, the process of the control server to package the BMC upgrade firmware in the image file includes:
step 1: acquiring BMC upgrading firmware and upgrading commands;
here, it is assumed that the BMC upgrade firmware may include 3 BMC upgrade firmware, a BMC upgrade firmware a, a BMC upgrade firmware b, and a BMC upgrade firmware c. The upgrade command may be a command capable of operating the BMC to upgrade firmware, such as a command to acquire, delete, run, copy, and the like.
Step 2: packaging the BMC upgrading firmware and the upgrading command in a mirror image file;
here, a correspondence between the BMC upgrade firmware and the upgrade command may be established, and the BMC upgrade firmware and the upgrade command may be encapsulated in an image file based on the established correspondence.
Table 1 shows the correspondence between the BMC upgrade firmware and the upgrade command, and as shown in table 1, the upgrade command corresponding to the BMC upgrade firmware a is copied and run; the upgrading command corresponding to the BMC upgrading firmware b is copying and running; and the upgrading command corresponding to the BMC upgrading firmware c is copying and running. The copying may refer to executing a copying operation on the corresponding BMC upgrade firmware after the target server runs the operating system of the BMC in the memory using the image file as a medium, and the running may refer to executing a running operation on the corresponding BMC upgrade firmware after the target server runs the operating system of the BMC in the memory using the image file as a medium.
BMC upgrade firmware Upgrade order
BMC upgrade firmware a Copy, run
BMC upgrade firmware b ReplicationAnd run
BMC upgrade firmware c Copy, run
TABLE 1
Step 302: when at least two target servers start the PXE process and communicate with the PXE process of the control server, the control server sends the image file to the at least two target servers through the PXE process.
Here, after at least two target servers start the PXE process and communicate with the PXE process of the control server, the control server may discover the at least two target servers and send the image file to the at least two target servers through the PXE process.
Here, after receiving the Initrd image file sent by the control server, the target server may load the Initrd image file in a small memory system of the target server, and store the BMC upgrade firmware encapsulated in the image file in a storage directory specified by the Initrd image file, such as a folder a of a c-disk.
Here, deploying one control server, the control server sends the image file to at least two target servers through the PXE process, has the following advantages:
(1) by utilizing a distributed and parallel upgrading mode, a control server is deployed for a large-scale resource pool formed by at least two target servers, the control server can directly transmit the image file to the at least two target servers through the PXE process after the PXE process is started by the at least two target servers and the control server is communicated with the control server, and compared with the mode that the upgrading time is long and the large-scale parallel upgrading cannot be realized due to the fact that a user carries out BMC upgrading on the target servers through a personal computer on the spot in the related technology, the large-scale resource pool can be upgraded in a batch and parallel mode through the deployed control server, so that labor and time cost are saved, the upgrading time of the BMC by the at least two target servers can be greatly shortened, and the upgrading efficiency is improved.
(2) Because the image file consists of the BMC upgrading firmware and the upgrading command, the bandwidth resource of the control server can be saved in the process that the control server sends the image file to the at least two target servers, so that the transmission speed of the image file is increased, and the upgrading speed of the at least two target servers to the BMC is increased.
(3) The method comprises the steps that a local upgrading mode is adopted, namely, after at least two target servers respectively start PXE processes and communicate with a control server through the respective PXE processes, the control server can find that the at least two target servers are started in batches, and parallelly distribute image files to the at least two target servers, and compared with a mode that corresponding intercommunication parameters need to be configured on uplink network equipment due to the fact that BMC upgrading firmware and upgrading tools are downloaded through extra-deployed TFTP servers in the related technology, the target servers can ask for the image files to the control server by starting the local PXE processes, and do not need to configure extra intercommunication parameters related to the TFTP servers on the uplink network equipment, so that the upgrading process is simplified, and simplification and optimization are carried out on the aspects of equipment and configuration; and an additional remote pulling and upgrading tool is not needed, so that excessive resources of the server are not occupied.
In practical application, the control server can realize batch upgrading for a plurality of target servers, and the models or manufacturers of the plurality of target servers can be the same or different. If the models or manufacturers of the target servers are the same, determining the same BMC upgrading firmware for the target servers, and generating an image file based on the determined BMC upgrading firmware; if the models or manufacturers of the target servers are different, determining a BMC upgrading firmware for each of the target servers to obtain a plurality of BMC upgrading firmware, and generating an image file based on the determined BMC upgrading firmware; after receiving the image files, the target servers can search the BMC upgrading firmware matched with the models of the target servers from the image files.
Based on this, in an embodiment, the obtaining the BMC upgrade firmware and the upgrade command includes:
determining the models respectively corresponding to the at least two target servers;
searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware;
and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
Here, for at least two target servers of the same model, the searched upgrade command may be a unified upgrade command; aiming at least two target servers with different models, the searched upgrading command can be a uniform upgrading command or different upgrading commands.
In an embodiment, the encapsulating the BMC upgrade firmware and the upgrade command in an image file includes: and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
For example, for three target servers, namely, a target server a, a target server b and a target server c, assuming that the models of the target server a, the target server b and the target server c are different, the searched BMC upgrade firmware corresponding to the target server a is BMC upgrade firmware a, the searched BMC upgrade firmware corresponding to the target server b is BMC upgrade firmware b, the searched BMC upgrade firmware corresponding to the target server c is BMC upgrade firmware c, and the searched upgrade command is a uniform upgrade command.
In one example, as shown in fig. 5, a process is described for a control server to encapsulate BMC upgrade firmware in an image file, including:
step 501: the control server determines the models respectively corresponding to the at least two target servers;
here, before step 501, a control server, which may also be referred to as a PXE server, may be deployed, and after the PXE server is built, the PXE server may be used as a fixed source device for upgrading the BMC of the target server. If the BMC firmware of at least two target servers needs to be upgraded, the PXE server can be used for upgrading at any time. If the need for upgrading the BMC firmware of at least two target servers does not exist, the PXE server can be unloaded after the target servers finish one-time upgrading of the BMC, and other functions can be realized by using the PXE server.
Step 502: searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware; and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
Here, table 2 shows the correspondence between the server model, the BMC upgrade firmware, and the upgrade command, and as shown in table 2, assuming that the models of the target servers are the same, that is, the target servers all belong to the vendor a, the BMC upgrade firmware b, the BMC upgrade firmware c, and the corresponding upgrade command are obtained. Assuming that the types of the target servers are different, that is, a part of the target servers belongs to a manufacturer a and a part of the target servers belongs to a manufacturer B, obtaining a BMC upgrade firmware a, a BMC upgrade firmware B, a BMC upgrade firmware c, a BMC upgrade firmware e, a BMC upgrade firmware f, and corresponding upgrade commands.
Model of Server BMC upgrade firmware Upgrade order
Manufacturer A BMC upgrade firmware a, b, c Copy, run, delete
Manufacturer B BMC upgrade firmware e, f Copy, run, delete
Manufacturer C BMC upgrade firmware g, p, r Copy, run, delete
TABLE 2
Step 503: and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
Here, assuming that the models of the plurality of target servers are the same, that is, the plurality of target servers all belong to the manufacturer a, the BMC upgrade firmware b, the BMC upgrade firmware c, and the corresponding upgrade commands are acquired, and the acquired BMC upgrade firmware and the upgrade commands are packaged in one image file.
Here, assuming that the models of the plurality of target servers are different, that is, a part of the plurality of target servers belongs to a manufacturer a and a part of the plurality of target servers belongs to a manufacturer B, obtaining a BMC upgrade firmware a, a BMC upgrade firmware B, a BMC upgrade firmware c and a corresponding upgrade command, and packaging the BMC upgrade firmware and the upgrade command corresponding to the manufacturer a in a mirror image file; and acquiring the BMC upgrading firmware e, the BMC upgrading firmware f and a corresponding upgrading command, and packaging the BMC upgrading firmware and the upgrading command of a corresponding manufacturer B into another image file. After the control server sends the two image files to the plurality of target servers, each server in the plurality of target servers can select an image file matched with the model of the server from the received two image files.
Here, the control server encapsulates the BMC upgrade firmware in an image file according to the model of the target server, which has the following advantages:
the BMC upgrading method and the system have the advantages that the corresponding BMC upgrading firmware can be matched and packaged into the image file aiming at the target servers of different models to support BMC upgrading of the target servers, namely, the control server can package the BMC upgrading firmware according to the models of the target servers to obtain the corresponding image file, the target servers can select the BMC upgrading firmware matched with the models of the target servers from the received image files according to the models of the target servers, BMC upgrading of the target servers of different manufacturers is achieved, the application range is wider, and higher usability and reliability are achieved.
In practical application, in the process that the control server upgrades the BMCs of the target servers, if the BMCs of the target servers are upgraded frequently, the control server may send a preset program to the target servers to avoid the occurrence of the situation that the target servers still upgrade the BMCs by using the image files under the condition that the version of the BMC upgrade of the target servers is the latest version, where the preset program may determine whether the version of the BMC upgrade firmware delivered to the target servers is the same as the preset version in the current target servers, and if so, the BMCs are not upgraded; otherwise, upgrading the BMC by using the received image file.
Based on this, in an embodiment, the sending the image file to at least two target servers through the PXE process includes:
carrying a preset program in a mirror image file; the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file;
and sending the image file to at least two target servers through the PXE process.
Here, the preset version information may refer to version information of the current BMC upgrade firmware in the target server.
In one example, as shown in fig. 6, a process is described for a control server to send an image file to at least two target servers, including:
step 601: and the control server encapsulates the BMC upgrade firmware in the image file.
Here, before step 601, a control server, which may also be referred to as a PXE server, may be deployed, and after the PXE server is built, the PXE server may be used as a fixed source device for upgrading the BMC of the target server. If the BMC firmware of at least two target servers needs to be upgraded, the PXE server can be used for upgrading at any time. If the need for upgrading the BMC firmware of at least two target servers does not exist, the PXE server can be unloaded after the target servers finish one-time upgrading of the BMC, and other functions can be realized by using the PXE server.
Step 602: carrying a preset program in a mirror image file;
the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
Here, the preset program needs to be set to start up automatically, that is, after the target server is started up, if an image file carrying the preset program and sent by the control server is received, the preset program can be automatically executed without user involvement.
Step 603: and sending the image file to at least two target servers through the PXE process.
Here, the control server carries the preset program in the image file and sends the preset program to the at least two target servers, and the method has the following advantages:
after the control server carries the preset program in the image file and sends the image file to at least two target servers, the target servers can execute the preset program to judge whether the version of the BMC upgrading firmware sent to the target servers by the control server is the same as the preset version in the current target servers, and if the version of the BMC upgrading firmware is the same as the preset version in the current target servers, the BMC is not upgraded; otherwise, upgrading the BMC can avoid the situation that the resource consumption is overlarge because the target server still executes the image file when the BMC upgrading version of the target server is the latest version.
By adopting the technical scheme of the embodiment of the invention, one control server is deployed, and the control server directly sends the image file to at least two target servers through a PXE process; the image file is used for each target server of the at least two target servers to upgrade the BMC, and compared with a mode that in the related technology, when a user upgrades the BMC of the target servers through one personal computer on the spot, the upgrading time is longer, and the small-batch upgrading is realized, the batch parallel upgrading aiming at a large-scale target server can be realized, the upgrading time can be shortened, and the upgrading efficiency is improved.
Correspondingly, an embodiment of the present invention provides an upgrade method, which is applied to a target server, and as shown in fig. 7, the method includes:
step 701: receiving a mirror image file sent by a control server through a PXE process; the mirror image file is packaged with BMC upgrading firmware;
step 702: and upgrading the BMC by using the mirror image file.
Here, in step 701, the target server is used as a device to be upgraded, and after a large-scale resource pool, that is, a plurality of target servers are started in batch and start the PXE process, the control server can establish communication with the plurality of target servers through its own PXE process, and send an image file encapsulating the BMC upgrade firmware to the plurality of target servers in parallel.
In practical application, in order to avoid the situation that the target server still utilizes the image file to upgrade the BMC when the upgrading version of the BMC of the target server is the latest version, the control server can send a preset program to the target server, the preset program can judge whether the version of the BMC upgrading firmware sent to the target server is the same as the preset version in the current target server, and if the version of the BMC upgrading firmware sent to the target server is the same as the preset version in the current target server, the BMC is not upgraded; otherwise, upgrading the BMC by using the received image file.
Based on this, in one embodiment, the image file includes a preset program; before the BMC is upgraded by using the image file, the method further comprises:
executing the preset program to realize that:
comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result;
and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
In practical application, when the version of the BMC upgrading firmware issued to the target server is judged to be different from the preset version in the current target server through the preset program, the BMC is upgraded by using the received image file.
Based on this, in an embodiment, the image file includes a BMC upgrade firmware and an upgrade command; the upgrading of the BMC by using the image file comprises the following steps:
the modem of the target server sends the BMC upgrading firmware and the upgrading command contained in the image file to the BMC of the target server through a redfish interface;
and upgrading the BMC by using the upgrading command and the BMC upgrading firmware of the target server.
Here, the Redfish interface may be a standard interface of the BMC of the target server.
Here, the BMC of the target server may send a post request to the modem of the target server through a Redfish interface to request to acquire the image file, and upgrade the BMC using the BMC upgrade firmware and the upgrade command encapsulated by the image file. The main content of the post request can be mainly 'https:// device _ ip/redfish/', and the header and the message body of the post request are not added.
In an example, as shown in fig. 8, a process of upgrading a BMC by a target server using the image file is described, including:
step 801: the target server receives the mirror image file sent by the control server through the PXE process;
the image file is packaged with BMC upgrading firmware and upgrading commands; the image file also comprises a preset program.
Step 802: the target server executes a preset program contained in the mirror image file; when the version of the received BMC upgrade firmware is judged to be different from the preset version in the current target server through the preset program, executing step 803;
step 803: the modem of the target server sends the BMC upgrading firmware and the upgrading command contained in the image file to the BMC of the target server through a redfish interface; and upgrading the BMC by using the upgrading command and the BMC upgrading firmware of the target server.
After upgrading the BMC, displaying a return value in a browser of the target server through redfish, and judging whether the BMC upgrading is successful according to the return value, for example, when the return value is 0, determining that the BMC upgrading is successful; otherwise, the BMC upgrading is unsuccessful.
Here, the target server upgrades the BMC by using the image file through the redfish interface, and has the following advantages:
upgrading the BMC can be realized by using a simple Command Line (CLI), namely, the modem of the target server sends the BMC upgrading firmware and the upgrading Command contained in the image file to the BMC of the target server through a redfish Interface; compared with the mode of upgrading the BMC through an additional upgrading tool in the related technology, the method has the advantages that the BMC of the target server is upgraded simply and rapidly, whether the BMC is upgraded successfully can be judged according to the return value displayed by redfish in the browser of the target server, and a user can conveniently look up the upgrading result.
By adopting the technical scheme of the embodiment of the invention, the target server upgrades the BMC in a local upgrading mode, namely, the target server is used as equipment to be upgraded, when a large-batch and large-scale resource pool, namely a plurality of target servers, is started in batch and starts a PXE process, the control server can establish communication with the plurality of target servers through the PXE process of the control server and parallelly issue the image file packaged with BMC upgrading firmware to the plurality of target servers, and the target servers upgrade the BMC by using the image file after receiving the image file.
In order to implement the upgrading method according to the embodiment of the present invention, an upgrading apparatus is further provided in the embodiment of the present invention, and fig. 9 is a schematic structural diagram of the upgrading apparatus according to the embodiment of the present invention; as shown in fig. 9, the apparatus includes:
the first processing unit 91 is configured to encapsulate a BMC upgrade firmware of the BMC in an image file;
a sending unit 92, configured to send the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
In an embodiment, the first processing unit 91 is specifically configured to:
acquiring BMC upgrading firmware and upgrading commands;
and packaging the BMC upgrading firmware and the upgrading command in an image file.
In an embodiment, the first processing unit 91 is specifically configured to:
determining the models respectively corresponding to the at least two target servers;
searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware;
and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
In an embodiment, the first processing unit 91 is specifically configured to:
and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
In an embodiment, the sending unit 92 is specifically configured to:
carrying a preset program in a mirror image file; the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file;
and sending the image file to at least two target servers through the PXE process.
In practical application, the sending unit 92 may be implemented by a communication interface in the upgrading device; the first processing unit 91 is implemented by a processor in the upgrade apparatus in combination with a communication interface.
It should be noted that: in the upgrade apparatus provided in the above embodiment, only the division of the program modules is exemplified when upgrading, and in practical applications, the above processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the above-described processing. In addition, the upgrading device and the upgrading method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
In order to implement the upgrading method according to the embodiment of the present invention, an upgrading apparatus is further provided in the embodiment of the present invention, and fig. 10 is a schematic structural diagram of the upgrading apparatus according to the embodiment of the present invention; as shown in fig. 10, the apparatus includes:
a receiving unit 101, configured to receive, through the PXE process, an image file sent by the control server; the mirror image file is packaged with BMC upgrading firmware;
and the second processing unit 102 is configured to upgrade the BMC by using the image file.
In one embodiment, the image file comprises a preset program; the device further comprises:
an execution unit configured to execute the preset program to implement:
comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result;
and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
In one embodiment, the image file comprises a BMC upgrade firmware and an upgrade command; the second processing unit 102 is specifically configured to:
the modem of the target server sends the BMC upgrading firmware and the upgrading command to the BMC of the target server through a redfish interface;
and upgrading the BMC by using the upgrading command and the BMC upgrading firmware of the target server.
In practical application, the receiving unit 101 may be implemented by a communication interface in an upgrading device; the second processing unit 102 and the execution unit are implemented by a processor in the upgrading device in combination with a communication interface.
It should be noted that: in the upgrade apparatus provided in the above embodiment, only the division of the program modules is exemplified when upgrading, and in practical applications, the above processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the above-described processing. In addition, the upgrading device and the upgrading method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
To implement the method according to the embodiment of the present invention, an upgrade system according to the embodiment of the present invention is provided, as shown in fig. 11, including:
the control server 111 is used for packaging the BMC upgrading firmware in the mirror image file; and sending the image file to at least two target servers through the PXE process.
The target server 112 is used for receiving the image file sent by the control server through the PXE process; and upgrading the BMC by using the mirror image file.
FIG. 12 is a schematic diagram of interaction between a control server and a target server. As shown in fig. 12, the control server encapsulates the BMC upgrade firmware in an image file; sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC. The target server receives the image file sent by the control server through the PXE process, the image file is used as a medium to run an operating system, and after the operating system is run, BMC upgrading firmware and upgrading commands carried by the image file are used for upgrading BMC.
It should be noted that: the specific processing procedures of the control server 111 and the target server 112 have been described in detail above, and are not described in detail here.
An embodiment of the present invention further provides a control server, as shown in fig. 13, including:
a first communication interface 131 capable of performing information interaction with other devices;
the first processor 132 is connected to the first communication interface 131, and configured to execute a method provided by one or more technical solutions of the foregoing smart device side when running a computer program. And the computer program is stored on the first memory 133.
It should be noted that: the specific processing procedures of the first processor 132 and the first communication interface 131 are detailed in the method embodiment, and are not described herein again.
Of course, in practice, the various components in the control server 130 are coupled together by a bus system 134. It will be appreciated that the bus system 134 is used to enable communications among the components. The bus system 134 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 134 in FIG. 13.
The first memory 133 in the embodiment of the present application is used to store various types of data to support the operation of the network device 130. Examples of such data include: any computer program for operating on the control server 130.
The method disclosed in the embodiment of the present application may be applied to the first processor 132, or implemented by the first processor 132. The first processor 132 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the first processor 132. The first Processor 132 may be a general purpose Processor, a Digital data Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The first processor 132 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the first memory 133, and the first processor 132 reads the information in the first memory 133 and, in conjunction with its hardware, performs the steps of the foregoing method.
An embodiment of the present invention further provides a target server, as shown in fig. 14, including:
a second communication interface 141 capable of performing information interaction with other devices;
the second processor 142 is connected to the second communication interface 141, and configured to execute a method provided by one or more technical solutions of the foregoing smart device side when running a computer program. And the computer program is stored on the second memory 143.
It should be noted that: the specific processing procedures of the second processor 142 and the second communication interface 141 are detailed in the method embodiment, and are not described herein again.
Of course, in practice, the various components in the control server 140 are coupled together by a bus system 144. It will be appreciated that the bus system 144 is used to enable communications among the components. The bus system 144 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 144 in fig. 14.
The second memory 143 in the embodiment of the present application is used to store various types of data to support the operation of the network device 140. Examples of such data include: any computer program for operating on the control server 140.
The method disclosed in the embodiment of the present application may be applied to the second processor 142, or implemented by the second processor 142. The second processor 142 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by an integrated logic circuit of hardware or an instruction in the form of software in the second processor 142. The second Processor 142 may be a general purpose Processor, a Digital data Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The second processor 142 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the second memory 143, and the second processor 142 reads the information in the second memory 143, and completes the steps of the foregoing method in combination with its hardware.
In an exemplary embodiment, the control server 130 and the target server 140 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors (gpus), controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
It is understood that the memories (the first memory 103 and the second memory 143) of the embodiments of the present application may be volatile memories or nonvolatile memories, and may include both volatile and nonvolatile memories. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present invention further provides a storage medium, specifically a computer-readable storage medium, for example, a first memory 133 storing a computer program, which can be executed by the first processor 132 of the control server 130 to complete the steps of the control server side method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (15)

1. An upgrading method applied to a control server, the method comprising:
packaging a BMC upgrade firmware of the substrate management controller in an image file;
sending the image file to at least two target servers through a pre-starting execution environment PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
2. The method of claim 1, wherein encapsulating the BMC upgrade firmware in an image file comprises:
acquiring BMC upgrading firmware and upgrading commands;
and packaging the BMC upgrading firmware and the upgrading command in an image file.
3. The method of claim 2, wherein obtaining the BMC upgrade firmware and upgrade commands comprises:
determining the models respectively corresponding to the at least two target servers;
searching the BMC upgrading firmware corresponding to the determined model from the corresponding relation between the server model and the BMC upgrading firmware;
and searching the upgrading command corresponding to the determined model from the corresponding relation between the server model and the upgrading command.
4. The method of claim 3, wherein encapsulating the BMC upgrade firmware and upgrade commands in an image file comprises:
and packaging the BMC upgrading firmware and the upgrading command corresponding to the determined model in an image file.
5. The method as claimed in claim 1, wherein the sending the image file to at least two target servers through the PXE process includes:
carrying a preset program in a mirror image file; the preset program is used for comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result; when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file;
and sending the image file to at least two target servers through the PXE process.
6. An upgrading method applied to a target server, the method comprising:
receiving a mirror image file sent by a control server through a PXE process; the mirror image file is packaged with BMC upgrading firmware;
and upgrading the BMC by using the mirror image file.
7. The method of claim 6, wherein the image file comprises a predetermined program; before the BMC is upgraded by using the image file, the method further comprises:
executing the preset program to realize that:
comparing the version information of the BMC upgrading firmware contained in the image file with preset version information to obtain a comparison result;
and when the comparison result represents that the version information of the BMC upgrading firmware is different from the preset version information, upgrading the BMC by using the image file.
8. The method of claim 6 or 7, wherein the image file contains BMC upgrade firmware, upgrade commands; the upgrading of the BMC by using the image file comprises the following steps:
the modem of the target server sends the BMC upgrading firmware and the upgrading command contained in the image file to the BMC of the target server through a redfish interface;
and the BMC of the target server updates the BMC by using the updating command and the updating firmware.
9. An upgrade apparatus, comprising:
the first processing unit is used for packaging the BMC upgrading firmware in the mirror image file;
the sending unit is used for sending the image file to at least two target servers through the PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
10. An upgrade apparatus, comprising:
the receiving unit is used for receiving the mirror image file sent by the control server through the PXE process; the mirror image file is packaged with BMC upgrading firmware;
and the second processing unit is used for upgrading the BMC by using the mirror image file.
11. A control server, comprising:
the first processor is used for packaging the BMC upgrading firmware in the mirror image file;
the first communication interface is used for sending the image file to at least two target servers through a PXE process; the image file is used for each target server in the at least two target servers to upgrade the BMC.
12. A target server, comprising:
the second communication interface is used for receiving the mirror image file sent by the control server through the PXE process; the mirror image file is packaged with BMC upgrading firmware;
and the second processor is used for upgrading the BMC by using the mirror image file.
13. A control server comprising a first processor and a first memory for storing a computer program capable of running on the processor,
wherein the first processor is adapted to perform the steps of the method of any one of claims 1 to 5 when running the computer program.
14. A target server comprising a second processor and a second memory for storing a computer program capable of running on the processor,
wherein the second processor is adapted to perform the steps of the method of any of claims 6 to 8 when running the computer program.
15. A storage medium having stored thereon a computer program for performing the steps of the method of any one of claims 1 to 5 or for performing the steps of the method of any one of claims 6 to 8 when executed by a processor.
CN202010525789.8A 2020-06-10 2020-06-10 Upgrading method, device, equipment and storage medium Pending CN113778474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010525789.8A CN113778474A (en) 2020-06-10 2020-06-10 Upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010525789.8A CN113778474A (en) 2020-06-10 2020-06-10 Upgrading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113778474A true CN113778474A (en) 2021-12-10

Family

ID=78834859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010525789.8A Pending CN113778474A (en) 2020-06-10 2020-06-10 Upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113778474A (en)

Similar Documents

Publication Publication Date Title
US7200845B2 (en) System and method for high availability firmware load
US10162646B2 (en) System for programmably configuring a motherboard
CN113434202B (en) Device starting method and device, electronic device and computer storage medium
CN106201563A (en) The method and apparatus that the collocation method of start-up parameter and device, mainboard start
JP6089065B2 (en) Update method and computer system
US7293168B2 (en) System and method for initially configuring and booting a device using a device identifier
US20030106052A1 (en) System and method for high availability firmware load
CN113553081A (en) FPGA loading method based on ZYNQ chip
JP2008523519A (en) Method for initializing an electronic system containing multiple plug-ins
CN112162794B (en) Single board starting method, device, single board and network equipment
WO2023098052A1 (en) Server operation and maintenance method and apparatus, and device and storage medium
CN111324418A (en) OpenStack-based virtual machine template generation method and device
JP2019120974A (en) Computer system, baseboard management controller, OS installation method, and program
CN114115917A (en) Operating system installation method and device
CN117453240A (en) RAID configuration method, device, equipment and medium of bare metal server
WO2024007800A1 (en) Cloud terminal system upgrade method and apparatus, and cloud terminal and storage medium
CN112506539A (en) Firmware updating method and device, electronic equipment and storage medium
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium
CN116954752A (en) Differentiated system configuration and loading method and device and computer equipment
CN113778474A (en) Upgrading method, device, equipment and storage medium
CN114115955B (en) Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box
CN112152832B (en) Management object processing method and device, related equipment and storage medium
CN114442765A (en) Fan control method for computer equipment, baseboard management controller and storage medium
CN113923240A (en) System and method for dynamically upgrading equipment interface protocol in gateway of Internet of things by using local OTA method
JP2021111115A (en) Communication control 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