Enhanced replication option is missing or reconfiguration fails after upgrade to vSphere Replication 9.0
search cancel

Enhanced replication option is missing or reconfiguration fails after upgrade to vSphere Replication 9.0

book

Article ID: 398058

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

After upgrading to vSphere Replication 9.x, the "Enhanced" replication option may be missing, or reconfiguration of existing replication groups may fail. This article addresses how to re-enable enhanced replication and troubleshoot common configuration errors.

Symptoms:

  • The Configure Replication dialogue box only shows Legacy replication.

  • The "Enhanced" replication option is missing.

  • In some cases, though the enhanced replication option is available, reconfiguration of replication groups fails with "Operation Failed Cannot reconfigure replication group '####' (managed object ID: 'GID-####'). Details: 'Failed to automatically select HBR server for group 'GID-####' with scale-out mode 'true'.'.".

  • Registration of hbrsrvuw fails due to connection timeouts and no host based replication servers are present. /opt/vmware/hms/logs/hms.log of the vSphere replication appliance reports the connection timeout events

    INFO  com.vmware.hms.hbrsrvuw.HbrsrvuwRegistrarService [hms-main-thread-47] (..hms.hbrsrvuw.HbrsrvuwRegistrarService) [operationID=####-HMSINT-####] | handleHmsTaskFinishedEvent: [host-##][####]: HmsTaskFinishedEvent[id: HTID-####; taskName: Register hbrsrvuw from host-##; taskManagedEntityId: null; taskTypeId: RegisterHbrTask; requestedExecutorId: hbr-management; taskTag: hbrsrvuw-reg-host-##--id--####; autoAbort: true; queueTime: 1784629082855; startTime: 1784629082877; completeTime: null; error: Cannot start connection to VR Server https://#.#.#.#:443/hbr: https://#.#.#.#:443/hbr invocation failed with "org.apache.http.conn.ConnectTimeoutException: Connect to #.#.#:443 [/#.#.#.#] failed: Connect timed out"; success: false; result: null]

Environment

  • vSphere Replication 9.x
  • Enhanced replication configuration

Cause

In previous versions of vSphere Replication it was recommended to disable scale-out-mode due to a known issue and the option to disable the embedded HBR server was available. These configuration changes have been seen to persist through an upgrade.

Additionally, the HBR server registration fails if the required network ports are blocked between the vSphere Replication appliance and the ESXi hosts or vCenter.

While scale-out mode was previously disabled to address a legacy replication load-balancing issue, enhanced replication resolves this by automatically balancing jobs across target ESXi hosts. Consequently, the embedded Host-Based Replication (HBR) server must remain enabled, as it is required for enhanced replication to function.

Resolution

Ensure all prerequisite network ports are open before attempting to configure enhanced replication.

In order to fix this issue you need to change some settings on the vSphere replication appliance.

  1. Verify firewall settings: Ensure port 443 is open from the vSphere Replication appliance (eth0) to the management vmkernel interface of the intra-site ESXi hosts. Ensure port 9084 is open from the vSphere Replication appliance (eth0) to the vCenter server.

  2. Ensure the SSH service is enabled on the vSphere Replication appliance.

  3. Connect to the vSphere replication appliance using an ssh client.

  4. Re-enable both scale-out-mode and hms-embedded-hbr using the following commands 

    /opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-embedded-hbr=true
    /opt/vmware/hms/bin/hms-configtool -cmd reconfig -property scale-out-mode=true

  5. Restart the hms service: service hms restart

  6. After both options are enabled and the HMS service is restarted the enhanced replication option becomes available.

If the issue persists, to speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.

Additional Information

Re-balancing replications between Hbrsrvuws

vSphere Replication 8.8 documentation