CN116048850A - Log management method, device, equipment and machine-readable storage medium - Google Patents

Log management method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN116048850A
CN116048850A CN202211519065.8A CN202211519065A CN116048850A CN 116048850 A CN116048850 A CN 116048850A CN 202211519065 A CN202211519065 A CN 202211519065A CN 116048850 A CN116048850 A CN 116048850A
Authority
CN
China
Prior art keywords
server
management device
log file
serial port
system log
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
CN202211519065.8A
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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies 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 New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202211519065.8A priority Critical patent/CN116048850A/en
Publication of CN116048850A publication Critical patent/CN116048850A/en
Pending legal-status Critical Current

Links

Images

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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present disclosure provides a log management method, apparatus, device and machine-readable storage medium, the method comprising: responsive to a configuration command of the management device, enabling a corresponding function, redirecting the serial port to redirect the serial port to a storage space of the management device; triggering a fault event of the server, and scanning and collecting a system log file through a module with a corresponding function; the system log file is stored to the storage space of the management device through the redirected serial port, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command. According to the technical scheme, the third-party equipment management equipment is arranged outside the server needing operation and maintenance, and the system log file of the server before downtime is saved through the redirected interface, so that the checked log is complete, the information quantity is large, the log file is not recorded completely or lost due to restarting of the server, the problem of operation and maintenance positioning of the server and fault reproduction are facilitated, and the operation and maintenance efficiency is improved.

Description

