Changeset 1402 in products
- Timestamp:
- Nov 25, 2009 1:05:15 PM (15 years ago)
- Location:
- QGSkel/trunk/qgskel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
QGSkel/trunk/qgskel/qgplone3_buildout.py
r1391 r1402 27 27 'HTTP port (development port == http_port + 10 )', 28 28 default=8080), 29 var('http_port_be1', 30 "HTTP port for first Backend server. Other backend' ports increments " \ 31 "by 1 from this one.", default=20001), 29 32 ] 30 33 … … 37 40 vars['newplone'] = not vars['veryoldplone'] and not vars['oldplone'] 38 41 vars['http_port_devel'] = int(vars['http_port']) + 10 42 for i in range(2,9): 43 vars['http_port_be%d' % i] = vars['http_port_be1'] + i 39 44 super(QGPlone3Buildout, self).pre(command, output_dir, vars) 40 45 -
QGSkel/trunk/qgskel/templates/qgplone3_buildout/profiles/deployments/backendzeos.cfg_tmpl
r1396 r1402 1 1 [buildout] 2 2 extends = ../base.cfg 3 parts += 4 backends 5 backend1 6 backend2 7 # backend3 8 # backend4 9 # backend5 10 # backend6 11 # backend7 12 # backend8 13 3 14 newest = false 4 15 5 [instance] 6 http-address = ${http_port} 16 [config] 17 http-address.1 = ${http_port_be1} 18 http-address.2 = ${http_port_be2} 19 http-address.3 = ${http_port_be3} 20 http-address.4 = ${http_port_be4} 21 http-address.5 = ${http_port_be5} 22 http-address.6 = ${http_port_be6} 23 http-address.7 = ${http_port_be7} 24 http-address.8 = ${http_port_be8} 25 26 27 [backends] 28 recipe = zc.recipe.macro 29 result-recipe = plone.recipe.zope2instance 30 macro = backend_template 31 targets = 32 backend1:backend1-parameters 33 backend2:backend2-parameters 34 backend3:backend3-parameters 35 backend4:backend4-parameters 36 backend5:backend5-parameters 37 backend6:backend6-parameters 38 backend7:backend7-parameters 39 backend8:backend8-parameters 40 41 42 [backend_template] 43 zope2-location = \${zope2:location} 44 user = \${instance:user} 45 http-address = \$\${:http-address} 7 46 debug-mode = off 8 47 verbose-security = off 48 49 eggs = 50 \${instance:eggs} 51 Products.CacheSetup == 1.2 52 53 products = \${instance:products} 54 55 zcml = \${instance:zcml} 56 57 # Main storage 58 zodb-cache-size = 5000 59 60 zeo-client-client = \$\${:zeo-client-client} 61 zeo-address = storage:8100 62 zeo-client = on 63 zeo-storage=main 64 zeo-client-name=main 65 zeo-client-cache-size = 300MB 66 zeo-var = \${buildout:directory}/var 67 68 ##### 69 #For blobstorage support uncomment following block 70 # 71 #blob-storage = var/blobstorage 72 #shared-blob = off 73 74 # Temporary storage 75 zodb-temporary-storage = 76 <zodb_db temporary> 77 # Temporary storage database (for sessions) 78 <zeoclient> 79 server storage:8100 80 storage temp 81 name temporary 82 var \${\$\${:__name__}:zeo-var} 83 # ZEO client cache, in bytes 84 #cache-size 50MB 85 # Uncomment to have a persistent disk cache 86 #client zeoc1 87 </zeoclient> 88 mount-point /temp_folder 89 container-class Products.TemporaryFolder.TemporaryContainer 90 </zodb_db> 91 92 93 [backend1-parameters] 94 http-address = \${config:http-address.1} 95 zeo-client-client = zeoc1 96 97 [backend2-parameters] 98 http-address = \${config:http-address.2} 99 zeo-client-client = zeoc2 100 101 [backend3-parameters] 102 http-address = \${config:http-address.3} 103 zeo-client-client = zeoc3 104 105 [backend4-parameters] 106 http-address = \${config:http-address.4} 107 zeo-client-client = zeoc4 108 109 [backend5-parameters] 110 http-address = \${config:http-address.5} 111 zeo-client-client = zeoc5 112 113 [backend6-parameters] 114 http-address = \${config:http-address.6} 115 zeo-client-client = zeoc6 116 117 [backend7-parameters] 118 http-address = \${config:http-address.7} 119 zeo-client-client = zeoc7 120 121 [backend8-parameters] 122 http-address = \${config:http-address.8} 123 zeo-client-client = zeoc8
Note: See TracChangeset
for help on using the changeset viewer.