How To Configure Netdump Client On Linux

Linux Netdump

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

# rpm –qa | grep netdump

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

# up2date -i netdump

3.  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. Only to update the following configuration options in /etc/sysconfig/netdump:

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

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

# scp [email protected]:/home/ndump/generic_netdump_key /etc/sysconfig/netdump_id_dsa

# scp [email protected]:/home/ndump/ /etc/sysconfig/

6. To 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. To start netdump service:

# service netdump start

8. To double check the netdump process/module:

# service netdump status

# lsmod | grep -i netconsole

Bobbin Zachariah 7:28 am

About Bobbin Zachariah

Founder of LinOxide, passionate lover of Linux and technology writer. Started his career in Linux / Opensource from 2000. Love traveling, blogging and listening music. Reach Bobbin Zachariah about me page and google plus page.

Author Archive Page

Have anything to say?

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

All comments are subject to moderation.