문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top