Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for configuring kdump service of Linux server system

A technology of a server system and a configuration method, which is applied in the configuration field of kdump service of a Linux server system, can solve problems such as complex and cumbersome kdump service configuration, time-consuming search for causes, and error-prone, etc., to achieve reliable design principles, highlight substantive features, and avoid The effect of misconfiguration

Inactive Publication Date: 2018-12-21
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the configuration of the kdump service is relatively complicated and cumbersome. Users need to operate step by step according to the configuration document, modify multiple configuration files, and execute multiple commands, which is time-consuming and error-prone. Once an error occurs, it is very time-consuming to find the cause.

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 configuring kdump service of Linux server system
  • Method for configuring kdump service of Linux server system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] A method for configuring the kdump service of a Linux server system, designing a kdump automatic configuration script, copying the script file to a USB flash drive or placing it on a network server, and the user mounts the USB flash drive or a network scp command to deploy kdump on any server with one click; Specifically include:

[0046] Create a script file KdumpConfig.sh. The specific script content is as follows. Run the script file shKdumpConfig.sh to automatically complete all Kdump configurations:

[0047] #! / bin / sh

[0048] #Check whether the kexec-tools package is installed, if it is installed, continue the configuration below; if it is not installed, prompt the user to install and exit the script

[0049] if ! rpm -q kexec-tools > / dev / null

[0050] then

[0051] echo "kexec-tools no found, please run command yum install kexec-tools to install it"

[0052] exit 1

[0053] the fi

[0054] #Configure the crash kernel, the configuration file that needs to b...

Embodiment 2

[0109] Such as Figure 1-Figure 2 As shown, a method for configuring the kdump service of a Linux server system is used to remotely trigger the server system to generate a kernel crash log and transmit it to a remote server, including the following steps:

[0110] S1: Configure the kdump service of the server, including:

[0111] S21: Detect whether the server system has installed the kexec-tools toolkit, if installed, execute the configuration process, otherwise exit the configuration process;

[0112] S22: Configure the memory area of ​​the kdump kernel, including:

[0113] Back up the configuration file;

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 configuring kdump service of a Linux server system, which creates a configuration script to carry out automatic configuration. The method comprises the following steps: configuring a memory area of the kdump kernel; configuring a memory area of the kdump kernel; configuring a memory area of the kdump kernel; configuring the kdump config file; configuring the kernel parameters and setting the configured kdump to take effect in real time; detecting if the server system has kexec installed kexec-tools toolkit, if installed, executes the configuration process, otherwise exits the configuration process; backing up configuration files; detecting the size of the total memory of the server, and calculating the size of the crash memory according to the size of the total memory of the server. The address space of the crash memory is set according to the size of the crash memory calculated.

Description

technical field [0001] The invention relates to the technical field of server systems, in particular to a method for configuring the kdump service of a Linux server system. Background technique [0002] The analysis and location of server system failures is based on the collection of logs. When a serious failure such as downtime or crash occurs in the server system, if the vmcore log can be generated, the analysis of vmcore can help to locate the failure quickly and accurately. [0003] When the server system has serious problems such as downtime, black screen, crash, etc., if the kdump service has been configured, it can automatically or manually trigger the Linux system to generate the kernel crash dump file vmcore, and the analysis of vmcore is helpful for such serious problems position. [0004] kdump is a tool and service used to dump memory operating parameters when the system crashes, deadlocks or crashes. If the system crashes, the normal kernel will not work. At t...

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): G06F9/445G06F11/34
CPCG06F9/44505G06F11/3476
Inventor 张旭芳匡志鹏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products