Enhanced Replication Mappings stuck in "Testing" state VMware Live Recovery 9.0.2.3
search cancel

Enhanced Replication Mappings stuck in "Testing" state VMware Live Recovery 9.0.2.3

book

Article ID: 442635

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

When testing Enhanced Replication connection within VMware Live Recovery, the following symptoms may occur:

  • The connection test for the local site remains stuck in a "Testing" state indefinitely.

  • After rebooting the vSphere Replication appliance to resolve the hang, the UI displays the error: Unable to connect to vSphere Replication Management Server. Details: "java.net.ConnectException: Connection refused"

Environment

VMware Live Recovery, vSphere Replication 9.0.2.x

Cause

This issue is typically caused by a transient service state inconsistency in the vSphere Replication Management (HMS) service or the HBR (Host-Based Replication) agent. In version 9.0.2.x, the management service may fail to properly initialize the handshakes required for Enhanced Replication, leading to a hang in the validation phase or a failure to listen on management ports after a reboot.

Resolution

Refer the workaround part in Unable to connect to vSphere Replication Management Server: Connection Refused

    1. Create a snapshot of the vSphere Replication Appliance.
    2. Establish an SSH session to the appliance and log in as root.

    3. Stop the HMS service: systemctl stop hms

    4. Open the configuration file for editing: vi /opt/vmware/hms/conf/hms-configuration.xml

    5. Locate the schedule-health-checks section and modify the value to false<schedule-health-checks>false</schedule-health-checks>

    6. Save and close the file.

    7. Wait approximately 2 minutes to allow the operating system to clear the leaked socket state.

    8. Start the HMS service: systemctl start hms