Troubleshooting your VMware Data Services Manager installation may involve generating logs for database VMs.
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 gzip
ed tar
file, and has the following file name format:
<YYYY-MM-DD>-<HHMMSS>-dbbundle.tar.gz
You generate a database log bundle to review database activities or to diagnose errors in a database.
Perform the following procedure to generate a log bundle:
Select Databases from the left navigation pane.
This action displays the Databases view, a table that lists the provisioned databases.
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.
Click the database Instance Name.
The database information Summary tab displays.
Click the Logs tab.
This action displays a table that lists generated service log bundles.
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.
When the operation completes, the newly generated log bundle is added to the table. You can identify the bundle by its Generation Time.
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:
Select Databases from the left navigation pane.
This action displays the Databases view, a table that lists the provisioned database databases.
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.
Click the database Instance Name.
The database information Summary tab displays.
Click the Logs tab.
This action displays a table that lists the generated service log bundles.
Examine the bundles listed in the table, identify the bundle that you wish to download, and navigate to that table row.
Click the three-dot icon, and click DOWNLOAD.
A browser-specific dialog displays, allowing you to open or to save the log bundle file.
Choose your action for the file to initiate the download.
Note the file system location of the downloaded log bundle file.
Delete one or more log bundles when you no longer require the data.
Perform the following procedure to delete a log bundle:
Select Databases from the left navigation pane.
This action displays the Databases view, a table that lists the provisioned databases.
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.
Click the database Instance Name.
The database information Summary tab displays.
Click the Logs tab.
This action displays a table that lists generated log bundles.
Examine the bundles listed in the table, and identify the bundle that you wish to delete.
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.
Click CONFIRM.
VMware Data Services Manager deletes the bundles and removes them from the table.