Search the VMware Knowledge Base (KB)
View by Article ID

Collecting the VMware vSphere Replication logs (2013091)

  • 17 Ratings
Language Editions

Purpose

This article provides steps to collect the logs from the vSphere Replication (VR) and vSphere Replication Management Server (VRMS) using the automated log bundle generator.

Resolution

To automatically gather a vSphere Replication log bundle using the Virtual Appliance Management Interface 

To automatically gather the vSphere Replication logs from the vSphere Replication Management Server (VRMS) using the web UI, you need access to the Virtual Appliance Management Interface (VAMI).
  1. Connect to the VAMI of the vSphere Replication appliance in a web browser using the URL  https://vr-appliance-address:5480.
  2. Click the VRM tab.
  3. Click Support.
  4. Click Generate to generate a .zip package of the current vSphere Replication logs.
  5. A link to the package containing the replication and system logs appears. Click the link to download the package.

    Notes:
    • vSphere Replication keeps only 10 log packages at a time. Older packages are removed to make space for new packages.
    • If you want to manually delete a generated log bundle, click Delete next to the existing bundle.

To automatically gather a vSphere Replication log bundle from the VRMS Server using the command line

To collect logs from the VRMS server:
  1. Open the console for the VRMS server appliance and log in as the root user. The default password is vmware.
  2. Confirm PermitRootLogin is set to yes in the SSH configuration file.

    To set the PermitRootLogin parameter to yes:

    1. Open the /etc/ssh/sshd_config file using a text editor.
    2. Locate the line that begins with PermitRootLogin.
    3. Set this parameter to yes.
    4. Save and close the file.
    5. Restart the sshd service using this command:

      service sshd restart

  3. Start generating the support bundle using this command:

    /opt/vmware/hms/generatesupportbundle.sh

    Note:  In VMware vSphere Replication 5.8 and 6.0, generatesupportbundle script is in /opt/vmware/hms/bin directory instead of /opt/vmware/hms/.

    The completed log bundle is located at:

    /opt/vmware/hms/support/HSB-hms-<uuid>/bundle.tar.gz

  4. Connect to the VRMS server appliance using an SFTP client, such as FileZilla, and download the log bundle.

    Note : By default, the VRMS server logs (hms*.log ) are located at /opt/vmware/hms/logs.

To automatically gather a vSphere Replication log bundle from the VR Server using the command line

To collect logs from the VR server:
  1. Open the console for the VR server appliance and log in as the root user. The default password is vmware.
  2. Start generating the support bundle using this command:

    /usr/bin/hbrsrv-support-bundle.sh

    The completed log bundle is located in:

    /tmp/hbrsrv-2011-08-20-14-34-6.tgz

  3. Connect to the VR server appliance using an SFTP client, such as FileZilla, and download the log bundle.

    Notes:
    • By default, the VR server logs (hbrsrv*.log ) are located at /var/log/vmware.
    • The /var/log/messages file can also be a useful source of information for VR server issues.

Additional Information

For more information on collecting diagnostic information for VMware products and uploading to VMware support, see: 

See Also

Update History

06/14/2012 - Added steps to set the PermitRootLogin parameter to yes

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 17 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 17 Ratings
Actions
KB: