RE: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-17 Thread Ross Brown
 So it is possible to start your Varnish with one VCL program, and have
 a small script change to another one some minutes later.

What would this small script look like? 

Sorry if it's a dumb question :)


___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-17 Thread Poul-Henning Kamp
In message 1ff67d7369ed1a45832180c7c1109bca13e23e7...@tmmail0.trademe.local, 
Ross Brown writes:
 So it is possible to start your Varnish with one VCL program, and have
 a small script change to another one some minutes later.

What would this small script look like?=20

sleep 600
varnishadm vcl.load real_thing /usr/local/etc/varnish/real.vcl
varnishadm vcl.use real_thing

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


RE: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-17 Thread Ross Brown
I hadn't used varnishadm before. Looks useful.

Thanks!

-Original Message-
From: p...@critter.freebsd.dk [mailto:p...@critter.freebsd.dk] On Behalf Of 
Poul-Henning Kamp
Sent: Monday, 18 January 2010 9:38 a.m.
To: Ross Brown
Cc: varnish-misc@projects.linpro.no
Subject: Re: Strategies for splitting load across varnish instances? And 
avoiding single-point-of-failure? 

In message 1ff67d7369ed1a45832180c7c1109bca13e23e7...@tmmail0.trademe.local, 
Ross Brown writes:
 So it is possible to start your Varnish with one VCL program, and have
 a small script change to another one some minutes later.

What would this small script look like?=20

sleep 600
varnishadm vcl.load real_thing /usr/local/etc/varnish/real.vcl
varnishadm vcl.use real_thing

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

2010-01-17 Thread John Norman
Hey, folks, I just want to thank for this great thread -- I think it
would be well worth breaking it up into Q/A for the FAQ.

We're still a bit undecided as to how we're going to configure our
systems, but we feel like we have options now.

On Sun, Jan 17, 2010 at 4:10 PM, Ross Brown r...@trademe.co.nz wrote:
 I hadn't used varnishadm before. Looks useful.

 Thanks!

 -Original Message-
 From: p...@critter.freebsd.dk [mailto:p...@critter.freebsd.dk] On Behalf Of 
 Poul-Henning Kamp
 Sent: Monday, 18 January 2010 9:38 a.m.
 To: Ross Brown
 Cc: varnish-misc@projects.linpro.no
 Subject: Re: Strategies for splitting load across varnish instances? And 
 avoiding single-point-of-failure?

 In message 1ff67d7369ed1a45832180c7c1109bca13e23e7...@tmmail0.trademe.local,
 Ross Brown writes:
 So it is possible to start your Varnish with one VCL program, and have
 a small script change to another one some minutes later.

What would this small script look like?=20

        sleep 600
        varnishadm vcl.load real_thing /usr/local/etc/varnish/real.vcl
        varnishadm vcl.use real_thing

 --
 Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
 p...@freebsd.org         | TCP/IP since RFC 956
 FreeBSD committer       | BSD since 4.3-tahoe
 Never attribute to malice what can adequately be explained by incompetence.
 ___
 varnish-misc mailing list
 varnish-misc@projects.linpro.no
 http://projects.linpro.no/mailman/listinfo/varnish-misc

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc