Change Crash Dump Target Location

Cockpit administrators, as needed, can change the Kdump crash target location by using the Kernel dump page in the web console.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to change the host target location for the saving the kernel crash dump information.

  1. In the Cockpit navigation pane, click Kernel dump. The Kernel crash dump page appears.
  2. In the Kernel crash dump page, click the link next to the Crash dump location property.

    Important:

    By default, the Kdump crash files are stored locally to the var/crash host system directory.

    The Crash dump location dialog appears.

  3. In the Crash dump location dialog, change any of the following properties and then click Save to apply the changes.
    Location Click the Location drop-down menu and select one of the following options:
    • Local file system (default): Select this option to save the Kdump crash files to a local directory on the host system.
    • Remote over SSH: Select this option to transfer the Kdump crash files over a secure shell connection. The following SSH configuration properties are required:

      Note:

      The secure shell option requires the configuration of an SSH client and server. For OpenSSH server configuration details, see Oracle Linux: Connecting to Remote Systems With OpenSSH.
      • Server: To establish a connection to a SSH server, specify the username and server name, for example: username@servername.com.
      • SSH Key: To identify yourself to the SSH server, enter the path to your public RSA key, for example: root/ssh/kdump_id_rsa.
    • Remote over NFS: Select this option to export the Kdump crash files to a configured shared network location. The following NFS configuration properties are required:
      • Server: Enter the name of the NFS host server, for example: nfsserver.example.com
      • Export: Enter the NFS shared export directory path, for example: /export/cores

      For more information about Oracle Linux NFS configuration, see Create an NFS server on Oracle Linux.

    Directory In the Directory text box, enter the target directory for where the Kdump crash files are stored. For example, /var/crash.
    Compression (Optional) Select the Compress crash dump to save space checkbox to enable this option.