[1403] | 1 | [buildout] |
---|
| 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 | |
---|
| 14 | newest = false |
---|
| 15 | |
---|
| 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} |
---|
| 46 | debug-mode = off |
---|
| 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 |
---|