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, m

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

Example Embodiment

[0044] Example one

[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 U disk or putting it on a network server, the user mounts the U disk or the network scp command to deploy kdump on any server with one click; Specifically:

[0046] Create the script file KdumpConfig.sh, the specific script content is as follows, run the script file shKdumpConfig.sh, you can automatically complete all Kdump configuration:

[0047] #! / bin / sh

[0048] #Check whether the kexec-tools package has been installed, if it has been installed, continue with the following configuration; 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 toinstall it"

[0052] exit 1

[0053] fi

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

Example Embodiment

[0108] Example two

[0109] Such as Figure 1-Figure 2 As shown, a Linux server system kdump service configuration method 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 kexec-tools toolkit is installed on the server system, if it has been installed, execute the configuration process, otherwise exit the configuration process;

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

[0113] Back up configuration files;

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products