Troubleshooting your VMware Data Services Manager installation may involve generating logs for database VMs.

About Database Logs

A database log bundle that you generate aggregates relevant logs on the database VM, enabling faster diagnosis when the service faces an issue.

A database log bundle is a gziped tar file, and has the following file name format:

<YYYY-MM-DD>-<HHMMSS>-dbbundle.tar.gz

Generating a Log Bundle

You generate a database log bundle to review database activities or to diagnose errors in a database.

Procedure

Perform the following procedure to generate a log bundle:

  1. Select Databases from the left navigation pane.

    This action displays the Databases view, a table that lists the provisioned databases.

  2. Examine the databases listed in the table, identify the database for which you want to generate a log bundle, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Summary tab displays.

  4. Click the Logs tab.

    This action displays a table that lists generated service log bundles.

  5. Click GENERATE LOG in the upper right corner of the view to trigger the generation of a service log bundle.

    VMware Data Services Manager initiates the task, generating an operation of type CLUSTER LOG GENERATION.

  6. When the operation completes, the newly generated log bundle is added to the table. You can identify the bundle by its Generation Time.

Downloading a Log Bundle

You can download a log bundle to your local host for review and analysis, or to provide to VMware support.

Perform the following procedure to download a service log bundle:

  1. Select Databases from the left navigation pane.

    This action displays the Databases view, a table that lists the provisioned database databases.

  2. Examine the databases listed in the table, identify the database for which you want to download a service log bundle, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Summary tab displays.

  4. Click the Logs tab.

    This action displays a table that lists the generated service log bundles.

  5. Examine the bundles listed in the table, identify the bundle that you wish to download, and navigate to that table row.

  6. Click the three-dot icon, and click DOWNLOAD.

    A browser-specific dialog displays, allowing you to open or to save the log bundle file.

  7. Choose your action for the file to initiate the download.

  8. Note the file system location of the downloaded log bundle file.

Deleting a Log Bundle

Delete one or more log bundles when you no longer require the data.

Procedure

Perform the following procedure to delete a log bundle:

  1. Select Databases from the left navigation pane.

    This action displays the Databases view, a table that lists the provisioned databases.

  2. Examine the databases listed in the table, identify the database for which you want to delete a log bundle, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Summary tab displays.

  4. Click the Logs tab.

    This action displays a table that lists generated log bundles.

  5. Examine the bundles listed in the table, and identify the bundle that you wish to delete.

  6. To delete one or multiple bundles, select the checkbox in the first column of each row, and click DELETE SELECTED LOGS.

    The Delete Database Log dialog displays; this confirmation dialog identifies the Log Name of the each bundle that you selected to delete.

  7. Click CONFIRM.

VMware Data Services Manager deletes the bundles and removes them from the table.

check-circle-line exclamation-circle-line close-line
Scroll to top icon