How to Configure Netdump Client on Linux

Netdump is used to transport kernel core memory images to a remote server during a crash. In this article, I will show you some useful commands to setup netdump on Linux.

1) Check Netdump Package

To check whether “netdump” package has already been installed or not

# rpm –qa | grep netdump

2) Install Netdump

If it is not installed, install netdump using the following command:

# up2date -i netdump

3) Verify Package

To double check the installed package and configuration files

# rpm –qa | grep netdump

Note: Netdump configuration file path.

Configuration File Path : /etc/sysconfig/netdump
Private Key Path : /etc/sysconfig/netdump_id_dsa
Public Key Path : /etc/sysconfig/

4) Netdump Configuration

Only to update the following configuration options in /etc/sysconfig/netdump

server1:/root# sed '/ *#/d; /^ *$/d' /etc/sysconfig/netdump

5. Update key file

To update netdump master server’s generic private/public key files to their respective path on netdump client server

# scp user1@netdumpserver:/home/ndump/generic_netdump_key /etc/sysconfig/netdump_id_dsa

# scp user1@netdumpserver:/home/ndump/ /etc/sysconfig/

6) Setup sysctl.conf file

Setup “sysrq” kernel parameter in proc as well as /etc/sysctl.conf

# sysctl –a | grep sysrq #### checking it’s current value
# sysctl -w kernel.sysrq=1 #### Set to “1” if it is not previously set.
# echo “kernel.sysrq = 1” >> /etc/sysctl.conf #### Adding entry in sysctl.conf to make it persistent in reboots.

7) Start netdump

To start netdump service, use below command

    • # service netdump start



To double check the netdump process/module

# service netdump status
# lsmod | grep -i netconsole

Thanks for reading this article and let me know your comments.

Read Also:

Bobbin Zachariah 7:28 am


Your email address will not be published. Required fields are marked *