This content has been marked as final. Show 5 replies
I believe if you configure the site-name,rack-name and machine-name properly, Coherence will pick the strongest backup strategy. i.e. store backup partition on different site provide you have site-name configured properly on all nodes.
But I never tested it out, though.
And you will have to have backup-count greater than 0.
The default backing strategy that comes out-of-the-box will not help you. You would need to use the simple partition assignment strategy that will ensure "data safety", by placing primary and backup copies of data on different sites, racks and machines. So if there are multiple sites then primary and backup data will be put on different sites. You need to define the following parameters for JVMs on each AZ:
-Dtangosol.coherence.site=AZ1 or -Dtangosol.coherence.site=AZ2