Girish Kamath <girishkm@xxxxxxxxxxxxxxxx> wrote:
> Hi
>
> I have setup a Linux Virtual Server with 2 load balancers and 2 real
> servers. They are working
> perfectly fine. When the Primary Load Balancer fails the Secondary Load
> Balancer takes control
> and starts servicing.
> My problem is when the Primary Load Balancer is back in operation again,
> it stays as a Secondary
> while the original Secondary Load Balancer is servicing requests, as a
> primary.
> What i want is, that when a Primary LB is back in operation, the
> secondary should relinquish the
> floating IP to the Primary and Primary should start serving requests
> again.
> What do i need to do to achive this ? Any pointers would be helpful
Well, you didn't say what kind of HA software you use to do the failover -
so I assume you use Heartbeat :-)
In /etc/ha.d/ha.cf comment out the line:
nice_failback on
or set it to 'off'.
Juri
--
Juri Haberland <juri@xxxxxxxxxxxxxx>
|