Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for out-of-band obtaining and recording of server serial interface log independent of SOL

A server and log technology, which is applied in hardware monitoring and other directions, can solve problems such as dependence, inability to obtain log information, and inability to obtain log messages, and achieve the effect of avoiding log loss

Active Publication Date: 2015-04-29
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has several disadvantages to obtain serial port information: first, the SOL function needs to be enabled through the IPMI protocol, and the log information cannot be obtained if the SOL function is not enabled; second, it is too dependent on the network, that is, the SOL must be enabled only when the network is smooth Function, log messages cannot be obtained when the network is abnormal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for out-of-band obtaining and recording of server serial interface log independent of SOL
  • Method for out-of-band obtaining and recording of server serial interface log independent of SOL

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The method of the present invention is described in detail below with reference to the accompanying drawings.

[0029] In terms of hardware, the server must be equipped with a BMC monitoring and management chip, and the system serial port is connected to the BMC UART interface.

[0030] In terms of software, write the BMC FW code and start two processes for recording logs and switching various states respectively.

[0031] (1) First, one point needs to be explained: the SOL function also obtains log information by reading the system serial port. If the present invention continues to read the system serial port when SOL is turned on, the data in the system serial port device cache will be read once. Discarded, so two processes reading the device at the same time will inevitably cause the information obtained by each process to be incomplete. In order to solve this problem, we will detect the state of SOL. When SOL is turned on, the present invention will not directly re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for out-of-band obtaining and recording of a server serial interface log independent of SOL. The method provided by the invention comprises the following steps of starting a log recording process, and establishing a BMC UART equipment file descriptor for directly reading a serial interface to obtain log information; establishing and opening an information queue for storing the log information when the SOL is opened, putting the information queue in the SOL to obtain the logic of the system serial interface log, and ensuring that the SOL read system information can be stored in the queue in real time; detecting the file descriptor distributed in a state switching process, and using the serial interface equipment descriptor as a default file descriptor after the BMC is started because the SOL is defaulted to be in closing; reading distributed description in real time, and recording data in an appointed file in the event of having data; and detecting that the size of the file is beyond a threshold value, wherein the threshold value can be set according to requirements; when the size of the file is beyond the threshold value, the log is circularly stored and pre-processed, so that the fact that the size of the file cannot be beyond the threshold value is ensured; and the latest information cannot be lost.

Description

technical field [0001] The invention relates to the field of server monitoring and management, and is used for obtaining and recording log information output from a server to a system serial port outside the band, so as to facilitate fault analysis and positioning in the BIOS startup process or when a fault occurs under the system. Specifically, it is a method for obtaining and recording server serial port log out of band without relying on SOL. Background technique [0002] Server log information (including system startup log, server operation log, etc.) is a powerful tool for system fault analysis and location, and system operation log query, and server administrators pay more and more attention to obtaining server log information through out-of-band. [0003] At present, BMC is generally equipped with SOL (Serial On Lan) function. The remote host enables the SOL function through the IPMI protocol, and redirects the system serial port information to the remote host termina...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/34
Inventor 王兴隆班华堂刘宝阳李道童
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More