Hi,
I am seeing that a thin client cannot reconnect (on the same port) after a
server shutdown. I have 1 backup enabled and load some data in the cache on
startup. Replication procedure is:
1) Start server 1
2) Try thin client --> it retrieves data
3) Start server 2
4) Kill server 1 (Server 2 output below)
5) Try thin client --> fails with :
org.apache.ignite.client.ClientConnectionException: Ignite cluster is
unavailable
at
org.apache.ignite.internal.client.thin.TcpClientChannel.<init>(TcpClientChannel.java:114)
~[ignite-core-2.7.5.jar:2.7.5]
6) Try thick client --> works fine
Almost certainly this is due to the connection port for the thin client (as
server 2 thin client listener cannot start on the same port). But how do I
discover which port is opened on server 2 for thin clients?
Thanks,
Rick
Server 2
[08:51:40] Topology snapshot [ver=2, locNode=3da900bd, servers=2, clients=0,
state=ACTIVE, CPUs=4, offheap=9.3GB, heap=7.9GB]
StartIgnite-->Ignite Initialization. Got cache Tables from Ignite.
[08:51:56] Topology snapshot [ver=3, locNode=3da900bd, servers=1, clients=0,
state=ACTIVE, CPUs=4, offheap=4.6GB, heap=4.0GB]
[08:51:56] Coordinator changed [prev=TcpDiscoveryNode
[id=ae5f19f3-2cfe-477b-b16d-4d12fb95aaad, addrs=[10.0.75.1, 127.0.0.1,
172.27.252.225, 192.168.1.123, 192.168.32.1],
sockAddrs=[/172.27.252.225:47500, /10.0.75.1:47500, /127.0.0.1:47500,
/192.168.32.1:47500, L2SG9M32.europe.temenosgroup.com/192.168.1.123:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1561704688821,
loc=false, ver=2.7.5#20190603-sha1:be4f2a15, isClient=false],
cur=TcpDiscoveryNode [id=3da900bd-79b3-4b49-a0d4-4b6cbe134b54,
addrs=[10.0.75.1, 10.30.200.76, 127.0.0.1, 172.27.252.225, 192.168.1.123,
192.168.32.1],
sockAddrs=[L2SG9M32.europe.temenosgroup.com/192.168.1.123:47501,
L2SG9M32.mshome.net/172.27.252.225:47501, /10.30.200.76:47501,
/127.0.0.1:47501, /192.168.32.1:47501, /10.0.75.1:47501], discPort=47501,
order=2, intOrder=2, lastExchangeTime=1561704716259, loc=true,
ver=2.7.5#20190603-sha1:be4f2a15, isClient=false]]
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/