Log management method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a log management method, apparatus, device, and machine-readable storage medium.
Background
Sosreport: the red cap provides a tool for collecting system log files, detailed configuration information, and system information.
kdump: kernel crash dump mechanism for Linux systems.
vmcore: when the system crashes, a memory image generated by Kdump is used for debugging and determining the reason of the kernel crash.
When a server device fails, such as a crash, a restart or an error report, etc., on a deployment site, a relatively common means is to collect SDS logs of the BMC, but few logs of the operating system can be checked. Particularly, after the system is restarted, some system logs are not necessarily recorded, and in order to solve the positioning problem, multiple times of reproduction are sometimes required to obtain the key logs, and if a plurality of machines with different problems appear, the problem reproduction, collection and positioning are performed on each server. Therefore, great manpower and resource waste is caused for operation and maintenance and technical staff, and particularly, the operation and maintenance efficiency is low due to poor experience degree in a large deployment site.
Disclosure of Invention
In view of the above, the present disclosure provides a log management method, a log management device, an electronic device, and a machine-readable storage medium, so as to solve the above-mentioned problem of low operation and maintenance efficiency.
The technical scheme is as follows:
the present disclosure provides a log management method applied to a server, where the server has a communication connection with a management device, the method includes: enabling a kdump function in response to a configuration command of the management device, redirecting the serial port to redirect the serial port to a storage space of the management device; triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function; the system log file is stored to the storage space of the management device through the redirected serial port, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command.
As a technical solution, the fault event triggered on the server scans and collects a system log file through vmcore of kdump function, including: and starting watchdog early warning and memory overflow early warning.
As a technical scheme, the management device is a mobile computing device which establishes network connection with the server or a server which establishes network connection with the server or a USB flash disk system which establishes communication connection with the server through a USB port.
The present disclosure also provides a log management method applied to a management device, where the management device has a communication connection with a managed server, the method includes: issuing a configuration command to the managed server, wherein the configuration command is used for enabling a kdump function by the server and redirecting the serial port to redirect the serial port to a storage space of the management device; receiving and storing a system log file transmitted by a server through a redirected serial port, wherein the system log file is a fault event triggered by the server and is scanned and collected through vmcore of a kdump function; and performing fault diagnosis on the system log file in response to the diagnosis command.
As a technical solution, the issuing, to the managed server, a configuration command, where the configuration command is used to enable a kdump function by the server and redirect the serial port to a storage space of the management device, includes: the configuration command is also used for enabling the server to start watchdog early warning and memory overflow early warning.
As a technical scheme, the management device is a mobile computing device which establishes network connection with the managed server or a server which establishes network connection with the server or a USB flash disk system which establishes communication connection with the server through a USB port.
The present disclosure also provides a log management apparatus applied to a server having a communication connection with a management device, the apparatus comprising: the configuration module is used for responding to a configuration command of the management equipment, enabling a kdump function and redirecting the serial port to enable the serial port to be redirected to the storage space of the management equipment; the collecting module is used for triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function; and the transmission module is used for storing the system log file into the storage space of the management device through the redirected serial port so as to enable the management device to acquire the system log file and diagnose the system log file in response to the diagnosis command.
The present disclosure also provides a log management apparatus applied to a management device having a communication connection with a managed server, the apparatus comprising: a command module for issuing a configuration command to the managed server, the configuration command being for enabling kdump functions by the server and redirecting the serial port to redirect the serial port to a storage space of the management device; the storage module is used for receiving and storing a system log file transmitted by a server through a redirected serial port, wherein the system log file is a fault event triggered by the server, scanned and collected through vmcore of a kdump function; and the diagnosis module is used for carrying out fault diagnosis on the system log file in response to the diagnosis command.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned log management method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned log management method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
and a third party device management device is arranged outside the server needing operation and maintenance, and the system log file before downtime of the server is saved through a redirected interface, so that the checked log is complete and large in information quantity, the log file is not recorded completely or lost because of restarting the server, the problem and fault reproduction of the operation and maintenance positioning server are facilitated, and the operation and maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a log management method in one embodiment of the present disclosure;
FIG. 2 is a flow chart of a log management method in one embodiment of the present disclosure;
FIG. 3 is a block diagram of a log management device in one embodiment of the present disclosure;
FIG. 4 is a block diagram of a log management device in one embodiment of the present disclosure;
fig. 5 is a hardware configuration diagram of an electronic device in one embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
In one technical scheme, when a server device fails on a deployment site, such as a downtime, a restarting or an error reporting problem, an SDS log of the BMC is collected, but the log of an operating system which can be checked by the method is very small, particularly after the system is restarted, some system logs are not necessarily recorded, in order to locate the problem, a plurality of times of reproduction are sometimes required to be carried out, a key log is possibly obtained, and if a plurality of machines with different problems appear, the problem reproduction, collection and location of each server are also carried out.
In another technical scheme, after a problem occurs, a diagnosis log collection command of the system is directly input under an operating system, for example, a red cap can collect current system diagnosis log information through a sosreport command, and the current system diagnosis log information is stored under a/var/tmp directory by default. However, after each time the system is down, the log is not necessarily detailed, even the log is lost after the system is restarted, most of the problems need to be repeated by engineers for a plurality of times, and key information can be captured only by starting the debug, so that the mode wastes manpower and time.
In view of the above, the present disclosure provides a log management method, a log management device, an electronic device, and a machine-readable storage medium, so as to solve the above-mentioned problem of low operation and maintenance efficiency.
Specifically, the technical scheme is as follows.
In one embodiment, the present disclosure provides a log management method applied to a server having a communication connection with a management device, the method including: enabling a kdump function in response to a configuration command of the management device, redirecting the serial port to redirect the serial port to a storage space of the management device; triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function; the system log file is stored to the storage space of the management device through the redirected serial port, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, responding to a configuration command of the management equipment, enabling a kdump function, and redirecting the serial port to redirect the serial port to a storage space of the management equipment;
step S12, triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function;
step S13, storing the redirected serial port into a storage space of the management device, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command.
And a third party device management device is arranged outside the server needing operation and maintenance, and the system log file before downtime of the server is saved through a redirected interface, so that the checked log is complete and large in information quantity, the log file is not recorded completely or lost because of restarting the server, the problem and fault reproduction of the operation and maintenance positioning server are facilitated, and the operation and maintenance efficiency is improved.
The management device can diagnose the system log file only after the user issues a diagnosis command, wherein the diagnosis command can be issued automatically according to the configuration of the user or manually selected by the user according to the field requirement.
In one embodiment, the fault event triggered on the server scans and collects the system log file through vmcore of kdump function, including: and starting watchdog early warning and memory overflow early warning.
In one embodiment, the management device is a mobile computing device that establishes a network connection with the server, or a server that establishes a network connection with the server, or a USB disk system that establishes a communication connection with the server through a USB port.
In one embodiment, the present disclosure also provides a log management method applied to a management device, where the management device has a communication connection with a managed server, the method includes: issuing a configuration command to the managed server, wherein the configuration command is used for enabling a kdump function by the server and redirecting the serial port to redirect the serial port to a storage space of the management device; receiving and storing a system log file transmitted by a server through a redirected serial port, wherein the system log file is a fault event triggered by the server and is scanned and collected through vmcore of a kdump function; and performing fault diagnosis on the system log file in response to the diagnosis command.
Specifically, as shown in fig. 2, the method comprises the following steps:
step S21, issuing a configuration command to a managed server;
step S22, receiving and storing a system log file transmitted by a server through a redirected serial port;
step S23, fault diagnosis is conducted on the system log file in response to the diagnosis command.
And a third party device management device is arranged outside the server needing operation and maintenance, and the system log file before downtime of the server is saved through a redirected interface, so that the checked log is complete and large in information quantity, the log file is not recorded completely or lost because of restarting the server, the problem and fault reproduction of the operation and maintenance positioning server are facilitated, and the operation and maintenance efficiency is improved.
The management device can diagnose the system log file only after the user issues a diagnosis command, wherein the diagnosis command can be issued automatically according to the configuration of the user or manually selected by the user according to the field requirement.
In one embodiment, the issuing a configuration command to the managed server, where the configuration command is used to enable the kdump function by the server and redirect the serial port to the storage space of the management device includes: the configuration command is also used for enabling the server to start watchdog early warning and memory overflow early warning.
In one embodiment, the management device is a mobile computing device that establishes a network connection with the managed server, or a server that establishes a network connection with the server, or a USB disk system that establishes a communication connection with the server through a USB port.
In one embodiment, before the system of the server is restarted or down, the management device serves as an external diagnostic device for a third party, and collects fault logs of the server in real time in batches, wherein the management device needs to ensure that a network of the server is reachable. When the method is implemented, a user can selectively add the server equipment which is expected to be managed into management through IP scanning, the command terminal which logs in the server is accessed by utilizing the built-in ssh function, and a configuration command is issued to the managed server in batches, so that the following operations are realized: enabling kdump function, starting early warning when watchdog and memory overflow under the system, starting serial port redirection, collecting serial port printing information, and scanning files under/var/log in real time.
Because the watchdog and memory overflow early warning and kdump functions are set in the configuration, if the system is down, before the system is down, the system triggers the self-collection of vmcore files, and the log storage module plays a role that the self-collected logs are directly redirected into an external storage space through the original serial port redirection setting function before the system is restarted. If the system is not down, the user can selectively collect the system logs which the user wants to collect. Because the storage module can customize storage positions and storage spaces, a client can flexibly adjust the storage spaces in use, and in addition, the log does not run on an actual server and does not influence server business.
The fault diagnosis can be realized in the form of a diagnosis package, the diagnosis package comprises common fault definitions, and when the fault is analyzed and loaded in response to a diagnosis command of a user, the fault condition can be displayed in a matching way through matching key fault fields, and a preliminary fault analysis conclusion is given. When the user selects to analyze the log, automatic analysis can be started according to the configuration, key fault fields are analyzed, then the system is matched with fault analysis conclusions recorded by the system according to the key fault fields, and finally preliminary fault conclusions are displayed back to the user according to the matching results. The user of the present disclosure may operate and maintain personnel.
In one embodiment, the present disclosure also provides a log management apparatus, as in fig. 3, applied to a server, the server having a communication connection with a management device, the apparatus comprising: a configuration module 31, configured to enable a kdump function in response to a configuration command of the management device, and redirect the serial port to a storage space of the management device; the collecting module 32 is configured to trigger a fault event on the server, and scan and collect a system log file through vmcore of a kdump function; and a transmission module 33, configured to store the system log file in the storage space of the management device through the redirected serial port, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command.
In one embodiment, the present disclosure also provides a log management apparatus, as in fig. 4, applied to a management device having a communication connection with a managed server, the apparatus comprising: a command module 41, configured to issue a configuration command to the managed server, where the configuration command is used to enable kdump function of the server, and redirect the serial port to the storage space of the management device; a storage module 42, configured to receive and store a system log file transmitted by a server through a redirected serial port, where the system log file is a fault event triggered by the server, and the fault event is scanned and collected by vmcore with a kdump function; the diagnostic module 43 is configured to perform fault diagnosis on the system log file in response to the diagnostic command.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned log management method, and from a hardware level, a hardware architecture diagram may be seen in fig. 5.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned log management method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware when implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A log management method, applied to a server having a communication connection with a management device, comprising:
enabling a kdump function in response to a configuration command of the management device, redirecting the serial port to redirect the serial port to a storage space of the management device;
triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function;
the system log file is stored to the storage space of the management device through the redirected serial port, so that the management device obtains the system log file and diagnoses the system log file in response to the diagnosis command.
2. The method of claim 1, wherein the triggering of the server fault event scans and collects system log files through a kmcore of kdump function, comprising:
and starting watchdog early warning and memory overflow early warning.
3. The method of claim 1, wherein the management device is a mobile computing device that establishes a network connection with the server or a server that establishes a network connection with the server or a USB disk system that establishes a communication connection with a server through a USB port.
4. A log management method applied to a management device having a communication connection with a managed server, the method comprising:
issuing a configuration command to the managed server, wherein the configuration command is used for enabling a kdump function by the server and redirecting the serial port to redirect the serial port to a storage space of the management device;
receiving and storing a system log file transmitted by a server through a redirected serial port, wherein the system log file is a fault event triggered by the server and is scanned and collected through vmcore of a kdump function;
and performing fault diagnosis on the system log file in response to the diagnosis command.
5. The method of claim 4, wherein issuing a configuration command to the managed server, the configuration command to enable a kdump function by the server, and redirecting the serial port to redirect the serial port to a storage space of the management device, comprises:
the configuration command is also used for enabling the server to start watchdog early warning and memory overflow early warning.
6. The method of claim 4, wherein the management device is a mobile computing device that establishes a network connection with the managed server or a server that establishes a network connection with the server or a USB disk system that establishes a communication connection with a server through a USB port.
7. A log management apparatus for use with a server having a communication connection with a management device, the apparatus comprising:
the configuration module is used for responding to a configuration command of the management equipment, enabling a kdump function and redirecting the serial port to enable the serial port to be redirected to the storage space of the management equipment;
the collecting module is used for triggering a fault event of the server, and scanning and collecting a system log file through vmcore of a kdump function;
and the transmission module is used for storing the system log file into the storage space of the management device through the redirected serial port so as to enable the management device to acquire the system log file and diagnose the system log file in response to the diagnosis command.
8. A log management apparatus for use with a management device having a communication connection with a managed server, the apparatus comprising:
a command module for issuing a configuration command to the managed server, the configuration command being for enabling kdump functions by the server and redirecting the serial port to redirect the serial port to a storage space of the management device;
the storage module is used for receiving and storing a system log file transmitted by a server through a redirected serial port, wherein the system log file is a fault event triggered by the server, scanned and collected through vmcore of a kdump function;
and the diagnosis module is used for carrying out fault diagnosis on the system log file in response to the diagnosis command.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-4.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-4.
CN202211519065.8A 2022-11-30 2022-11-30 Log management method, device, equipment and machine-readable storage medium Pending CN116048850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211519065.8A CN116048850A (en) 2022-11-30 2022-11-30 Log management method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211519065.8A CN116048850A (en) 2022-11-30 2022-11-30 Log management method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN116048850A true CN116048850A (en) 2023-05-02

