There are several methods for collecting Site Recovery Manager (SRM) logs from the SRM server. For more information see Troubleshooting SRM or Access SRM Log Files in the Site Recovery Manager Administration Guide.
To collect logs from VMware vSphere Site Recovery Manager servers:
- In SRM 8.x, use the vSphere Web Client to download logs from each server to a user-specified location:
1. In the vSphere Client or the vSphere Web Client, click
Site Recovery >
Open Site Recovery.
2. On the
Site Recovery home tab, select a
site pair and click
View Details.
3. On the
Site Pair tab, click
Summary and then click
Name in the Site Recovery Manager box.
4. Select a
server and click
Export Logs.
5. Click
Download to download the logs.
Logs can be downloaded also from the VAMI page as per the screenshot below for 8.x:
- In SRM 8.5 and above, one can generate a log bundle from the Site Recovery Manager Appliance command line:
- Log in to the Site Recovery Manager Appliance host machine and open a command prompt.
- Change the working directory to /opt/vmware/dr/bin.
- Run the following command:
- If you are logged in as admin user: sudo ./dr-support-linux.sh.
- If you are logged in as root user: ./dr-support-linux.sh.
- The output log bundle is located in: /var/log/vmware/Support
- You would need to download the output file using an scp client like WinSCP, and then proceed to upload that file to the support portal.
- If the issue is related to a Test Failover or actual Failover, then the failed Recovery Plan export log is invaluable in troubleshooting the issue. To generate the Export Report for the failed Recovery Plan:
- In the left pane, click Recovery Plans and select the Recovery Plan which had the issue.
- Select the Plan Name which is showing an Error in the Result column.
- On the Plan Name with the error click the Export Report option to generate the report for the failed Test Failover or actual Failover.
- Save the file to your desktop and upload this file with the SRM system logs.
Depending on the issue, VMware support may need Site Recovery Manager logs from the protected site, the recovery site, or both.
Site Recovery Manager log bundles do not specify the role of the site where they were collected, as a single site may have both protected and recovery roles at the same time. VMware by Broadcom recommends that you prefix the words protected
or recovery
to each log bundle name before uploading, so as to help VMware support quickly distinguish between log files. For example:
protected-srm-support-MM-DD-YYYY-hh-mm.zip
recovery-srm-support-MM-DD-YYYY-hh-mm.zip
If the issue being investigated is related to virtual machine Failover or Failback, an export of the History Reports are required
Follow these steps to export the History Reports:
- Connect to vCenter Server using the vSphere Client as a user with administrative privileges.
- In the vSphere Client Home page, click the Site Recovery icon.
- Click Recovery Plans.
- Select the previously-failed recovery plan and click the History tab.
- Click Export Report and save all the relevant reports.
Note: If a Test Failover that was previously successful fails, include the last successful report.