2 Membase servers behind vip setup
I have 2 membase servers installed on CentOS machine on our internal cloud (with Replication enabled). I have these 2 servers behind a vip. From Enyim client, I set the server to vip:8091/pools/default. MinPoolsize is 20 and MaxPoolSize is 100. DeadTimeout is 1 sec (not sure if this is too less). On my client I see 1 connection to the vip. On the 2 servers I see multiple connections to port 8091. The problem I have is when I shutdown membase server on one box (to simulate a box becoming unreachable or down for maintenance), a few of the get/store fail. I enabled logging and noticed this error - "Pool is dead or disposed, returning null." with the IP of the server that is down. How do I force my client to automatically recreate pool and connect to only the server that is up?