The four nodes are located on 4 different machines, 2 of each are located on a different physical location.
Thanks - J > On 21 Jul, 2016, at 8:58 PM, vkulichenko <valentin.kuliche...@gmail.com> > wrote: > > Hi, > > Are G1 and G2 two different physical machines and you start two nodes on > each of them? If this is correct, you can achieve what you want by adding > this to the cache configuration: > > <property name="affinity"> > <bean > class="org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction"> > <property name="excludeNeighbors" value="true"/> > </bean> > </property> > > This will force the affinity function to assign primary and backup nodes for > the same partition to different physical machines. > > -Val > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Is-there-a-way-to-configure-the-backup-nodes-for-a-cache-tp6448p6458.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.