CN107171833A - One kind realizes server B MC and BIOS batch upgrading method by BMC - Google Patents
One kind realizes server B MC and BIOS batch upgrading method by BMC Download PDFInfo
- Publication number
- CN107171833A CN107171833A CN201710305358.9A CN201710305358A CN107171833A CN 107171833 A CN107171833 A CN 107171833A CN 201710305358 A CN201710305358 A CN 201710305358A CN 107171833 A CN107171833 A CN 107171833A
- Authority
- CN
- China
- Prior art keywords
- server
- upgrading
- bmc
- firmware
- bios
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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
- G06F8/66—Updates of program code stored in read-only memory [ROM]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
Server B MC and BIOS batch upgrading method is realized by BMC the present invention relates to one kind.This method is followed the steps below in the server B MC of the function with upgrading BMC&BIOS firmware:S1. IP is read from bulk service device BMC IP lists;S2. the fru information for reading BMC judges server type;S3. corresponding script is called according to server type and obtains current firmware version informations;S4. firmware upgradings are carried out to corresponding type;S5. upgrading is completed, and obtains current firmware version informations again, and and upgrading before contrast, judge whether to upgrade successfully, if upgrading successfully, repeat step S1, if upgrading failure, performs step S6;S6. reason is checked, and judges reason to provide mistake without completion upgrade actions or firmware versions.The present invention is simple to operate, to os network no requirement (NR)s;Directly to burned firmware, upgrading is thorough;Extensive unattended upgrading can be realized;Version contrast verification is carried out before and after upgrading, it is ensured that upgrading has been completed;Adapt to various complex environments.
Description
Technical field
The present invention relates to system upgrade field, more particularly to one kind realizes server B MC and BIOS batch upgrade by BMC
Method.
Background technology
Requirement more and more higher of the Internet era to the large scale deployment of server, for the concentration of large-scale server
Operation has become a very important research topic.The bug of server is repaired, New function increase, improved properties generally all
It is to be realized by upgrading BMC&BIOS, often we are because a variety of causes needs to upgrade to server to adapt to ours
Demand.
The method for server B ios upgrade is all, by ssh Telnets, then to be entered with replication tool mostly at present
Row updating operation.This method is required, it is necessary to support ssh agreements, it is necessary to which network is switched on to being upgraded server os.And
And, if directly can not also upgrade when ME is included inside BIOS to ME.And for BMC batch upgrades method just more
It is few.
The content of the invention
The present invention provides one kind and realizes server B MC and BIOS batch upgrading method by BMC, it is desirable to provide one kind is very
The mode of simple and safe upgrading.
The present invention provides one kind and realizes server B MC and BIOS batch upgrading method by BMC, with upgrading BMC &
In the server B MC of BIOS firmware function, follow the steps below:
S1. IP is read from bulk service device BMC IP lists;
S2. the fru information for reading BMC judges server type;
S3. corresponding script is called according to server type and obtains current firmware version informations;
S4. firmware upgradings are carried out to corresponding type;
S5. upgrading is completed, and obtains current firmware version informations again, and and upgrading before contrast, judge whether to escalate into
Work(, if upgrading successfully, repeat step S1, if upgrading failure, performs step S6;
S6. reason is checked, and judges reason to provide mistake without completion upgrade actions or firmware versions.
As a further improvement on the present invention, the step S2 is the fru information that BMC is read by ipmitool.
As a further improvement on the present invention, before calling corresponding scripts in the step S3, the service to every kind of version
Device writes a upgrade script, and a version name form is done to corresponding firmware versions.
As a further improvement on the present invention, obtained in the step S3 before current firmware version informations, each
A newly-built firmware version in server.
As a further improvement on the present invention, also use python's including step S0. before the step S1
Selenium modules carry out automation mechanized operation to web page.
As a further improvement on the present invention, the python in the step S0 replaces with Java or C language.
As a further improvement on the present invention, the selenium modules in the step S0 replace with splinter modules.
As a further improvement on the present invention, the BIOS firmware replace with sas cards firmware or expander
firmware。
The beneficial effects of the invention are as follows:The present invention is simple to operate, to os without demand, to os network no requirement (NR)s;Directly to burning
Enter firmware, upgrading is thorough;Extensive unattended upgrading can be realized;Version contrast verification is carried out before and after upgrading, it is ensured that
Upgrading has been completed;Various complex environments are adapted to, even Multiple type servers need the firmware of upgrading different editions
It can complete.
Brief description of the drawings
Fig. 1 is a kind of flow chart that server B MC and BIOS batch upgrading method is realized by BMC of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.
As shown in figure 1, one kind of the present invention realizes server B MC and BIOS batch upgrading method by BMC, with liter
In the server B MC of level BMC & BIOS firmware function, follow the steps below:
S1. IP is read from bulk service device BMC IP lists;
S2. the fru information for reading BMC judges server type;
S3. corresponding script is called according to server type and obtains current firmware version informations;
S4. firmware upgradings are carried out to corresponding type;
S5. upgrading is completed, and obtains current firmware version informations again, and and upgrading before contrast, judge whether to escalate into
Work(, if upgrading successfully, repeat step S1, if upgrading failure, performs step S6;
S6. reason is checked, and judges reason to provide mistake without completion upgrade actions or firmware versions.
Wherein, step S2 is the fru information that BMC is read by ipmitool.
Called in step S3 before corresponding scripts, a upgrade script is write to the server of every kind of version, and to corresponding
Firmware versions do version name form.Obtain before current firmware version informations, it is newly-built in each server
One firmware version.
Also include step S0. before step S1 and use python selenium modules to web page progress automation behaviour
Make.Python in step S0 replaces with Java or C language, and selenium modules replace with splinter modules.
BIOS firmware replace with sas card firmware or expander firmware.
The present invention is carried out by the firmware update functions under BMC web page to the BMC & BIOS of server
Batch upgrade.So the BMC for being upgraded server will have upgrading BMC & BIOS firmware function, typically now band BMC
Server have this function.Due to being the automation of web page, so needing the selenium modules for using python to enter
Row web automation mechanized operations.And we need to know the BMC of bulk service device IP lists.
The server of different brands is directed to, a upgrade script is write to every kind of version server, and to corresponding
Firmware versions do version name form and check whether and upgrade successfully after upgrading to facilitate.
Patent of the present invention provides a kind of very convenient and higher reliability firmware upgrading methods.If in design
BMC is also just included into other firmware edition upgradings, then can also be upgraded such as sas card firmware by BMC,
Expander firmware etc..The mass change that BMC&BIOS is set can also be realized by this patent simultaneously, it is only necessary to
Mono- firmware version of build, the default setting of version is exactly that we need setting requirements, then passes through the firmware that upgrades
Realize configuration mass change.In addition, in order to realize this patent, not only mould can also be used with java or C with python
Block is also not limited to selenium, can also use splinter etc..
BMC(Baseboard Management Controller):Baseboard management controller
IPMI(Intelligent Platform Management Interface):IPMI (IPMI)
It is a kind of hardware management interface specification of open standard, defines the ad hoc approach that embedded management subsystem is communicated.
IPMI information passes through baseboard management controller (BMC)(On the nextport hardware component NextPort of IPMI specifications)Exchanged.
Bios:The initialism of English " Basic Input Output System ", literally Chinese is exactly afterwards "
Basic input output system ".In fact, it is one group of program being cured in computer on mainboard on a rom chip, and it is preserved
The most important basic input and output of computer program, start after self-check program and system self-triggered program, it can be from CMOS
The specifying information that middle read-write system is set.Its major function be for computer provide the bottom, most direct hardware setting and
Control.
Ipmitool:Ipmitool is a kind of ipmi platform management works for the command line mode being used under Linux system
Tool, it supports the specifications of ipmi 1.5(Newest specification is ipmi 2.0), can be realized by it and obtain the information of sensor, show
Show the functions such as system journal content, network remote switching on and shutting down.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.
Claims (8)
1. one kind realizes server B MC and BIOS batch upgrading method by BMC, it is characterised in that with upgrading BMC &
In the server B MC of BIOS firmware function, follow the steps below:
S1. IP is read from bulk service device BMC IP lists;
S2. the fru information for reading BMC judges server type;
S3. corresponding script is called according to server type and obtains current firmware version informations;
S4. firmware upgradings are carried out to corresponding type;
S5. upgrading is completed, and obtains current firmware version informations again, and and upgrading before contrast, judge whether to escalate into
Work(, if upgrading successfully, repeat step S1, if upgrading failure, performs step S6;
S6. reason is checked, and judges reason to provide mistake without completion upgrade actions or firmware versions.
2. server B MC and BIOS batch upgrading method is realized by BMC according to claim 1, it is characterised in that described
Step S2 is the fru information that BMC is read by ipmitool.
3. server B MC and BIOS batch upgrading method is realized by BMC according to claim 1, it is characterised in that described
Called in step S3 before corresponding scripts, a upgrade script is write to the server of every kind of version, and to corresponding
Firmware versions do a version name form.
4. server B MC and BIOS batch upgrading method is realized by BMC according to claim 3, it is characterised in that described
Obtained in step S3 before current firmware version informations, a newly-built firmware version in each server.
5. server B MC and BIOS batch upgrading method is realized by BMC according to claim 1, it is characterised in that described
Also include step before step S1
S0. the selenium modules for using python carry out automation mechanized operation to web page.
6. server B MC and BIOS batch upgrading method is realized by BMC according to claim 5, it is characterised in that described
Python in step S0 replaces with Java or C language.
7. server B MC and BIOS batch upgrading method is realized by BMC according to claim 5, it is characterised in that described
Selenium modules in step S0 replace with splinter modules.
8. server B MC and BIOS batch upgrading method is realized by BMC according to claim 1, it is characterised in that described
BIOS firmware replace with sas card firmware or expander firmware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710305358.9A CN107171833B (en) | 2017-05-03 | 2017-05-03 | Method for realizing batch upgrading of BMC and BIOS of server through BMC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710305358.9A CN107171833B (en) | 2017-05-03 | 2017-05-03 | Method for realizing batch upgrading of BMC and BIOS of server through BMC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107171833A true CN107171833A (en) | 2017-09-15 |
CN107171833B CN107171833B (en) | 2020-11-03 |
Family
ID=59812406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710305358.9A Active CN107171833B (en) | 2017-05-03 | 2017-05-03 | Method for realizing batch upgrading of BMC and BIOS of server through BMC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107171833B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427562A (en) * | 2018-03-16 | 2018-08-21 | 郑州云海信息技术有限公司 | A kind of method of stand-alone type burning program, system and stand-alone type burning program equipment |
CN108595196A (en) * | 2018-04-13 | 2018-09-28 | 联想(北京)有限公司 | a kind of control method and server system |
CN108874420A (en) * | 2018-06-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of remote reflash system and method for bulk service device FRU |
CN108874435A (en) * | 2018-05-29 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of automatic method for refreshing of server B MC Web |
CN108984226A (en) * | 2018-06-29 | 2018-12-11 | 深圳市同泰怡信息技术有限公司 | Method, the system of batch modification server B IOS configuration |
CN109002308A (en) * | 2018-07-17 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of method and device of BMC upgrading |
CN109144542A (en) * | 2018-08-07 | 2019-01-04 | 太仓市同维电子有限公司 | Wireless terminal product software automatic updating system and method |
CN109144539A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of BMC FW method for refreshing, system, equipment and computer media |
CN109254780A (en) * | 2018-08-30 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method, apparatus and controlled terminal of batch refresh server node firmware |
CN109471646A (en) * | 2018-11-01 | 2019-03-15 | 郑州云海信息技术有限公司 | A kind of upgrade method, device and the storage medium of the BMC version of server |
CN109739327A (en) * | 2018-12-27 | 2019-05-10 | 郑州云海信息技术有限公司 | A kind of server batch removes CMOS device and method |
CN110308921A (en) * | 2019-07-04 | 2019-10-08 | 深圳市瑞驰信息技术有限公司 | A kind of method and system for preventing server updating from losing data |
CN110427199A (en) * | 2019-06-26 | 2019-11-08 | 苏州浪潮智能科技有限公司 | A kind of method, equipment and the readable medium of the mating upgrading of BMC and BIOS |
CN111104147A (en) * | 2019-12-25 | 2020-05-05 | 浪潮商用机器有限公司 | BMC upgrading method, device, terminal and storage medium |
CN111124463A (en) * | 2019-12-21 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Bulk upgrading method, system and equipment for BMC |
CN112612500A (en) * | 2020-12-30 | 2021-04-06 | 锐捷网络股份有限公司 | Method and device for upgrading BMC, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779057A (en) * | 2012-06-29 | 2012-11-14 | 浪潮(北京)电子信息产业有限公司 | Base board management controller and automatic upgrade system and method thereof |
CN103593211A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for refreshing and writing firmware programs through out-of-band isolation |
CN103984584A (en) * | 2014-06-05 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Remote out-of-band updating method for BIOS firmware |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
CN104834543A (en) * | 2015-04-24 | 2015-08-12 | 曙光信息产业(北京)有限公司 | Method and device for externally refreshing BIOS (basic input/output system) firmware |
CN106445580A (en) * | 2016-08-27 | 2017-02-22 | 浪潮(北京)电子信息产业有限公司 | Method and device for BMC (Baseboard Management Controller) with external upgrading |
-
2017
- 2017-05-03 CN CN201710305358.9A patent/CN107171833B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779057A (en) * | 2012-06-29 | 2012-11-14 | 浪潮(北京)电子信息产业有限公司 | Base board management controller and automatic upgrade system and method thereof |
CN103593211A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for refreshing and writing firmware programs through out-of-band isolation |
CN103984584A (en) * | 2014-06-05 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Remote out-of-band updating method for BIOS firmware |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
CN104834543A (en) * | 2015-04-24 | 2015-08-12 | 曙光信息产业(北京)有限公司 | Method and device for externally refreshing BIOS (basic input/output system) firmware |
CN106445580A (en) * | 2016-08-27 | 2017-02-22 | 浪潮(北京)电子信息产业有限公司 | Method and device for BMC (Baseboard Management Controller) with external upgrading |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427562B (en) * | 2018-03-16 | 2021-06-29 | 郑州云海信息技术有限公司 | Method and system for burning single-machine program and single-machine program burning equipment |
CN108427562A (en) * | 2018-03-16 | 2018-08-21 | 郑州云海信息技术有限公司 | A kind of method of stand-alone type burning program, system and stand-alone type burning program equipment |
CN108595196A (en) * | 2018-04-13 | 2018-09-28 | 联想(北京)有限公司 | a kind of control method and server system |
CN108874435A (en) * | 2018-05-29 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of automatic method for refreshing of server B MC Web |
CN108874420A (en) * | 2018-06-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of remote reflash system and method for bulk service device FRU |
CN108874420B (en) * | 2018-06-12 | 2021-07-23 | 郑州云海信息技术有限公司 | Remote refreshing system and method for batch server FRUs |
CN108984226A (en) * | 2018-06-29 | 2018-12-11 | 深圳市同泰怡信息技术有限公司 | Method, the system of batch modification server B IOS configuration |
CN109002308A (en) * | 2018-07-17 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of method and device of BMC upgrading |
CN109144539A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of BMC FW method for refreshing, system, equipment and computer media |
CN109144542A (en) * | 2018-08-07 | 2019-01-04 | 太仓市同维电子有限公司 | Wireless terminal product software automatic updating system and method |
CN109254780A (en) * | 2018-08-30 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method, apparatus and controlled terminal of batch refresh server node firmware |
CN109471646A (en) * | 2018-11-01 | 2019-03-15 | 郑州云海信息技术有限公司 | A kind of upgrade method, device and the storage medium of the BMC version of server |
CN109739327A (en) * | 2018-12-27 | 2019-05-10 | 郑州云海信息技术有限公司 | A kind of server batch removes CMOS device and method |
CN109739327B (en) * | 2018-12-27 | 2021-11-02 | 郑州云海信息技术有限公司 | Device and method for batch removal of CMOS (complementary metal oxide semiconductor) by server |
CN110427199A (en) * | 2019-06-26 | 2019-11-08 | 苏州浪潮智能科技有限公司 | A kind of method, equipment and the readable medium of the mating upgrading of BMC and BIOS |
CN110427199B (en) * | 2019-06-26 | 2022-08-02 | 苏州浪潮智能科技有限公司 | Method, equipment and readable medium for upgrading BMC and BIOS in matching manner |
CN110308921A (en) * | 2019-07-04 | 2019-10-08 | 深圳市瑞驰信息技术有限公司 | A kind of method and system for preventing server updating from losing data |
CN111124463A (en) * | 2019-12-21 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Bulk upgrading method, system and equipment for BMC |
CN111124463B (en) * | 2019-12-21 | 2023-08-08 | 苏州浪潮智能科技有限公司 | Batch upgrading method, system and equipment of BMC |
CN111104147A (en) * | 2019-12-25 | 2020-05-05 | 浪潮商用机器有限公司 | BMC upgrading method, device, terminal and storage medium |
CN112612500A (en) * | 2020-12-30 | 2021-04-06 | 锐捷网络股份有限公司 | Method and device for upgrading BMC, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107171833B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107171833A (en) | One kind realizes server B MC and BIOS batch upgrading method by BMC | |
US11314499B2 (en) | Simulating end-to-end upgrade process in production environment | |
US10592232B2 (en) | Preserving firmware setting during firmware update | |
CN102662701B (en) | CPLD online upgrading method, device and service board | |
CN104185836B (en) | The method and system suitably operated for the verifying calculating equipment after system changes | |
US10303458B2 (en) | Multi-platform installer | |
US9027014B2 (en) | Updating firmware compatibility data | |
EP3152650B1 (en) | High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices | |
CN104461594B (en) | The upgrade method and device of embedded OS | |
US9983790B2 (en) | System management controller and method of configuration file backup and recovery | |
US7765439B2 (en) | Traceability management apparatus, storage medium storing program, and tracing method | |
CN104732151A (en) | Remote safety batch BIOS updating method under Linux system | |
CN104731617A (en) | Server starting device determining method | |
CN104461402B (en) | A kind of method for adjusting disk order under Linux system between multi-controller | |
US20200341743A1 (en) | Selecting and sending subset of components to computing device prior to operating system install | |
US9237071B2 (en) | Computer-readable recording medium, verification method, and verification device | |
US11281571B2 (en) | System and method for validating cloud-native applications for a production-ready deployment | |
US9600310B2 (en) | Compatibility-based configuration of hardware with virtualization software | |
CN106909382B (en) | Method and device for outputting different types of system starting information | |
US10514988B2 (en) | Method and system of migrating applications to a cloud-computing environment | |
CN116235175A (en) | Static configuration of accelerator card security modes | |
CN102243601B (en) | Debugging system and relevant method for detecting and controlling state of computer host | |
CN113434353A (en) | Server testing method and device, electronic equipment and storage medium | |
CN115061712B (en) | Method, device, terminal and storage medium for upgrading GPU CPLD based on BMC | |
US20230259347A1 (en) | Container based generation of inputs for generic functions |
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 |