CN106775877A - A kind of firmware method for refreshing and a kind of server - Google Patents
A kind of firmware method for refreshing and a kind of server Download PDFInfo
- Publication number
- CN106775877A CN106775877A CN201611198018.2A CN201611198018A CN106775877A CN 106775877 A CN106775877 A CN 106775877A CN 201611198018 A CN201611198018 A CN 201611198018A CN 106775877 A CN106775877 A CN 106775877A
- Authority
- CN
- China
- Prior art keywords
- firmware
- server
- refresh
- target firmware
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention provides a kind of firmware method for refreshing and a kind of server, the method includes:At least one firmware in for server, server determines to include the start refurbishing procedure of the corresponding demand version identifier of each firmware;When detecting server and starting shooting completely, by performing start refurbishing procedure, it is performed both by for each firmware successively:Determine the current version identifications of the firmware in server, and when judging that current version identifications demand version identifier corresponding with the firmware is mismatched, refresh process is performed to the firmware.Based on the start refurbishing procedure for writing in advance, server can be directed to each firmware of therein, automatic to perform the operation of firmware refresh process.Therefore, this programme can improve the efficiency of firmware refreshing.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of firmware method for refreshing and a kind of server.
Background technology
For server product, its firmware can constantly upgrade renewal, in order to meet what's new demand, or repair
Problem that just there is currently etc..Therefore in the daily test of server product and maintenance process, its firmware can be upgraded
Refresh.
At present, after server product startup, staff can be artificially manual refreshing each firmware.
But, the refresh process of manual refreshing firmware is relatively complicated, especially when server product quantity is more, existing reality
The firmware of existing mode refreshes less efficient.
The content of the invention
The invention provides a kind of firmware method for refreshing and a kind of server, it is possible to increase the efficiency that firmware refreshes.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of firmware method for refreshing, server is applied to, it is determined that start refurbishing procedure, its
In, for the server at least one firmware, each described firmware correspondence is included in the start refurbishing procedure
Demand version identifier, also include:
S1:Detect whether the server starts shooting completely, if so, performing S2;
S2:By performing the start refurbishing procedure, consolidate for each target at least one firmware successively
Part is performed both by:Determine the first current version identifications of the target firmware in the server;
S3:Judge whether first current version identifications demand version identifier corresponding with the target firmware matches,
If it is not, performing refresh process to the target firmware.
Further, the determination start refurbishing procedure, including:(SuSE) Linux OS is installed in the server, and
The start refurbishing procedure that will be write in advance store to the (SuSE) Linux OS~/.bashrc files in.
Further, the S1, including:Detecting the startup of server configurator of the completion execution server
When, send trigger signal to outside server controls end;The transmission time based on the trigger signal, judge reaching in advance
Before the time interval corresponding time of setting, if receive the trigger signal correspondence sent at the server controls end
Feedback signal, if so, perform S2, otherwise, light the ID lamps of the server.
Further, at least one firmware includes:BIOS (Basic Input Output System, basic input
Output system), and/or, BMC (Baseboard Management Controller, baseboard management controller) firmware;
The method also includes:The corresponding refresh tool of each described firmware and demand version are stored, wherein, the BIOS
Corresponding refresh tool is ./afulnx_64 refresh tools, and the corresponding refresh tool of the BMC firmwares is that socflash refreshes
Instrument;
It is described to the target firmware perform refresh process, including:Using the corresponding refresh tool of the target firmware, and
Based on the corresponding demand version of the target firmware, refresh process is performed to the target firmware.
Further, the method also includes:The corresponding gripping tool of each described firmware is stored, wherein, the BIOS
Corresponding gripping tool is dmidecode gripping tools, and the corresponding gripping tool of the BMC firmwares captures work for ipmitool
Tool;
After the execution refresh process to the target firmware, also include:Grabbed using the target firmware is corresponding
Instrument is taken, the second current version identifications of target firmware described in the server are captured;Judge the second current version mark
Know whether demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID lamps of the server.
On the other hand, the invention provides a kind of server, including:
Determining unit, for determine start refurbishing procedure, wherein, for the server at least one firmware, institute
State and include the corresponding demand version identifier of each described firmware in start refurbishing procedure;
Detection unit, for detecting whether the server starts shooting completely, if so, triggering processing unit;
The processing unit, for by performing the start refurbishing procedure, successively at least one firmware
Each target firmware be performed both by:Determine the first current version identifications of the target firmware in the server;Judge
Whether first current version identifications demand version identifier corresponding with the target firmware matches, if it is not, to the target
Firmware performs refresh process.
Further, the determining unit, specifically for installing (SuSE) Linux OS in the server, and will be pre-
The start refurbishing procedure for first writing store to the (SuSE) Linux OS~/.bashrc files in.
Further, the detection unit, specifically for detecting the startup of server for completing to perform the server
During configurator, trigger signal is sent to outside server controls end;The transmission time based on the trigger signal, judge
Before reaching the time interval set in advance corresponding time, if receive the triggering that the server controls end is sent
The corresponding feedback signal of signal, if so, triggering processing unit, otherwise, lights the ID lamps of the server.
Further, at least one firmware includes:BIOS, and/or, BMC firmwares;
The server also includes:Memory cell, for storing the corresponding refresh tool of each described firmware and demand version
This, wherein, the corresponding refresh tool of the BIOS is ./afulnx_64 refresh tools, the corresponding refreshing work of the BMC firmwares
It is socflash refresh tools to have;
The processing unit is specifically for utilizing the corresponding refresh tool of the target firmware and solid based on the target
The corresponding demand version of part, refresh process is performed to the target firmware.
Further, the memory cell, is additionally operable to the corresponding gripping tool of storage each described firmware, wherein, institute
The corresponding gripping tools of BIOS are stated for dmidecode gripping tools, the corresponding gripping tool of the BMC firmwares is grabbed for ipmitool
Take instrument;
The processing unit, is additionally operable to after refresh process is performed to the target firmware, using the target firmware
Corresponding gripping tool, captures the second current version identifications of target firmware described in the server;Judge that described second works as
Whether preceding version identifier demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID lamps of the server.
The invention provides a kind of firmware method for refreshing and a kind of server, for server at least one firmware,
Server determines to include the start refurbishing procedure of the corresponding demand version identifier of each firmware;Opened completely server is detected
During machine, by performing start refurbishing procedure, it is performed both by for each firmware successively:Determine the current version of the firmware in server
This mark, and when judging that current version identifications demand version identifier corresponding with the firmware is mismatched, the firmware is held
Row refresh process.Based on the start refurbishing procedure for writing in advance, server can be directed to each firmware of therein, hold automatically
Row firmware refresh process is operated.Therefore, the present invention can improve the efficiency of firmware refreshing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of firmware method for refreshing that one embodiment of the invention is provided;
Fig. 2 is the flow chart of another firmware method for refreshing that one embodiment of the invention is provided;
Fig. 3 is a kind of schematic diagram of server that one embodiment of the invention is provided;
Fig. 4 is the schematic diagram of another server that one embodiment of the invention is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the invention provides a kind of firmware method for refreshing, be applied to server, can include with
Lower step:
Step 101:It is determined that start refurbishing procedure, wherein, for the server at least one firmware, the start
The corresponding demand version identifier of each described firmware is included in refurbishing procedure.
Step 102:Detect whether the server starts shooting completely, if so, performing step 103, otherwise, perform abnormality processing
And terminate current process.
Step 103:By performing the start refurbishing procedure, successively for each mesh at least one firmware
Mark firmware is performed both by:Determine the first current version identifications of the target firmware in the server.
Step 104:Whether judge first current version identifications demand version identifier corresponding with the target firmware
Matching, if so, terminating current process, otherwise, refresh process is performed to the target firmware.
The embodiment of the invention provides a kind of firmware method for refreshing, for server at least one firmware, server
It is determined that including the start refurbishing procedure of the corresponding demand version identifier of each firmware;When detecting server and starting shooting completely,
By performing start refurbishing procedure, it is performed both by for each firmware successively:Determine the current version mark of the firmware in server
Know, and when judging that current version identifications demand version identifier corresponding with the firmware is mismatched, brush is performed to the firmware
New treatment.Based on the start refurbishing procedure for writing in advance, server can be directed to each firmware of therein, automatic to perform admittedly
Part refresh process is operated.Therefore, the embodiment of the present invention can improve the efficiency of firmware refreshing.
In one embodiment of the invention, in order to illustrate a kind of possibility implementation for determining start refurbishing procedure, institute
With, the determination start refurbishing procedure, including:(SuSE) Linux OS is installed in the server, and will be write in advance
Start refurbishing procedure store to the (SuSE) Linux OS~/.bashrc files in.
In detail, start refurbishing procedure can be one section of code shell script that staff writes in advance.Wherein, should
Start refurbishing procedure can be artificially written in startup of server configurator by staff, or by controller server certainly
It is dynamic to be written in startup of server configurator.
For example, in the embodiment of the present invention, can be by the (SuSE) Linux OS of refurbishing procedure write service device of starting shooting
In~/.bashrc files.After the upper electricity of server start, execute server can be automatically begun to and start configurator.Server system
After system starts, the start refurbishing procedure in shell execution~/.bashrc files.
In detail, start refurbishing procedure can include the demand version identifier of each firmware to be refreshed, wherein, the version mark
It can be the version number of firmware to know.Acquiescently, the firmware of different editions, its version number is different.According in start refurbishing procedure
Firmware version number, the firmware of this in server can be refreshed by current original version is the corresponding demand version of the firmware version number
This.
In one embodiment of the invention, in order to illustrate the possibility realization side whether a kind of detection service device starts shooting completely
Formula, so, the step 102, including:When the startup of server configurator for completing the execution server is detected, to
Outside server controls end sends trigger signal;The transmission time based on the trigger signal, judge to preset reaching
The time interval corresponding time before, if receive the trigger signal sent at the server controls end corresponding anti-
Feedback signal, if so, performing step 103, otherwise, lights the ID lamps of the server.
In detail, start refurbishing procedure is performed so that before refreshing firmware, server should be ensured that itself has been in and open completely
Machine state.In this way, server is after system start-up, can be communicated with outside controller server.If in the designated time
It is interior can with normal communication, then it may be said that prescribed server is started shooting completely, otherwise, it may be said that prescribed server is not started shooting completely, therefore
The ID lamps of server can be now lighted, corresponding abnormality processing is carried out with warning reminding staff.
In an embodiment of the invention, server can be any service in single server, or server cluster
Device.For example, typically, server can be any node server in Rack (rack) server, and each node serve
Device is connected with same controller server.In detail, controller server can be a master server.
In this way, when server product quantity to be refreshed is more, such as all node servers in Rack servers are equal
When need to refresh firmware, above-mentioned firmware method for refreshing can be based on due to each node server simultaneously, automatically to refresh internal
Firmware, therefore can cause that firmware refreshes efficiency and integrally greatly improves.
In one embodiment of the invention, in order to illustrate a kind of possibility implementation that refresh process is performed to firmware,
So, at least one firmware includes:BIOS, and/or, BMC firmwares;
The method also includes:The corresponding refresh tool of each described firmware and demand version are stored, wherein, the BIOS
Corresponding refresh tool is ./afulnx_64 refresh tools, and the corresponding refresh tool of the BMC firmwares is that socflash refreshes
Instrument;
It is described to the target firmware perform refresh process, including:Using the corresponding refresh tool of the target firmware, and
Based on the corresponding demand version of the target firmware, refresh process is performed to the target firmware.
In detail, the refresh tool of different firmwares is typically different, therefore needs to predefine the corresponding refresh tool of each firmware.
Certainly, the demand version needed for firmware refreshes is also predefined.In this way, when firmware refresh operation is performed, it is possible to use refresh work
Tool, it is fixed demand version that firmware to be refreshed is refreshed by current original version.
In one embodiment of the invention, in order to be verified to the performance that firmware refresh process is operated,
So, the method also includes:The corresponding gripping tool of each described firmware is stored, wherein, the corresponding crawl work of the BIOS
It is dmidecode gripping tools to have, and the corresponding gripping tool of the BMC firmwares is ipmitool gripping tools;
After the execution refresh process to the target firmware, further include:Using target firmware correspondence
Gripping tool, capture the second current version identifications of target firmware described in the server;Judge the described second current version
Whether this mark demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID lamps of the server.
In detail, the gripping tool of different firmwares is typically different.The current version identifications of firmware, can be by the firmware pair
The gripping tool answered is captured and determined.
As described in above-mentioned step 104, for any firmware, when in the current version identifications determined with start refurbishing procedure
When the demand version identifier of record is mismatched, the current version for illustrating the firmware is not required version, it is necessary to be carried out to the firmware
Refresh process.
Similarly, after this firmware refresh process is completed, gripping tool can be equally reused, is determined again now
Current version identifications.Under normal circumstances, if firmware refresh process is normally performed, current version identifications now should be with start
The demand version identifier recorded in refurbishing procedure matches, and otherwise, illustrates that firmware refresh process is failed, therefore can light service
The ID lamps of device, corresponding abnormality processing is carried out with warning reminding staff.
Certainly, in another embodiment, if detecting firmware refresh process not successfully, equally can first temporarily
The ID lamps of server are not lighted, but perform firmware refresh process again, and after second firmware refresh process, to firmware
The performance of refresh process operation is verified again.When the result verified again is still failed for firmware refresh process,
The ID lamps of server can now be lighted.
As shown in Fig. 2 one embodiment of the invention provides another firmware method for refreshing, the method is with Refresh Servers
BIOS and BMC firmwares as a example by, be applied to server, specifically include following steps:
Step 201:(SuSE) Linux OS is installed in the server, and the corresponding demand version identifiers 1 of BIOS will be included
The start refurbishing procedure of demand version identifier 2 corresponding with BMC firmwares, store to (SuSE) Linux OS~/.bashrc
In file.
In detail, start refurbishing procedure can be one end code shell script that staff writes in advance.
Due to including demand version identifier 1 and demand version identifier 2 in start refurbishing procedure, therefore need in server
BIOS is updated to the corresponding version of demand version identifier 1, and BMC firmwares in server are updated into demand version identifier 2 pairs
The version answered.
Step 202:The corresponding ./afulnx_64 refresh tools of storage BIOS, demand version 1 and dmidecode crawl works
Tool, and the corresponding socflash refresh tools of storage BMC firmwares, demand version 2 and ipmitool gripping tools.
In embodiments of the present invention, the version identifier of the corresponding demand versions 1 of BIOS can be the demand version identifier
1, similarly, the version identifier of the corresponding demand version 2 of BMC firmwares can be the demand version identifier 2.
In detail, refresh process can be carried out to firmware, server can be captured using gripping tool using refresh tool
The current version identifications of middle firmware.
In detail, version identifier can be the version number of firmware.
Step 203:Whether detection service device starts shooting completely, if so, performing step 204, otherwise, lights the ID lamps of server
And terminate current process.
In detail, the specific implementation that whether detection service device starts shooting completely can be:Complete to perform clothes detecting
During the startup of server configurator of business device, trigger signal is sent to outside server controls end;Hair based on trigger signal
The time is sent, was judged before the time interval set in advance corresponding time is reached, if received server controls end and send
The corresponding feedback signal of trigger signal.
For example, when the time when startup of server configurator of execute server can be completed to detect is as starting
Between, if time interval set in advance is 10s, trigger signal can be sent at the initial time moment, while needing in starting
Feedback signal is received in 10s after time, so, it may be said that prescribed server is started shooting completely.
Step 204:By performing start refurbishing procedure, using BIOS in dmidecode gripping tools crawl server
Current version identifications X1。
When detecting server and starting shooting completely, the start refurbishing procedure for prestoring can be automatically performed.
In the embodiment of the present invention, by performing start refurbishing procedure, BIOS and BMC firmwares can be carried out successively follow-up
Firmware refresh process is operated.Certainly, needed based on different practical applications, equally BMC firmwares and BIOS can be carried out successively
Follow-up firmware refresh process operation.
Step 205:Judge current version identifications X1Whether demand version identifier 1 corresponding with BIOS matches, if so, performing
Step 208, otherwise, the corresponding demand versions 1 of BIOS is based on using ./afulnx_64 refresh tools, and BIOS is performed at refreshing
Reason.
In detail, the matching based on current version identifications and demand version identifier judges, it may be determined that accordingly firmware is
It is no to need to perform firmware refresh process.In detail, it can be that both are identical that both match.
Under normal circumstances, the corresponding demand versions 1 of BIOS are based on using ./afulnx_64 refresh tools, BIOS is performed
Refresh process, it is the demand version 1 that can refresh the current version of BIOS.
Step 206:Using the current version identifications X of BIOS in dmidecode gripping tools crawl server1′。
Based on the operation of above-mentioned refresh process, it is generally the case that the current version identifications X for grabbing1' can be the demand
The corresponding demand version identifier 1 of version 1.
Step 207:Judge current version identifications X1Whether ' demand version identifier 1 corresponding with BIOS matches, if so, holding
Row step 208, otherwise, lights the ID lamps of server and terminates current process.
In detail, if judged result matches for both, i.e., both are identical, then can illustrate BIOS Flushing success, therefore can
To continue to carry out BMC firmwares corresponding firmware refresh process.
Certainly, if BIOS refreshes failure, can be by lighting the ID lamps of server with warning reminding, so that staff is most
It is early to perform corresponding abnormality processing.
Step 208:Using the current version identifications X of BMC firmwares in ipmitool gripping tools crawl server2。
Step 209:Judge current version identifications X2Whether demand version identifier 2 corresponding with BMC firmwares matches, if so,
Terminate current process, otherwise, the corresponding demand version 2 of BMC firmwares is based on using socflash refresh tools, BMC firmwares are held
Row refresh process.
Step 210:Using the current version identifications X of BMC firmwares in ipmitool gripping tools crawl server2′。
Step 211:Judge current version identifications X2Whether ' demand version identifier 2 corresponding with BMC firmwares matches, if so,
Terminate current process, otherwise, light the ID lamps of server and terminate current process.
In detail, if judged result matches for both, i.e., both are identical, then can illustrate BMC firmware Flushing success, therefore
Can terminate, otherwise, can be by lighting the ID lamps of server with warning reminding.
In detail, above-mentioned steps 208 are used to perform the related refresh process to BMC firmwares, above-mentioned steps to step 211
204 to step 207 is used to perform the related refresh process to BIOS, and the firmware objects corresponding to both are different, but be based on
Basic realization principle is consistent.
In the embodiment of the present invention, there is provided a kind of firmware method for refreshing of BIOS and BMC firmwares for server, this
Implementation can be performed automatically, therefore can improve the automaticity of firmware refreshing, reduce cost of labor.When pending clothes
When business device product quantity is more, this implementation can not only greatly improve firmware and refresh efficiency, while can avoid artificial
Wrong brush that refreshing easily brings, leakage brush and refresh the problems such as not in time, the ageing and correctness of raising refresh operation, therefore can be with
Ensure correct, the efficient execution that firmware refreshes.
As shown in figure 3, one embodiment of the invention provides a kind of server, including:
Determining unit 301, for determine start refurbishing procedure, wherein, for the server at least one firmware,
The corresponding demand version identifier of each described firmware is included in the start refurbishing procedure;
Detection unit 302, for detecting whether the server starts shooting completely, if so, triggering processing unit 303;
The processing unit 303, for by performing the start refurbishing procedure, successively at least one firmware
In each target firmware be performed both by:Determine the first current version identifications of the target firmware in the server;Sentence
Whether first current version identifications demand version identifier corresponding with the target firmware that breaks matches, if it is not, to the mesh
Mark firmware performs refresh process.
In an embodiment of the invention, the determining unit 301, specifically for installing Linux in the server
Operating system, and the start refurbishing procedure that will be write in advance store to the (SuSE) Linux OS~/.bashrc text
In part.
In an embodiment of the invention, the detection unit 302, specifically for detecting the completion execution service
During the startup of server configurator of device, trigger signal is sent to outside server controls end;Based on the trigger signal
The transmission time, judged before the time interval set in advance corresponding time is reached, if receive the server controls
The corresponding feedback signal of the trigger signal that end is sent, if so, triggering processing unit 303, otherwise, lights the server
ID lamps.
In detail, the server described in any embodiment of the present invention, can be in single server, or server cluster
Any server.For example, typically, server can be any node server in Rack servers, and each node serve
Device is connected with same controller server.In detail, controller server can be a master server.
In this way, when server product quantity to be refreshed is more, such as all node servers in Rack servers are equal
When need to refresh firmware, above-mentioned firmware method for refreshing can be based on due to each node server simultaneously, automatically to refresh internal
Firmware, therefore can cause that firmware refreshes efficiency and integrally greatly improves.
In an embodiment of the invention, Fig. 4 is refer to, the server can also include:Memory cell 401;
At least one firmware includes:BIOS, and/or, BMC firmwares;
The memory cell 401, for storing the corresponding refresh tool of each described firmware and demand version, wherein,
The corresponding refresh tool of the BIOS is ./afulnx_64 refresh tools, and the corresponding refresh tool of the BMC firmwares is
Socflash refresh tools;
The processing unit 303, specifically for utilizing the corresponding refresh tool of the target firmware, and based on the target
The corresponding demand version of firmware, refresh process is performed to the target firmware.
In an embodiment of the invention, based on different practical application requests, the memory cell that server includes can be with
It is the storage disk of server internal, or can is the flash disk being plugged on server.
In an embodiment of the invention, the memory cell 401, be additionally operable to storage each the firmware is corresponding grabs
Instrument is taken, wherein, the corresponding gripping tool of the BIOS is dmidecode gripping tools, the corresponding crawl work of the BMC firmwares
It is ipmitool gripping tools to have;
The processing unit 303, is additionally operable to after refresh process is performed to the target firmware, solid using the target
The corresponding gripping tool of part, captures the second current version identifications of target firmware described in the server;Judge described second
Whether current version identifications demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID of the server
Lamp.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In sum, each embodiment of the invention at least has the advantages that:
1st, in the embodiment of the present invention, for server at least one firmware, server determine include each firmware pair
The start refurbishing procedure of the demand version identifier answered;When detecting server and starting shooting completely, journey is refreshed by performing start
Sequence, is performed both by for each firmware successively:Determine the current version identifications of the firmware in server, and judging that this is current
When version identifier demand version identifier corresponding with the firmware is mismatched, refresh process is performed to the firmware.Based on writing in advance
Good start refurbishing procedure, server can be directed to each firmware of therein, automatic to perform the operation of firmware refresh process.Cause
This, the embodiment of the present invention can improve the efficiency of firmware refreshing.
2nd, in the embodiment of the present invention, there is provided a kind of firmware method for refreshing of BIOS and BMC firmwares for server, this
One implementation can be performed automatically, therefore can improve the automaticity of firmware refreshing, reduce cost of labor.When pending
When server product quantity is more, this implementation can not only greatly improve firmware and refresh efficiency, while people can be avoided
To refresh the wrong brush for easily bringing, leakage brush and refreshing the ageing and correctness that refresh operation is improved the problems such as not in time, therefore can
To ensure correct, the efficient execution that firmware refreshes.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating
Any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements,
But also other key elements including being not expressly set out, or also include by this process, method, article or equipment are solid
Some key elements.In the absence of more restrictions, the key element limited by sentence " including ", does not arrange
Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, skill of the invention is merely to illustrate
Art scheme, is not intended to limit the scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of firmware method for refreshing, it is characterised in that be applied to server, it is determined that start refurbishing procedure, wherein, for described
At least one firmware in server, includes the corresponding demand version mark of each described firmware in the start refurbishing procedure
Know;Also include:
S1:Detect whether the server starts shooting completely, if so, performing S2;
S2:It is equal for each target firmware at least one firmware successively by performing the start refurbishing procedure
Perform:Determine the first current version identifications of the target firmware in the server;
S3:Judge whether first current version identifications demand version identifier corresponding with the target firmware matches, if it is not,
Refresh process is performed to the target firmware.
2. method according to claim 1, it is characterised in that
The determination start refurbishing procedure, including:(SuSE) Linux OS is installed in the server, and will be write in advance
Start refurbishing procedure store to the (SuSE) Linux OS~/.bashrc files in.
3. method according to claim 1, it is characterised in that
The S1, including:When the startup of server configurator for completing the execution server is detected, to outside service
Device control end sends trigger signal;The transmission time based on the trigger signal, judge reaching time interval set in advance
Before the corresponding time, if receive the corresponding feedback signal of the trigger signal sent at the server controls end, if
It is to perform S2, otherwise, lights the ID lamps of the server.
4. according to any described method in claims 1 to 3, it is characterised in that
At least one firmware includes:Basic input-output system BIOS, and/or, baseboard management controller BMC firmwares;
Further include:The corresponding refresh tool of each described firmware and demand version are stored, wherein, the BIOS is corresponding
Refresh tool is ./afulnx_64 refresh tools, and the corresponding refresh tool of the BMC firmwares is socflash refresh tools;
It is described to the target firmware perform refresh process, including:Using the corresponding refresh tool of the target firmware, and it is based on
The corresponding demand version of the target firmware, refresh process is performed to the target firmware.
5. method according to claim 4, it is characterised in that
Further include:The corresponding gripping tool of each described firmware is stored, wherein, the corresponding gripping tool of the BIOS is
Dmidecode gripping tools, the corresponding gripping tool of the BMC firmwares is ipmitool gripping tools;
After the execution refresh process to the target firmware, further include:Grabbed using the target firmware is corresponding
Instrument is taken, the second current version identifications of target firmware described in the server are captured;Judge the second current version mark
Know whether demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID lamps of the server.
6. a kind of server, it is characterised in that including:
Determining unit, for determine start refurbishing procedure, wherein, for the server at least one firmware, it is described to open
The corresponding demand version identifier of each described firmware is included in machine refurbishing procedure;
Detection unit, for detecting whether the server starts shooting completely, if so, triggering processing unit;
The processing unit, for by performing the start refurbishing procedure, successively at least one firmware in it is every
A kind of target firmware is performed both by:Determine the first current version identifications of the target firmware in the server;Judge described
Whether the first current version identifications demand version identifier corresponding with the target firmware matches, if it is not, to the target firmware
Perform refresh process.
7. server according to claim 6, it is characterised in that
The determining unit, specifically for installing (SuSE) Linux OS, and the start that will be write in advance in the server
Refurbishing procedure store to the (SuSE) Linux OS~/.bashrc files in.
8. server according to claim 6, it is characterised in that
The detection unit, specifically for detect complete to perform the startup of server configurator of the server when, to
Outside server controls end sends trigger signal;The transmission time based on the trigger signal, judge to preset reaching
The time interval corresponding time before, if receive the trigger signal sent at the server controls end corresponding anti-
Feedback signal, if so, triggering processing unit, otherwise, lights the ID lamps of the server.
9. according to any described server in claim 6 to 8, it is characterised in that
At least one firmware includes:Basic input-output system BIOS, and/or, baseboard management controller BMC firmwares;
Also include:Memory cell, for storing the corresponding refresh tool of each described firmware and demand version, wherein, it is described
The corresponding refresh tools of BIOS are ./afulnx_64 refresh tools, and the corresponding refresh tool of the BMC firmwares is socflash
Refresh tool;
The processing unit, specifically for utilizing the corresponding refresh tool of the target firmware, and based on the target firmware pair
The demand version answered, refresh process is performed to the target firmware.
10. server according to claim 9, it is characterised in that
The memory cell, is additionally operable to the corresponding gripping tool of storage each described firmware, wherein, the BIOS is corresponding to be grabbed
Instrument is taken for dmidecode gripping tools, the corresponding gripping tool of the BMC firmwares is ipmitool gripping tools;
The processing unit, is additionally operable to after refresh process is performed to the target firmware, using target firmware correspondence
Gripping tool, capture the second current version identifications of target firmware described in the server;Judge the described second current version
Whether this mark demand version identifier corresponding with the target firmware matches, if it is not, lighting the ID lamps of the server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198018.2A CN106775877A (en) | 2016-12-22 | 2016-12-22 | A kind of firmware method for refreshing and a kind of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198018.2A CN106775877A (en) | 2016-12-22 | 2016-12-22 | A kind of firmware method for refreshing and a kind of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775877A true CN106775877A (en) | 2017-05-31 |
Family
ID=58897168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611198018.2A Pending CN106775877A (en) | 2016-12-22 | 2016-12-22 | A kind of firmware method for refreshing and a kind of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775877A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402753A (en) * | 2017-06-30 | 2017-11-28 | 郑州云海信息技术有限公司 | The method for refreshing and device of a kind of hard disk firmware |
CN107943498A (en) * | 2017-11-27 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of method of JBOD node firmwares in batch refresh SR whole machine cabinets |
CN108089898A (en) * | 2018-01-16 | 2018-05-29 | 郑州云海信息技术有限公司 | The method, apparatus and system of a kind of upgrading BIOS |
CN108762786A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of firmware update of server cabinet, server cabinet and host |
CN109117159A (en) * | 2018-08-15 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of automatic identification refreshes the method and device of firmware |
CN109213505A (en) * | 2018-08-22 | 2019-01-15 | 郑州云海信息技术有限公司 | Server hard disc firmware method for refreshing and device |
CN109284118A (en) * | 2018-09-27 | 2019-01-29 | 郑州云海信息技术有限公司 | A kind of firmware method for refreshing, system, electronic equipment and computer readable storage medium |
CN109388418A (en) * | 2018-10-09 | 2019-02-26 | 郑州云海信息技术有限公司 | Method and system with the outer firmware for refreshing BOX node server and FRU |
CN110023770A (en) * | 2017-10-25 | 2019-07-16 | 深圳市汇顶科技股份有限公司 | For testing method, test platform and the test macro of chip |
CN111290878A (en) * | 2018-12-10 | 2020-06-16 | 美光科技公司 | Age-based refresh of firmware |
CN112748948A (en) * | 2021-01-07 | 2021-05-04 | 苏州浪潮智能科技有限公司 | PCIe switch work mode updating method and related assembly |
CN113064813A (en) * | 2021-03-04 | 2021-07-02 | 山东英信计算机技术有限公司 | Board-mounted firmware version detection method and device |
CN113868003A (en) * | 2021-09-17 | 2021-12-31 | 苏州浪潮智能科技有限公司 | Server flash system verification and fault positioning method and device |
CN114443085A (en) * | 2021-12-17 | 2022-05-06 | 苏州浪潮智能科技有限公司 | Firmware refreshing method and system for hard disk and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461611A (en) * | 2014-11-05 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing node BIOSes of RACK cabinet in batches |
CN104778109A (en) * | 2015-04-28 | 2015-07-15 | 浪潮电子信息产业股份有限公司 | Program downloading system and method of PCIE/PCIX external plug-in card |
CN105183497A (en) * | 2015-07-21 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server |
CN105550008A (en) * | 2016-02-04 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Linux-based method for conducting automatic and repeated upgrading and downgrading refreshing on BIOS+ME |
CN105867976A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Easy-to-apply server firmware online refreshing method |
-
2016
- 2016-12-22 CN CN201611198018.2A patent/CN106775877A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461611A (en) * | 2014-11-05 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing node BIOSes of RACK cabinet in batches |
CN104778109A (en) * | 2015-04-28 | 2015-07-15 | 浪潮电子信息产业股份有限公司 | Program downloading system and method of PCIE/PCIX external plug-in card |
CN105183497A (en) * | 2015-07-21 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server |
CN105550008A (en) * | 2016-02-04 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Linux-based method for conducting automatic and repeated upgrading and downgrading refreshing on BIOS+ME |
CN105867976A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Easy-to-apply server firmware online refreshing method |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402753A (en) * | 2017-06-30 | 2017-11-28 | 郑州云海信息技术有限公司 | The method for refreshing and device of a kind of hard disk firmware |
CN107402753B (en) * | 2017-06-30 | 2020-11-27 | 苏州浪潮智能科技有限公司 | Method and device for refreshing hard disk firmware |
CN110023770A (en) * | 2017-10-25 | 2019-07-16 | 深圳市汇顶科技股份有限公司 | For testing method, test platform and the test macro of chip |
CN107943498A (en) * | 2017-11-27 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of method of JBOD node firmwares in batch refresh SR whole machine cabinets |
CN108089898A (en) * | 2018-01-16 | 2018-05-29 | 郑州云海信息技术有限公司 | The method, apparatus and system of a kind of upgrading BIOS |
CN108762786A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of firmware update of server cabinet, server cabinet and host |
CN109117159A (en) * | 2018-08-15 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of automatic identification refreshes the method and device of firmware |
CN109213505A (en) * | 2018-08-22 | 2019-01-15 | 郑州云海信息技术有限公司 | Server hard disc firmware method for refreshing and device |
CN109213505B (en) * | 2018-08-22 | 2021-10-15 | 郑州云海信息技术有限公司 | Server hard disk firmware refreshing method and device |
CN109284118A (en) * | 2018-09-27 | 2019-01-29 | 郑州云海信息技术有限公司 | A kind of firmware method for refreshing, system, electronic equipment and computer readable storage medium |
CN109388418A (en) * | 2018-10-09 | 2019-02-26 | 郑州云海信息技术有限公司 | Method and system with the outer firmware for refreshing BOX node server and FRU |
CN111290878A (en) * | 2018-12-10 | 2020-06-16 | 美光科技公司 | Age-based refresh of firmware |
CN112748948A (en) * | 2021-01-07 | 2021-05-04 | 苏州浪潮智能科技有限公司 | PCIe switch work mode updating method and related assembly |
CN112748948B (en) * | 2021-01-07 | 2022-06-07 | 苏州浪潮智能科技有限公司 | PCIe switch work mode updating method and related assembly |
CN113064813A (en) * | 2021-03-04 | 2021-07-02 | 山东英信计算机技术有限公司 | Board-mounted firmware version detection method and device |
CN113868003A (en) * | 2021-09-17 | 2021-12-31 | 苏州浪潮智能科技有限公司 | Server flash system verification and fault positioning method and device |
CN113868003B (en) * | 2021-09-17 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Verification and fault positioning method and device for server flash system |
CN114443085A (en) * | 2021-12-17 | 2022-05-06 | 苏州浪潮智能科技有限公司 | Firmware refreshing method and system for hard disk and computer readable storage medium |
CN114443085B (en) * | 2021-12-17 | 2023-11-03 | 苏州浪潮智能科技有限公司 | Firmware refreshing method and system for hard disk and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775877A (en) | A kind of firmware method for refreshing and a kind of server | |
CN104461611A (en) | Method for refreshing node BIOSes of RACK cabinet in batches | |
CN105183497A (en) | Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server | |
CN106598780A (en) | System backup and recovery method and device | |
CN103150188B (en) | The compatible video card fast initializing method of the x86 of non-x 86 instruction set computer | |
CN109587331B (en) | Method and system for automatically repairing cloud mobile phone fault | |
CN104765652B (en) | A kind of data backup and data reconstruction method and device | |
CN111105840A (en) | Method, device and system for testing abnormal power failure of solid state disk | |
CN105022678A (en) | Data backup method and apparatus for virtual machine | |
CN102857358A (en) | Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment | |
CN103854704A (en) | Automatic detection method and automatic detection device of flash memory bad block | |
CN103559098B (en) | Smart card test number control, Apparatus and system | |
CN111176665B (en) | High-capacity emmc mirror image manufacturing method and device | |
US20140215134A1 (en) | Mainboard and method of backing up of baseboard management controller | |
CN106406962A (en) | Wind power generation controller failed remote upgrade recovery method based on ARM | |
CN105630661A (en) | Automatic cross-system program debugging method and device | |
CN104699615A (en) | System failure processing method and device | |
CN101178660A (en) | Memory data automatic update method | |
CN102968089B (en) | Programmable logic controller and implementing method | |
CN102122258A (en) | Method for repairing damaged embedded equipment file system | |
CN107315607B (en) | Drive self-adaptation loading system | |
CN109375953A (en) | A kind of os starting method and device | |
CN107193603A (en) | The upgrade method and device of a kind of intelligent appliance | |
CN110674038A (en) | Method and device for classifying error information in software test | |
EP2562649B1 (en) | Method for repairing communication abnormality between data card and host |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |