CN107066307A - A kind of outer batch orientation upgrading BMC of the band of easy O&M method - Google Patents

A kind of outer batch orientation upgrading BMC of the band of easy O&M method Download PDF

Info

Publication number
CN107066307A
CN107066307A CN201710393206.9A CN201710393206A CN107066307A CN 107066307 A CN107066307 A CN 107066307A CN 201710393206 A CN201710393206 A CN 201710393206A CN 107066307 A CN107066307 A CN 107066307A
Authority
CN
China
Prior art keywords
bmc
management end
upgrading
new edition
upgraded
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
CN201710393206.9A
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 CN201710393206.9A priority Critical patent/CN107066307A/en
Publication of CN107066307A publication Critical patent/CN107066307A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

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)
  • Stored Programmes (AREA)

Abstract

A kind of outer batch orientation upgrading BMC of the band of easy O&M method, is related to BMC maintenance technologies field, a kind of outer batch orientation upgrading BMC of the band of easy O&M method, it is characterized in that, comprise the following steps:1), by some servers by the way that in network connection to same management end, some new edition files are stored into management end;2) upgrading scheme, is inputted in management end;3), management end by script to step 2) described in configuration file parse;4), management end is according to step 3) analysis result search out step 2) described in the corresponding new edition files of BMC, management end by the new edition file update arrive step 2) described in BMC on.Beneficial effect is conveniently batch fast and accurately BMC to be upgraded.

Description

