Re: Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread Ilya Kasnacheev
Hello! Yes, you should specify both local and remote addresses in discovery SPI section: https://apacheignite.readme.io/docs/tcpip-discovery#static-ip-finder Regards, -- Ilya Kasnacheev чт, 11 июн. 2020 г. в 15:07, rakshita04 : > So are you saying apache ignite automatically does that. > Do i

Re: Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread rakshita04
So are you saying apache ignite automatically does that. Do i need to configure the ip of the other node somewhere in xml file so that data keeps syncing? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread Ilya Kasnacheev
Hello! There are ways to do that (affinity backup filter), but why would you want to? You are much better off relying on Ignite's data model when using Apache Ignite. Regards, -- Ilya Kasnacheev чт, 11 июн. 2020 г. в 15:02, rakshita04 : > Hi Ilya, > > I want one node to be master for all entr

Re: Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread rakshita04
Hi Ilya, I want one node to be master for all entries. How can i achieve this? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread Ilya Kasnacheev
Hello! If you declare your caches as REPLICATED they will be kept in sync. One node will be master of half entries and the other will be master of the remaining half. Regards, -- Ilya Kasnacheev чт, 11 июн. 2020 г. в 14:36, rakshita04 : > Hi Team, > > We have 2 apache ignite DBs located at se

Need to sync two apache ignite cache DB using ip address

2020-06-11 Thread rakshita04
Hi Team, We have 2 apache ignite DBs located at separate IPs and connected through TCP-ip connection. ne of this DB should work as master dB and on any change should sync to other apache ignite DB and update the entries accordingly. How can i achieve this ? what changes do i need to do in xml file