Personal tools
You are here: Home Docs Bryan Hinton deployment.cfg (production client)

 

deployment.cfg (production client)

Filed under:
Configuration for multiple ZEO Client / Single ZEO Server installation of Zope2 and Plone3 using zc.buildout.

See Plone 3 - Apache2/SSL - Squid on FreeBSD 7 with PF for Plone 3.3.5 Configuration

[buildout]
extends =
    buildout.cfg
 
parts =
    plone
    zope2
    productdistros
    deploymentproducts
    zeoserver
    primary
    secondary
    varnish-build
    varnish-instance
    zopepy
    chown
 
[deploymentproducts]
recipe = plone.recipe.distros
urls =
   http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz
   http://plone.org/products/clouseau/releases/0.8.1/clouseau-0-8-1.zip
   http://plone.org/products/cachefu/releases/1.1/CacheFu-1.1.tgz
nested-packages =
   CacheFu-1.1.tgz
version-suffix-packages =
 
[zeoserver]
recipe = plone.recipe.zope2zeoserver
zope2-location = ${zope2:location}
effective-user = user
zeo-address = 8110
storage-number = 1
file-storage = /usr/local/data/SITEDIRECTORY/var/filestorage/Dataprimary.fs
zeo-conf-additional =
             path /usr/local/data/SITEDIRECTORY/var/filestorage/Datasecondary.fs     
 
[chown]
# This recipe is used to set permissions -- and ownership for root mode installs
recipe = plone.recipe.command
command = chmod 600 .installed.cfg
command = touch ${buildout:directory}/var/log/zeoserver.log
command = chown -R ${primary:effective-user} ${buildout:directory}/parts
command = chown -R ${secondary:effective-user} ${buildout:directory}/parts
 
[primary]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
effective-user = NONPRIVILEGEDUSER
zeo-client = on
zeo-address = 8110
zodb-cache-size = 10000
user = YOURUSERNAME:YOURPASSWORD
zeo-client-cache-size = 700MB
http-address = 8090
debug-mode = off
verbose-security = off
zeo-storage = 1
zope-conf-additional =
           address 8095     
           address 8099       force-connection-close off     
 
 
eggs =
    ${plone:eggs}
    ${buildout:eggs}
    collective.portlet.feedmixer
develop =
zcml =
    collective.portlet.feedmixer
products =
    ${buildout:directory}/products
    ${deploymentproducts:location}
    ${plone:products}
 
[secondary]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
effective-user = NONPRIVILEGEDUSER
zeo-client = on
zeo-address = 8110
zeo-client-cache-size = 400MB
user = YOURUSERNAME:YOURPASSWORD
http-address = 8091
debug-mode = on
verbose-security = on
zeo-storage = 2
eggs = ${primary:eggs}
zcml = ${primary:zcml}
products = ${primary:products}
zserver-threads = 1
 
[varnish-build]
recipe = plone.recipe.varnish:build
url = http://puzzle.dl.sourceforge.net/sourceforge/varnish/varnish-1.1.2.tar.gz
 
[varnish-instance]
recipe = plone.recipe.varnish:instance
bind = 127.0.0.1:8092
cache-size = 1G
config = ${buildout:directory}/plone.vcl
 
[zopepy]
recipe = zc.recipe.egg
eggs = ${secondary:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy
 
 
Document Actions

Comments (0)