Failed to establish connection to HBR
journalctl -u hbrsrc.service -b on the Replicator appliance, you see messages similar to:Jul 18 13:09:17 example.local hbrsrv.stdout[717349]: ERROR: C++ run-time terminate handler invoked.. Check syslog or logfile for details Jul 18 13:09:17 Replicator_FQDN hbrsrv[717348]: C++ ###-#### terminate handler invoked. Jul 18 13:09:17 example.local hbrsrv[717348]: Unhandled exception 'Vmacore::FileFormatException': Duplicate child: hostConnectionUseSdkEndpoint Jul 18 13:09:17 example.local hbrsrv.stdout[717349]: Unhandled exception 'Vmacore::FileFormatException': Duplicate child: hostConnectionUseSdkEndpoint Jul 18 13:09:17 example.local systemd[1]: hbrsrv.service: Main process exited, code=dumped, status=6/ABRT Jul 18 13:09:17 example.local systemd[1]: hbrsrv.service: Failed with result 'core-dump'.
Cloud director Availability 4.x
This issue occurs due to a parameter duplication in the HBR configuration file generated during the replicator upgrade.
To fix this issue follow the below steps:
systemctl stop hbrsrv.servicecp /etc/vmware/hbrsrv.xml /etc/vmware/hbrsrv.xml.bkp<extendDiskPITHierarchyPolicy>preserve</extendDiskPITHierarchyPolicy><removeMPITsBeforeBaseDisks>false</removeMPITsBeforeBaseDisks><backupMode>backup_mode_on</backupMode><backupCriticalMode>true</backupCriticalMode><useDatastoreTickets>false</useDatastoreTickets><hostConnectionUseSdkEndpoint>false</hostConnectionUseSdkEndpoint><hostConnectionUseHbrTunnelEndpoint>false</hostConnectionUseHbrTunnelEndpoint><!-- <hostConnectionUseHbrTunnelEndpoint>false</hostConnectionUseHbrTunnelEndpoint> --><!-- <hostConnectionUseSdkEndpoint>false</hostConnectionUseSdkEndpoint> -->systemctl start hbrsrv.service