Skip to main content

system node coredump config modify

Contributors
Suggest changes

Modify coredump configuration

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system node coredump config modify command modifies the cluster's core dump configuration.

Parameters

-node {<nodename>|local} - Node

This parameter specifies the node whose coredump configuration you want to modify.

[-sparsecore-enabled {true|false}] - Enable Sparse Cores

If you set this parameter to true, the command enables sparse cores. A sparse core omits all memory buffers that contain only user data.

[-min-free {<integer>[KB|MB|GB|TB|PB]}] - Minimum Free Bytes On Root Filesystem

If you specify this parameter, the command displays the number of bytes that need to be made available in the root file system after saving the core dump. If the minimum number of bytes cannot be guaranteed, core dumps are not generated. The default setting is 250 MB.

[-coredump-attempts <integer>] - Maximum Number Of Attempts to Dump Core

If you specify this parameter, the command displays the maximum number of times the system will attempt to generate a core dump when encountering repeated disk failures. The default setting is 2.

[-save-attempts <integer>] - Maximum Number Attempts to Save Core

If you specify this parameter, the command displays the maximum number of times the system will attempt to save a core dump.The default setting is 2.

[-save-onstartup {true|false}] - Enable Auto Save of Coredumps on Startup

If you set this parameter to true, the system will automatically start saving the core dump after reboot.

[-upload-location <text>] - URL for Coredump Upload Directory
Note This option is deprecated and might be removed in a future release of Data ONTAP. Use the -uri parameter of the "system node autosupport invoke-core-upload " command instead.

If you specify this parameter, the system uploads the core dumps to the specified URL. The following protocols are supported: ftp and http. (The default setting is ftp://ftp.netapp.com/to-ntap/.)

Examples

The following example sets the maximum number of core dump attempts to 5 and the maximum number of save attempts to 5:

cluster1::> system node coredump config modify -coredump-attempts 5 -save-attempts 5