CN106227562A - Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch - Google Patents
Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch Download PDFInfo
- Publication number
- CN106227562A CN106227562A CN201610583864.XA CN201610583864A CN106227562A CN 106227562 A CN106227562 A CN 106227562A CN 201610583864 A CN201610583864 A CN 201610583864A CN 106227562 A CN106227562 A CN 106227562A
- Authority
- CN
- China
- Prior art keywords
- bios
- server
- machine cabinet
- whole machine
- complete
- 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
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000013515 script Methods 0.000 claims abstract description 9
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 238000011010 flushing procedure Methods 0.000 claims description 3
- 230000009471 action Effects 0.000 claims description 2
- 230000004913 activation Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 claims description 2
- 238000007689 inspection Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000009182 swimming Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
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 provides a method for automatically upgrading BIOS of a complete cabinet of a Smart Rack in batches, which relates to the field of Smart Rack. And finally, completing the refreshing of the BIOS of the whole cabinet through an automatic script. Compared with the traditional DOS or offline BIOS upgrading, the efficiency of the BIOS can be greatly improved by adopting automatic batch operation, and the missing rate of manual operation is reduced.
Description
Technical field
The present invention relates to Smart Rack field, particularly relate to a kind of Smart Rack whole machine cabinet BIOS batch upgrading automatically
Method.
Background technology
BIOS is the initialism of English " Basic Input Output System ", is one group and is cured to master in computer
Program on a rom chip on plate, self-inspection journey after the program of the most important basic input and output of its in store computer, start
Sequence and system self-triggered program, it can from CMOS read-write system arrange specifying information.Its major function is to carry for computer
For the bottom, the most direct hardware setting and control, specifically there are three parts:
1. detection to hardware components when computer is just switched on power supply, also referred to as Power-On Self-Test (Power On Self Test,
It is called for short POST), function is to check that computer is the best, and the most complete POST self-inspection will include CPU, internal memory, ROM, master
Plate, CMOS memory, serial paralled interface, display card and keyboard are tested, and once pinpoint the problems in self-inspection, and system will provide prompting
Information or whistling warning.Self-inspection is such as found to have mistake, will process by two kinds of situations: for catastrophe failure (critical fault) then
Shut down, now do not complete due to various initialization operations, it is impossible to provide any prompting or signal;Noncritical failure is then given
Go out prompting or audible ringing signal, wait that user processes.
2. initialize, including creating interrupt vector, arranging depositor, some external equipments are initialized and detect
Deng, a most critically important part is that BIOS is arranged, mainly some parameters to hardware setting, can read when launch computer
These parameters, and compare with actual hardware setting, if do not met, the startup of system can be affected.
3. bootstrap, function is to guide DOS or other operating system.BIOS first reads from the beginning sector of floppy disk or hard disk
Take leader record, without finding, then can be displayed without guiding equipment over the display, if finding the leader record can be electricity
The control of brain is given to leader record, leader record operating system is loaded computer, after launch computer success, and this of BIOS
Partial task just completes.
Under generally conventional pattern, BIOS is refreshed and can only be carried out by DOS system, and that you are to be done is exactly FreeDOS
Kernel and relevant boot floppy image file.Its operation approximately as:
1 makes DOS refreshing dish
BIOS and refresh tool are imported in DOS dish by 2
Server is arranged DOS by 3 to be started and leads into system from DOS USB flash disk
4 refresh BIOS
5 power-off restarting installation systems
Its aforesaid operations refresh rate, by 2 person-times of 2 hours whole machine cabinet, not only takes time and effort, inefficiency, and in the face of complete machine
During 40 server nodes of cabinet, the most easily leak brush, form hidden danger.
Summary of the invention
In order to solve problem above, the present invention proposes the side of a kind of Smart Rack whole machine cabinet BIOS batch upgrading automatically
Method.In today that automatization improves constantly, the operation of bulk stream ability of swimming is used to be to ensure that the effective means of homogeneity of product high efficiency,
The friendly feature such as its reproducible transplanting can be popularized on a large scale, and the quality for whole machine cabinet Smart Rack provides guarantee.
The present invention interconnects copy by automatic PXE fill OS system and node and has configured the configuration of refreshing environment, and
The refreshing of whole machine cabinet BIOS is completed afterwards by automatized script.Its whole process includes that PXE server configures, and IP distributes automatically,
Node mutual trust, the technology such as automatization's refreshing.
The present invention passes through node mutual trust, uses the mode of batch operation to complete the BIOS brush of whole server under system
Newly, first pass through the whole server of DHCP and automatically obtain IP, and complete PXE guiding and the system fill of whole machine cabinet OS, the most logical
Cross interconnection copy and configured the configuration refreshing environment.The refreshing of whole machine cabinet BIOS is completed finally by automatized script.Phase
Than traditional DOS or upgraded in offline BIOS, use automatization's batch operation can be greatly promoted the efficiency of BIOS, reduce artificial behaviour
Make leakage brush rate.
1, to whole machine cabinet Smart Rack server and IP is automatically distributed to each by PXE bulk filling system
Server:
1.1). configuration DHCP server: be used for providing clients with IP address and out of Memory.
After client start, PXE BootROM(self-starting chip) obtain and perform selftest before control, then with
The forms of broadcasting send a request FIND frame.Server receives the requirement that client is sent, and will send DHCP back to and respond, including
The IP address of user side, default communication port, and start image file;Otherwise server can ignore this requirement.Client
Then can respond a frame after receiving the response that server is beamed back, transmit with request and start required file, and the MAC Address of oneself
Write in the Netnames.db file of server end.
1.2). configuration tftp server: for the file required for the guiding of client PXE
1.3) configuration of .web server and the amendment of ks file
1.4) .PXE boot configuration, PXE Boot Image File is provided by syslinux, after installing syslinux, can generate
The file of one pxelinux.0, copy to/tftpboot catalogue under.
BootROM is downloaded start reflection document by TFTP communication protocol from server.Client uses TFTP agreement to receive
After startup file, control is delivered startup block to guide operating system, complete remote activation.
After 2 node mutual trusts, related tool is copied into whole machine cabinet Smart Rack server:
2.1). judging whether hostfile exists, being deleted if existing, hostfile file needs reconstruct.
if [ -f hostfile ] ;then
/bin/rm -f hostfile
Fi
2.2). reconstruct hostfile file.
#t=`echo $nodeall |awk '{print NF}'`
for i in $nodeall
do
echo m$i |tee -a hostfile
Done
2.3). complete whole machine cabinet node mutual trust
for i in `cat hostfile`;do ping $i -c 1;done
./step1.exp
./step2.exp
./step3.exp
2.4). complete firmware and instrument whole machine cabinet copy
source /opt/scripts/peizhi.txt
for i in $nodeall
do
echo m$i;
scp bios.sh m$i:/root/.bashrc
ssh m$i reboot
done
3 by automatized script batch complete BIOS refreshing and restart machine complete parameter arrange.
3.1). complete firmware and refresh
/usr/bin/ipmitool chassis identify 20 >/dev/null 2>&1
/sbin/insmod amifldrv_mod.o >/dev/null 2>&1
./afulnx_64 $bios /B /P /N /x >/tmp/bios.stat 2>&1
./afulnx_26_64 $bios /B /P /N /x >/tmp/bios.stat 2>&1
3.2). judge firmware Flushing status
if [ $? != 0 ];then
echo $location Flash BIOS Failed
else
echo $location Flash BIOS OK
3.3). operate whole machine cabinet power-off restarting by RMC, complete BIOS default setting.
By the long power operation completing whole machine cabinet by RMC for 5 seconds, after continuing about one minute, then vice-minister presses RMC 10 seconds
Clock completes whole machine cabinet start and restarts action, so far completes the operation of whole machine cabinet whole node BIOS batch refresh.
The invention has the beneficial effects as follows
Compare tradition DOS or upgraded in offline BIOS, use automatization's batch operation can be greatly promoted the efficiency of BIOS, reduce
Manual operation leakage brush rate.Its whole operating process, human intervention factor is little, the most automatical and efficient can complete firmware and refresh, its
Thinking and method can be applied equally to as other firmwares refreshings under OS such as BMC.By refresh rate by 2 person-times 2 hours one
Whole machine cabinet is promoted to one person-time of one hour 3 whole machine cabinet.Greatly reduce human cost.Improve Smart Rack whole machine cabinet automatic
Change level.
Detailed description of the invention
Below present disclosure is carried out more detailed elaboration:
The method of Smart Rack whole machine cabinet BIOS batch upgrading automatically, is mainly completed by three steps:
First, to whole machine cabinet Smart Rack server and IP is automatically distributed to each server by PXE bulk filling system.
1. configuration DHCP server: be used for providing clients with IP address and out of Memory
2. configuration tftp server: for the file required for the guiding of client PXE
The configuration of 3.web server and the amendment of ks file
4.PXE boot configuration.
Secondly, by related tool being copied into whole machine cabinet Smart Rack server after node mutual trust
1. judging whether hostfile exists, being deleted if existing, hostfile file needs reconstruct;
2. reconstruct hostfile file;
3. complete whole machine cabinet node mutual trust;
4. complete firmware and instrument whole machine cabinet copy
Finally, by automatized script batch complete BIOS refreshing and restart machine complete parameter arrange.
1. complete firmware to refresh
2. judge firmware Flushing status
3. operate whole machine cabinet power-off restarting by RMC, complete BIOS default setting.
Claims (4)
1. the method for a Smart Rack whole machine cabinet BIOS batch upgrading automatically, it is characterised in that
By node mutual trust, the BIOS using the mode of batch operation to complete whole server under system refreshes, and first passes through
The whole server of DHCP obtains IP automatically, and completes PXE and guide and the system fill of whole machine cabinet OS, secondly by interconnection copy and
Configure the configuration refreshing environment;The refreshing of whole machine cabinet BIOS is completed finally by automatized script.
Method the most according to claim 1, it is characterised in that
To whole machine cabinet Smart Rack server and IP is automatically distributed to each server by PXE bulk filling system:
1), configuration DHCP server: be used for providing clients with IP address and out of Memory;
After client start, PXE BootROM performs selftest before obtaining control, then sends one with the forms of broadcasting
Request FIND frame;Server receives the requirement that client is sent, will send back to DHCP respond, including user side IP address,
Preset communication port, and start image file;Otherwise server can ignore this requirement;Client receives what server was beamed back
Then can respond a frame after response, transmit with request and start required file, and the MAC Address of oneself is write server end
In Netnames.db file;
2). configuration tftp server: for the file required for the guiding of client PXE;
3) configuration of .web server and the amendment of ks file;
4) .PXE boot configuration, PXE Boot Image File is provided by syslinux, after installing syslinux, can generate one
The file of individual pxelinux.0, copy to/tftpboot catalogue under;
BootROM is downloaded start reflection document by TFTP communication protocol from server;Client uses TFTP agreement to receive startup
After file, control is delivered startup block to guide operating system, complete remote activation.
Method the most according to claim 2, it is characterised in that
After node mutual trust, related tool is copied into whole machine cabinet Smart Rack server:
1). judging whether hostfile exists, being deleted if existing, hostfile file needs reconstruct;
if [ -f hostfile ] ;then
/bin/rm -f hostfile
Fi
2). reconstruct hostfile file;
#t=`echo $nodeall |awk '{print NF}'`
for i in $nodeall
do
echo m$i |tee -a hostfile
Done
3). complete whole machine cabinet node mutual trust
for i in `cat hostfile`;do ping $i -c 1;done
./step1.exp
./step2.exp
./step3.exp
4). complete firmware and instrument whole machine cabinet copy
source /opt/scripts/peizhi.txt
for i in $nodeall
do
echo m$i;
scp bios.sh m$i:/root/.bashrc
ssh m$i reboot
done。
Method the most according to claim 3, it is characterised in that
By automatized script batch complete BIOS refreshing and restart machine complete parameter arrange:
1). complete firmware and refresh
/usr/bin/ipmitool chassis identify 20 >/dev/null 2>&1
/sbin/insmod amifldrv_mod.o >/dev/null 2>&1
./afulnx_64 $bios /B /P /N /x >/tmp/bios.stat 2>&1
./afulnx_26_64 $bios /B /P /N /x >/tmp/bios.stat 2>&1
2). judge firmware Flushing status
if [ $? != 0 ];then
echo $location Flash BIOS Failed
else
echo $location Flash BIOS OK
3). operate whole machine cabinet power-off restarting by RMC, complete BIOS default setting;
By the long power operation completing whole machine cabinet by RMC for 5 seconds, after continuing about one minute, then vice-minister to press RMC 10 seconds complete
Become whole machine cabinet start to restart action, so far complete the operation of whole machine cabinet whole node BIOS batch refresh.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610583864.XA CN106227562A (en) | 2016-07-22 | 2016-07-22 | Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610583864.XA CN106227562A (en) | 2016-07-22 | 2016-07-22 | Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106227562A true CN106227562A (en) | 2016-12-14 |
Family
ID=57532633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610583864.XA Pending CN106227562A (en) | 2016-07-22 | 2016-07-22 | Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227562A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107018198A (en) * | 2017-04-14 | 2017-08-04 | 广东浪潮大数据研究有限公司 | The method that the DOS systems that a kind of PXE starts share network file |
CN107247596A (en) * | 2017-06-22 | 2017-10-13 | 联想(北京)有限公司 | Starting-up method, device and electronic equipment |
CN107391193A (en) * | 2017-07-21 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of client, the system and method for configuration server |
CN107566548A (en) * | 2017-09-29 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method that whole machine cabinet batch automatically updates network interface card Mac addresses |
CN107943496A (en) * | 2017-11-17 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of device and method of whole machine cabinet server batch updating firmware |
CN108345460A (en) * | 2017-12-28 | 2018-07-31 | 三维通信股份有限公司 | A kind of method that more equipment synchronize burning Linux firmwares and application program |
CN108984226A (en) * | 2018-06-29 | 2018-12-11 | 深圳市同泰怡信息技术有限公司 | Method, the system of batch modification server B IOS configuration |
CN111176915A (en) * | 2019-12-19 | 2020-05-19 | 曙光信息系统(辽宁)有限公司 | Serial test method and test tool |
CN113050968A (en) * | 2021-03-29 | 2021-06-29 | 联想(北京)有限公司 | Firmware upgrading method and device |
CN117850848A (en) * | 2024-03-07 | 2024-04-09 | 四川华鲲振宇智能科技有限责任公司 | Method for automatically identifying server type and automatically upgrading BIOS |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732151A (en) * | 2015-03-17 | 2015-06-24 | 浪潮集团有限公司 | Remote safety batch BIOS updating method under Linux system |
CN105183497A (en) * | 2015-07-21 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing BIOS (basic input output system) in batches by universal server |
CN105183528A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Server bios upgrading method and system |
CN105589717A (en) * | 2015-12-10 | 2016-05-18 | 浪潮电子信息产业股份有限公司 | Batch BIOS refreshing method based on SSH service |
-
2016
- 2016-07-22 CN CN201610583864.XA patent/CN106227562A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732151A (en) * | 2015-03-17 | 2015-06-24 | 浪潮集团有限公司 | Remote safety batch BIOS updating method under Linux system |
CN105183497A (en) * | 2015-07-21 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing BIOS (basic input output system) in batches by universal server |
CN105183528A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Server bios upgrading method and system |
CN105589717A (en) * | 2015-12-10 | 2016-05-18 | 浪潮电子信息产业股份有限公司 | Batch BIOS refreshing method based on SSH service |
Non-Patent Citations (1)
Title |
---|
SHMILY8023: "http://blog.51cto.com/shmily8023/1058764", 《LINUX下KICKSTART+PXE无人值守装机服务器的配置》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107018198A (en) * | 2017-04-14 | 2017-08-04 | 广东浪潮大数据研究有限公司 | The method that the DOS systems that a kind of PXE starts share network file |
CN107247596A (en) * | 2017-06-22 | 2017-10-13 | 联想(北京)有限公司 | Starting-up method, device and electronic equipment |
CN107391193A (en) * | 2017-07-21 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of client, the system and method for configuration server |
CN107566548A (en) * | 2017-09-29 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method that whole machine cabinet batch automatically updates network interface card Mac addresses |
CN107943496A (en) * | 2017-11-17 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of device and method of whole machine cabinet server batch updating firmware |
CN108345460A (en) * | 2017-12-28 | 2018-07-31 | 三维通信股份有限公司 | A kind of method that more equipment synchronize burning Linux firmwares and application program |
CN108984226A (en) * | 2018-06-29 | 2018-12-11 | 深圳市同泰怡信息技术有限公司 | Method, the system of batch modification server B IOS configuration |
CN111176915A (en) * | 2019-12-19 | 2020-05-19 | 曙光信息系统(辽宁)有限公司 | Serial test method and test tool |
CN113050968A (en) * | 2021-03-29 | 2021-06-29 | 联想(北京)有限公司 | Firmware upgrading method and device |
CN117850848A (en) * | 2024-03-07 | 2024-04-09 | 四川华鲲振宇智能科技有限责任公司 | Method for automatically identifying server type and automatically upgrading BIOS |
CN117850848B (en) * | 2024-03-07 | 2024-05-31 | 四川华鲲振宇智能科技有限责任公司 | Method for automatically identifying server type and automatically upgrading BIOS |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227562A (en) | Method for automatically upgrading BIOS (basic input output System) of complete machine cabinet of Smart Rack in batch | |
US11194635B2 (en) | Orchestration service for a distributed computing system | |
TWI303383B (en) | Method and apparatus for remote modification of system configuration | |
CN109478135B (en) | Computer system and method for rebooting a computer system | |
US10162646B2 (en) | System for programmably configuring a motherboard | |
US10303458B2 (en) | Multi-platform installer | |
US20150277856A1 (en) | Entropy Generation for a Distributed Computing System | |
CN110162435B (en) | Method, system, terminal and storage medium for starting and testing PXE of server | |
WO2016206514A1 (en) | Startup processing method and device | |
CN107533441B (en) | Creating operating system volumes | |
US10846113B1 (en) | Board management controller firmware virtualization | |
US10353729B1 (en) | Managing service dependencies across virtual machines in a development environment | |
TW201704994A (en) | Technology for updating a server image file | |
CN111782283A (en) | Automatic management method, device and medium for bare metal server | |
CN115934447A (en) | Display information acquisition method and device, electronic equipment and storage medium | |
WO2023098052A1 (en) | Server operation and maintenance method and apparatus, and device and storage medium | |
CN114201360B (en) | AER function management method, AER function management device, server and storage medium | |
CN114020340B (en) | Server system and data processing method thereof | |
US11520891B1 (en) | Secure boot of an integrated circuit | |
CN106484442B (en) | Server system and method for updating startup mapping file | |
CN114461286B (en) | Server starting method and device, electronic equipment and readable storage medium | |
CN112463466A (en) | Computer testing method | |
CN112114836A (en) | File updating method, device and system, storage medium and display box | |
CN109254798A (en) | Server starts method, apparatus, server and computer readable storage medium | |
Kovacev et al. | Implementation of Disaster recovery agent within Android based set-top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |
Application publication date: 20161214 |
|
RJ01 | Rejection of invention patent application after publication |