A kind of outer batch orientation upgrading BMC of the band of easy O&M method
Technical field
The present invention relates to BMC maintenance technologies field, specifically a kind of outer batch orientation upgrading BMC's of the band of easy O&M Method.
Background technology
Baseboard management controller (Baseboard Management Controller), english abbreviation is BMC, is a kind of System for management server.
With the development of big data, the quantity of client's buying server is increasingly huge, and client faces ten hundreds of computer rooms, Propose great challenge to O&M, tens of thousands of even may have different vendor, different model, client in hundreds of thousands platform server Every server can be typically monitored by accessing the BMC of server, BMC as server platform manage it is " big Brain ", vital effect is played in client's O&M environment.
As a powerful BMC, edition upgrading for several times can be undergone unavoidably during its military service, how to ensure to rise The accuracy rate of level becomes a problem of client's O&M team, and BMC upgrade actions of the prior art are typically fairly simple, i.e., By instrument, by IP, user name, password transmission to upgrading tool, upgrading tool know after BMC IP, user name, password with Start upgrade actions, a kind of upgrading tool of the prior art can only carry out upgrading upgrading to the type of same model, such as, Upgrading tool A can only be realized is upgraded to version a by type A from version A, but can not be used for the upgrade job to type C. The above method is even applicable the server of monotype number, but often O&M the board of different manufacturers different model to client's computer room, Its rule upgraded may be ever-changing, such as A types upgrade to a versions, and B types upgrade to b versions, and C types upgrade to c editions This, now upgrading mode of the prior art obviously can not meet customer need.
The content of the invention
It is an object of the invention to provide a kind of outer batch orientation upgrading BMC of band of easy O&M method, for solving nothing The problem of method carries out batch upgrade to BMC.
The technical scheme adopted by the invention to solve the technical problem is that:
A kind of outer batch orientation upgrading BMC of the band of easy O&M method, comprises the following steps:
1), by some servers by the way that in network connection to same management end, some new edition file storages are arrived In management end;
2), input upgrading scheme in management end, upgrading scheme include needing the BMC for the server upgraded IP, The BMC model and the BMC of the model for the server that the user name of the BMC, the password of the BMC, needs are upgraded need to rise The title for the new edition file that level is arrived, management end stores upgrading scheme into configuration file;
3), management end by script to step 2) described in configuration file parse;
4), management end is according to step 3) analysis result search out step 2) described in the corresponding new edition files of BMC, Management end by the new edition file update arrive step 2) described in BMC on.
Further, the step 2) in configuration file include ip.txt and config.txt, it is necessary to be upgraded The BMC of server IP, the user name of the BMC and the BMC password storage are into ip.txt, it is necessary to the server upgraded BMC model and model BMC need the title of new edition file being upgraded to store into config.txt.
Further, the step 3) in script use Shell scripts.
Further, the step 1) in some new edition file is stored into method into management end specifically, building A new edition file is respectively stored in vertical some files, each file, file is with corresponding new edition file Title be named.
The beneficial effects of the invention are as follows:
A kind of outer batch orientation upgrading BMC of band for easy O&M that the present invention is provided method, can pass through a management end The upgrade job that batch is carried out to the BMC of some servers is realized, in the upgrade job that batch carries out BMC, even in BMC Quantity is various and when more BMC model that be related to, can also realize and quickly accurately be upgraded to each BMC pair The version answered, improves the speed of BMC upgrade jobs.
Brief description of the drawings
Fig. 1 is flow chart of the invention;
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, ordinary skill people The every other embodiment that member is 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 present invention comprises the following steps:
1), by some servers by the way that in network connection to same management end, some new edition file storages are arrived In management end, by method of some new edition file storages into management end specifically, setting up some files, Mei Gewen A new edition file is respectively stored in part folder, file is named with the title of corresponding new edition file;
For example, new edition file includes 4.1.2,4.2.0 and 4.3.0, then built under store path/File of management end Three files are found, the title of these three files is respectively 4.1.2,4.2.0 and 4.3.0, and 4.1.2 new edition file is deposited In the file for storing up entitled 4.1.2,4.2.0 new edition file is stored into entitled 4.2.0 file, will 4.3.0 new edition file is stored into entitled 4.3.0 file;
2), input upgrading scheme in management end, upgrading scheme include needing the BMC for the server upgraded IP, The BMC model and the BMC of the model for the server that the user name of the BMC, the password of the BMC, needs are upgraded need to rise The title for the new edition file that level is arrived, management end stores upgrading scheme into configuration file;
Configuration file includes ip.txt and config.txt, it is necessary to the BMC for the server upgraded IP, the BMC User name and the password storage of the BMC are into ip.txt, it is necessary to the BMC for the server upgraded model and model BMC The title for the new edition file being upgraded to is needed to store into config.txt.
Ip.txt form is as follows,
By " exemplified by 192.168.0.1admin admin ", wherein " 192.168.0.1 " refers to needing what is upgraded The BMC of server IP, first " admin " refers to the user name of the BMC, and second " admin " refers to that the BMC's is close Code;
Config.txt form is as follows,
" NF5166H4 4.1.2 " refer to model NF5166H4 BMC being upgraded to 4.1.2 redaction, " NF5212G4 4.2.0 " refer to that model NF5212G4 BMC is upgraded to 4.2.0 redaction, and " SA3224L2 4.3.0 " refer to Be the version that model SA3224L2 BMC is upgraded to 4.3.0;
3), management end by Shell scripts to step 2) in configuration file parse;
Analysis result includes 5 variables.One is the IP for the BMC that $ IP need the server upgraded, and two be $ USER That is the user name of the BMC, three be the $ PASSWD i.e. password of the BMC, and four be the BMC of server that $ PN need to be upgraded Model, five be the title for the new edition file that $ FV i.e. model BMC needs are upgraded to, and these variables are automatic by Shell scripts Read from configuration file, the code of realization is as follows:
cat ip.txt|awk'{print$1}'|while read IP
cat ip.txt|awk'{print$2}'|while read USER
cat ip.txt|awk'{print$3}'|while read PASSWD
cat config.txt|awk'{print$1}'|while read PN
cat config.txt|awk'{print$2}'|while read FV
4), management end is according to step 3) analysis result search out step 2) described in the corresponding new editions of BMC This document, management end by the new edition file update arrive step 2) described in BMC on,
Specifically, management end by script according to step 3) in $ IP find BMC under the IP, then using $ USER and $ PASSWD logs in the BMC, and then management end reads the type information of the BMC by script, and the type information of the BMC is got in read For $ pn, then management end is in step 3) in analysis result in find the $ PN matched with $ pn, then management end finds $ PN Corresponding corresponding $ FV, then management end the $ FV are upgraded on corresponding BMC.
So that IP is 192.168.0.1 server as an example, management end finds IP under 192.168.0.1 by script BMC, then management end is by type informations of the script reading IP for 192.168.0.1 BMC, and IP is 192.168.0.1 BMC Model NF5166H4, then management end is in step 3) in analysis result in find model NF5166H4, then management end The corresponding corresponding $ FV i.e. 4.1.2 of model NF5166H4 are found, then management end upgrades 4.1.2 new edition file Onto corresponding BMC.
After upgrading terminates, updating result is verified.
A kind of outer batch orientation upgrading BMC of band for easy O&M that the present invention is provided method, can pass through a management end The upgrade job that batch is carried out to the BMC of some servers is realized, in the upgrade job that batch carries out BMC, only IP, use Name in an account book, password could carry out the work of corresponding upgrading when being all consistent with BMC type information to the BMC under the model, Ensure that the degree of accuracy of upgrade job.Quantity even in BMC is various and when more BMC model that be related to, Also it can realize and each BMC is accurately quickly upgraded to corresponding version, improve the speed of BMC upgrade jobs.

