You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "shripatel1919@gmail.com" <sh...@gmail.com> on 2017/10/06 16:41:31 UTC

Prefer ignite nodes on same Availability Zone

hi 

I have ignite cluster that's spread across 2 availability zone (AZ) in same
region. We have app cluster that deployed the same way. 

So we have ignite node1 and node2 in AZ1. And node3 and node4 in AZ2. And we
have app's instance 1 in AZ1 and app's instance 2 in AZ2.

I want app instance on AZ 1 to preferable ignite nodes on AZ 1. And same
with AZ 2. 

I wanting to know how achieve this. Is there way for me to print or track at
App level which it ignite node it connects to.

In my client configure for app instance 1 even if i only provide only node1
and node2.  Once node3 and node4 join cluster its visible (accessible) to
app instance 1. 

In another app we strictly want app to only connect to ignite on same AZ. We
can achieve this by having 2 separate cluster on each AZ. But we wanted to
reuse 4 node ignite cluster already setup.

Thanks in advance. 
Shri



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Prefer ignite nodes on same Availability Zone

Posted by Pim D <pi...@ns.nl>.
Have a look at the clustergroup feature of Ignite.
This feature can be used widely (computation, data).
Also interesting: AffinityKey and AffinityKeyFunction.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/