Varnish replication?
Sascha Ottolski
ottolski at web.de
Mon Feb 18 14:44:50 CET 2013
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
More information about the varnish-misc
mailing list