Claims (4)

1. a kind of outer batch orientation upgrading BMC of the band of easy O&M method, it is characterized in that, comprise the following steps:
1), by some servers by network connection to same management end, by some new edition file storages to management In end;
2) upgrading scheme, is inputted in management end, upgrading scheme includes the BMC for the server that needs are upgraded IP, BMC User name, the password of the BMC, the BMC needs of the model for needing the BMC of server upgraded and the model are upgraded to The title of new edition file, management end stores upgrading scheme into configuration file;
3), management end by script to step 2) described in configuration file parse;
4), management end is according to step 3) analysis result search out step 2) described in the corresponding new edition files of BMC, management Hold by the new edition file update arrive step 2) described in BMC on.
2. a kind of outer batch orientation upgrading BMC of the band of easy O&M according to claim 1 method, it is characterized in that, it is described Step 2) in configuration file include ip.txt and config.txt, it is necessary to the BMC for the server upgraded IP, the BMC User name and the BMC password storage into ip.txt, it is necessary to the BMC for the server upgraded model and the model BMC needs the title for the new edition file being upgraded to store into config.txt.
3. a kind of outer batch orientation upgrading BMC of the band of easy O&M according to claim 1 method, it is characterized in that, it is described Step 3) in script use Shell scripts.
4. a kind of outer batch orientation upgrading BMC of the band of easy O&M according to claim 1 method, it is characterized in that, it is described Step 1) in some new edition file is stored into method into management end specifically, setting up some files, Mei Gewen A new edition file is respectively stored in part folder, file is named with the title of corresponding new edition file.
CN201710393206.9A 2017-05-27 2017-05-27 A kind of outer batch orientation upgrading BMC of the band of easy O&M method Pending CN107066307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710393206.9A CN107066307A (en) 2017-05-27 2017-05-27 A kind of outer batch orientation upgrading BMC of the band of easy O&M method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710393206.9A CN107066307A (en) 2017-05-27 2017-05-27 A kind of outer batch orientation upgrading BMC of the band of easy O&M method

Publications (1)

Publication Number Publication Date
CN107066307A true CN107066307A (en) 2017-08-18

Family

ID=59616607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710393206.9A Pending CN107066307A (en) 2017-05-27 2017-05-27 A kind of outer batch orientation upgrading BMC of the band of easy O&M method

Country Status (1)

