CN106713053A - Method and device for batch updating server firmware based on Linux - Google Patents

Method and device for batch updating server firmware based on Linux Download PDF

Info

Publication number
CN106713053A
CN106713053A CN201710088016.6A CN201710088016A CN106713053A CN 106713053 A CN106713053 A CN 106713053A CN 201710088016 A CN201710088016 A CN 201710088016A CN 106713053 A CN106713053 A CN 106713053A
Authority
CN
China
Prior art keywords
server
firmware
upgrade
linux
server firmware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710088016.6A
Other languages
Chinese (zh)
Inventor
杨晓亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710088016.6A priority Critical patent/CN106713053A/en
Publication of CN106713053A publication Critical patent/CN106713053A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of computer technologies, and discloses a method for batch updating server firmware based on Linux. The method comprises the following steps of configuring a plurality of servers in which Linux systems are installed in a same local area network; preparing a file for updating the server firmware; selecting one sever as a management server to build mutual trust relations with the other servers; uploading the file for updating the server firmware to the management server and distributing to the other servers, and executing each server firmware update script. The device batch updating server firmware based on Linux is also disclosed, and comprises a configuration module, a preparation module, a mutual trust building module and an update executing module. According to the method and the device provided by the invention, rapid update of the lots of server firmware in the same local area network is achieved, firmware updating operation is greatly simplified, and labor and time costs are saved.

Description

