CN104268068A - Method for acquiring server log information - Google Patents

Method for acquiring server log information Download PDF

Info

Publication number
CN104268068A
CN104268068A CN201410492540.6A CN201410492540A CN104268068A CN 104268068 A CN104268068 A CN 104268068A CN 201410492540 A CN201410492540 A CN 201410492540A CN 104268068 A CN104268068 A CN 104268068A
Authority
CN
China
Prior art keywords
log information
log
control panel
network
card
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
CN201410492540.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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410492540.6A priority Critical patent/CN104268068A/en
Publication of CN104268068A publication Critical patent/CN104268068A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for acquiring server log information, which relates to the field of computer communication. And establishing a log information acquisition control board, connecting the control board to a south bridge of the mainboard through an LPC bus interface, and establishing a system log storage link channel. The log information acquisition control board is connected to an onboard BMC chip and an onboard network chip through an I2C bus, and a storage channel for managing logs and network logs is established. And performing three partitions on a storage medium SD card on the log information acquisition control board, connecting an interface of the SD card to an onboard BMC management control system, and transmitting the log information in each partition to a user through a management network.

Description

A kind of acquisition methods of server log information
Technical field
The present invention relates to computer communication field, specifically utilize a kind of acquisition methods of server log information, solve the mode that current single dependence manual site boots obtains daily record, the accuracy of daily record and ageingly cannot to be guaranteed, real effective log information cannot be realized obtain, bring the problem of great difficulty to the positioning analysis of server master board problem.
Background technology
The log information recording of server master board the various status informations of mainboard in operational process, has important reference significance for system status monitoring and track problems.The current log information to server master board obtains, and the Working Status Monitoring and the failure problems that become server gradually follow the trail of key link.The log information of server master board is obtained, current usual way relies on customer service maintainer scene again to be started shooting by machine, read being recorded to the plate information in Flash of carrying by IPMI instruction, the log information of reading is saved in local USB flash disk simultaneously, realizes the off-line analysis to mainboard log information; Because current log acquisition mode exists the requirement of necessary execute-in-place, the acquisition of daily record is simultaneously fixed against the normal boot-strap again of server master board, for the server master board broken down, in most cases, all cannot normal boot-strap again, the log information of mainboard cannot obtain, even if can secondary start, because log information is by the impact of this start, log information is difficult to the concrete moment tracing back to generation problem.This single dependence manual site boots obtains the mode of daily record, the accuracy of daily record and ageingly cannot to be guaranteed, and cannot realize real effective log information and obtain, bring great difficulty to the positioning analysis of server master board problem.Require constantly to increase along with obtaining server log, in order to effective acquisition and the use of the daily record of Deterministic service device system, in the log acquisition process of actual mainboard, efficient, the easy-to-use design how realizing the acquisition of server master board log information is particularly important, and becomes one of key element determining server ease for use.
Summary of the invention
For the problems referred to above run in current server log acquisition process, in conjunction with gordian technique factors such as SD card subregions, by analysing in depth, we summarize a kind of acquisition methods of server log information.
The present invention is with the SD card theory of storage strong point, specifically utilize a kind of acquisition methods of server log information, solve the mode that current single dependence manual site boots obtains daily record, the accuracy of daily record and ageingly cannot to be guaranteed, real effective log information cannot be realized obtain, bring the problem of great difficulty to the positioning analysis of server master board problem.This method ensure that effective acquisition and the use of the daily record of server system, realize efficient, the easy-to-use design that server master board log information obtains, for the ease for use great significance for design of server system, concrete summary of the invention can be divided into following several aspect:
1, the timing of key log information, directive sending mechanism is 1. added in BIOS, until in system stable operation process from system boot.
2. set up log information and obtain control panel, and this control panel is connected on the south bridge of mainboard by lpc bus interface, set up system journal storage chains paths.
3. log information is obtained control panel and is connected on BMC chip that plate carries, network chip by I2C bus, sets up the memory channel of admin log and network log.
4. log information is obtained the storage medium SD card on control panel, carry out three subregions, system journal, admin log, network log are left in SD card according to different subregion.
5. the interface of SD card is connected in BMC management control system that plate carries, by supervising the network, the log information in each subregion is passed to user.
2, the timing of key log information, directive sending mechanism is added in BIOS according to claim 1, namely every 5 minutes, BIOS initiatively initiates the transmission of key log information, information comprises CPU Error state, internal memory temperature and data check state, PCIE card error information etc., until in system stable operation process from system boot, continue with the mode transmission system current state log information of character string.
3, log information of setting up according to claim 1 obtains control panel, and log information obtains control panel and is responsible for collecting record mainboard log information, and writes in storage medium by information; For obtaining the CPU of mainboard and the operation information of south bridge, this control panel is connected on the south bridge of mainboard by lpc bus interface, set up system journal storage chains paths, this bus run adds hot-swappable control, realize the charged access that log information obtains control panel.
4, log information according to claim 1 obtains control panel and is connected on BMC chip that plate carries, network chip by I2C bus, the system temperature of acquisition, system voltage information are passed to log information and obtain control panel by I2C bus by the BMC chip that plate carries, the CRC check packet drop of the transmission speed of network, network data is delivered to log information by I2C bus and obtains control panel by network chip in real time, sets up the memory channel of admin log and network log.
5, storage medium SD card log information obtained on control panel according to claim 1, carry out three subregions, carry out the division in space according to continuation address, partition method is: SD card total volume space 1/2nd as subregion one, place system daily record; SD card total volume quarter spaces as subregion two, placement management daily record; Card total volume quarter spaces, as subregion three, places network log.System journal, admin log, network log are left in SD card according to different subregion.
6, interface by SD card according to claim 1 is connected in the BMC management control system that plate carries, log information in each subregion is passed to user by supervising the network, obtain on control panel because SD card bus also needs to be connected to log information, read/write conflict is produced for preventing bus interface, by multidiameter option switch chip, the flow direction of control data, when the log information in SD needs the BMC management control system by realizing being carried by plate to upload, the BMC management control system that plate carries initiatively sends control signal by GPIO, switch the data flow of multidiameter option switch chip, default conditions are that the interface of SD card is connected on log information acquisition control panel.
This method ensure that effective acquisition and the use of the daily record of server system, realizes efficient, the easy-to-use design that server master board log information obtains, for the ease for use great significance for design of server system.
Accompanying drawing explanation
Accompanying drawing 1 is implementing procedure figure of the present invention.
Embodiment
More detailed elaboration is carried out to content of the present invention below:
1. set up in BIOS add key log information timing, directive sending mechanism, namely timer triggered interrupts is set in BIOS, every 5 minutes, BIOS initiatively initiates the transmission of key log information, information comprises CPU Error state, internal memory temperature and data check state, PCIE card error information etc., until in system stable operation process from system boot.
2. adopt ALTERA EPM240 chip to set up log information and obtain control panel, and this control panel is connected on the south bridge of mainboard by lpc bus interface, set up system journal storage chains paths.
3. log information is obtained control panel and is connected on BMC chip that plate carries, network chip by I2C bus, sets up the memory channel of admin log and network log.
4. log information is obtained the storage medium SD card on control panel, according to partition method described in this patent, carry out three subregions, system journal, admin log, network log are left in SD card according to different subregion.
5. the interface of SD card is connected in BMC management control system that plate carries, switch multidiameter option switch TS3L501, under making system idles state, daily record data is uploaded to user side by supervising the network, namely by supervising the network, the log information in each subregion is passed to user.
Through enforcement detailed above, we can realize localization and the telecommunication network access of server log information very easily, not only reach reliability requirement, and realize ease for use requirement, realize the reliability of server log acquisition of information, stability.

