You can configure VMware Live Site Recovery core dump settings to change the location of the core dump files and compress them.
You can modify the VMware Live Site Recovery core dump settings in the vmware-dr.xml configuration file on the VMware Live Site Recovery Server.
Procedure
- Log in to the VMware Live Site Recovery Server host.
- Open the vmware-dr.xml file in a text editor.
The vmware-dr.xml file is located in the /opt/vmware/srm/conf/ directory.
- Change the location on the VMware Live Site Recovery 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 VMware Live Site Recovery user account has the necessary permissions to write in the new directory.The default location of the core dump is /var/log/vmware/srm/DumpFiles. - 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. VMware Live Site Recovery Server does not compress previous core dump files as it creates core dump files. If you specify true, then VMware Live Site Recovery Server compresses all older core dumps when it generates a new core dump. dumpFullCore
If unspecified, the default value is false. VMware Live Site Recovery 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, VMware Live Site Recovery 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. - 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 VMware Live Site Recovery Server creates core dumps, VMware Live Site Recovery Server deletes older files as necessary to avoid exceeding the maximum and consuming excessive disk space, especially whendumpFullCore
is true.