Forum Discussion

Rahul_Gupt_2401's avatar
Rahul_Gupt_2401
Icon for Nimbostratus rankNimbostratus
Feb 10, 2017

How load balancing works for partitions ?

Hi,

 

We have two load balancers A and B. A is primary load balancer and B is standby. we have three partitions in load balancers i.e. partitions common, partition X and partition Y.

 

I know that if load balancer A fails then all the traffic will failover to load balancer B. But what happens if only X partition in load balancer A fails ? Will the traffic for X partition failover to load balancer B partition X ?

 

1 Reply

  • Hi Rahul,

     

    a partition its more or less just a configuration store which holds your configuration objects. It will never failover to your second unit. But it will become replicated so that both units sharing the same configuration.

     

    Failover happens for traffic-group(s) and the individual configuration objects that are bound to this traffic-group (regardless in which partition they are stored).

     

    You can create multiple traffic-group(s) and then manually bind the configuration objects of the individual partitions each to a dedicated traffic-group. This will allow you to failover the traffic-group which is exclusively used for configuration objects of partitionX to another device causing an Active/Active configuration.

     

    If a given partition can't be loaded on cluster unit, the entire unit will go offline and cause an failover of every traffic-groups the unit is currently serving.

     

    Cheers, Kai