CN106339281A - Method of retaining system crash log on POWER system through BMC (boardmanagement control) - Google Patents

Method of retaining system crash log on POWER system through BMC (boardmanagement control) Download PDF

Info

Publication number
CN106339281A
CN106339281A CN201610809315.XA CN201610809315A CN106339281A CN 106339281 A CN106339281 A CN 106339281A CN 201610809315 A CN201610809315 A CN 201610809315A CN 106339281 A CN106339281 A CN 106339281A
Authority
CN
China
Prior art keywords
bmc
daily record
bios
log
cpu
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
CN201610809315.XA
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.)
Suzhou Zhongtai Server Co Ltd
Original Assignee
Suzhou Zhongtai Server 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 Suzhou Zhongtai Server Co Ltd filed Critical Suzhou Zhongtai Server Co Ltd
Priority to CN201610809315.XA priority Critical patent/CN106339281A/en
Publication of CN106339281A publication Critical patent/CN106339281A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1489Generic software techniques for error detection or fault masking through recovery blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method of retaining a system crash log on a POWER system through a BMC (boardmanagement control). A CPU (central processing unit) sends a system log to the BMC and stores the system log in the BMC in real time; the system log is prevented from being written into a Flash for storing BIOS (basic input and output system) FW(firmware), so that the BIOS FW damage risk can be avoided. The CPU sends the system log to the BMC through an IPMI (intelligent platform management interface) protocol. The BMC pre-allocates one memory space for storing the system log from the CPU. After the system crashing, the log before the system crashing can be checked on the BMC. According to the method, the system log is not directly stored into the Flash storing the BIOS FW; the system log is sent to the BMC through the IPMI protocol or other sending modes; the system log is stored into the pre-allocated memory space of the BMC or mounted external storage equipment; when the system crashes, the CPU sends the system log before the crushing to the BMC in real time, so that the all received system logs can be checked on the BMC; the BIOS FW damage risk is avoided.

Description

A kind of method in power system, system crash daily record being retained by bmc
Technical field
The invention belongs to server application technical field, pass through bmc(boardmanagement more particularly, to a kind of Control, mainboard management controls) power(ibm a kind of server product title) system crash daily record is entered in system The method that row retains.
Background technology
When system crash, system journal write deposits bios(basic input and output system, substantially Input-output system) fw(firmware, firmware) flash in;The prior art has the drawback that: system journal is write The flash entering is the flash depositing bios fw simultaneously, writes this flash and there is the risk destroying bios fw, System will be led to cannot to start once bios fw damages.
Content of the invention
For the defect of prior art, it is an object of the invention to provide a kind of right in power system by bmc The method that system crash daily record is retained is it is intended to solve in prior art because the flash of system journal write is simultaneously Once depositing the flash of bios fw so that bios fw damages the problem that system will be led to cannot to start.
In the method in power system, system crash daily record being retained by bmc that the present invention provides, will System crash daily record in power system is retained by bmc, rather than is directly stored in and deposits bios fw's In flash, thus avoiding damage to the risk of bios fw.
The invention provides a kind of method in power system, system crash daily record being retained by bmc, cpu In real time system journal is sent to bmc and preserves at bmc, it is to avoid system journal write is deposited bios fw's Flash, thus avoid damage to the risk of bios fw.
Further, system journal is sent to bmc by ipmi agreement by cpu.
Further, bmc allocates a piece of memory headroom in advance for depositing the system journal from cpu.
Further, described memory headroom is taken and is recycled strategy, deposits elder generation when storing daily record according to daily record Distribute daily record id afterwards, the id of new daily record distribution is more than the id of old daily record, once this piece internal memory is deposited by system journal Full, then oldest log information is deleted according to daily record id and be used for depositing up-to-date log information.
Further, oldest daily record refers to the daily record the longest of resting period in system, and up-to-date daily record refers to system In recently received daily record.
Further, daily record after system crash, before system crash being checked on bmc.
In the present invention, system journal is not directly stored in the flash having bios fw;System journal is passed through Ipmi agreement or other sending methods are sent to bmc;System journal be saved in bmc predistribution memory headroom or under Hang External memory equipment;So, once system crash, give because the system journal before collapse is sent by cpu in real time Bmc, therefore can check all system journals receiving on bmc, it is to avoid destroys the risk of bios fw.
Brief description
Fig. 1 is the method institute base in power system, system crash daily record being retained by bmc that the present invention provides In system principle diagram.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and It is not used in the restriction present invention.
Fig. 1 is shown and provided in an embodiment of the present invention in power system, system crash daily record is entered by bmc The system principle diagram that is based on of method that row retains, provided in an embodiment of the present invention is existed by bmc to illustrate further The method in power system, system crash daily record being retained, in conjunction with accompanying drawing, details are as follows: cpu is in real time by system day Will passes through ipmi(intelligent platform management interface, IPMI) agreement sends out Give bmc, bmc allocates a piece of memory headroom in advance for depositing the system journal from cpu.This memory headroom is taken and is followed Ring Utilization strategies, the successively distribution daily record id that deposits according to daily record when storing daily record, the id that new daily record distributes is more than old Daily record id, once this piece internal memory is filled with by system journal, then oldest log information is deleted according to daily record id and is used for Deposit up-to-date log information.Oldest daily record herein refers to the daily record the longest of resting period in system, and up-to-date daily record refers to Recently received daily record in system.
Once system crash, give bmc because the system journal before collapse is sent in real time by cpu, therefore can be All system journals receiving are checked on bmc, including the daily record before system crash.
By system journal being sent to bmc and preserving at bmc, can avoid depositing system journal write The flash of bios fw, thus avoid damage to the risk of bios fw.
In embodiments of the present invention, system journal is not directly stored in the flash having bios fw;System day Will is sent to bmc by ipmi agreement or other sending methods;System journal is saved in the predistribution memory headroom of bmc Or lower extension External memory equipment.So, once system crash, due to cpu by collapse before system journal send in real time Give bmc, all system journals receiving therefore can be checked on bmc, it is to avoid destroy the risk of bios fw.
As it will be easily appreciated by one skilled in the art that the foregoing is only presently preferred embodiments of the present invention, not in order to Limit the present invention, all any modification, equivalent and improvement made within the spirit and principles in the present invention etc., all should comprise Within protection scope of the present invention.

