CN109445822A - A kind of method and system of CMC batch refresh double-mirror BMC - Google Patents

A kind of method and system of CMC batch refresh double-mirror BMC Download PDF

Info

Publication number
CN109445822A
CN109445822A CN201811298690.8A CN201811298690A CN109445822A CN 109445822 A CN109445822 A CN 109445822A CN 201811298690 A CN201811298690 A CN 201811298690A CN 109445822 A CN109445822 A CN 109445822A
Authority
CN
China
Prior art keywords
bmc
cmc
mirror
double
refresh
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
Application number
CN201811298690.8A
Other languages
Chinese (zh)
Other versions
CN109445822B (en
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 CN201811298690.8A priority Critical patent/CN109445822B/en
Publication of CN109445822A publication Critical patent/CN109445822A/en
Application granted granted Critical
Publication of CN109445822B publication Critical patent/CN109445822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Display Devices Of Pinball Game Machines (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses the method and system of CMC batch refresh double-mirror BMC a kind of, this method comprises: CMC obtains the BMC IP of node in place;The double-mirror BMC that node is arranged shows that information is the firmware of newest refreshing;Batch refresh BMC.Crawl the present invention is based on CMC to nodal information avoids causing the false judgment of CMC batch refresh BMC because showing constant by the way that double-mirror BMC is arranged in advance, at the same save because version show and it is expected it is inconsistent, during the investment of caused a large amount of manpowers is analyzed.

Description

A kind of method and system of CMC batch refresh double-mirror BMC
Technical field
The present invention relates to BMC to refresh field, and in particular to a kind of method and system of CMC batch refresh double-mirror BMC.
Background technique
Management system of the CMC (Chassis Management Controller) as cabinet, is responsible for the prison of entire cabinet Control and management, wherein CMC is that a most important ring, CMC are in all monitoring to the display of nodal information to the refreshing of node BMC What real-time display came out, BMC is double-mirror design at present, and what BMC was shown is all the version for enabling mirror image, at present CMC batch The test for refreshing BMC is all directly directly to refresh in CMCweb below as operation indicating, but CMC batch refresh BMC is only brushed Newly mirror image 1 refreshes after completing, and brings back to life to BMC, the enabling version (mirror image before the version that CMC is illustrated below is possible still 2) people, is allowed to take for prompt Flushing success, the practical illusion for refreshing failure.
Summary of the invention
To solve the above problems, the present invention provides the method and system of CMC batch refresh double-mirror BMC a kind of, avoid because It is constant to show, cause the false judgment of CMC batch refresh BMC.
The technical scheme is that a kind of method of CMC batch refresh double-mirror BMC, comprising:
CMC obtains the BMC IP of node in place;
The double-mirror BMC that node is arranged shows that information is the firmware of newest refreshing;
Batch refresh BMC.
Further, further includes:
BMC version is checked under CMC web.
Further, the CMC obtains the BMC IP of node in place, comprising:
CMC obtains the BMC IP of node in place by network.
Further, the batch refresh BMC, comprising:
Batch refresh BMC is operated according to CMC web.
Further, the batch refresh BMC, comprising:
When BMC Flushing success, prompts Flushing success and save refreshing result;
When BMC refreshes failure, prompts to refresh failure and save refreshing result.
The present invention also provides the systems of CMC batch refresh double-mirror BMC a kind of, comprising:
IP obtains module: the BMC IP of node in place is obtained for CMC;
BMC setup module: the double-mirror BMC for node to be arranged shows that information is the firmware of newest refreshing;
BMC refresh module: it is used for batch refresh BMC.
Further, further includes:
BMC version checking module: for checking BMC version under CMC web.
Further,
IP obtains the BMC IP that module obtains node in place for CMC by network.
Further,
BMC refresh module is used to operate batch refresh BMC according to CMC web.
Further, BMC refresh module further include:
Submodule is saved as the result is shown: for when BMC Flushing success, prompting Flushing success and saving refreshing as a result, working as When BMC refreshes failure, prompts to refresh failure and save refreshing result.
The method and system of CMC batch refresh double-mirror BMC provided by the invention, the crawl based on CMC to nodal information, By the way that double-mirror BMC is arranged in advance, avoid causing the false judgment of CMC batch refresh BMC because display is constant, saving simultaneously Because version show and it is expected it is inconsistent, during the investment of caused a large amount of manpowers is analyzed.
Detailed description of the invention
Fig. 1 is one method flow schematic diagram of the specific embodiment of the invention.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited to following implementation.
The communication of CMC and BMC is currently based on two ways, and one is I2C, and one is networks, and in CMC Web about batch Measuring the display that BMC refreshes with version is grabbed and shows by network, when CMC can normally obtain the letter of same network segment BMC When breath, illustrating the network communication of CMC and BMC, there is no problem, and the BMC firmware refreshing under CMC can be realized.
This programme principle are as follows: CMC obtains the IP of all nodes first, and whole node bimirrors are arranged by the way that order is automatic later As BMC is set as " firmware of newest refreshing ", batch refresh BMC again refreshes and completes and then the secondary version for checking BMC, version This change success, test are completed.
Embodiment one
The present embodiment provides the methods of CMC batch refresh double-mirror BMC a kind of, specifically includes the following steps:
S1:CMC obtains the BMC IP of node in place;
It should be noted that CMC obtains the BMC IP of node in place by network.
CMC obtains the BMC IP of node in place by network, is realized by executing with issuing orders: ipmitool-H CMCip-U admin–P admin–I lanplus raw 0x3c 0xb2 0x00 0x00。
In mentioned order, last position is 0-15, is the number of node, first node serial number is 00.Return value Byte23-26 is the IP of BMC.
S2: the double-mirror BMC that node is arranged shows that information is the firmware of newest refreshing;
It should be noted that it is " newest refreshing that the step is refreshed by the double-mirror BMC that order is configured all nodes Firmware ": ipmitool-H BMCip-U admin-P admin-I lanplus raw 0x32 0x8f 0x01 0x04.
S3: batch refresh BMC;
It should be noted that operating batch refresh BMC according to CMC web.
When BMC Flushing success, prompts Flushing success and save refreshing result;
When BMC refreshes failure, prompts to refresh failure and save refreshing result.
It saves to result is refreshed, is compareed when being checked so as to subsequent, and checking BMC version.
BMC version is checked under S4:CMC web;
It should be noted that checking BMC version using BMC firmware update module under CMC web.According to inspection result, knot Conjunction saves refreshing as a result, checking whether version changes success, avoids causing the mistake of CMC batch refresh BMC because display is constant Erroneous judgement.
Embodiment two
The present embodiment provides the systems of CMC batch refresh double-mirror BMC a kind of, comprising:
(1) IP obtains module: the BMC IP of node in place is obtained for CMC;
Module CM C obtains the BMC IP of node in place by network.
The module is by realizing BMC IP:ipmitool-H that CMC obtains by network node in place to issue orders CMCip-U admin –P admin–I lanplus raw 0x3c 0xb2 0x00 0x00。
In mentioned order, last position is 0-15, is the number of node, first node serial number is 00.Return value Byte23-26 is the IP of BMC.
(2) BMC setup module: the double-mirror BMC for node to be arranged shows that information is the firmware of newest refreshing;
It is " firmware of newest refreshing " that the module is refreshed by the double-mirror BMC that order is configured all nodes: ipmitool-H BMCip-U admin–P admin–I lanplus raw 0x32 0x8f 0x01 0x04。
(3) BMC refresh module: it is used for batch refresh BMC;
The module operates batch refresh BMC according to CMC web.
The module further includes saving submodule as the result is shown, saves submodule as the result is shown and is used for when BMC Flushing success, Prompt Flushing success simultaneously saves refreshing result;When BMC refreshes failure, prompts to refresh failure and save refreshing result.
It saves to result is refreshed, is compareed when being checked so as to subsequent, and checking BMC version.
(4) BMC version checking module: for checking BMC version under CMC web.
According to inspection result, in conjunction with refreshing is saved as a result, checking whether version changes success, avoid because showing not Become, causes the false judgment of CMC batch refresh BMC.
Crawl of this programme based on CMC to nodal information, by the way that double-mirror BMC is arranged in advance, avoid because show it is constant, The false judgment of CMC batch refresh BMC is caused, while being saved because version shows and it is expected inconsistent, caused a large amount of people In the investment analysis of power.This programme is suitable for the validation test of all second levels monitoring batch refresh double-mirror BMC.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and Retouching, should all be within the scope of the present invention.

Claims (10)

1. a kind of method of CMC batch refresh double-mirror BMC characterized by comprising
CMC obtains the BMC IP of node in place;
The double-mirror BMC that node is arranged shows that information is the firmware of newest refreshing;
Batch refresh BMC.
2. the method for CMC batch refresh double-mirror BMC according to claim 1, which is characterized in that further include:
BMC version is checked under CMC web.
3. the method for CMC batch refresh double-mirror BMC according to claim 1, which is characterized in that the CMC is obtained The BMC IP of position node, comprising:
CMC obtains the BMC IP of node in place by network.
4. the method for CMC batch refresh double-mirror BMC according to claim 1, which is characterized in that the batch refresh BMC, comprising:
Batch refresh BMC is operated according to CMC web.
5. the method for CMC batch refresh double-mirror BMC according to claim 4, which is characterized in that the batch refresh BMC, comprising:
When BMC Flushing success, prompts Flushing success and save refreshing result;
When BMC refreshes failure, prompts to refresh failure and save refreshing result.
6. a kind of system of CMC batch refresh double-mirror BMC characterized by comprising
IP obtains module: the BMC IP of node in place is obtained for CMC;
BMC setup module: the double-mirror BMC for node to be arranged is the firmware for showing the newest refreshing of information;
BMC refresh module: it is used for batch refresh BMC.
7. the system of CMC batch refresh double-mirror BMC according to claim 6, which is characterized in that further include:
BMC version checking module: for checking BMC version under CMC web.
8. the system of CMC batch refresh double-mirror BMC according to claim 6, which is characterized in that
IP obtains the BMC IP that module obtains node in place for CMC by network.
9. the system of CMC batch refresh double-mirror BMC according to claim 6, which is characterized in that
BMC refresh module is used to operate batch refresh BMC according to CMC web.
10. the system of CMC batch refresh double-mirror BMC according to claim 9, which is characterized in that BMC refresh module is also Include:
Submodule is saved as the result is shown: for when BMC Flushing success, prompting Flushing success and saving refreshing as a result, when BMC is brushed When new failure, prompts to refresh failure and save refreshing result.
CN201811298690.8A 2018-11-02 2018-11-02 Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card) Active CN109445822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811298690.8A CN109445822B (en) 2018-11-02 2018-11-02 Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811298690.8A CN109445822B (en) 2018-11-02 2018-11-02 Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card)

Publications (2)

Publication Number Publication Date
CN109445822A true CN109445822A (en) 2019-03-08
CN109445822B CN109445822B (en) 2021-10-22

Family

ID=65549697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811298690.8A Active CN109445822B (en) 2018-11-02 2018-11-02 Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card)

Country Status (1)

Country Link
CN (1) CN109445822B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169106A1 (en) * 2005-12-14 2007-07-19 Douglas Darren C Simultaneous download to multiple targets
CN102779057A (en) * 2012-06-29 2012-11-14 浪潮(北京)电子信息产业有限公司 Base board management controller and automatic upgrade system and method thereof
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
US20140122851A1 (en) * 2012-10-31 2014-05-01 International Business Machines Corporation Transferring files to a baseboard management controller ('bmc') in a computing system
CN104182261A (en) * 2014-09-01 2014-12-03 浪潮电子信息产业股份有限公司 Online firmware batch upgrading method
CN106775590A (en) * 2017-01-18 2017-05-31 济南浪潮高新科技投资发展有限公司 A kind of method that BMC updates mainboard BIOS firmware
CN107704254A (en) * 2017-09-07 2018-02-16 郑州云海信息技术有限公司 The system and method for PSU firmwares is updated under a kind of BMC web interfaces
CN108173712A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of double-mirror BMC stability test methods
CN108334367A (en) * 2017-08-31 2018-07-27 郑州云海信息技术有限公司 A kind of firmware remote update system and method towards BMC chip

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169106A1 (en) * 2005-12-14 2007-07-19 Douglas Darren C Simultaneous download to multiple targets
CN102779057A (en) * 2012-06-29 2012-11-14 浪潮(北京)电子信息产业有限公司 Base board management controller and automatic upgrade system and method thereof
US20140122851A1 (en) * 2012-10-31 2014-05-01 International Business Machines Corporation Transferring files to a baseboard management controller ('bmc') in a computing system
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
CN104182261A (en) * 2014-09-01 2014-12-03 浪潮电子信息产业股份有限公司 Online firmware batch upgrading method
CN106775590A (en) * 2017-01-18 2017-05-31 济南浪潮高新科技投资发展有限公司 A kind of method that BMC updates mainboard BIOS firmware
CN108334367A (en) * 2017-08-31 2018-07-27 郑州云海信息技术有限公司 A kind of firmware remote update system and method towards BMC chip
CN107704254A (en) * 2017-09-07 2018-02-16 郑州云海信息技术有限公司 The system and method for PSU firmwares is updated under a kind of BMC web interfaces
CN108173712A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of double-mirror BMC stability test methods

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUNHA AHN: "Completeness bounds and sequentialization for model checking of interacting firmware and hardware", 《2015 INTERNATIONAL CONFERENCE ON HARDWARE/SOFTWARE CODESIGN AND SYSTEM SYNTHESIS (CODES+ISSS)》 *
莱迪思半导体: "分布式PLD解决方案可降低服务器成本并提升灵活性", 《中国集成电路》 *

Also Published As

Publication number Publication date
CN109445822B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN107730589B (en) A kind of assembly method of electric appliance, device, storage equipment, mobile terminal and electric appliance
CN205594359U (en) Computer lab environmental monitoring device
CN112835604B (en) System gray version release management method, system, equipment and medium
US20180197116A1 (en) Systems and methods for controlling, monitoring and automating electronic devices, and systems and methods for generating user interfaces to control, monitor, and automate electronic devices
CN110535945A (en) Test method, device, equipment and the storage medium of storage cluster alarm function
CN108549356B (en) Production testing method of automatic street lamp controller
CN107894956A (en) A kind of long-range BIOS promotion and demotion refresh automated testing method
TW201933096A (en) Semiconductor device and failure detection method of the semiconductor device
CN110446314A (en) Mesh road lamp system, management method and storage medium
CN109445822A (en) A kind of method and system of CMC batch refresh double-mirror BMC
CN111753890B (en) Two-place three-center fault prediction method and system based on logistic regression
CN107436891A (en) Management method based on SQL scripts market database
CN111338767B (en) PostgreSQL master-slave database automatic switching system and method
CN203457171U (en) Home gateway with automatic fault elimination indication
CN107222586A (en) A kind of BMC IP method in automatic identification LAN
CN103577248B (en) The node exception restorative procedure of distributed splice displaying system and system
CN114706371A (en) Complete vehicle network non-dormancy diagnosis method and device, electronic equipment and storage medium
CN104795014B (en) The abnormality eliminating method and system of multiple signals combination windowing
CN114513397A (en) Intelligent operation and maintenance system of video monitoring box
CN111626531B (en) Risk control method, apparatus, system and storage medium
CN101867499A (en) Method for testing quality of set top box port and writing in MAC address
CN113472891A (en) SDN controller cluster data processing method, device and medium
CN108958995A (en) A kind of method and system of whole machine cabinet server stability test
CN108880907B (en) Network equipment automatic inspection and maintenance system based on operation log
CN112770310B (en) Concurrent double-module gateway wireless fire alarm system and implementation method

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