Claims (6)

1. an acquisition methods for server log information, is characterized in that being divided into following aspect:
1. the timing of key log information, directive sending mechanism is added in BIOS, until in system stable operation process from system boot;
2. set up log information and obtain control panel, and this control panel is connected on the south bridge of mainboard by lpc bus interface, set up system journal storage chains paths;
3. log information is obtained control panel and is connected on BMC chip that plate carries, network chip by I2C bus, sets up the memory channel of admin log and network log;
4. log information is obtained the storage medium SD card on control panel, carry out three subregions, system journal, admin log, network log are left in SD card according to different subregion;
5. the interface of SD card is connected in BMC management control system that plate carries, by supervising the network, the log information in each subregion is passed to user.
2. method according to claim 1, it is characterized in that the timing, the directive sending mechanism that add key log information in BIOS, namely every 5 minutes, BIOS initiatively initiates the transmission of key log information, information comprises CPU Error state, internal memory temperature and data check state, PCIE card error information etc., until in system stable operation process from system boot, continue with the mode transmission system current state log information of character string.
3. method according to claim 1, is characterized in that setting up log information obtains control panel, and log information obtains control panel and is responsible for collecting record mainboard log information, and writes in storage medium by information; For obtaining the CPU of mainboard and the operation information of south bridge, this control panel is connected on the south bridge of mainboard by lpc bus interface, set up system journal storage chains paths, this bus run adds hot-swappable control, realize the charged access that log information obtains control panel.
4. method according to claim 1, it is characterized in that log information obtains control panel and is connected on BMC chip that plate carries, network chip by I2C bus, the system temperature of acquisition, system voltage information are passed to log information and obtain control panel by I2C bus by the BMC chip that plate carries, the CRC check packet drop of the transmission speed of network, network data is delivered to log information by I2C bus and obtains control panel by network chip in real time, sets up the memory channel of admin log and network log.
5. method according to claim 1, it is characterized in that the storage medium SD card obtained by log information on control panel, carry out three subregions, carry out the division in space according to continuation address, partition method is: SD card total volume space 1/2nd as subregion one, place system daily record; SD card total volume quarter spaces as subregion two, placement management daily record; Card total volume quarter spaces, as subregion three, places network log; System journal, admin log, network log are left in SD card according to different subregion.
6. method according to claim 1, it is characterized in that the interface of SD card to be connected in BMC management control system that plate carries, log information in each subregion is passed to user by supervising the network, obtain on control panel because SD card bus also needs to be connected to log information, read/write conflict is produced for preventing bus interface, by multidiameter option switch chip, the flow direction of control data, when the log information in SD needs the BMC management control system by realizing being carried by plate to upload, the BMC management control system that plate carries initiatively sends control signal by GPIO, switch the data flow of multidiameter option switch chip, default conditions are that the interface of SD card is connected on log information acquisition control panel.
CN201410492540.6A 2014-09-24 2014-09-24 Method for acquiring server log information Pending CN104268068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410492540.6A CN104268068A (en) 2014-09-24 2014-09-24 Method for acquiring server log information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410492540.6A CN104268068A (en) 2014-09-24 2014-09-24 Method for acquiring server log information

