How to configure Netdump client on Linux server

| April 24, 2011

Linux Netdump Client Install / Configure Steps

1. Check “netdump” package already installed (or) not

# rpm –qa | grep netdump

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

# up2date -i netdump

3. 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/netdump_id_dsa.pub

4. Only Update the following Configuration Options in /etc/sysconfig/netdump

server1:/root# sed ‘/ *#/d; /^ *$/d’ /etc/sysconfig/netdump
IDLETIMEOUT=300
NETDUMPKEYEXCHANGE=3
NETDUMPADDR=11.101.34.5
SYSLOGADDR=11.101.34.5

5. Update Netdump Master Server’s Generic Private/Public Key files to respective path on Netdump Client server.

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

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

6. Set “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 Service.

# service netdump start

8. Double check the Netdump Process/Module

# service netdump status
# lsmod | grep -i netconsole

Tags: ,

Category: Linux Administration

Comments are closed.