HP XC System Software Administration Guide Version 3.1

cat /etc/sysconfig/netdump_id_dsa.pub | \
ssh netdump@$NETDUMPADDR cat '>>' /var/crash/.ssh/authorized_keys2
Be prepared to supply the superuser password on the netdump-server node.
If you do not want to set a password for the netdump user, enter the following command:
cat /etc/sysconfig/netdump_id_dsa.pub | \
ssh root@$NETDUMPADDR cat '>>' /var/crash/.ssh/authorized_keys2
7.9.2.2 Configuring the Netdump-Server
The configuration for netdump-server is performed on the netdump server node during installation.
No further configuration is required.
7.9.3 Starting Netdump
Use the following procedure to start Netdump on the HP XC system:
1. Log in as superuser (root) on the head node.
2. Enter the following command to start the netdump-server service on those nodes that receive the
kernel dump data:
# pdsh -w server_list "service netdump-server start"
where server_list is a list of nodes that receive the kernel dump data over the internal network.
3. Enter the following command to start the netdump service on those nodes to be monitored:
# pdsh -w mon_list "service netdump start"
where mon_list is a list of nodes that will be monitored and will send their kernel dump data over
the internal network in the event of a crash.
See netdump(8) and netdump-server(8) for more information.
7.9.4 Obtaining the Kernel Dump
When a node running the netdump service experiences a kernel crash, its oops message and kernel
memory are automatically transmitted to the netdump-server node.
This data is stored in a subdirectory (identified by date and time) of the /var/crash directory on the
netdump-server node. After the data is saved, the node that crashed reboots.
7.9.5 Using the Crash Utility to Analyze a Kernel Dump File
You can use the crash utility to examine a kernel dump file that was transmitted to a netdump-server
node. You can analyze the dump file from a user account; you do not need superuser permission to run
the crash utility.
Enter the following command on the netdump-server node to analyze a kernel dump file:
# crash mapfile namelist dumpfile
where:
mapfile
The mapfile corresponding to the kernel the system was originally booted from (before
kernel dump) is System.map.
namelist The uncompressed kernel image compiled with -g option is vmlinux.dbg.
dumpfile The name of uncompressed kernel core dump obtained by the netdump utility is vmcore.
Usually, the command line is as follows:
# crash System.map vmlinux.dbg vmcore
98 Monitoring the System