Question

Is it possible to configure a HazelcastClient with 2 different TCP/IP clusters for the same HazelcastInstance? (I have the split-brain syndrome and i want the second cluster to be a backup cluster).

I'm asking if it's possible for the same ClientConfig to specify 2 TCP/IP addresses (wich are indeed 2 different harware Virtual IP Addresses (VIPAs)) as if they were 2 simple cluster members pertaining to the same cluster group? I mean, is there any problem in specifying a single VIPA address instead of specifying all of the members IP addresses?

I thinks it would be better explained with an image.

enter image description here

Was it helpful?

Solution

Yes you can but if you also need the data (of 2 clusters) to be synchronized then you should use wan-replication. See:

http://www.hazelcast.com/docs/2.5/manual/single_html/#WanReplication

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top