You will have to increase the vSphere Replication Management Server's HDD size to a higher capacity to store the log files depending on the number of VR Add-on you may have.
NOTE: vSphere Replication versions 8.x and 9.x include VRMS log bundle also includes logs from both the VRMS (Management server) and Add-on vSphere Replication (VR servers)
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).
- Connect to the VAMI of the vSphere Replication appliance in a web browser using the URL : https://vr-appliance-address:5480
- Click Summary, and then click Download Support Bundle to generate a .zip package of the current vSphere Replication logs.
- Click Download to download the package.
Generating vSphere Replication log bundle from the VRMS Server using CLI
NOTE: In VMware vSphere Replication 8.4 and above please login using "admin" and run "su" to change user to root (Enter Root password when prompted)
- Login as admin credential.
$ su
Password:
- Start generating the support bundle using this command:
/opt/vmware/hms/generatesupportbundle.sh
NOTE: In vSphere Replication 8.x and 9.0.x, the location is /opt/vmware/hms/bin/generatesupportbundle.sh
The completed log bundle is located at: /opt/vmware/hms/support/HSB-hms-<uuid>/bundle.tar.gz
NOTE: For vSphere Replication 8.5 use:
/opt/vmware/hms/bin/generatesupportbundle.sh to generate VRMS server logs. The output bundle is located at /opt/vmware/hms/support
/opt/vmware/dr/bin/dr-support-linux.sh to generate DR UI logs (H5Logs, DrConfigUi). The output bundle is located at /var/log/vmware/Support
- Connect to the VRMS server appliance using an SFTP client, such as WinSCP, FileZilla and download the log bundle.
Before copying the log file you must change its permission by running the command sudo chmod 777 filename against the log filename. You won't be able to copy files from the appliance, if you don't.
Example : sudo chmod 777 VMware-VRMS-support-04_15_2023-04_39_30-PM.zip
NOTE: By default, the VRMS server logs (hms*.log ) are located at /opt/vmware/hms/logs
Generating vSphere Replication log bundle from the VR Add-on Server using the command line
SSH into the VR Add-on server appliance and log in as
admin first and then as
root user.
- 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
- Connect to the VR server appliance using an SFTP client, such as WinSCP, FileZilla and download the log bundle.
NOTE:
- 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.