1 .TH DUMPCONF 8 "Nov 2009" "s390-tools"
4 dumpconf \- Configure an ON_PANIC action for Linux on System z.
8 \fBdumpconf\fR [start|stop|status]
10 \fBdumpconf\fR [-h|-v]
13 \fBdumpconf\fR reads the /etc/sysconfig/dumpconf file
14 and establishes the action to be taken in case a kernel panic occurs.
16 The following keywords can be used in the dumpconf file:
20 Shutdown action in case of a kernel panic. Possible values are 'dump', 'reipl', 'dump_reipl', 'stop' and 'vmcmd':
23 dump: trigger dump according to the configuration in /etc/sysconfig/dumpconf.
26 reipl: trigger re-IPL according to the configuration under /sys/firmware/reipl.
29 dump_reipl: first trigger dump according to the configuration in
30 /etc/sysconfig/dumpconf, then trigger re-IPL according to the configuration
31 under /sys/firmware/reipl.
34 stop: stop Linux and enter disabled wait (default).
37 vmcmd: trigger CP command according to the 'VMCMD_X' configuration in
38 /etc/sysconfig/dumpconf.
42 Type of dump device. Possible values are 'ccw' and 'fcp'.
46 Device number of dump device.
50 WWPN for SCSI dump device.
54 LUN for SCSI dump device.
58 Boot program selector.
62 Boot record logical block address.
65 \fB - VMCMD_1, VMCMD_2 ... VMCMD_5:\fR
66 Up to five CP commands, which are triggered in case of a kernel panic.
69 \fB - DELAY_MINUTES:\fR
70 Number of minutes the activation of dumpconf is to be delayed. If this keyword
71 is omitted, the default is zero, which means that
72 dumpconf activates immediately during system startup.
73 Specify a non-zero delay time only if you specified
74 shutdown action "reipl" or "dump_reipl".
75 These actions might cause a reboot loop
76 if the Linux kernel crashes persistently during (or shortly after) each reboot.
78 A non-zero delay time causes dumpconf to sleep in the background until the
79 delay time has expired. In this case messages are written to /var/log/messages.
80 By default (DELAY_MINUTES is omitted or zero) dumpconf runs in the foreground
81 and informational messages are written to sysout, while
82 error messages are written to syserr.
84 Example: If you specified DELAY_MINUTES=10 and
85 your Linux system crashes within 10 minutes after the reboot,
86 then dumpconf is not yet active and the default action (stop) is triggered.
91 Enable configuration defined in /etc/sysconfig/dumpconf.
95 Disable dump configuration.
99 Show current configuration.
103 \fB-h\fR or \fB--help\fR
104 Print usage information, then exit.
107 \fB-v\fR or \fB--version\fR
108 Print version information, then exit.
111 The following are examples of the /etc/sysconfig/dumpconf file:
116 # Example configuration for a CCW dump device (DASD)
131 # Example configuration for an FCP dump device (SCSI Disk)
141 WWPN=0x5005076303004712
143 LUN=0x4713000000000000
152 # Example configuration for CP commands on panic
158 VMCMD_1="MESSAGE * Starting VMDUMP"
166 # Example config for re-IPL on panic
175 Linux on zSeries: Using the Dump Tools