Collecting diagnostic information for Site Recovery Manager
search cancel

Collecting diagnostic information for Site Recovery Manager

book

Article ID: 312791

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction


VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product.

This article provides procedures for obtaining diagnostic information for VMware Site Recovery Manager. The diagnostic information collected can then be uploaded to VMware Technical Support. To uniquely identify your information, use the Support Request (SR) number you received when you opened your Support Request.

Environment

VMware vCenter Site Recovery Manager 8.x
VMware vSphere Replication 5.8.x
VMware vCenter Site Recovery Manager 5.5.x
VMware vCenter Site Recovery Manager 1.0.x
VMware vCenter Site Recovery Manager 4.0.x
VMware vCenter Site Recovery Manager 5.0.x
VMware vCenter Site Recovery Manager 4.1.x
VMware vSphere Replication 5.5.x
VMware Site Recovery Manager 8.x
VMware vCenter Site Recovery Manager 6.0.x
VMware vSphere Replication 8.x
VMware vCenter Site Recovery Manager 5.8.x
VMware vSphere Replication 5.1.x
VMware vCenter Site Recovery Manager 5.1.x

Resolution


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:

image.png
  • In SRM 8.4 and 8.5, to generate a log bundle from the Site Recovery Manager Appliance command line:
  1. Log in to the Site Recovery Manager Appliance host machine and open a command prompt.
  2. Change the working directory to /opt/vmware/dr/bin.
  3. Run the following command:
    1.    If you are logged in as admin user: sudo ./dr-support-linux.sh.
    2.    If you are logged in as root user: ./dr-support-linux.sh.
The output log bundle is located in: /var/log/vmware/Support
 
  • 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:
    1. In the left pane, click Recovery Plans and select the Recovery Plan which had the issue.
    2. Select the Plan Name which is showing an Error in the Result column.
    3. On the Plan Name with the error click the Export Report option to generate the report for the failed Test Failover or actual Failover.
    4. 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. To help VMware support quickly distinguish between logs, VMware recommends that you prepend the words protected or recovery to each log bundle name before uploading. 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 Failover or Failback Tests, export the History Reports:

  1. Connect to vCenter Server using the vSphere Client as a user with administrative privileges.
  2. In the vSphere Client Home page, click the Site Recovery icon.
  3. Click Recovery Plans.
  4. Select the previously-failed recovery plan and click the History tab.
  5. Click Export Report and save all the relevant reports.

    Note: If a Test Failover that was previously successful fails, include the last successful report.


Additional Information


For more in formation on the location of SRM log files, see Location of Site Recovery Manager log files (1021802).
Location of Site Recovery Manager log files
Site Recovery Manager の診断情報の収集
为 Site Recovery Manager 收集诊断信息
Recopilar información de diagnóstico para Site Recovery Manager
Coletando informações de diagnóstico para o Site Recovery Manager