CN106980493A - Firmware management method and apparatus - Google Patents

Firmware management method and apparatus Download PDF

Info

Publication number
CN106980493A
CN106980493A CN201610031467.1A CN201610031467A CN106980493A CN 106980493 A CN106980493 A CN 106980493A CN 201610031467 A CN201610031467 A CN 201610031467A CN 106980493 A CN106980493 A CN 106980493A
Authority
CN
China
Prior art keywords
firmware
management
main frame
image file
starting mode
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.)
Granted
Application number
CN201610031467.1A
Other languages
Chinese (zh)
Other versions
CN106980493B (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610031467.1A priority Critical patent/CN106980493B/en
Priority to PCT/CN2016/103506 priority patent/WO2017124799A1/en
Publication of CN106980493A publication Critical patent/CN106980493A/en
Application granted granted Critical
Publication of CN106980493B publication Critical patent/CN106980493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of firmware management method, this method includes:The firmware management image file being pre-configured with is invented virtual activation system by baseboard management controller, is articulated on main frame;The Starting mode configuration of the main frame is changed, the amended host-initiated mode configures associated with the virtual activation system;Control the main frame to be configured according to the amended Starting mode, start from the virtual activation system, load the firmware management image file and carry out firmware management.The invention also discloses a kind of firmware management device.The function of the perfect server firmware management of the present invention, simplifies management process, realizes the automatic management to server firmware, the maintainability of the server firmware of lifting.

Description

Firmware management method and apparatus
Technical field
The present invention relates to firmware management technical field, more particularly to a kind of firmware management method and apparatus.
Background technology
The equipment that server is to provide the service of calculating, mainly by central processing unit (CPU, Central Processing Unit), storage device, internal memory, I/O (Input/Output, input/output) equipment etc. it is hard Part equipment is constituted.In hardware device, firmware serves as the software of the most basic bottom work of a system. CPU is the arithmetic core and control core of a computer, and internal memory is used to deposit sequential operation data.CPU Normally to be used without relying on specific firmware with internal memory.And storage device, network interface card and video card etc. are inputted Output equipment generally requires the specific firmware of sintering, such as video card firmware, network interface card firmware, SAS (Serial Attached SCSI, serial SCSI technologies) controller firmware, could normally it run.
For the management of firmware, mainly have firmware sintering, firmware update, the backup of firmware configuration data and Recovery of accessory configuration data etc..At present, server firmware management mainly passes through two ways, Yi Zhongshi Software sintering based on OS (Operation System, operating system), one kind is special cable sintering.
Wherein, based on OS software sintering, be on the server installation operation system and sintering software, lead to The configuration data for cross and upload firmware file, inputting firmware, is sintered or more using sintering software to firmware Newly.When there is multiple firmwares to need to sinter or update, it is necessary to repeat above-mentioned flow for each firmware.
Special cable is sintered, and is that firmware file is uploaded into debugging machine, and debugging machine is connected using special cable With the device and debugging machine being sintered, to being sintered after server power-up, firmware is run on debugging machine and is burnt Software is tied, the configuration data of firmware is inputted, the firmware on veneer is sintered or updated.It is multiple when having , it is necessary to repeat above-mentioned flow for each firmware when firmware needs sintering or renewal.
Because software sintering and special cable sintering flow based on OS are complicated, artificial operation part is more, It cannot be guaranteed that firmware sintering or the accuracy updated, are unfavorable for the mass production of server veneer.Especially When server firmware is updated, execute-in-place feasibility is not high, increases if returning cost if factory is safeguarded Plus, cause that maintenance difficulties are big, maintainability is poor.
In addition, when server change, but be replaced the firmware configuration data of equipment it is constant when, it is necessary to pass through The interface in band or out of band of server realizes the backup and recovery of backup firmware configuration data, and due to current Most equipment do not support acquisition and rewriting with external tapping, cause the complexity of design of hardware and software, can only realize The firmware configuration data management of equipment component.
As can be seen here, existing server firmware management process is complicated, and function imperfection manually participates in journey Degree is high, and maintainability is poor.
The content of the invention
It is a primary object of the present invention to provide a kind of firmware management method and apparatus, it is intended to solve firmware pipe Manage function imperfection, the technical problem of maintainability difference.
To achieve the above object, the present invention provides a kind of firmware management method, the firmware management method bag Include following steps:
The firmware management image file being pre-configured with is invented virtual activation system by baseboard management controller, It is articulated on main frame;
Change the main frame Starting mode configuration, the amended host-initiated mode configure with it is described Virtual activation system is associated;
Control the main frame to be configured according to the amended Starting mode, opened from the virtual activation system It is dynamic, load the firmware management image file and carry out firmware management.
It is preferred that, the Starting mode configuration of the modification main frame, the amended host-initiated side Formula, which configures the step associated with the virtual activation system, to be included:
It is to obtain Starting mode from the baseboard management controller by the Starting mode configuration modification of the main frame And started according to the Starting mode of acquisition, the Starting mode of the acquisition is to be opened from the virtual activation system It is dynamic.
It is preferred that, the control main frame is configured according to the amended Starting mode, from the void Intend activation system to start, loading the step of firmware management image file carries out firmware management includes:
Control the main frame to restart, managed and controlled from the substrate according to the amended Starting mode configuration Device processed obtains Starting mode;
Control the main frame according to the Starting mode of the acquisition, start from the virtual activation system, plus Carry the firmware management image file;
The main frame is guided to carry out firmware management.
It is preferred that, the firmware management image file includes firmware configuration data and gathers image file, described The step of guiding the main frame to carry out firmware management includes:
Image file is gathered by the firmware configuration data and scans each firmware of main frame, is gathered described solid The configuration data of part;
The firmware configuration data is stored, is recovered for the firmware condition.
It is preferred that, the firmware management image file includes firmware configuration data and recovers image file, described The step of guiding the main frame to carry out firmware management also includes:
Image file is recovered by the firmware configuration data, corresponding firmware restoration configuration data is controlled;
Record and store the firmware configuration data restoration result.
It is preferred that, the firmware management image file being pre-configured with is invented void by the baseboard management controller Intend activation system, be articulated to before the step on main frame, in addition to:
The baseboard management controller configures the firmware management image file in baseboard management controller sheet Ground or remote debugging machine, the baseboard management controller communicate with the remote debugging machine, transfer described remote Journey adjusts the firmware management image file on test-run a machine.
It is preferred that, the step of Starting mode of the modification main frame is configured also includes:
The Starting mode configuration of the main frame is changed, original startup configuration data of the main frame is backed up;
The control main frame starts from the virtual activation system, after the step of carrying out firmware management, Also include:
According to original startup configuration data, the host reset is controlled.
In addition, to achieve the above object, the present invention also provides a kind of firmware management device, the firmware pipe Reason device includes:
Virtual module, for the firmware management being pre-configured with image file to be invented into virtual activation system, It is articulated on main frame;
Modified module, the Starting mode for changing the main frame is configured, the amended host-initiated Mode configures associated with the virtual activation system;
Management module, for controlling the main frame to be configured according to the amended Starting mode, from described Virtual activation system starts, and loads the firmware management image file and carries out firmware management.
It is preferred that, the modified module is additionally operable to,
It is to obtain Starting mode from the baseboard management controller by the Starting mode configuration modification of the main frame And started according to the Starting mode of acquisition, the Starting mode of the acquisition is to be opened from the virtual activation system It is dynamic;
The management module includes:
Restart unit, for controlling the main frame to restart, according to the amended Starting mode configuration from The baseboard management controller obtains Starting mode;
Dispensing unit, for controlling the main frame according to the Starting mode of the acquisition, is virtually opened from described Dynamic system starts, and loads the firmware management image file;
Administrative unit, for guiding the main frame to carry out firmware management.
It is preferred that, the modified module is additionally operable to,
The Starting mode configuration of the main frame is changed, original startup configuration data of the main frame is backed up;
The firmware management device also includes:
Reseting module, for according to original startup configuration data, controlling the host reset.
A kind of firmware management method and apparatus that the embodiment of the present invention is proposed, will by baseboard management controller The firmware management image file being pre-configured with invents virtual activation system, is articulated on main frame;Modification institute The Starting mode configuration of main frame is stated, the amended host-initiated mode is configured is with virtual start System is associated;The main frame is controlled to be configured according to the amended Starting mode, from the virtual startup System starts, and loads the firmware management image file and carries out firmware management.The embodiment of the present invention is perfect The function of server firmware management, simplifies management process, realizes the automation pipe to server firmware Reason, the maintainability of the server firmware of lifting.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of firmware management method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of firmware management method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of firmware management method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of firmware management method fourth embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the embodiment of firmware management method the 5th of the present invention;
Fig. 6 is the schematic flow sheet of firmware management method sixth embodiment of the present invention;
Fig. 7 is a kind of firmware management schematic diagram of firmware management embodiment of the method for the present invention;
Fig. 8 is a kind of firmware management schematic diagram of firmware management embodiment of the method for the present invention;
Fig. 9 is the schematic flow sheet of the embodiment of firmware management method the 7th of the present invention;
Figure 10 is firmware management device first embodiment of the present invention, the high-level schematic functional block diagram of second embodiment;
Figure 11 is the high-level schematic functional block diagram of firmware management device 3rd embodiment of the present invention;
Figure 12 is the high-level schematic functional block diagram of firmware management device fourth embodiment of the present invention;
Figure 13 is the high-level schematic functional block diagram of the embodiment of firmware management device the 5th of the present invention;
Figure 14 is the high-level schematic functional block diagram of firmware management device sixth embodiment of the present invention;
Figure 15 is the high-level schematic functional block diagram of the embodiment of firmware management device the 7th of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be done further referring to the drawings in conjunction with the embodiments Explanation.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to The fixed present invention.
The primary solutions of the embodiment of the present invention are:Baseboard management controller is by the firmware pipe being pre-configured with Reason image file invents virtual activation system, is articulated on main frame;Change the Starting mode of the main frame Configuration, the amended host-initiated mode configures associated with the virtual activation system;Control institute State main frame to be configured according to the amended Starting mode, start from the virtual activation system, load institute State firmware management image file and carry out firmware management.
When carrying out firmware management due to prior art, firmware sintering and more new technological process are complicated, manually participate in journey Degree is high, automaticity is low, and maintainability is poor, and can not realize backup and the pipe of whole firmware configuration datas Reason, management function imperfection.
The present invention provides a solution, simplifies the sintering and more new technological process of firmware, and reduction is artificial to be participated in Degree, realizes the backup and management of whole firmware configuration datas, perfect firmware management function.
Reference picture 1, firmware management method first embodiment of the present invention provides a kind of firmware management method, described Firmware management method includes:
The firmware management image file being pre-configured with is invented and virtually opened by step S10, baseboard management controller Dynamic system, is articulated on main frame.
The embodiment of the present invention is mainly used in the firmware management of server veneer, but is not limited to server list The firmware management of plate, can also be applied to the firmware management of other equipment.
In the present embodiment, server veneer uses PCIE buses and interface standard, and server CPU leads to Cross each part of PCIE bus connection servers, such as PCIE bridges, PCH (Platform Controller Hub, South bridge), network interface card, FC (Fibre Controller, optical fiber controller), SAS (Serial Attached SCSI, Serial SCSI technologies) controller and video card etc..The present embodiment can to PCIE bridges, PCH, network interface card, The firmwares such as FC, SAS controller and video card are managed.
The firmware of server veneer management can be divided into two classes, and a class is and server host hardware device phase The firmware of pass, such firmware is only related to the type of hardware device, is usually fixed, such as network interface card, The firmware of the equipment such as SAS controller and video card, such firmware is referred to as firmware in embodiments of the present invention.Separately One class firmware is not bundled with server host hardware device, can be changed, the MAC of such as network interface card WWN (the World Wide of location (Media Access Control, physical address), FC and SAS controller Name, the unique name in the whole world) address, such firmware is referred to as firmware configuration data in embodiments of the present invention.
Sintering, renewal, the firmware that firmware management alleged by the embodiment of the present invention includes but is not limited to firmware are matched somebody with somebody Put the backup and recovery of data.
Specifically, as a kind of embodiment, the present embodiment uses baseboard management controller (Baseboard Management Controller, BMC) carry out server firmware sintering management.
Baseboard management controller is arranged on server master board, uses IPMI (Intelligent Platform Management Interface, IPMI), support local and remote diagnosis, console branch Hold, configuration management, the function such as hardware management and failture evacuation.
Baseboard management controller is set by USB interface as USB device such as USB CD-ROM drives or USB blocks It is standby, it is connected on server host.Server can by SMI (System Management Interface, Management interface) bus, send IPMI orders to baseboard management controller, carry out message, instruction Transmission is with interacting.
The firmware management image file being pre-configured with is integrated OS (Operation System, operating system), Such as DOS (Disk Operating System, disc operating system), server host load operating is met, Realize firmware management.
Firmware management image file includes:Operating system, firmware management control software, firmware vehicle software With server firmware etc..Wherein, operating system is all softwares, instrument in firmware management image file Running environment;Firmware management control software is used to control firmware to sinter flow, firmware configuration data collection stream Journey and the communication with baseboard management controller;Firmware vehicle software is used to access specific firmware device, Recover work including firmware sintering tool software, firmware configuration data sampling instrument software and firmware configuration data Has software etc.;Server firmware, including need to be sintered to the firmware software of specific equipment, clothes can be included It is engaged in all firmwares of device veneer, can also configuration section firmware according to actual needs.Firmware management mirror image text Part can also include firmware configuration data file, can be according to actual need for the recovery of firmware configuration data Flexibly to set.
Can being actually needed according to firmware management, flexible configuration firmware management image file.For example, entering When the management of row firmware sintering or firmware more new management, firmware management image file can include needing to be burnt Knot or the firmware updated, firmware sintering tool software, firmware management control software and operating system;Carry out When firmware configuration data is backed up, it is soft that firmware management image file can include firmware configuration data sampling instrument Part, firmware management control software and operating system;When carrying out firmware configuration data recovery, firmware management mirror Recover tool software, firmware configuration data file, firmware management as file can include firmware configuration data Control software and operating system.
After baseboard management controller startup, baseboard management controller is by the firmware management mirror image being pre-configured with File is virtually virtual activation system, is articulated on server host, also i.e. by firmware management mirror image text Part is articulated on server host as virtual activation system.Server host can access virtual startup System.
Step S20, the modification main frame Starting mode configuration, the amended host-initiated mode are matched somebody with somebody Put associated with the virtual activation system.
In baseboard management controller server is articulated to using firmware management image file as virtual activation system After on main frame, specifically, as a kind of embodiment, baseboard management controller modification server host is opened Flowing mode is configured, by the original Starting mode of server host, is changed to obtain startup from substrate management control Mode.
The Starting mode that baseboard management controller configuration server main frame is obtained is to start from virtual activation system, So that server host starts from the virtual activation system of mounting, firmware management is carried out.
Step S30, the control main frame are configured according to the amended Starting mode, are virtually opened from described Dynamic system starts, and loads the firmware management image file and carries out firmware management.
The Starting mode for changing server host in baseboard management controller, which is matched somebody with somebody, to be postponed, specifically, being used as one Embodiment is planted, first, baseboard management controller control server host restarting.
After server host is restarted, according to the Starting mode changed by baseboard management controller to substrate pipe Manage controller and obtain Starting mode.
Then, server host accesses virtual activation system, starts from virtual activation system, loading firmware Manage image file.
After server host loading firmware management image file, firmware management image file by script or The mode of batch processing, makes firmware management control software, firmware vehicle software automatic under operating system environment Operation, according to being actually needed that current firmware is managed, carries out firmware sintering, updates, or firmware configuration number According to backup, recover.
In the present embodiment, baseboard management controller is empty by the firmware management image file that will be pre-configured with Intend into virtual activation system, be articulated on main frame;Then, the Starting mode configuration of modification main frame, modification Host-initiated mode afterwards configures associated with virtual activation system;Control main frame starts according to amended Mode is configured, and is started from virtual activation system, and loading firmware management image file carries out firmware management.This The function of the perfect server firmware management of embodiment, simplifies management process, realizes solid to server The automatic management of part, the maintainability of the server firmware of lifting.
Further, reference picture 2, firmware management method second embodiment of the present invention provides a kind of firmware management Method, based on the embodiment shown in above-mentioned Fig. 1, the step S20 includes:
Step S21, by the Starting mode configuration modification of the main frame be from the baseboard management controller obtain Starting mode simultaneously starts according to the Starting mode of acquisition, and the Starting mode of the acquisition is virtually to be opened from described Dynamic system starts.
In baseboard management controller server is articulated to using firmware management image file as virtual activation system After on main frame, specifically, being used as a kind of embodiment, first, baseboard management controller modification server Host-initiated mode is configured, and the original Starting mode of server host is changed to from baseboard management controller Obtain Starting mode.
Then, the Starting mode of baseboard management controller configuration server main frame is to be opened from virtual activation system It is dynamic, the Starting mode of configuration is returned into server host, server host is accessed virtual activation system.
In the present embodiment, the firmware management image file being pre-configured with can be located at substrate and control manager sheet Ground, can also be located at remote debugging machine, can flexibly set according to actual needs.Substrate control manager can To be communicated by Ethernet with remote debugging machine, the firmware management mirror image text configured on remote debugging machine is read Part.
If it is local that the firmware management image file being pre-configured with is located at baseboard management controller, server host When accessing virtual activation system, then baseboard management controller controls server host from local loading firmware pipe Image file is managed, so that server host starts from virtual activation system.
If the firmware management image file being pre-configured with is located at remote debugging machine, server host accesses virtual During activation system, then the access protocol of server host is resolved to firmware management mirror by baseboard management controller As file reads message, remote debugging machine is transferred to by Ethernet.Remote debugging machine is received after message, The data of firmware management image file are returned into baseboard management controller.Then, baseboard management controller will The data of obtained firmware management image file issue server host by access protocol, control server Main frame loading firmware manages image file, so that server host starts from virtual activation system.
In the present embodiment, the Starting mode configuration modification of main frame is main frame from base by baseboard management controller Board management controller obtains Starting mode, and the host-initiated mode of baseboard management controller configuration is from virtual Activation system starts, and realizes the firmware management image file being pre-configured with and is located at baseboard management controller sheet It when ground or remote debugging machine, can realize that server host starts from virtual activation system, carry out firmware Management.
Further, reference picture 3, firmware management method 3rd embodiment of the present invention provides a kind of firmware management Method, based on the embodiment shown in above-mentioned Fig. 2, the step S30 includes:
Step S31, the control main frame are restarted, and are configured according to the amended Starting mode from the base Board management controller obtains Starting mode.
The Starting mode for changing server host in baseboard management controller, which is matched somebody with somebody, to be postponed, specifically, being used as one Embodiment is planted, first, baseboard management controller control server host restarting.
When server host is restarted, in BIOS, (Basic Input Output System, are inputted defeated substantially Go out system) load phase, server B IOS can be sent out by SMI buses to baseboard management controller Go out IPMI orders, obtain Starting mode.
Then, the server host Starting mode of configuration is returned to server host by baseboard management controller, Server host is set to access virtual activation system.
Step S32, the control main frame are according to the Starting mode of the acquisition, from the virtual activation system Start, load the firmware management image file.
After Starting mode is returned to server host by baseboard management controller, server B IOS accesses empty Intend activation system, started.
Baseboard management controller according to access protocol answering server main frame request, by firmware management mirror image File returns to server host, server host is obtained firmware management image file.
Then, server host obtains the firmware management mirror image being pre-configured with text by baseboard management controller Part, and loaded.
Step S33, the guiding main frame carry out firmware management.
After server host loading firmware management image file, baseboard management controller control firmware management Image file Boot Server main frame carries out firmware management.
By way of script or batch processing, make firmware management control software, firmware vehicle software in operation Automatic running under system environments, according to being actually needed that current firmware is managed, carries out firmware sintering, updates, Or backup, the recovery of firmware configuration data.
Sinter or update by server firmware of application scenarios of the present invention, be illustrated.In this implementation In example, firmware sintering and firmware update sinter by firmware and realized.
When carrying out the sintering of server firmware, firmware management image file can include:Operating system, Firmware management control software, firmware sintering instrument software and server firmware etc..Server firmware is current The server firmware for sintering or updating is needed, can be whole firmwares of current server main frame, can also It is the portion firmware of current server main frame.
After baseboard management controller control server B IOS loading firmwares management image file and startup, pass through Script or the mode of batch processing make firmware management control software, firmware sintering tool software automatic running.
Wherein, firmware management control software sends IPMI orders by SMI buses to baseboard management controller, The configuration file of this firmware sintering is obtained, including this sinters targeted specific firmware, this sintering Firmware configuration data.The configuration file that firmware sintering tool software is sintered according to this firmware of acquisition, Specific firmware is accessed to be sintered.
The firmware configuration data of this sintering, can be pre-configured in baseboard management controller locally, also may be used To configure in remote debugging machine, can flexibly it set according to actual needs.The firmware configuration data of this sintering, Such as MAC Address, it is necessary to be sintered together with network interface card firmware.
While firmware sintering is carried out, firmware management control software is managed to substrate by SMI buses and controlled Device processed sends IPMI orders, and the progress and result for sintering or updating when firmware are fed back to baseboard management controller.
To ensure the safety of firmware sintering or renewal, if baseboard management controller is in default time-out time Any message of firmware management control software feedback is not received, then judges current firmware sintering failure.
The baseboard management controller successful firmware of record sintering and the firmware of sintering failure, if firmware sintering loses Lose, then the reason for the firmware of record sintering failure and sintering failure.
Thus, baseboard management controller obtains the result of current firmware sintering, and stores the result into substrate Management Controller Local or Remote debugs machine, completes this firmware management.
In the present embodiment, baseboard management controller control server host is restarted, and is opened according to amended Flowing mode configuration obtains Starting mode from baseboard management controller;Then, control main frame opening according to acquisition Flowing mode, starts from virtual activation system, loads preset firmware management image file, and guiding main frame enters Row firmware management.This implementation has carried out the mass of server firmware management, automatic business processing, perfect The function of server firmware management, simplifies management process, realizes the automation pipe to server firmware Reason, the maintainability of the server firmware of lifting.
Further, reference picture 4, firmware management method fourth embodiment of the present invention provides a kind of firmware management Method, based on the embodiment shown in above-mentioned Fig. 3, the firmware management image file includes firmware configuration number According to collection image file, the step S33 includes:
Step S331, image file gathered by the firmware configuration data scan each firmware of main frame, Gather the configuration data of the firmware.
If current firmware management is the collection of server firmware configuration data, firmware management image file can With including:Operating system, firmware management control software, firmware configuration data sampling instrument software.
Specifically, being used as a kind of embodiment, baseboard management controller control server B IOS loading firmwares After managing image file and starting, firmware management control software is made by way of script or batch processing, is consolidated Part configuration data sampling instrument software automatic running, Boot Server main frame carries out firmware management.
Wherein, the hardware equipment information of firmware configuration data sampling instrument software scans server host, and And obtain the configuration data of firmware.
Then, firmware management control software is by SMI buses, USB or other passages, by the number of acquisition Baseboard management controller is sent to according to file.
Step S332, the storage firmware configuration data, recover for the firmware condition.
Baseboard management controller obtains the data file that firmware management control software is sent, and obtains server and consolidates The configuration data of part.
Then, baseboard management controller is stored obtained server firmware configuration data, after being used for The recovery of continuous server firmware state.
Wherein, server firmware configuration data is possibly stored to baseboard management controller locally, can also deposit Storage can flexibly be set according to actual needs in remote debugging machine.Back-stage management person can be obtained by Ethernet Server firmware configuration data is taken, and is saved in database, the state for server firmware is recovered.
In the present embodiment, baseboard management controller gathers image file scanning by firmware configuration data and led Each firmware of machine, gathers the configuration data of firmware;Firmware configuration data is stored, is recovered for firmware condition. The present embodiment mass, the collection for having carried out server firmware configuration data of automation, realize service The management of the solid configuration data collection of device, simplifies management process, realizes the automation to server firmware Management, the maintainability of the server firmware of lifting.
Further, reference picture 5, the embodiment of firmware management method the 5th of the present invention provides a kind of firmware management Method, based on the embodiment shown in above-mentioned Fig. 3, the firmware management image file includes firmware configuration number According to image file is recovered, the step S33 also includes:
Step S333, pass through the firmware configuration data and recover image file, control corresponding firmware restoration Configuration data.
If current firmware management is the collection of server firmware configuration data, firmware management image file can With including:Operating system, firmware management control software, firmware configuration data recover tool software and firmware Configuration data file.
Specifically, being used as a kind of embodiment, baseboard management controller control server B IOS loading firmwares After managing image file and starting, firmware management control software is made by way of script or batch processing, is consolidated Part allocation data recovering tool software automatic running, Boot Server main frame carries out firmware management.
Wherein, firmware configuration data, which recovers tool software access, needs to carry out consolidating for firmware configuration data recovery Part, firmware configuration data is returned in specific hardware equipment information.
Firmware management control software is extensive by firmware configuration data by SMI buses, USB or other passages Multiple result is sent to baseboard management controller.
Step S334, record and store the firmware configuration data restoration result.
Baseboard management controller obtains the result for the firmware configuration data recovery that firmware management control software is sent, Record and store the result of this server firmware allocation data recovering.
Wherein, the result of this server firmware allocation data recovering is possibly stored to baseboard management controller Locally, remote debugging machine can also be stored in, can flexibly be set according to actual needs.
In the present embodiment, baseboard management controller recovers image file, control by firmware configuration data Corresponding firmware restoration configuration data;Record and store firmware configuration data restoration result.The present embodiment enters The recovery of firmware configuration data is gone, has realized the management of the solid allocation data recovering of server, simplify pipe Flow is managed, the automatic management to server firmware, the maintainability of the server firmware of lifting is realized.
Further, reference picture 6, firmware management method sixth embodiment of the present invention provides a kind of firmware management Method, based on the embodiment (the present embodiment is by taking Fig. 2 as an example) shown in above-mentioned any one of Fig. 1-5, the step Before rapid S10, in addition to:
The firmware management image file is configured and managed in substrate by step S40, the baseboard management controller Controller Local or Remote debugs machine, and the baseboard management controller communicates with the remote debugging machine, adjusts Take the firmware management image file on the remote debugging machine.
In the present embodiment, the firmware management image file being pre-configured with can be located at substrate and control manager sheet Ground, can also be located at remote debugging machine, can flexibly set according to actual needs.Substrate control manager can To be communicated by Ethernet with remote debugging machine, the firmware management mirror image text configured on remote debugging machine is read Part.
Reference picture 7, if the firmware management image file being pre-configured with is located at substrate, control manager is local, first First, by the remote debugging machine on backstage, namely backstage PC (personal computer, personal computer), Or substrate controls the WEB nets of manager, firmware management image file is uploaded into substrate control manager sheet Ground.Substrate controls manager to be virtually activation system by firmware management image file.
Then, the Starting mode configuration of substrate control manager modification server host, restarts server master Machine, and control server host to start from virtual activation system.
Server B IOS controls manager to send IPMI orders and obtains Starting mode by SMI to substrate, Substrate control manager configuration server main frame starts from virtual activation system, and server host accesses virtual Activation system.
Substrate controls manager according to the request of access protocol answering server main frame, and server host is obtained Firmware management image file simultaneously carrys out Boot Server host-initiated with the integrated OS of this file.
Then, server CPU performs the program specified in firmware management image file automatically, passes through firmware Equipment under the routine access server host specified in management image file, realizes each firmware of server Sintering, renewal, the collection and recovery of configuration data, and control manager feedback to hold to substrate by SMI Row result.
Reference picture 8, if the firmware management image file being pre-configured with is located at remote debugging machine, first, remotely Debugging machine, namely backstage PC, and substrate control manager pass through ethernet communication, substrate control manager It is virtually activation system by firmware management image file.
Then, the Starting mode configuration of substrate control manager modification server host, restarts server master Machine, and control server host to start from virtual activation system.
Server B IOS controls manager to send IPMI orders and obtains Starting mode by SMI to substrate, Substrate controls manager configuration server main frame from virtual activation system, and server host accesses virtual start System.
Then, the access protocol of server host is resolved to firmware management mirror image text by substrate control manager Part reads message, and remote debugging machine is transferred to by Ethernet.Remote debugging machine is received after message, will be solid The data of part management image file return to baseboard management controller.
Then, the data of obtained firmware management image file are passed through access protocol by baseboard management controller Server host is issued, control server host starts from virtual activation system, loading firmware management mirror image File.
Server host is obtained after firmware management image file, and Boot Server is carried out with the OS that this file is integrated Host-initiated, server CPU performs the program specified in firmware management image file automatically, passes through firmware The equipment on routine access server host specified in management image file, realizes each firmware of server Sintering, renewal, the collection and recovery of configuration data, and control manager feedback to hold to substrate by SMI Row result.Feedback result is returned to backstage PC by substrate control manager by Ethernet.
In the present embodiment, firmware management image file is configured to manage in substrate and controlled by baseboard management controller Device Local or Remote processed debugs machine, and baseboard management controller communicates with remote debugging machine, transfers remote debugging Firmware management image file on machine, the management for server firmware.The present embodiment is realized matches somebody with somebody in advance , can be real when the firmware management image file put is located at baseboard management controller Local or Remote debugging machine Existing server host starts from virtual activation system, carries out firmware management, simplifies server firmware management Flow.
Further, reference picture 9, the embodiment of firmware management method the 7th of the present invention provides a kind of firmware management Method, based on the embodiment shown in above-mentioned Fig. 6, the step S20 also includes:
Step S22, the modification main frame Starting mode configuration, back up original startup configuration of the main frame Data.
In baseboard management controller server is articulated to using firmware management image file as virtual activation system After on main frame, specifically, as a kind of embodiment, baseboard management controller modification server host is opened Flowing mode is configured, by the original Starting mode of server host, is changed to obtain from baseboard management controller and is opened Flowing mode, so that server host starts from the virtual activation system of mounting, carries out firmware management.
Meanwhile, the baseboard management controller record original Starting mode of server host, storage server master The original startup configuration data of machine.Wherein, the original configuration data that starts of server host can be stored in Baseboard management controller is local.
After the step S30, in addition to:
Step S50, according to original startup configuration data, control the host reset.
Configured in baseboard management controller control server host according to the amended Starting mode, from Virtual activation system starts, and carries out after firmware management, baseboard management controller is original according to server host Startup configuration data, control server host reset.
Specifically, as a kind of embodiment, baseboard management controller is opened according to server host is original Dynamic configuration data, the Starting mode configuration of modification server host recovers the original startup of server host Mode.
Then, baseboard management controller removes the virtual activation system mounted on server host, and controls Server host resets, the state returned to before carrying out server firmware management.
In the present embodiment, original startup configuration data of baseboard management controller backup server main frame; After control server host carries out firmware management, according to the original startup configuration data of server host, control Control server host reset, the state returned to before carrying out firmware management.The present embodiment is realized complete After the firmware management of paired server host, the reset of server host is realized to server firmware Automatic management, the maintainability of the server firmware of lifting.
Reference picture 10, firmware management device first embodiment of the present invention provides a kind of firmware management device, institute Stating firmware management device includes:
Virtual module 100, for the firmware management being pre-configured with image file to be invented into virtual activation system, It is articulated on main frame.
The embodiment of the present invention is mainly used in the firmware management of server veneer, but is not limited to server list The firmware management of plate, can also be applied to the firmware management of other equipment.
In the present embodiment, server veneer uses PCIE buses and interface standard, and server CPU leads to Cross each part of PCIE bus connection servers, such as PCIE bridges, PCH (Platform Controller Hub, South bridge), network interface card, FC (Fibre Controller, optical fiber controller), SAS (Serial Attached SCSI, Serial SCSI technologies) controller and video card etc..The present embodiment can to PCIE bridges, PCH, network interface card, The firmwares such as FC, SAS controller and video card are managed.
The firmware of server veneer management can be divided into two classes, and a class is and server host hardware device phase The firmware of pass, such firmware is only related to the type of hardware device, is usually fixed, such as network interface card, The firmware of the equipment such as SAS controller and video card, such firmware is referred to as firmware in embodiments of the present invention.Separately One class firmware is not bundled with server host hardware device, can be changed, the MAC of such as network interface card WWN (the World Wide of location (Media Access Control, physical address), FC and SAS controller Name, the unique name in the whole world) address, such firmware is referred to as firmware configuration data in embodiments of the present invention.
Sintering, renewal, the firmware that firmware management alleged by the embodiment of the present invention includes but is not limited to firmware are matched somebody with somebody Put the backup and recovery of data.
Specifically, as a kind of embodiment, the present embodiment carries out server using firmware management device and consolidated The management of part sintering.Firmware management device is located at baseboard management controller (Baseboard Management Controller, BMC).
Baseboard management controller is arranged on server master board, uses IPMI (Intelligent Platform Management Interface, IPMI), support local and remote diagnosis, console branch Hold, configuration management, the function such as hardware management and failture evacuation.
Baseboard management controller is set by USB interface as USB device such as USB CD-ROM drives or USB blocks It is standby, it is connected on server host.Server can by SMI (System Management Interface, Management interface) bus, send IPMI orders to baseboard management controller, carry out message, instruction Transmission is with interacting.
The firmware management image file being pre-configured with is integrated OS (Operation System, operating system), Such as DOS (Disk Operating System, disc operating system), server host load operating is met, Realize firmware management.
Firmware management image file includes:Operating system, firmware management control software, firmware vehicle software With server firmware etc..Wherein, operating system is all softwares, instrument in firmware management image file Running environment;Firmware management control software is used to control firmware to sinter flow, firmware configuration data collection stream Journey and the communication with firmware management device;Firmware vehicle software is used to access specific firmware device, wraps Include firmware sintering tool software, firmware configuration data sampling instrument software and firmware configuration data and recover instrument Software etc.;Server firmware, including need to be sintered to the firmware software of specific equipment, service can be included All firmwares of device veneer, can also configuration section firmware according to actual needs.Firmware management image file Firmware configuration data file can also be included, can be according to actual needs for the recovery of firmware configuration data Flexibly setting.
Can being actually needed according to firmware management, flexible configuration firmware management image file.For example, entering When the management of row firmware sintering or firmware more new management, firmware management image file can include needing to be burnt Knot or the firmware updated, firmware sintering tool software, firmware management control software and operating system;Carry out When firmware configuration data is backed up, it is soft that firmware management image file can include firmware configuration data sampling instrument Part, firmware management control software and operating system;When carrying out firmware configuration data recovery, firmware management mirror Recover tool software, firmware configuration data file, firmware management as file can include firmware configuration data Control software and operating system.
When carrying out server firmware management, virtual module 100 is literary by the firmware management mirror image being pre-configured with Part is virtually virtual activation system, is articulated on server host, also i.e. by firmware management image file It is articulated in as virtual activation system on server host.Server host can access virtual start System.
Modified module 200, the Starting mode for changing the main frame is configured, and the amended main frame is opened Flowing mode configuration is associated with the virtual activation system.
In virtual module 100 server master is articulated to using firmware management image file as virtual activation system After on machine, specifically, being used as a kind of embodiment, the modification server host of modified module 200 startup side Formula is configured, by the original Starting mode of server host, is changed to obtain Starting mode from substrate management control.
The Starting mode that the configuration server main frame of modified module 200 is obtained is to start from virtual activation system, So that server host starts from the virtual activation system of mounting, firmware management is carried out.
Management module 300, for controlling the main frame to be configured according to the amended Starting mode, from institute State virtual activation system to start, load the firmware management image file and carry out firmware management.
The Starting mode for changing server host in modified module 200, which is matched somebody with somebody, to be postponed, specifically, as a kind of Embodiment, first, the control server host restarting of management module 300.
After server host is restarted, according to the Starting mode changed by modified module 200, to firmware pipe Manage device and obtain Starting mode.
Then, server host accesses virtual activation system, starts from virtual activation system, loading firmware Manage image file.
After server host loading firmware management image file, firmware management image file by script or The mode of batch processing, makes firmware management control software, firmware vehicle software automatic under operating system environment Operation, according to being actually needed that current firmware is managed, carries out firmware sintering, updates, or firmware configuration number According to backup, recover.
In the present embodiment, the firmware management image file being pre-configured with is invented void by virtual module 100 Intend activation system, be articulated on main frame;Then, the Starting mode configuration of the modification of modified module 200 main frame, Amended host-initiated mode configures associated with virtual activation system;The control main frame of management module 300 Configured, started from virtual activation system according to amended Starting mode, loading firmware management image file Carry out firmware management.The function of the perfect server firmware management of the present embodiment, simplifies management process, Realize the automatic management to server firmware, the maintainability of the server firmware of lifting.
Further, reference picture 10, firmware management device second embodiment of the present invention provides a kind of firmware pipe Device is managed, based on the firmware management device first embodiment of the present invention shown in above-mentioned Figure 10, the modification mould Block 200 is additionally operable to:
It is to obtain Starting mode from the baseboard management controller by the Starting mode configuration modification of the main frame And started according to the Starting mode of acquisition, the Starting mode of the acquisition is to be opened from the virtual activation system It is dynamic.
In virtual module 100 server master is articulated to using firmware management image file as virtual activation system After on machine, specifically, being used as a kind of embodiment, first, the modification server host of modified module 200 Starting mode is configured, and the original Starting mode of server host is changed to from baseboard management controller Firmware management device obtains Starting mode.
Then, the Starting mode of the configuration server main frame of modified module 200 is to start from virtual activation system, The Starting mode of configuration is returned into server host, server host is accessed virtual activation system.
In the present embodiment, the firmware management image file being pre-configured with can be located at substrate and control manager sheet Ground, can also be located at remote debugging machine, can flexibly set according to actual needs.Substrate control manager can To be communicated by Ethernet with remote debugging machine, the firmware management mirror image text configured on remote debugging machine is read Part.
If it is local that the firmware management image file being pre-configured with is located at baseboard management controller, server host When accessing virtual activation system, then management module 300 controls server host from baseboard management controller sheet Ground loading firmware management image file, so that server host starts from virtual activation system.
If the firmware management image file being pre-configured with is located at remote debugging machine, server host accesses virtual During activation system, then the access protocol of server host is resolved to firmware management mirror image by management module 300 File reads message, and remote debugging machine is transferred to by Ethernet.Remote debugging machine is received after message, will The data of firmware management image file return to firmware management device.Then, management module 300 will be obtained The data of firmware management image file issue server host by access protocol, and control server host adds Firmware management image file is carried, so that server host starts from virtual activation system.
In the present embodiment, the Starting mode configuration modification of main frame is main frame from substrate by modified module 200 Management Controller obtains Starting mode, and the host-initiated mode that modified module 200 is configured is from virtual startup System starts, realize the firmware management image file that is pre-configured be located at baseboard management controller it is local or It during remote debugging machine, can realize that server host starts from virtual activation system, carry out firmware management.
Further, reference picture 11, firmware management device 3rd embodiment of the present invention provides a kind of firmware pipe Device is managed, based on the firmware management device second embodiment of the present invention shown in above-mentioned Figure 10, the management mould Block 300 includes:
Restart unit 310, for controlling the main frame to restart, configured according to the amended Starting mode Starting mode is obtained from the baseboard management controller.
The Starting mode for changing server host in modified module 200, which is matched somebody with somebody, to be postponed, specifically, as a kind of Embodiment, first, restarts the control server host restarting of unit 310.
When server host is restarted, in BIOS, (Basic Input Output System, are inputted defeated substantially Go out system) load phase, server B IOS can be sent by SMI buses to unit 310 is restarted IPMI orders, obtain Starting mode.
Then, the server host Starting mode return clothes that unit 310 configures modified module 200 are restarted Business device main frame, makes server host access virtual activation system.
Dispensing unit 320, for controlling the main frame according to the Starting mode of the acquisition, from described virtual Activation system starts, and loads the firmware management image file.
Restarting after Starting mode returns to server host by unit 310, server B IOS accesses virtual Activation system, is started.
Dispensing unit 320 according to access protocol answering server main frame request, by firmware management mirror image text Part returns to server host, server host is obtained firmware management image file.
Then, server host obtains the firmware management image file being pre-configured with by firmware management device, And loaded.
Administrative unit 330, for guiding the main frame to carry out firmware management.
After server host loading firmware management image file, the control firmware management mirror of administrative unit 330 As file Boot Server main frame carries out firmware management.
By way of script or batch processing, make firmware management control software, firmware vehicle software in operation Automatic running under system environments, according to being actually needed that current firmware is managed, carries out firmware sintering, updates, Or backup, the recovery of firmware configuration data.
Sinter or update by server firmware of application scenarios of the present invention, be illustrated.In this implementation In example, firmware sintering and firmware update sinter by firmware and realized.
When carrying out the sintering of server firmware, firmware management image file can include:Operating system, Firmware management control software, firmware sintering instrument software and server firmware etc..Server firmware is current The server firmware for sintering or updating is needed, can be whole firmwares of current server main frame, can also It is the portion firmware of current server main frame.
After the control server B IOS loading firmwares management image file of dispensing unit 320 and startup, management is single Member 330 makes firmware management control software, firmware sintering tool software certainly by way of script or batch processing Dynamic operation.
Wherein, firmware management control software sends IPMI orders by SMI buses to administrative unit 330, The configuration file of this firmware sintering is obtained, including this sinters targeted specific firmware, this sintering Firmware configuration data.The configuration file that firmware sintering tool software is sintered according to this firmware of acquisition, Specific firmware is accessed to be sintered.
The firmware configuration data of this sintering, can be pre-configured in baseboard management controller locally, also may be used To configure in remote debugging machine, can flexibly it set according to actual needs.The firmware configuration data of this sintering, Such as MAC Address, it is necessary to be sintered together with network interface card firmware.
While firmware sintering is carried out, firmware management control software is by SMI buses to administrative unit 330 IPMI orders are sent, the progress and result sintered when firmware is fed back to administrative unit 330.
To ensure the safety of firmware sintering, if administrative unit 330 is not received admittedly in default time-out time Any message of part management control software feedback, then judge current firmware sintering failure.
The successful firmware of record sintering of administrative unit 330 and the firmware of sintering failure, if firmware sintering failure, Then the reason for the firmware of record sintering failure and sintering failure.
Thus, base management unit 330 obtains the result of current firmware sintering, and stores the result into substrate Management Controller Local or Remote debugs machine, completes this firmware management.
In the present embodiment, restart the control server host of unit 310 to restart, started according to amended Mode configures from baseboard management controller and obtains Starting mode;Then, the control main frame root of dispensing unit 320 According to the Starting mode of acquisition, start from virtual activation system, load preset firmware management image file, The guiding main frame of administrative unit 330 carries out firmware management.This implementation has carried out the batch of server firmware management Change, automatic business processing, the function of perfect server firmware management simplifies management process, realizes Automatic management to server firmware, the maintainability of the server firmware of lifting.
Further, reference picture 12, firmware management device fourth embodiment of the present invention provides a kind of firmware pipe Device is managed, based on the embodiment shown in above-mentioned Figure 11, the firmware management image file includes firmware configuration Data acquisition image file, the administrative unit 330 includes:
Subelement 331 is gathered, the main frame is scanned for gathering image file by the firmware configuration data Each firmware, gathers the configuration data of the firmware.
If current firmware management is the collection of server firmware configuration data, firmware management image file can With including:Operating system, firmware management control software, firmware configuration data sampling instrument software.
Specifically, being used as a kind of embodiment, the control server B IOS loading firmware pipes of dispensing unit 320 After managing image file and starting, collection subelement 331 makes firmware management by way of script or batch processing Control software, firmware configuration data sampling instrument software automatic running, Boot Server main frame carry out firmware Management.
Wherein, the hardware equipment information of firmware configuration data sampling instrument software scans server host, and And obtain the configuration data of firmware.
Then, firmware management control software is by SMI buses, USB or other passages, by the number of acquisition The first storing sub-units 332 are sent to according to file.
First storing sub-units 332, it is extensive for the firmware condition for storing the firmware configuration data It is multiple.
First storing sub-units 332 obtain the data file that firmware management control software is sent, and are serviced The configuration data of device firmware.
Then, the first storing sub-units 332 are stored obtained server firmware configuration data, are used In the recovery of subsequent server firmware condition.
Wherein, server firmware configuration data is possibly stored to baseboard management controller locally, can also deposit Storage can flexibly be set according to actual needs in remote debugging machine.Back-stage management person can be obtained by Ethernet Server firmware configuration data is taken, and is saved in database, the state for server firmware is recovered.
In the present embodiment, collection subelement 331 gathers image file scanning by firmware configuration data and led Each firmware of machine, gathers the configuration data of firmware;First storing sub-units 332 store firmware configuration data, Recover for firmware condition.The present embodiment mass, automation carried out server firmware configuration data Collection, realize the management of the solid configuration data collection of server, simplify management process, realize pair The automatic management of server firmware, the maintainability of the server firmware of lifting.
Further, reference picture 13, the embodiment of firmware management device the 5th of the present invention provides a kind of firmware pipe Device is managed, based on the embodiment shown in above-mentioned Figure 11, the firmware management image file includes firmware configuration Data recovery image file, the administrative unit 330 also includes:
Recover subelement 333, for recovering image file by the firmware configuration data, control is corresponding Firmware restoration configuration data.
If current firmware management is the collection of server firmware configuration data, firmware management image file can With including:Operating system, firmware management control software, firmware configuration data recover tool software and firmware Configuration data file.
Specifically, being used as a kind of embodiment, the control server B IOS loading firmware pipes of dispensing unit 320 After managing image file and starting, recover subelement 333 makes firmware management by way of script or batch processing Control software, firmware configuration data recover tool software automatic running, and Boot Server main frame carries out firmware Management.
Wherein, firmware configuration data, which recovers tool software access, needs to carry out consolidating for firmware configuration data recovery Part, firmware configuration data is returned in specific hardware equipment information.
Firmware management control software is extensive by firmware configuration data by SMI buses, USB or other passages Multiple result is sent to the second storing sub-units 334.
Second storing sub-units 334, for recording and storing the firmware configuration data restoration result.
Second storing sub-units 334 obtain the firmware configuration data recovery that firmware management control software is sent As a result, record and store the result of this server firmware allocation data recovering.
Wherein, the result of this server firmware allocation data recovering is possibly stored to baseboard management controller Locally, remote debugging machine can also be stored in, can flexibly be set according to actual needs.
In the present embodiment, recover subelement 333 and image file, control are recovered by firmware configuration data Corresponding firmware restoration configuration data;Second storing sub-units 334 are recorded and to store firmware configuration data extensive Multiple junction fruit.The present embodiment has carried out the recovery of firmware configuration data, realizes the solid configuration data of server extensive Multiple management, simplifies management process, realizes the automatic management to server firmware, the clothes of lifting The maintainability of business device firmware.
Further, reference picture 14, firmware management device sixth embodiment of the present invention provides a kind of firmware pipe Device is managed, (the present embodiment is with the sheet shown in Figure 10 based on the embodiment shown in above-mentioned any one of Figure 10-13 Exemplified by invention firmware management device second embodiment), the firmware management device also includes:
Configuration module 400, configures the firmware management image file for the baseboard management controller Baseboard management controller Local or Remote debugs machine, the baseboard management controller and the remote debugging machine Communication, transfers the firmware management image file on the remote debugging machine.
In the present embodiment, the firmware management image file that configuration module 400 is pre-configured with can be located at substrate Control manager local, remote debugging machine can also be located at, can flexibly be set according to actual needs.Substrate Control manager can be communicated by Ethernet with remote debugging machine, and what is configured on reading remote debugging machine consolidates Part manages image file.
Reference picture 7, if the firmware management image file that configuration module 400 is pre-configured with is located at substrate control pipe Manage device local, first, by the remote debugging machine on backstage, namely backstage PC (personal computer, Personal computer), or substrate control manager WEB nets, firmware management image file is uploaded into base Plate control manager is local.Firmware management image file is virtually activation system by virtual module 100.
Then, the Starting mode configuration of the modification of modified module 200 server host, the weight of management module 300 Server host is opened, and controls server host to start from virtual activation system.
Server B IOS controls manager to send IPMI orders and obtains Starting mode by SMI to substrate, The configuration server main frame of modified module 200 starts from virtual activation system, and server host is accessed and virtually opened Dynamic system.
Management module 300 is according to the request of access protocol answering server main frame, and server host obtains solid Part manages image file and carrys out Boot Server host-initiated with the integrated OS of this file.
Then, server CPU performs the program specified in firmware management image file automatically, passes through firmware Equipment under the routine access server host specified in management image file, realizes each firmware of server Sintering, renewal, the collection and recovery of configuration data, and control manager feedback to hold to substrate by SMI Row result.
Reference picture 8, if the firmware management image file that configuration module 400 is pre-configured with is located at remote debugging machine, First, remote debugging machine, namely backstage PC, and substrate control manager is by ethernet communication, virtually Firmware management image file is virtually activation system by module 100.
Then the Starting mode configuration of the modification of modified module 200 server host, management module 300 is restarted Server host, and control server host to start from virtual activation system.
Server B IOS controls manager to send IPMI orders and obtains Starting mode by SMI to substrate, The configuration server main frame of modified module 200 starts from virtual activation system, and server host is accessed and virtually opened Dynamic system.
Then, the access protocol of server host is resolved to firmware management image file by management module 300 Message is read, remote debugging machine is transferred to by Ethernet.Remote debugging machine is received after message, by firmware The data for managing image file return to management module 300.
Then, management module 300 sends out the data of obtained firmware management image file by access protocol To server host, control server host starts from virtual activation system, loading firmware management mirror image text Part.
Server host is obtained after firmware management image file, and Boot Server is carried out with the OS that this file is integrated Host-initiated, server CPU performs the program specified in firmware management image file automatically, passes through firmware The equipment on routine access server host specified in management image file, realizes each firmware of server Sintering, renewal, the collection and recovery of configuration data, and execution is fed back to management module 300 by SMI As a result.Feedback result is returned to backstage PC by management module 300 by Ethernet.
In the present embodiment, firmware management image file is configured to manage in substrate and controlled by configuration module 400 Device Local or Remote debugs machine, and virtual module 100 and management module 300 can communicate with remote debugging machine, Transfer the firmware management image file on remote debugging machine, the management for server firmware.The present embodiment Realize the firmware management image file being pre-configured with and be located at baseboard management controller Local or Remote debugging machine When, it can realize that server host starts from virtual activation system, carry out firmware management, simplify clothes Business device firmware management flow.
Further, reference picture 15, the embodiment of firmware management device the 7th of the present invention provides a kind of firmware pipe Device is managed, based on the embodiment shown in above-mentioned Figure 14, the modified module 200 is additionally operable to,
The Starting mode configuration of the main frame is changed, original startup configuration data of the main frame is backed up.
In virtual module 100 server master is articulated to using firmware management image file as virtual activation system After on machine, specifically, being used as a kind of embodiment, the modification server host of modified module 200 startup side Formula is configured, and the original Starting mode of server host is changed to from the firmware pipe on baseboard management controller Manage device and obtain Starting mode, so that server host starts from the virtual activation system of mounting, consolidate Part is managed.
Meanwhile, the record original Starting mode of server host of modified module 200, storage server main frame Original startup configuration data.Wherein, the original configuration data that starts of server host can be stored in base Board management controller is local.
The firmware management device also includes:
Reseting module 500, for according to original startup configuration data, controlling the host reset.
Configured in the control server host of management module 300 according to the amended Starting mode, from void Intend activation system to start, carry out after firmware management, reseting module 500 is opened according to server host is original Dynamic configuration data, control server host resets.
Specifically, as a kind of embodiment, reseting module 500 starts according to server host is original Configuration data, the Starting mode configuration of modification server host, recovers the original startup side of server host Formula.
Then, reseting module 500 removes the virtual activation system mounted on server host, and controls clothes Business device host reset, the state returned to before carrying out server firmware management.
In the present embodiment, original startup configuration data of the backup server main frame of modified module 200; The control server host of management module 300 is carried out after firmware management, and reseting module 500 is according to server master The original startup configuration data of machine, control server host resets, the shape returned to before carrying out firmware management State.The present embodiment is realized after the firmware management to server host is completed, the reset of server host, Realize the automatic management to server firmware, the maintainability of the server firmware of lifting.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every The equivalent structure or equivalent flow conversion made using description of the invention and accompanying drawing content, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of firmware management method, it is characterised in that the firmware management method comprises the following steps:
The firmware management image file being pre-configured with is invented virtual activation system by baseboard management controller, It is articulated on main frame;
Change the main frame Starting mode configuration, the amended host-initiated mode configure with it is described Virtual activation system is associated;
Control the main frame to be configured according to the amended Starting mode, opened from the virtual activation system It is dynamic, load the firmware management image file and carry out firmware management.
2. firmware management method as claimed in claim 1, it is characterised in that the modification main frame Starting mode configuration, the amended host-initiated mode configures related to the virtual activation system The step of connection, includes:
It is to obtain Starting mode from the baseboard management controller by the Starting mode configuration modification of the main frame And started according to the Starting mode of acquisition, the Starting mode of the acquisition is to be opened from the virtual activation system It is dynamic.
3. firmware management method as claimed in claim 2, it is characterised in that the control main frame Configured according to the amended Starting mode, start from the virtual activation system, load the firmware The step of management image file carries out firmware management includes:
Control the main frame to restart, managed and controlled from the substrate according to the amended Starting mode configuration Device processed obtains Starting mode;
Control the main frame according to the Starting mode of the acquisition, start from the virtual activation system, plus Carry the firmware management image file;
The main frame is guided to carry out firmware management.
4. firmware management method as claimed in claim 3, it is characterised in that the firmware management mirror image File includes firmware configuration data and gathers image file, and the guiding main frame carries out the step of firmware management Suddenly include:
Image file is gathered by the firmware configuration data and scans each firmware of main frame, is gathered described solid The configuration data of part;
The firmware configuration data is stored, is recovered for the firmware condition.
5. firmware management method as claimed in claim 3, it is characterised in that the firmware management mirror image File includes firmware configuration data and recovers image file, and the guiding main frame carries out the step of firmware management Suddenly also include:
Image file is recovered by the firmware configuration data, corresponding firmware restoration configuration data is controlled;
Record and store the firmware configuration data restoration result.
6. the firmware management method as described in claim any one of 1-5, it is characterised in that the substrate The firmware management image file being pre-configured with is invented virtual activation system by Management Controller, is articulated to master Before step on machine, in addition to:
The baseboard management controller configures the firmware management image file in baseboard management controller sheet Ground or remote debugging machine, the baseboard management controller communicate with the remote debugging machine, transfer described remote Journey adjusts the firmware management image file on test-run a machine.
7. firmware management method as claimed in claim 6, it is characterised in that the modification main frame Starting mode also include the step of configure:
The Starting mode configuration of the main frame is changed, original startup configuration data of the main frame is backed up;
The control main frame starts from the virtual activation system, after the step of carrying out firmware management, Also include:
According to original startup configuration data, the host reset is controlled.
8. a kind of firmware management device, it is characterised in that the firmware management device includes:
Virtual module, for the firmware management being pre-configured with image file to be invented into virtual activation system, It is articulated on main frame;
Modified module, the Starting mode for changing the main frame is configured, the amended host-initiated Mode configures associated with the virtual activation system;
Management module, for controlling the main frame to be configured according to the amended Starting mode, from described Virtual activation system starts, and loads the firmware management image file and carries out firmware management.
9. firmware management device as claimed in claim 8, it is characterised in that the modified module is also used In,
It is to obtain Starting mode from the baseboard management controller by the Starting mode configuration modification of the main frame And started according to the Starting mode of acquisition, the Starting mode of the acquisition is to be opened from the virtual activation system It is dynamic;
The management module includes:
Restart unit, for controlling the main frame to restart, according to the amended Starting mode configuration from The baseboard management controller obtains Starting mode;
Dispensing unit, for controlling the main frame according to the Starting mode of the acquisition, is virtually opened from described Dynamic system starts, and loads the firmware management image file;
Administrative unit, for guiding the main frame to carry out firmware management.
10. firmware management device as claimed in claim 8 or 9, it is characterised in that the modification mould Block is additionally operable to,
The Starting mode configuration of the main frame is changed, original startup configuration data of the main frame is backed up;
The firmware management device also includes:
Reseting module, for according to original startup configuration data, controlling the host reset.
CN201610031467.1A 2016-01-18 2016-01-18 Firmware management method and device Active CN106980493B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610031467.1A CN106980493B (en) 2016-01-18 2016-01-18 Firmware management method and device
PCT/CN2016/103506 WO2017124799A1 (en) 2016-01-18 2016-10-27 Firmware management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610031467.1A CN106980493B (en) 2016-01-18 2016-01-18 Firmware management method and device

Publications (2)

Publication Number Publication Date
CN106980493A true CN106980493A (en) 2017-07-25
CN106980493B CN106980493B (en) 2021-06-18

Family

ID=59339916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610031467.1A Active CN106980493B (en) 2016-01-18 2016-01-18 Firmware management method and device

Country Status (2)

Country Link
CN (1) CN106980493B (en)
WO (1) WO2017124799A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714205A (en) * 2018-12-28 2019-05-03 郑州云海信息技术有限公司 A kind of guard method of BIOS dual redundant, device and computer for whitepack interchanger
CN110633131A (en) * 2019-09-16 2019-12-31 东软集团股份有限公司 Method, device, equipment and system for virtualizing firmware
CN111130856A (en) * 2019-12-06 2020-05-08 山东英信计算机技术有限公司 Server configuration method, system, equipment and computer readable storage medium
CN111459867A (en) * 2020-02-28 2020-07-28 广州广哈通信股份有限公司 Method, device, converter and storage medium for converting USB (Universal Serial bus) into SMI (SMI)
CN113031999A (en) * 2021-03-25 2021-06-25 山东英信计算机技术有限公司 Method, device and equipment for controlling firmware upgrade of server component and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134546B (en) * 2019-04-11 2023-10-20 平安科技(深圳)有限公司 Batch restarting windows system method, electronic device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075194A (en) * 2006-05-15 2007-11-21 明基电通股份有限公司 Method and system for executing programm code and method for updating firmware
CN102447732A (en) * 2011-10-11 2012-05-09 浪潮电子信息产业股份有限公司 Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development
CN103186393A (en) * 2011-12-30 2013-07-03 鸿富锦精密工业(深圳)有限公司 Electronic device with substrate management controller firmware and firmware loading method
CN103365667B (en) * 2012-03-26 2018-01-26 联想企业方案(新加坡)有限公司 A kind of method and apparatus of the installation operation system in host computer system
CN103793238A (en) * 2012-10-31 2014-05-14 英业达科技有限公司 Rack and method for simultaneously updating multiple basic input output systems thereof
US9043776B2 (en) * 2012-10-31 2015-05-26 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Transferring files to a baseboard management controller (‘BMC’) in a computing system
CN104850442A (en) * 2015-05-27 2015-08-19 杭州昆海信息技术有限公司 Operating system mounting method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714205A (en) * 2018-12-28 2019-05-03 郑州云海信息技术有限公司 A kind of guard method of BIOS dual redundant, device and computer for whitepack interchanger
CN110633131A (en) * 2019-09-16 2019-12-31 东软集团股份有限公司 Method, device, equipment and system for virtualizing firmware
CN111130856A (en) * 2019-12-06 2020-05-08 山东英信计算机技术有限公司 Server configuration method, system, equipment and computer readable storage medium
CN111459867A (en) * 2020-02-28 2020-07-28 广州广哈通信股份有限公司 Method, device, converter and storage medium for converting USB (Universal Serial bus) into SMI (SMI)
CN113031999A (en) * 2021-03-25 2021-06-25 山东英信计算机技术有限公司 Method, device and equipment for controlling firmware upgrade of server component and storage medium
WO2022199335A1 (en) * 2021-03-25 2022-09-29 山东英信计算机技术有限公司 Method, apparatus and device for controlling firmware upgrade of server component, and storage medium

Also Published As

Publication number Publication date
WO2017124799A1 (en) 2017-07-27
CN106980493B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN106980493A (en) Firmware management method and apparatus
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
TWI492064B (en) Cloud system and the boot up and deployment method for the cloud system
US20130198504A1 (en) Methods of configuring a bios in a computer system and computer program products
CN111399984A (en) File recovery method and system based on virtual machine backup data
JP2006518504A (en) System and apparatus for eliminating user interaction during hardware configuration during system boot
CN106790403B (en) Method for realizing mobile cloud computing intermediate platform and method for realizing distribution
CN109799998B (en) OpenStack cluster configuration and batch deployment method and system
CN105117293A (en) Windows system environment automatic deployment method and automatic deployment system
CN102405464A (en) Component configuration mechanism for rebooting
CN111324599B (en) Block chain experiment system and management method
CN107395747B (en) High-expansion method based on STF platform
CN105183520A (en) Automatic remote installing and debugging method and system for computer software
CN106033384A (en) System for retrieving console messages and method thereof and non-transitory computer-readable medium
CN109117089A (en) The method and device of RAID and deployment system is automatically created based on BMC
CN111381933A (en) Docker thermal migration implementation method
CN111371891A (en) Service processing method, device, equipment and storage medium
US20060080399A1 (en) Remote configuration management for data processing units
CN107741854A (en) The installation method and device of the trawl performance of a kind of electronic equipment
JP2001034447A (en) Picture forming device management system
CN112866049A (en) Server host index acquisition method and system
CN115633025A (en) Intelligent integrated equipment based on USBServer and application method
CN113656088B (en) Self-service management method, device and storage medium for internet data center server
CN103617077A (en) Intelligent cloud migration method and system
WO2022015773A1 (en) Synchronization of source code under development in multiple concurrent instances of an integrated development environment

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
GR01 Patent grant
GR01 Patent grant