predefine probes and maximum lenght of vcl.inline configs

Gerhard Schmidt schmidt at ze.tum.de
Mon Aug 30 15:21:17 CEST 2010


Hi,

we a running varnish as reversproxy for our university portal. We've 19
backendservers each running 4 Zope processes. So we have 76 backends.
so defining for each of this backends a probe is quite a job, not to mention
changing some settings.

Is there a way to define probs once and reuse them in the backend definitions.
I've tried

probe portal {...} and use it via .probe = portal; compiling failes at probe
portal.

<---- snip ---->
Message from VCC-compiler:
Expected one of
        'acl', 'sub', 'backend',  or 'director'
Found: 'probe' at
(input Line 1 Pos 1)
probe portal {
#####---------
Running VCC-compiler failed, exit 1
VCL compilation failed
<---- snip ---->

The problem increases because we update the config via vcl.inline over the cli
interface and there seam to be a maximum length for the config.
defining the probe only once would reduce the config size greatly.

Kind regard,
Estartu


-- 
-------------------------------------------------
Gerhard Schmidt       | E-Mail: schmidt at ze.tum.de
TU-München	      |
WWW & Online Services |
Tel: 089/289-25270    |
Fax: 089/289-25257    | PGP-Publickey auf Anfrage


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100830/8b4bfe2e/attachment-0003.pgp>


More information about the varnish-misc mailing list