Varnish replication?
Rafał Radecki
radecki.rafal at gmail.com
Mon Feb 18 14:49:27 CET 2013
I cannot switch from active/passive to active/active at the moment.
2013/2/18 Sascha Ottolski <ottolski at web.de>:
> Am Montag, 18. Februar 2013, 13:37:46 schrieb Rafał Radecki:
>> Hi all.
>>
>> I have a two node pacemaker cluster. If primary node goes down then
>> secondary node takes its role.
>> I use varnish on both nodes. When I switch to the secondary node the
>> cache needs to be regenerated (as expected). Is there a way to
>> replicate varnish cache between two servers? Something like conntrackd
>> for iptables?
>>
>> Best regards,
>> Rafal Radecki.
>
> I would recommend an active/active setup instead. Put a loadbalancer in
> front, and let it distribute the request to both nodes. If one goes
> down, the other is obviously warm. No special "tricks" required, and you
> make better use of you're hardware when both nodes are fine.
>
> Cheers
>
> Sascha
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
More information about the varnish-misc
mailing list