Claims (6)

1. a kind of method in power system, system crash daily record being retained by bmc is it is characterised in that cpu In real time system journal is sent to bmc and preserves at bmc, it is to avoid system journal write is deposited bios fw's Flash, thus avoid damage to the risk of bios fw.
2. the method as described in claim 1 is it is characterised in that system journal is sent to by cpu by ipmi agreement bmc.
3. the method as described in claim 1 or 2 is it is characterised in that bmc allocates a piece of memory headroom in advance is used for depositing Put the system journal from cpu.
4. the method as described in claim 3, it is characterised in that described memory headroom is taken and recycled strategy, is storing The successively distribution daily record id that deposits according to daily record during daily record, the id of new daily record distribution are more than the id of old daily record, once should Piece internal memory is filled with by system journal, then delete oldest log information according to daily record id and be used for depositing up-to-date log information.
5. the method as described in claim 4 is it is characterised in that oldest daily record refers to day the longest resting period in system Will, up-to-date daily record refers to recently received daily record in system.
6. the method as described in any one of claim 1-5 is it is characterised in that after system crash, can check on bmc Daily record before system crash.
CN201610809315.XA 2016-09-08 2016-09-08 Method of retaining system crash log on POWER system through BMC (boardmanagement control) Pending CN106339281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610809315.XA CN106339281A (en) 2016-09-08 2016-09-08 Method of retaining system crash log on POWER system through BMC (boardmanagement control)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610809315.XA CN106339281A (en) 2016-09-08 2016-09-08 Method of retaining system crash log on POWER system through BMC (boardmanagement control)

Publications (1)

Publication Number Publication Date
CN106339281A true CN106339281A (en) 2017-01-18

Family

ID=57823855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610809315.XA Pending CN106339281A (en) 2016-09-08 2016-09-08 Method of retaining system crash log on POWER system through BMC (boardmanagement control)

Country Status (1)

Country Link
CN (1) CN106339281A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383012A (en) * 2023-05-26 2023-07-04 苏州浪潮智能科技有限公司 Method and device for acquiring boot log and method for transmitting boot log

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902435A (en) * 2012-12-26 2014-07-02 鸿富锦精密工业(深圳)有限公司 System and method for recording log events in server testing
CN104424084A (en) * 2013-08-27 2015-03-18 鸿富锦精密电子(天津)有限公司 System error information detection system and method for server
US20150193336A1 (en) * 2014-01-06 2015-07-09 Hon Hai Precision Industry Co., Ltd. Computing device and method for recording system event logs of computing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902435A (en) * 2012-12-26 2014-07-02 鸿富锦精密工业(深圳)有限公司 System and method for recording log events in server testing
CN104424084A (en) * 2013-08-27 2015-03-18 鸿富锦精密电子(天津)有限公司 System error information detection system and method for server
US20150193336A1 (en) * 2014-01-06 2015-07-09 Hon Hai Precision Industry Co., Ltd. Computing device and method for recording system event logs of computing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
薛为民: "《网络系统管理与维护》", 31 August 2007, 中央广播电视大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383012A (en) * 2023-05-26 2023-07-04 苏州浪潮智能科技有限公司 Method and device for acquiring boot log and method for transmitting boot log
CN116383012B (en) * 2023-05-26 2023-08-18 苏州浪潮智能科技有限公司 Method and device for acquiring boot log and method for transmitting boot log

Similar Documents

Publication Publication Date Title
CN109857737B (en) Cold and hot data storage method and device and electronic equipment
US10565165B2 (en) Selective deduplication
CN104331492B (en) A kind of method and device for caching more instance datas
CN110995776B (en) Block distribution method and device of block chain, computer equipment and storage medium
CN111756601B (en) Microservice architecture monitoring method and device, computer equipment and readable storage medium
CN104765661B (en) The multinode hot spare method of Metadata Service node in a kind of cloud storage service
WO2019001521A1 (en) Data storage method, storage device, client and system
CN102521712A (en) Process instance data processing method and device
US20150286671A1 (en) Transaction system
CN107153644A (en) A kind of method of data synchronization and device
CN101808121A (en) Method and device for writing server log of mobile terminal into database
CN104935469A (en) Distributive storage method and system for log information
US20170010813A1 (en) Performance during playback of logged data storage operations
CN106569964A (en) Power-off protection method, power-off protection device, power-off protection system and memory
CN105589887A (en) Data processing method for distributed file system and distributed file system
CN104484131A (en) Device and corresponding method for processing data of multi-disk servers
WO2023277819A3 (en) Data processing method, system, device, computer program product, and storage function
CN114138549A (en) Data backup and recovery method based on kubernets system
EP2731026A1 (en) Managing data within a cache
CN105159820A (en) Transmission method and device of system log data
CN115455058A (en) Cache data processing method and device, computer equipment and storage medium
CN103617099B (en) A kind of real-time user file content auditing method and system
CN106339281A (en) Method of retaining system crash log on POWER system through BMC (boardmanagement control)
CN106406771B (en) Log recording method and logger
CN104424188A (en) System and method for updating obtained webpage data

Legal Events

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

Application publication date: 20170118