If the data centers are far apart you will want to use the bi-directional
GemFire WAN Gateway to replicate between clusters.

The trickiest part is figuring out when to switch. If you already have a
mechanism for that then that's great.

Once you know for sure you want to switch, the easiest way is to install a
gemfire.properties file on the client machines that points to the locators
in the other data center and restart the clients.

There is a programmatic way to do it but is a lot more code and work than
this way.

Feel free to ask any additional questions here.



--
Mike Stolz
Principal Engineer, GemFire Product Lead
Mobile: +1-631-835-4771

On Wed, Apr 10, 2019, 2:01 PM aashish choudhary <
aashish.choudha...@gmail.com> wrote:

> Hi,
>
> We have a scenario where in we need to switch over to a different data
> center automatically when any failure occurs in the existing cluster.
>
> Any recommendations?
>
>
> With best regards,
> Ashish
>

Reply via email to