The /etc/opt/cray-xt-dumpd/dumpd.conf Configuration File
Describes parameters for customizing dumpd.
The dumpd configuration file, /etc/opt/cray-xt-dumpd/dumpd.conf, is located on the SMW. There is no need to change any installation configuration parameters, but a system administrator can edit the /etc/opt/cray-xt-dumpd/dumpd.conf file to customize how dumpd behaves on the system using the following configuration variables.
enable: yes|no-
Provides a quick on/off switch for all dumpd functionality.
Default is
no. partitions:number-
Specifies whether or not dumpd acts on specific partitions or ranges of partitions. Placing
!in front of a partition or range disables it.For example, specifying
partitions: 1-10,!2-4enables partitions 1, 5, 6, 7, 8, 9, and 10 but not 2, 3, or 4. Partitions must be explicitly enabled. Leaving this option blank disables all partitions.
disabled_action: ignore|queue-
Specifies what to do when requests come in for a disabled partition. If
ignoreis specified, requests are removed from the database and not acted upon. Ifqueueis specified, requests continue to build while dumpd is disabled on a partition. When the partition is reenabled, the requests will be acted on. Specifyingqueueis not recommended if dumpd will be disabled for long periods of time, as it can cause SMW stress and database problems. save_output: always|errors|never-
Indicates when to save stdout and stderr from dumpd commands that are executed. If
save_outputis set toalways, all output is saved. Iferrorsis specified, output is saved only when the command exits with a nonzero exit code. Ifneveris specified, output is never saved.The default is to save output on errors.
command_output:directory-
Specifies where to save output of dumpd commands, per the
save_outputvariable. The command output is put in the file action.pid.timestamp.out in the directory specified by this option.Default directory is /var/opt/cray/dump.
dump_dir:directory-
Specifies the directory in which to save dumps.
Default directory is /var/opt/cray/dump.
max_disk:nnnMB|unlimited-
Specifies the amount of disk space beyond which no new dumps will be created. This is not a hard limit; if dumpd sees that this directory has less than this amount of space, it starts a new dump, even if that dump subsequently uses enough space to exceed the
max_disklimit.The default value is
max_disk: unlimited. no_space_action:action-
Specifies a command to be executed if the directory specified by the variable
dump_dirdoes not have enough space free, as specified bymax_disk. For example:Deletes the oldest dump in the dump directory:
no_space_action: rm -rf $dump_dir/$(ls -rt $dump_dir | head -1)Moves the oldest dump somewhere useful:
no_space_action: mv $dump_dir/$(ls -t $dump_dir|head -1) /some/dump/archiveSends E-mail to an administrator at admin@fictionalcraysite.com:
no_space_action: echo "" | mail -s "Not Enough Space in $dump_dir" \ admin@fictionalcraysite.com