You can configure Site Recovery Manager core dump settings to change the location of the core dump files and compress them.

You can modify the Site Recovery Manager core dump settings in the vmware-dr.xml configuration file on the Site Recovery Manager Server.

Procedure

  1. Log in to the Site Recovery Manager Server host.
  2. Open the vmware-dr.xml file in a text editor.
    You find the vmware-dr.xml file in the C:\Program Files\VMware\VMware vCenter Site Recovery Manager\config folder.
  3. Change the location on the Site Recovery Manager Server in which to store core dumps by modifying the <coreDump> section of the vmware-dr.xml file.
    Note: If you change the location of the core dump files, you must verify that your Site Recovery Manager user account has the necessary permissions to write in the new directory.
    • If you are using Site Recovery Manager for Windows, the default path to the core dump is C:\ProgramData\VMware\VMware vCenter Site Recovery Manager\DumpFiles, unless this location does not exist or is not writable. In that case, Site Recovery Manager Server uses C:\ProgramData\VMware.
    • If you are using the Site Recovery Manager Appliance, the default location of the core dump is /var/log/vmware/srm/DumpFiles.
  4. Use the core dump system parameters to limit the number of created and compressed dump files.
    <debug>
      <dumpCoreCompression>true,false</dumpCoreCompression>
      <dumpFullCore>true,false</dumpFullCore>
    </debug>
    Parameter Description
    dumpCoreCompression If unspecified, the default value is false. Site Recovery Manager Server does not compress previous core dump files as it creates core dump files. If you specify true, then Site Recovery Manager Server compresses all older core dumps when it generates a new core dump.
    dumpFullCore If unspecified, the default value is false. Site Recovery Manager Server generates a core dump file of several MB and provides some assistance to support when a problem occurs. If you set this value to true, Site Recovery Manager Server generates a full core dump file that might be several GBs in size, depending on the workload at the time the core dump occurs. This larger file can provide greater assistance to support when a problem occurs. If disk space allows, set this value to true.
  5. To modify the maximum number of core dump files, add a row to the <debug> section.
    <maxCoreDumpFiles>max files</maxCoreDumpFiles>
    If unspecified, the default value is 4. This value specifies the maximum number of core dump files that are retained in the core dump directory. When Site Recovery Manager Server creates core dumps, Site Recovery Manager Server deletes older files as necessary to avoid exceeding the maximum and consuming excessive disk space, especially when dumpFullCore is true.