The method and its device of the batch upgrade server firmware based on Linux
Technical field
The present invention relates to field of computer technology, more particularly to a kind of batch upgrade server firmware based on Linux Method and its device.
Background technology
With the high speed development of information technology, portfolio is growing day by day, used as the infrastructure device of informatization, server The quantity of equipment is also rapidly increasing.Especially in internet industry, typically based on the X86 servers of common 1U, 2U, single batch Secondary amount of purchase is generally at thousands of or so.
The firmware of server serves as the software of the most basic bottom work of a system, is the soul of hardware device, certainly Determine the function and performance of hardware device.Firmware updating, on the one hand, some Bug and compatibility issue, the opposing party can be solved Face, the service that can provide more renewals is supplied to client as added value.Among these, it is the normal maintenance upgrade of example to have some, Also it is the emergency upgrade done to solve product defects to have some.
However, face thousands of server apparatus, one by one carry out firmware updating, it is clear that waste time and energy, can not Take, and wrong brush, the problem of leakage brush easily occur.
The content of the invention
The weak point that the present invention develops for current needs and prior art, there is provided the batch upgrade based on Linux The method and its device of server firmware, start with from the service of (SuSE) Linux OS, and server firmware is upgraded by LAN Associated documents be distributed to each server, then by being remotely logged into each server, perform upgrade command, batch upgrade clothes Business device firmware.
To achieve these goals, the present invention uses following technical scheme:
A kind of method of the batch upgrade server firmware based on Linux, comprises the following steps:
To be mounted with that multiple servers of linux system are configured in same LAN;
Prepare the file of upgrade server firmware;
One of server is chosen as management server, is built up mutual trust relation with other servers;
To be distributed on the files passe of upgrade server firmware to management server and to other servers, perform each service Device firmware upgrade script.
Preferably, the upgrade server firmware includes upgrading basic input output system and upgrading substrate management control Device.
Preferably, it is described will be mounted with linux system each server configuration refer in same LAN be each service Device configures the ip addresses in same LAN.
Preferably, the upgrade server firmware is operated under in-band management mechanism.
Preferably, it is described to choose one of server as management server, built up mutual trust relation with other servers Refer to choose one of server as management server, management server can carry out free visit between other servers Ask.
Preferably, will be divided on the files passe of upgrade server firmware to management server and to other servers Hair, performs each server firmware upgrade script, including:
By on the files passe of upgrade server firmware to management server;
The file of the upgrade server firmware in management server is distributed to other servers by LAN;
By being remotely logged into each server;
Each server firmware upgrade script is performed, each server firmware of upgrading.
Preferably, will divided on the files passe of upgrade server firmware to management server and to other servers Hair, after performing each server firmware upgrade script, also includes:Returned after collecting each server execute server firmware upgrade script Object information, wherein object information include upgrade successfully prompt message or upgrading failure prompt message.
Present invention also offers the method based on the above-mentioned batch upgrade server firmware based on Linux based on The device of the batch upgrade server firmware of Linux, including:
Configuration module, the multiple servers for will be mounted with linux system are configured in same LAN;
Preparation module, the file for preparing upgrade server firmware;
Build up mutual trust module, for choosing one of server as management server, built up mutual trust pass with other servers System;
Upgrade execution module, for will enter on the files passe of upgrade server firmware to management server and to other servers Row distribution, performs each server firmware upgrade script.
Preferably, upgrade execution module, further includes:
Uploading module, for by the files passe of upgrade server firmware to management server;
Distribution module, services for the file of the upgrade server firmware in management server to be distributed into other by LAN Device;
Telnet module, for by being remotely logged into each server;
Performing module, for performing each server firmware upgrade script, each server firmware of upgrading.
Preferably, also include:
Collection module, for collecting the object information returned after each server execute server firmware upgrade script, wherein result Information includes upgrading successfully prompt message or upgrading failure prompt message.
Beneficial effects of the present invention:
The present invention realizes the same of multiple servers firmware by the related service under (SuSE) Linux OS and in-band management mechanism When online upgrading, with reference to the service under (SuSE) Linux OS, realize the quick liter of the firmware of multiple servers in same LAN Level, enormously simplify the work of firmware updating, save human cost and time cost.
Brief description of the drawings
Fig. 1 is one of the method flow schematic diagram of batch upgrade server firmware of the present invention based on Linux.
Fig. 2 is the two of the method flow schematic diagram of batch upgrade server firmware of the present invention based on Linux.
Fig. 3 is one of the structural representation of device of batch upgrade server firmware of the present invention based on Linux.
Fig. 4 is the two of the structural representation of the device of batch upgrade server firmware of the present invention based on Linux.
Specific embodiment
In order to make it easy to understand, the part noun to occurring in the present invention makees explanation explained below:
Firmware:Firmware is solidification software within hardware.
In-band management:Maintenance and management is carried out to equipment by service channel, i.e., same physical connection is except transmission industry Simultaneous transmission network management data is gone back outside business data.
With reference to the accompanying drawings and examples, specific embodiment of the invention is described in further detail:
Embodiment one:
As shown in figure 1, a kind of method of batch upgrade server firmware based on Linux of the invention, comprises the following steps:
Step S101, will be mounted with that multiple servers of linux system are configured in same LAN, be that each server configuration is same Ip addresses in one LAN.
Step S102, prepares the file of upgrade server firmware, and the file of wherein upgrade server firmware is based in band Management, can be operated under a linux operating system, and for individual server, can be by performing upgrade server The file of firmware, directly upgrade server firmware under a linux operating system.
Step S103, chooses one of server as management server, is built up mutual trust relation, pipe with other servers Free access can be carried out between reason node server and other node servers.
Step S104, by the files passe of upgrade server firmware to management server.
Step S105, is distributed to the file of the upgrade server firmware in management server other and services by LAN Device.
Step S106, by being remotely logged into each server.
Step S107, performs each server firmware upgrade script, the multiple server firmwares of upgrading.
Step S108, collects the object information returned after each server execute server firmware upgrade script, wherein result Information includes upgrading successfully prompt message or upgrading failure prompt message.
As a kind of enforceable mode, will be mounted with that 10 servers of linux system are configured in 192.168.1.0/ In 24 LANs, server ip addresses are respectively configured as 192.168.1.2 to 192.168.1.11, choose ip addresses and are 192.168.1.2 server is used as management server.
Embodiment two:
As shown in Fig. 2 a kind of device of batch upgrade server firmware based on Linux of the invention, including:Configuration module 201st, in the uploading module 204, upgrade execution module in preparation module 202, module of building up mutual trust 203, upgrade execution module Performing module 207 in Telnet module 206, upgrade execution module in distribution module 205, upgrade execution module and collect Module 208, configuration module 201 is sequentially connected the upload mould in preparation module 202, module of building up mutual trust 203, upgrade execution module The Telnet module 206 in distribution module 205, upgrade execution module, upgrading in block 204, upgrade execution module perform mould Performing module 207 and collection module 208 in block.
Configuration module 201, the multiple servers for will be mounted with linux system are configured in same LAN;Prepare Module 202, the file for preparing upgrade server firmware;Module of building up mutual trust 203, for by the text of upgrade server firmware Part is uploaded in management server and is distributed to other servers, performs each server firmware upgrade script;Upgrading is performed Uploading module 204 in module, for by the files passe of upgrade server firmware to management server;Upgrade execution module In distribution module 205, for the file of the upgrade server firmware in management server to be distributed into other by LAN Server;Telnet module 206 in upgrade execution module, for by being remotely logged into each server;Upgrading performs mould Performing module 207 in block, for performing each server firmware upgrade script, each server firmware of upgrading;Collection module 208, For collecting the object information returned after each server execute server firmware upgrade script, wherein object information includes escalating into Work(prompt message or upgrading failure prompt message.
Embodiment three:
As shown in figure 3, the method for another batch upgrade server firmware based on Linux of the invention, comprises the following steps:
Step S301, will be mounted with that multiple servers of linux system are configured in same LAN.
Step S302, prepares the file of upgrade server firmware.
Step S303, chooses one of server as management server, is built up mutual trust relation with other servers.
Step S304, will be divided on the files passe of upgrade server firmware to management server and to other servers Hair, performs each server firmware upgrade script.
Example IV:
As shown in figure 4, the device of another batch upgrade server firmware based on Linux of the invention, including:Configuration module 401st, preparation module 402, module of building up mutual trust 403 and upgrade execution module 404, configuration module 401 are sequentially connected preparation module 402nd, module of building up mutual trust 403 and upgrade execution module 404.
Configuration module 401, the multiple servers for will be mounted with linux system are configured in same LAN;Prepare Module 402, the file for preparing upgrade server firmware;Module of building up mutual trust 403, for by the text of upgrade server firmware Part is uploaded in management server and is distributed to other servers, performs each server firmware upgrade script;Upgrading is performed Module 404, for will be distributed on the files passe of upgrade server firmware to management server and to other servers, holds Each server firmware upgrade script of row.
Illustrated above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method of the batch upgrade server firmware based on Linux, it is characterised in that including:
To be mounted with that multiple servers of linux system are configured in same LAN;
Prepare the file of upgrade server firmware;
One of server is chosen as management server, is built up mutual trust relation with other servers;
By on the files passe of upgrade server firmware to management server, and it is distributed to other servers, performs each clothes Business device firmware upgrade script.
2. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that described Upgrade server firmware includes upgrading basic input output system and upgrading baseboard management controller.
3. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that described To be mounted with that the configuration of each server of linux system refers to for each server is configured in same LAN in same LAN Ip addresses.
4. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that described Upgrade server firmware is operated under in-band management mechanism.
5. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that described One of server is chosen as management server, refers to choose one of service with other server relations of building up mutual trust Device can carry out free access as management server, management server between other servers.
6. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that will rise The files passe of level server firmware is distributed in management server and to other servers, performs each server firmware liter Level script, including:
By on the files passe of upgrade server firmware to management server;
The file of the upgrade server firmware in management server is distributed to other servers by LAN;
By being remotely logged into each server;
Each server firmware upgrade script is performed, each server firmware of upgrading.
7. the method for the batch upgrade server firmware based on Linux according to claim 1, it is characterised in that will The files passe of upgrade server firmware is distributed in management server and to other servers, performs each server firmware After upgrade script, also include:Collect the object information returned after each server execute server firmware upgrade script, wherein result Information includes upgrading successfully prompt message or upgrading failure prompt message.
8. based in claim 1-7 the method for any described batch upgrade server firmware based on Linux based on The device of the batch upgrade server firmware of Linux, it is characterised in that including:
Configuration module, the multiple servers for will be mounted with linux system are configured in same LAN;
Preparation module, the file for preparing upgrade server firmware;
Build up mutual trust module, for choosing one of server as management server, built up mutual trust pass with other servers System;
Upgrade execution module, for will enter on the files passe of upgrade server firmware to management server and to other servers Row distribution, performs each server firmware upgrade script.
9. the device of the batch upgrade server firmware based on Linux according to claim 8, it is characterised in that upgrading Performing module, further includes:
Uploading module, for by the files passe of upgrade server firmware to management server;
Distribution module, services for the file of the upgrade server firmware in management server to be distributed into other by LAN Device;
Telnet module, for by being remotely logged into each server;
Performing module, for performing each server firmware upgrade script, each server firmware of upgrading.
10. the device of the batch upgrade server firmware based on Linux according to claim 8, it is characterised in that also wrap Include:
Collection module, for collecting the object information returned after each server execute server firmware upgrade script, wherein result Information includes upgrading successfully prompt message or upgrading failure prompt message.
CN201710088016.6A 2017-02-19 2017-02-19 Method and device for batch updating server firmware based on Linux Pending CN106713053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710088016.6A CN106713053A (en) 2017-02-19 2017-02-19 Method and device for batch updating server firmware based on Linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710088016.6A CN106713053A (en) 2017-02-19 2017-02-19 Method and device for batch updating server firmware based on Linux

Publications (1)

Publication Number Publication Date
CN106713053A true CN106713053A (en) 2017-05-24

Family

ID=58911807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710088016.6A Pending CN106713053A (en) 2017-02-19 2017-02-19 Method and device for batch updating server firmware based on Linux

Country Status (1)

Country Link
CN (1) CN106713053A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634860A (en) * 2017-10-09 2018-01-26 上海新炬网络信息技术股份有限公司 A kind of weblogic clusters patch batch automatically updating method
CN108600031A (en) * 2018-05-10 2018-09-28 烽火通信科技股份有限公司 A kind of lower key of linux system upgrades the implementation method of primary, spare board
CN109117246A (en) * 2018-07-06 2019-01-01 网宿科技股份有限公司 Server and its command executing method, control method
CN109542474A (en) * 2018-10-15 2019-03-29 广东宝莱特医用科技股份有限公司 A kind of batch upgrading method of patient monitor firmware
CN109656587A (en) * 2018-11-13 2019-04-19 深圳智链物联科技有限公司 A kind of upgrade method and device of equipment firmware
CN109660391A (en) * 2018-12-10 2019-04-19 浪潮电子信息产业股份有限公司 A kind of pond server system firmware upgrade method, system and relevant apparatus
TWI668578B (en) * 2018-04-03 2019-08-11 神雲科技股份有限公司 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
CN110855501A (en) * 2019-11-21 2020-02-28 广州西麦科技股份有限公司 Batch publishing system, method and storage medium for creating middleware
CN113419767A (en) * 2021-06-22 2021-09-21 山东浪潮通软信息科技有限公司 Method, equipment and medium for updating application in Linux server through mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing node BMCs of Rack in batch
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
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 basic input/output systems (BIOSs) in batches by universal server
CN105589717A (en) * 2015-12-10 2016-05-18 浪潮电子信息产业股份有限公司 Batch BIOS (Basic Input Output System) refreshing method based on SSH (Spring Struts Hibernate) service
CN106227562A (en) * 2016-07-22 2016-12-14 浪潮电子信息产业股份有限公司 A kind of method of Smart Rack whole machine cabinet BIOS batch upgrading automatically

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing node BMCs of Rack in batch
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
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 basic input/output systems (BIOSs) in batches by universal server
CN105589717A (en) * 2015-12-10 2016-05-18 浪潮电子信息产业股份有限公司 Batch BIOS (Basic Input Output System) refreshing method based on SSH (Spring Struts Hibernate) service
CN106227562A (en) * 2016-07-22 2016-12-14 浪潮电子信息产业股份有限公司 A kind of method of Smart Rack whole machine cabinet BIOS batch upgrading automatically

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634860A (en) * 2017-10-09 2018-01-26 上海新炬网络信息技术股份有限公司 A kind of weblogic clusters patch batch automatically updating method
CN107634860B (en) * 2017-10-09 2021-05-25 上海新炬网络信息技术股份有限公司 Method for automatically upgrading weblogic cluster patches in batches
TWI668578B (en) * 2018-04-03 2019-08-11 神雲科技股份有限公司 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
CN108600031A (en) * 2018-05-10 2018-09-28 烽火通信科技股份有限公司 A kind of lower key of linux system upgrades the implementation method of primary, spare board
CN109117246A (en) * 2018-07-06 2019-01-01 网宿科技股份有限公司 Server and its command executing method, control method
CN109117246B (en) * 2018-07-06 2022-05-10 网宿科技股份有限公司 Server and command execution method and control method thereof
CN109542474A (en) * 2018-10-15 2019-03-29 广东宝莱特医用科技股份有限公司 A kind of batch upgrading method of patient monitor firmware
CN109656587A (en) * 2018-11-13 2019-04-19 深圳智链物联科技有限公司 A kind of upgrade method and device of equipment firmware
CN109660391A (en) * 2018-12-10 2019-04-19 浪潮电子信息产业股份有限公司 A kind of pond server system firmware upgrade method, system and relevant apparatus
CN109660391B (en) * 2018-12-10 2022-03-08 浪潮电子信息产业股份有限公司 Method, system and related device for upgrading firmware of pooling server system
CN110855501A (en) * 2019-11-21 2020-02-28 广州西麦科技股份有限公司 Batch publishing system, method and storage medium for creating middleware
CN110855501B (en) * 2019-11-21 2022-04-26 广州西麦科技股份有限公司 Batch publishing system, method and storage medium for creating middleware
CN113419767A (en) * 2021-06-22 2021-09-21 山东浪潮通软信息科技有限公司 Method, equipment and medium for updating application in Linux server through mobile terminal
CN113419767B (en) * 2021-06-22 2022-07-26 浪潮通用软件有限公司 Method, equipment and medium for updating application in Linux server through mobile terminal

Similar Documents

Publication Publication Date Title
CN106713053A (en) Method and device for batch updating server firmware based on Linux
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
US10003496B1 (en) Network change management
CN108924217B (en) Automatic deployment method of distributed cloud system
KR101954480B1 (en) Automated build-out of a cloud-computing stamp
Sung et al. Robotron: Top-down network management at facebook scale
EP2904739B1 (en) Discovering, validating, and configuring hardware-inventory components
EP2932387B1 (en) Deploying a hardware inventory as a cloud-computing stamp
CN109451021B (en) Internet of things edge side multi-heterogeneous network access system and method
JP2012248184A (en) Method for accessing automated system, and system to operate based on the same method
CN102013998B (en) Tr-069 protocol-based management method for realizing home network
CN103780441B (en) A kind of cloud terminal network management platform based on ARM framework and management method
CN105306225B (en) A kind of physical machine remote power-off method based on Openstack
CN104221325A (en) System and method for secure provisioning of virtualized images in network environment
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN111385127B (en) Intelligent processing system and method
CN106254127A (en) The Automation arranging method of RabbitMQ cluster service based on virtual platform
CN105718785A (en) Authentication-Free Configuration For Service Controllers
CN102479142A (en) Rack server system and monitoring method thereof
CN105991361A (en) Monitoring method and monitoring system for cloud servers in cloud computing platform
CN102457390A (en) Fault location method and system based on quality of experience (QoE)
CN107992392A (en) A kind of automatic monitoring repair system and method for cloud rendering system
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
CN104363306A (en) Private cloud management control method for enterprise
CN107733717B (en) Network configuration method for mobile operation and maintenance of cloud platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication