CN109445822B - Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card) - Google Patents

Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card) Download PDF

Info

Publication number
CN109445822B
CN109445822B CN201811298690.8A CN201811298690A CN109445822B CN 109445822 B CN109445822 B CN 109445822B CN 201811298690 A CN201811298690 A CN 201811298690A CN 109445822 B CN109445822 B CN 109445822B
Authority
CN
China
Prior art keywords
bmc
cmc
refreshing
mirror
batch
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.)
Active
Application number
CN201811298690.8A
Other languages
Chinese (zh)
Other versions
CN109445822A (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

Images

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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Display Devices Of Pinball Game Machines (AREA)

Abstract

The invention discloses a method and a system for batch refreshing of double-mirror image BMC by CMC, wherein the method comprises the following steps: the CMC acquires a BMC IP of the on-site node; setting the double-mirror image BMC display information of the node as the latest refreshed firmware; and refreshing the BMC in batches. According to the method and the device, based on the grabbing of the node information by the CMC, the double-mirror image BMC is set in advance, so that the wrong judgment that the BMC is refreshed by the CMC in batches due to unchanged display is avoided, and meanwhile, the investment of a large amount of manpower caused by inconsistent version display and expectation is saved.

Description

Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card)
Technical Field
The invention relates to the field of BMC (baseboard management controller) refreshing, in particular to a method and a system for refreshing double-mirror-image BMC by CMC (baseboard management controller) in batches.
Background
CMC (sessions Management controller) is taken as a Management system of a chassis and is responsible for monitoring and managing the whole chassis, wherein refreshing of the CMC to the node is the most important ring in all monitoring, display of the information of the node by the CMC is displayed in real time, the BMC is designed by double images at present, the BMC displays the versions with enabled images, the current test of batch refreshing of the BMC by the CMC is directly refreshed under a CMCweb according to an operation prompt, but the BMC is refreshed in batch only in the form of an image 1, after the refreshing is finished, the BMC is waited to be revived, the version displayed under the CMC is possibly the previous enabled version (image 2), and people are mistaken for prompting the successful refreshing and false appearance of failure of actual refreshing.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and a system for batch refreshing dual-mirror BMC by CMC, so as to avoid erroneous judgment of batch refreshing BMC by CMC due to unchanged display.
The technical scheme of the invention is as follows: a method for batch refreshing of dual-mirror BMC by CMC includes:
the CMC acquires a BMC IP of the on-site node;
setting the double-mirror image BMC display information of the node as the latest refreshed firmware;
and refreshing the BMC in batches.
Further, still include:
the BMC version is checked under the CMC web.
Further, the CMC acquiring the BMC IP of the incumbent node includes:
the CMC obtains the BMC IP of the on-site node through the network.
Further, the batch refreshing of the BMC includes:
and refreshing the BMC in batches according to the CMC web operation.
Further, the batch refreshing of the BMC includes:
when the BMC is successfully refreshed, prompting that the refreshing is successful and storing a refreshing result;
and when the BMC fails to refresh, prompting that the refresh fails and storing a refresh result.
The invention also provides a system for batch refreshing of double-mirror image BMC by CMC, comprising:
an IP acquisition module: the BMC IP is used for the CMC to obtain the on-site node;
the BMC setting module: the double-mirror BMC display information used for setting the node is the latest refreshed firmware;
a BMC refreshing module: for batch refreshing of BMCs.
Further, still include:
a BMC version checking module: used for checking the BMC version under the CMC web.
Further, the air conditioner is provided with a fan,
and the IP acquisition module is used for acquiring the BMC IP of the on-site node by the CMC through the network.
Further, the air conditioner is provided with a fan,
and the BMC refreshing module is used for refreshing the BMCs in batches according to the CMC web operation.
Further, the BMC refresh module further includes:
and a result display and storage submodule: and when the BMC fails to refresh, the system prompts that the refresh is failed and saves the refresh result.
According to the method and the system for refreshing the double-mirror-image BMC in batch by the CMC, provided by the invention, based on the capture of the node information by the CMC, the wrong judgment of refreshing the BMC in batch by the CMC due to unchanged display is avoided by setting the double-mirror-image BMC in advance, and meanwhile, the investment analysis of a large amount of manpower caused by inconsistent version display and expectation is saved.
Drawings
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings by way of specific examples, which are illustrative of the present invention and are not limited to the following embodiments.
Communication between the CMC and the BMC is based on two modes at present, one mode is I2C, the other mode is a network, batch BMC refreshing and version display in the CMC Web are captured and displayed through the network, when the CMC can normally acquire information of the same-network-segment BMC, the network communication between the CMC and the BMC is not problematic, and BMC firmware refreshing under the CMC can be realized.
The principle of the scheme is as follows: the CMC firstly obtains the IP of all the nodes, then automatically sets the double-mirror BMC of all the nodes to be the latest refreshed firmware through a command, refreshes the BMC in batch, checks the version of the BMC again after refreshing is finished, and finishes testing after version change is successful.
Example one
The embodiment provides a method for batch refreshing of dual-mirror image BMC by CMC, which specifically comprises the following steps:
s1: the CMC acquires a BMC IP of the on-site node;
it should be noted that the CMC acquires the BMC IP of the incumbent node through the network.
The CMC acquires the BMC IP of the on-site node through the network and executes the following commands: Ipsmool-H CMCip-U admin-P admin-I landsplus raw 0x3c 0xb 20 x 000 x 00.
In the above command, the last bit is 0-15, which is the node number, and the first node number is 00. The Byte23-26 that returns the value is the IP for BMC.
S2: setting the double-mirror image BMC display information of the node as the latest refreshed firmware;
it should be noted that this step sets the dual-mirrored BMC refresh of all nodes to "newly refreshed firmware" by command: ipmitool-H BMCip-U admin-P admin-I landsplus raw 0x 320 x8f 0x 010 x 04.
S3: refreshing the BMC in batches;
note that BMCs are refreshed in batches according to CMC web operations.
When the BMC is successfully refreshed, prompting that the refreshing is successful and storing a refreshing result;
and when the BMC fails to refresh, prompting that the refresh fails and storing a refresh result.
And storing the refreshing result for later viewing, and comparing the refreshing result with the version of the BMC when the version of the BMC is checked.
S4: checking the BMC version under the CMC web;
it should be noted that the CMC web checks the BMC version with the BMC firmware update module. And checking whether the version is successfully changed or not by combining the stored refreshing result according to the checking result, and avoiding the wrong judgment that the BMC is refreshed by the CMC in batch because the display is unchanged.
Example two
The embodiment provides a system for batch refreshing dual-mirror BMC by CMC, including:
(1) an IP acquisition module: the BMC IP is used for the CMC to obtain the on-site node;
the module CMC obtains the BMC IP of the on-site node through the network.
The module realizes that the CMC obtains the BMC IP of the on-site node through the network by the following commands: Ipsmool-H CMCip-U admin-P admin-I landsplus raw 0x3c 0xb 20 x 000 x 00.
In the above command, the last bit is 0-15, which is the node number, and the first node number is 00. The Byte23-26 that returns the value is the IP for BMC.
(2) The BMC setting module: the double-mirror BMC display information used for setting the node is the latest refreshed firmware;
the module sets the double-mirror BMC refresh of all nodes to be 'newly refreshed firmware' by command: ipmitool-H BMCip-U admin-P admin-I landsplus raw 0x 320 x8f 0x 010 x 04.
(3) A BMC refreshing module: for batch refreshing of BMC;
the module refreshes the BMCs in batches according to CMC web operations.
The module also comprises a result display and storage submodule, wherein the result display and storage submodule is used for prompting that the BMC is successfully refreshed and storing a refreshing result when the BMC is successfully refreshed; and when the BMC fails to refresh, prompting that the refresh fails and storing a refresh result.
And storing the refreshing result for later viewing, and comparing the refreshing result with the version of the BMC when the version of the BMC is checked.
(4) A BMC version checking module: used for checking the BMC version under the CMC web.
And checking whether the version is successfully changed or not by combining the stored refreshing result according to the checking result, and avoiding the wrong judgment that the BMC is refreshed by the CMC in batch because the display is unchanged.
According to the scheme, based on the grabbing of the CMC to the node information, the double-mirror image BMC is set in advance, the wrong judgment that the BMC is refreshed by the CMC in batches due to unchanged display is avoided, and meanwhile, the input analysis of a large amount of manpower caused by inconsistent version display and expectation is saved. The scheme is suitable for all the verification tests of batch refreshing of the double-mirror image BMC through secondary monitoring.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A method for batch refreshing of dual-mirror BMC by CMC is characterized by comprising:
the CMC acquires a BMC IP of the on-site node; wherein the CMC refers to a management system of the chassis;
setting the double-mirror image BMC display information of the node as the latest refreshed firmware;
refreshing the BMC in batches;
the BMC version is checked under the CMC web.
2. The method for batch refreshing dual-mirror BMC by CMC according to claim 1, wherein the CMC acquires BMC IP of an in-place node, comprising:
the CMC obtains the BMC IP of the on-site node through the network.
3. The method for batch refreshing dual-mirror BMC by CMC according to claim 1, wherein the batch refreshing BMC comprises:
and refreshing the BMC in batches according to the CMC web operation.
4. The method for batch refreshing dual-mirror BMC by CMC in accordance with claim 3, wherein the batch refreshing BMC comprises:
when the BMC is successfully refreshed, prompting that the refreshing is successful and storing a refreshing result;
and when the BMC fails to refresh, prompting that the refresh fails and storing a refresh result.
5. A system for batch refreshing dual-mirror BMC by CMC, comprising:
an IP acquisition module: the BMC IP is used for the CMC to obtain the on-site node; wherein the CMC refers to a management system of the chassis;
the BMC setting module: the double-mirror image BMC used for setting the node is a firmware which is refreshed latest in display information;
a BMC refreshing module: for batch refreshing of BMC;
a BMC version checking module: used for checking the BMC version under the CMC web.
6. The CMC batch refresh dual-mirror BMC system of claim 5,
and the IP acquisition module is used for acquiring the BMC IP of the on-site node by the CMC through the network.
7. The CMC batch refresh dual-mirror BMC system of claim 5,
and the BMC refreshing module is used for refreshing the BMCs in batches according to the CMC web operation.
8. The system for batch refreshing dual-mirror BMC by CMC according to claim 7, wherein the BMC refresh module further comprises:
and a result display and storage submodule: and when the BMC fails to refresh, the system prompts that the refresh is failed and saves the refresh 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 CN109445822A (en) 2019-03-08
CN109445822B true 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779057A (en) * 2012-06-29 2012-11-14 浪潮(北京)电子信息产业有限公司 Base board management controller and automatic upgrade system and method thereof
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814479B2 (en) * 2005-12-14 2010-10-12 International Business Machines Corporation Simultaneous download to multiple targets
US9043776B2 (en) * 2012-10-31 2015-05-26 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Transferring files to a baseboard management controller (‘BMC’) in a computing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779057A (en) * 2012-06-29 2012-11-14 浪潮(北京)电子信息产业有限公司 Base board management controller and automatic upgrade system and method thereof
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
Completeness bounds and sequentialization for model checking of interacting firmware and hardware;Sunha Ahn;《2015 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS)》;20151119;202-211 *
分布式PLD解决方案可降低服务器成本并提升灵活性;莱迪思半导体;《中国集成电路》;20180305;75-79 *

