kuba at ovh.net
Tue Feb 26 17:13:16 CET 2013
Rafał Radecki napisał(a):
> I cannot switch from active/passive to active/active at the moment.
in such a situation you may try to use varnishreplay to warm up second node
before first one goes down. You may consider using first one as a temporary
backend if real backend is far or slow.
> 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
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
More information about the varnish-misc