Config change.

2007-07-03 Thread TiAMO
I need to add more backend servers and req.http.Host definitions quite often, 
is there a way to change the config without restarting varnish and loose the 
entire cache?

Or is it just simpler to have a backend on loopback and write a separate app 
to handle the backend distribution without having to restart varnish and 
loose the cache. This might not be a problem for most uses but i plan to 
store around 6TB in the cache on each box, so i would realy like not having 
to refill it each time i add a new site to the caches =)

also is it possible to make varnish listen on sevral adresses/ports, i tried 
with mutiple -a x.x.x.x:y but it did'nt seem to work.

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


Re: Config change.

2007-07-03 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], TiAMO writes:

I need to add more backend servers and req.http.Host definitions quite often, 
is there a way to change the config without restarting varnish and loose the 
entire cache?

Yes, you can load a new VCL code from the CLI interface with no disruption
to your active traffic.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | 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