Country Link
CN (1) CN107066307A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733700A (en) * 2017-09-28 2018-02-23 郑州云海信息技术有限公司 A kind of remote reflash method and system of separate unit, bulk service device BMC
CN107895107A (en) * 2017-12-21 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of batch setting BMC username and passwords
CN108874420A (en) * 2018-06-12 2018-11-23 郑州云海信息技术有限公司 A kind of remote reflash system and method for bulk service device FRU
CN109002308A (en) * 2018-07-17 2018-12-14 郑州云海信息技术有限公司 A kind of method and device of BMC upgrading
CN109189454A (en) * 2018-11-02 2019-01-11 郑州云海信息技术有限公司 A kind of upgrade method and device of BMC
CN109240851A (en) * 2018-08-24 2019-01-18 郑州云海信息技术有限公司 A kind of autonomous type realization self-healing method and system of batch BMC
CN109388442A (en) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 A kind of method, apparatus and computer equipment of batch configuration BMC user
CN109413223A (en) * 2018-11-07 2019-03-01 郑州云海信息技术有限公司 Server B MC network interface IP address configuration method, device, equipment and medium
CN110943860A (en) * 2019-11-22 2020-03-31 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
CN111064643A (en) * 2019-12-29 2020-04-24 苏州浪潮智能科技有限公司 Node server and data interaction method and related device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317617A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Method for refreshing BMC Firmware in batch
CN105867975A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Method for refreshing BMC in batches based on LINUX platform
CN105867976A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Easy-to-apply server firmware online refreshing method
CN106445580A (en) * 2016-08-27 2017-02-22 浪潮(北京)电子信息产业有限公司 Method and device for BMC (Baseboard Management Controller) with external upgrading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317617A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Method for refreshing BMC Firmware in batch
CN105867975A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Method for refreshing BMC in batches based on LINUX platform
CN105867976A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Easy-to-apply server firmware online refreshing method
CN106445580A (en) * 2016-08-27 2017-02-22 浪潮(北京)电子信息产业有限公司 Method and device for BMC (Baseboard Management Controller) with external upgrading

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733700A (en) * 2017-09-28 2018-02-23 郑州云海信息技术有限公司 A kind of remote reflash method and system of separate unit, bulk service device BMC
CN107895107A (en) * 2017-12-21 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of batch setting BMC username and passwords
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
CN109002308A (en) * 2018-07-17 2018-12-14 郑州云海信息技术有限公司 A kind of method and device of BMC upgrading
CN109240851A (en) * 2018-08-24 2019-01-18 郑州云海信息技术有限公司 A kind of autonomous type realization self-healing method and system of batch BMC
CN109388442A (en) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 A kind of method, apparatus and computer equipment of batch configuration BMC user
CN109189454A (en) * 2018-11-02 2019-01-11 郑州云海信息技术有限公司 A kind of upgrade method and device of BMC
CN109413223A (en) * 2018-11-07 2019-03-01 郑州云海信息技术有限公司 Server B MC network interface IP address configuration method, device, equipment and medium
CN110943860A (en) * 2019-11-22 2020-03-31 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
CN110943860B (en) * 2019-11-22 2022-11-18 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
CN111064643A (en) * 2019-12-29 2020-04-24 苏州浪潮智能科技有限公司 Node server and data interaction method and related device thereof

Similar Documents

Publication Publication Date Title
CN107066307A (en) A kind of outer batch orientation upgrading BMC of the band of easy O&M method
US11144439B2 (en) Emulation-based testing of a microservices architecture
Arnold Openstack swift: Using, administering, and developing for swift object storage
US20130247136A1 (en) Automated Validation of Configuration and Compliance in Cloud Servers
EP2989543B1 (en) Method and device for updating client
RU2571726C2 (en) System and method of checking expediency of installing updates
US11470149B2 (en) State management for device-driven management workflows
US20080126439A1 (en) Change verification in a configuration management database
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
US20200092168A1 (en) Production software application performance and resiliency testing
CN109150608A (en) Interface service upgrade method and system for voice dialogue platform
US11188507B2 (en) Automatically setting an auto-purge value to multiple tables within a database
CN113687858B (en) Configuration file checking method and device, electronic equipment and storage medium
US8819663B2 (en) Acceleration of software modifications in networked devices
CN110502732A (en) A kind of rule generating method of discount coupon, device and server
US20220147399A1 (en) Declarative language and compiler for provisioning and deploying data centers on cloud platforms
US10452371B2 (en) Automating enablement state inputs to workflows in z/OSMF
AU2021204593A1 (en) Methods and apparatuses for installing device application
CN117493158A (en) Test method and device, electronic equipment and storage medium
US7958397B2 (en) System for automatically configuring a storage array
CN112433783A (en) Configuration method and related equipment
US20210021416A1 (en) Systems and methods for using automated browsing to recover secured key from a single data entry
US10762461B2 (en) Automatic comparison of enterprise profile analytics
CN109286692A (en) A kind of method of configuration server IPMI static ip address
US10572805B2 (en) Service modeling and execution

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: 20170818