Symptoms:
After you upgrade to or perform a fresh installation of the Horizon 6.2 adapter and then restart the cluster, you experience these symptoms:
- Horizon 6.2 Broker agent fails to pair with the Horizon 6.2 adapter.
- In the C:\ProgramData\VMware\vRealize Operations for Horizon\Broker Agent\logs\v4-msgserver.log file, you see entries similar to:
2015-12-10 18:38:11,523 DEBUG [Thread-3] com.vmware.vcops.adapters.v4common.communication.rmi.client.CertificateClient.pair - Failed to pair the certificates from the adapter and broker agent:
javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: <Operations Manager Node IP or FQDN>; nested exception is:
java.net.ConnectException: Connection timed out: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:128)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at com.vmware.vcops.adapters.v4common.communication.rmi.client.CertificateClient.pair(CertificateClient.java:126)
Caused by: java.rmi.ConnectException: Connection refused to host: <Operations Manager Node IP or FQDN>; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
... 3 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.