Also Published As

Publication number Publication date
CN109445822A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN103336696B (en) The Oftware updating method of test instrunment and system
WO2019137345A1 (en) Method and apparatus for establishing communication connection with tire pressure monitoring system, and electronic device
CN101192181A (en) Power-on self-detection method
CN105120259B (en) Digital television detection method and device
EP4116961A1 (en) Method for configuration updating of led display screen, receiving card, led display module, and led display screen
CN110830791A (en) Automatic testing method, device and system for software function of television complete machine
CN107357694A (en) Error event reporting system and its method during startup self-detection
CN111506358B (en) Method and device for updating container configuration
CN115061885A (en) Complete machine aging automatic test method and device, electronic equipment and storage medium
CN114138587B (en) Method, device and equipment for verifying reliability of server power firmware upgrade
CN109445822B (en) Method and system for refreshing double-mirror-image BMC (baseboard management controller) in batches by CMC (controller card)
CN113570093A (en) Information reporting method, device, equipment and medium based on AI and RPA
CN113160726B (en) Power-on self-detection method and power-on self-detection device
CN101312546B (en) Method for tracking and recording television operation steps and television thereof
JP2018041514A (en) Shared data definition supporting system, supporting device of the same, and program
CN117215656A (en) Linux system-based self-adaptive vehicle chip method and device, electronic equipment and vehicle
CN106775590A (en) A kind of method that BMC updates mainboard BIOS firmware
CN116405421A (en) Communication test method, system and storage medium of simulation chip test sorting machine
CN107229650B (en) Test method and device
CN106647717B (en) Control parameter processing method, display terminal, controller and equipment
US20240104185A1 (en) Device registration methods and apparatuses, electronic devices and storage media
CN112463183B (en) Display control card aging detection method, device and system and computer readable medium
CN113114387B (en) Automatic test method, device, medium and electronic equipment
CN114860549B (en) Buried data verification method, buried data verification device, buried data verification equipment and storage medium
CN114461470B (en) Memory power consumption testing method, system, equipment and storage medium

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