Publications (1)

Publication Number Publication Date
CN104268068A true CN104268068A (en) 2015-01-07

Family

ID=52159591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410492540.6A Pending CN104268068A (en) 2014-09-24 2014-09-24 Method for acquiring server log information

Country Status (1)

Country Link
CN (1) CN104268068A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572421A (en) * 2015-02-03 2015-04-29 浪潮电子信息产业股份有限公司 Method for out-of-band obtaining and recording of server serial interface log independent of SOL
CN105656694A (en) * 2016-03-15 2016-06-08 上海缔安科技股份有限公司 Device log processing method
CN105677500A (en) * 2016-01-05 2016-06-15 浪潮电子信息产业股份有限公司 Method for diagnosing faults of real-time server
CN106021064A (en) * 2016-05-16 2016-10-12 浪潮电子信息产业股份有限公司 Monitoring information collection method, baseboard management controller and system
CN106055454A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Monitoring method for server mainboard
CN106649068A (en) * 2016-12-28 2017-05-10 福建三元达网络技术有限公司 System fault log recording method and system
CN106951352A (en) * 2017-03-13 2017-07-14 郑州云海信息技术有限公司 A kind of server log memory management method
CN107608868A (en) * 2017-09-08 2018-01-19 联想(北京)有限公司 Log collecting method, baseboard management controller BMC and Magnetic Disk Controler
CN107741916A (en) * 2017-10-17 2018-02-27 郑州云海信息技术有限公司 A kind of method that ROM information is obtained based on multiplexing PCIE device
CN107861762A (en) * 2017-11-22 2018-03-30 英业达科技有限公司 Server and its operation method with storage device
CN108139965A (en) * 2015-10-30 2018-06-08 株式会社日立*** Management server and the management method using the management server
CN108777638A (en) * 2018-08-27 2018-11-09 郑州云海信息技术有限公司 A kind of server log information backup method and system
CN108919903A (en) * 2018-06-29 2018-11-30 郑州云海信息技术有限公司 A kind of server
CN109885345A (en) * 2019-02-28 2019-06-14 苏州浪潮智能科技有限公司 A kind of date storage method, SD storage card and electronic equipment and storage medium
CN110321261A (en) * 2018-03-28 2019-10-11 阿里巴巴集团控股有限公司 A kind of monitoring system and monitoring method
CN112015600A (en) * 2019-05-28 2020-12-01 阿里巴巴集团控股有限公司 Log information processing system, log information processing method and device and switch
CN113064787A (en) * 2021-03-04 2021-07-02 山东英信计算机技术有限公司 Method and system for collecting logs based on BMC virtual media technology
CN114691223A (en) * 2022-03-21 2022-07-01 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS log through network
CN114816935A (en) * 2022-05-30 2022-07-29 苏州浪潮智能科技有限公司 Server log collection device and server
CN117032812A (en) * 2023-10-09 2023-11-10 苏州元脑智能科技有限公司 Management method, device and apparatus of server, storage medium and electronic device
CN114816935B (en) * 2022-05-30 2024-06-28 苏州浪潮智能科技有限公司 Server log collecting device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2566367Y (en) * 2002-04-08 2003-08-13 联想(北京)有限公司 Storage device for monitoring information of servicer monitor system
CN102467390A (en) * 2010-11-04 2012-05-23 英业达股份有限公司 Base board management controller driving method and computer with base board management controller
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
US20130117587A1 (en) * 2011-04-26 2013-05-09 Huawei Device Co., Ltd. Service processing method and server
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2566367Y (en) * 2002-04-08 2003-08-13 联想(北京)有限公司 Storage device for monitoring information of servicer monitor system
CN102467390A (en) * 2010-11-04 2012-05-23 英业达股份有限公司 Base board management controller driving method and computer with base board management controller
US20130117587A1 (en) * 2011-04-26 2013-05-09 Huawei Device Co., Ltd. Service processing method and server
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572421B (en) * 2015-02-03 2018-06-05 浪潮电子信息产业股份有限公司 A kind of outer acquisition of band independent of SOL and the method for record server serial ports daily record
CN104572421A (en) * 2015-02-03 2015-04-29 浪潮电子信息产业股份有限公司 Method for out-of-band obtaining and recording of server serial interface log independent of SOL
CN108139965B (en) * 2015-10-30 2021-02-12 株式会社日立*** Management server and management method using the same
CN108139965A (en) * 2015-10-30 2018-06-08 株式会社日立*** Management server and the management method using the management server
CN105677500A (en) * 2016-01-05 2016-06-15 浪潮电子信息产业股份有限公司 Method for diagnosing faults of real-time server
CN105656694A (en) * 2016-03-15 2016-06-08 上海缔安科技股份有限公司 Device log processing method
CN105656694B (en) * 2016-03-15 2018-09-28 上海缔安科技股份有限公司 a kind of device log processing method
CN106021064A (en) * 2016-05-16 2016-10-12 浪潮电子信息产业股份有限公司 Monitoring information collection method, baseboard management controller and system
CN106055454A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Monitoring method for server mainboard
CN106055454B (en) * 2016-05-31 2019-02-12 深圳市同泰怡信息技术有限公司 A kind of monitoring method of server master board
CN106649068A (en) * 2016-12-28 2017-05-10 福建三元达网络技术有限公司 System fault log recording method and system
CN106951352A (en) * 2017-03-13 2017-07-14 郑州云海信息技术有限公司 A kind of server log memory management method
CN107608868A (en) * 2017-09-08 2018-01-19 联想(北京)有限公司 Log collecting method, baseboard management controller BMC and Magnetic Disk Controler
CN107741916A (en) * 2017-10-17 2018-02-27 郑州云海信息技术有限公司 A kind of method that ROM information is obtained based on multiplexing PCIE device
CN107861762A (en) * 2017-11-22 2018-03-30 英业达科技有限公司 Server and its operation method with storage device
CN110321261B (en) * 2018-03-28 2023-12-22 阿里巴巴集团控股有限公司 Monitoring system and monitoring method
CN110321261A (en) * 2018-03-28 2019-10-11 阿里巴巴集团控股有限公司 A kind of monitoring system and monitoring method
CN108919903A (en) * 2018-06-29 2018-11-30 郑州云海信息技术有限公司 A kind of server
CN108777638A (en) * 2018-08-27 2018-11-09 郑州云海信息技术有限公司 A kind of server log information backup method and system
CN109885345A (en) * 2019-02-28 2019-06-14 苏州浪潮智能科技有限公司 A kind of date storage method, SD storage card and electronic equipment and storage medium
CN112015600A (en) * 2019-05-28 2020-12-01 阿里巴巴集团控股有限公司 Log information processing system, log information processing method and device and switch
WO2020238746A1 (en) * 2019-05-28 2020-12-03 阿里巴巴集团控股有限公司 Log information processing system, log information processing method and apparatus, and switch
CN113064787A (en) * 2021-03-04 2021-07-02 山东英信计算机技术有限公司 Method and system for collecting logs based on BMC virtual media technology
CN113064787B (en) * 2021-03-04 2022-05-31 山东英信计算机技术有限公司 Method and system for collecting logs based on BMC virtual media technology
CN114691223A (en) * 2022-03-21 2022-07-01 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS log through network
CN114691223B (en) * 2022-03-21 2023-08-22 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS logs through network
CN114816935A (en) * 2022-05-30 2022-07-29 苏州浪潮智能科技有限公司 Server log collection device and server
CN114816935B (en) * 2022-05-30 2024-06-28 苏州浪潮智能科技有限公司 Server log collecting device and server
CN117032812A (en) * 2023-10-09 2023-11-10 苏州元脑智能科技有限公司 Management method, device and apparatus of server, storage medium and electronic device
CN117032812B (en) * 2023-10-09 2024-02-02 苏州元脑智能科技有限公司 Management method, device and apparatus of server, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN104268068A (en) Method for acquiring server log information
CN105938450B (en) The method and system that automatic debugging information is collected
US10049010B2 (en) Method, computer, and apparatus for migrating memory data
US10127170B2 (en) High density serial over LAN management system
CN103364650A (en) Testing system and testing method
CN104660471A (en) Method for automatically testing PCIE-SSD transmission rate and bandwidth under Linux
CN110347539B (en) Test method, device, system, computing device and medium applied to server
CN103368771A (en) Collecting method and device for fault site information of multi-node server system
CN109032901A (en) A kind of monitoring method, device and the controlled terminal of the outer SSD of remote band
CN104572386A (en) Method for automatically testing HBA card bandwidth under Linux
CN105095054A (en) System and method for BMC to acquire NVME SSD temperature information
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN104184599A (en) Log level-based log file uploading method and device
CN105573872A (en) Hardware maintenance method and device of data storage system
CN117349212A (en) Server main board and solid state disk insertion detection method thereof
CN115480621B (en) Computing driver, method for computing driver and machine readable medium
CN101452619A (en) Method for isolating virus of disk for background system of tax control collecting apparatus
CN106649011A (en) Detection method and detection device for server equipment
CN104268051B (en) Method for testing overall pressure of server
CN110998509B (en) Method, equipment and system for acquiring optical module link negotiation information
US10348605B2 (en) Embedding analyzer functionality in storage devices
EP3289468A1 (en) Peripheral device server access
US9983949B2 (en) Restoration detecting method, restoration detecting apparatus, and restoration detecting program
CN107741916A (en) A kind of method that ROM information is obtained based on multiplexing PCIE device
US11374811B2 (en) Automatically determining supported capabilities in server hardware devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150107