Family

ID=86124440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211519065.8A Pending CN116048850A (en) 2022-11-30 2022-11-30 Log management method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN116048850A (en)

Similar Documents

Publication Publication Date Title
CN110245078B (en) Software pressure testing method and device, storage medium and server
CN105611330B (en) Smart television maintenance method and system, server and mobile terminal
CN106844136B (en) Method and system for collecting program crash information
CN109240886B (en) Exception handling method, exception handling device, computer equipment and storage medium
US20190227899A1 (en) Dynamic tracing using ranking and rating
CN110351436B (en) FreeWITCH monitoring method, equipment, storage medium and device
CN114077525A (en) Abnormal log processing method and device, terminal equipment, cloud server and system
CN113505014B (en) Fault diagnosis file acquisition method and device
CN105138459A (en) Method and device for testing software program
CN112527414B (en) Front-end-based data processing method, device, equipment and storage medium
CN110851324B (en) Log-based routing inspection processing method and device, electronic equipment and storage medium
WO2023168926A1 (en) Method and apparatus for determining software anomaly, storage medium, and electronic apparatus
CN112148518A (en) Log file processing method and device, computer equipment and storage medium
US20130210423A1 (en) Acquiring information from volatile memory of a mobile device
CN109802842B (en) Application topology generation method and related equipment
CN110069406B (en) Automatic triggering TPC-DS test method and system
CN106802790B (en) Method, equipment and system for managing application user use information based on cloud platform
CN111611138B (en) Log data grabbing method, device, computer equipment and storage medium
CN113282460A (en) Distributed alarm system, method and device
CN116048850A (en) Log management method, device, equipment and machine-readable storage medium
CN115878358A (en) Abnormal log analysis method and device, electronic equipment and storage medium
CN111597093A (en) Exception handling method, device and equipment
CN114385457A (en) Application program data acquisition method, device, equipment and storage medium
CN113993149A (en) Processing method and device of communication diagnosis log and readable storage medium
CN116149912A (en) Batch operation testing method and device of cloud host, electronic 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