Unable to connect to vSphere replication target site
book
Article ID: 341175
calendar_today
Updated On:
Products
VMware Live Recovery
VMware vSphere ESXi
Show More
Show Less
Issue/Introduction
Symptoms:
Connecting the target site reports an error on web client:"timeout while waiting for the vsphere replication manager server to become connected"
In the HMS.log file, you see error similar to: "2017-04-03 19:35:39.083 TRACE hms.updates.changeManager [tcweb-5] (..vmware.hms.ChangeManagerImpl) operationID=1b51e42c-####-####-####-dd9d91a83c63-HMS-15647017 | Got 0 object changes. 2017-04-03 19:35:39.083 TRACE hms.updates.changeManager [tcweb-5] (..vmware.hms.ChangeManagerImpl) operationID=1b51e42c-####-####-####-dd9d91a83c63-HMS-15647017 | Got 0 collection changes. 2017-04-03 19:35:39.386 ERROR jvsl.sessions [Ping Thread for server 172.17.90.100:8043] (..net.impl.VmomiPingConnectionHandler) | Ping session on server 172.17.90.100:8043 failed: (vim.fault.NotAuthenticated) { faultCause = null, faultMessage = null, object = ManagedObjectReference: type = HmsSessionManager, value = session-manager, serverGuid = 25f22817-####-####-####-6e5f5e45ce5e, privilegeId = System.View } (vim.fault.NotAuthenticated) { faultCause = null, faultMessage = null, object = ManagedObjectReference: type = HmsSessionManager, value = session-manager, serverGuid = 25f22817-####-####-####-6e5f5e45ce5e, privilegeId = System.View Note : The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
In the Virgo.log file, you see error similar to:Caused by: com.vmware.vim.binding.hms.fault.CannotVerifyCredentialsFault: Cannot verify login credentials. The authentication service infrastructure is not responding. at sun.reflect.GeneratedConstructorAccessor1097.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383)
Environment
VMware vSphere Replication 6.1.x VMware vSphere Replication 6.0.x
Cause
The issue occurs because of the time taken to get the name resolution from the domain controllers.
Resolution
To resolve this issue, add the vCenter IP and FQDN for both vCenter Servers in the etc/hosts file on both replication appliance.
To add the vCenter IP and FQDN:
Log in to vSphere Replication Appliance.
Run these commands:cd etc cp hosts hosts.bak (to create back for host file )vi hosts
Enter I key to enable insert mode.
Move the cursor, create an entry for vCenter IP and FQDN for both sites below the local host entry. Example of hosts file:# VAMI_EDIT_BEGIN 127.0.0.1 localhost 192.168.3.10 srmr-a.example.local srmr-a # VAMI_EDIT_END
Add the vCenter IP and FQDN after vSphere Replication Appliance IP and FQDN. Example of hosts file after the change:# VAMI_EDIT_BEGIN 127.0.0.1 localhost 192.168.3.10 srmr-a.example.local srmr-a 192.168.3.20 vcprod.example.local 192.168.5.20 vcdr.example.local # VAMI_EDIT_END
Connect the target site. Note : If the connection fails, restart web client services of vCenter on both sites and try to connect.
Feedback
thumb_up
Yes
thumb_down
No