Changeset 2655 for buildout


Ignore:
Timestamp:
10/29/08 19:32:31 (11 years ago)
Author:
tarmo
Message:

snapshot for new cluster config

Location:
buildout/branches/gocept-cluster/profiles
Files:
2 added
5 deleted
2 edited
3 copied
1 moved

Legend:

Unmodified
Added
Removed
  • buildout/branches/gocept-cluster/profiles/base.cfg

    r2551 r2655  
    6060    </environment> 
    6161 
    62 [nginx] 
    63 recipe = gocept.cmmi 
    64 url = http://sysoev.ru/nginx/nginx-0.5.30.tar.gz 
    65 md5sum = 804cf3d6583fe820de42c5e7c50d7a1a 
    66 extra-options = --with-http_stub_status_module 
    67  
    68 [frontend] 
    69 recipe = gocept.nginx>=0.9.1 
    70  
    71 public-address = ${frontend:public-name}:${frontend:public-port} 
    72 vhosts-additional =  
    73  
    74 configuration = 
    75     worker_processes 1; 
    76     env MUNIN_TAG=frontend; 
    77     events { 
    78         worker_connections 1024; 
    79     } 
    80     http { 
    81         include conf/mime.types; 
    82         default_type application/octet-stream; 
    83         sendfile on; 
    84         keepalive_timeout 1200; 
    85         proxy_read_timeout 300; 
    86     client_max_body_size 45m; 
    87         gzip on; 
    88         upstream backends { 
    89             ${instances:nginx-backends} 
    90         } 
    91         # content 
    92         server { 
    93             listen ${frontend:bind-address}; 
    94             server_name ${frontend:public-name}; 
    95             location / { 
    96                 proxy_pass http://backends/VirtualHostBase/http/${frontend:public-address}/lemill-server/VirtualHostRoot/; 
    97             } 
    98         } 
    99         # status on special port 
    100         server { 
    101             listen ${frontend:status-address}; 
    102             server_name ${frontend:public-name}; 
    103         location /nginx_status { 
    104         stub_status on; 
    105         access_log off; 
    106         allow 127.0.0.1; 
    107         allow 10.0.0.0/8; 
    108         allow 195.62.106.0/25; 
    109         deny all; 
    110         } 
    111         } 
    112     ${frontend:vhosts-additional} 
    113     } 
    114  
    11562[instance] 
    11663recipe = plone.recipe.zope2instance 
     
    14895    ${instance:lemill-product} 
    14996 
    150 [instance2] 
    151 recipe = plone.recipe.zope2instance 
    152 zope2-location = ${zope2:location} 
    153 extra-paths = ${buildout:directory}/3rdparty-libs 
    154 debug-mode = off 
    155 verbose-security = off 
    156 zeo-client = True 
    157 zeo-client-cache-size = 100MB 
    158 zodb-cache-size = 10000 
    159 zeo-address = ${zeo:zeo-address} 
    160 http-address = 127.0.0.1:8081 
    161 eggs = 
    162     ${buildout:eggs} 
    163     ${plone:eggs} 
    164 zcml = 
    165 products = 
    166     ${buildout:directory}/products 
    167     ${productdistros:location} 
    168     ${plone:products} 
    169 zope-conf-additional = <environment> 
    170         MUNIN_TAG instance2 
    171     </environment> 
    172     <logger trace> 
    173         level WARN 
    174         <logfile> 
    175           path /home/lemill/lemill/var/log/zope2-trace.log 
    176           format %(message)s 
    177         </logfile> 
    178     </logger> 
    179     ${instance:lemill-product} 
    18097 
    18198[i18n-overrides] 
    18299recipe = plone.recipe.command 
    183 command = ${buildout:directory}/profiles/install-i18n-override.sh ${buildout:directory} ${instance:location} ${instance2:location} 
     100command = ${buildout:directory}/profiles/install-i18n-override.sh ${buildout:directory} ${instance:location} 
    184101update-command = ${i18n-overrides:command} 
  • buildout/branches/gocept-cluster/profiles/lemill01.cfg

    r2653 r2655  
    44    ${buildout:base-parts} 
    55    zeo 
    6     instance 
    7     i18n-overrides 
    86 
    97[ctl] 
    10 scripts = zeo instance 
    11  
    12 [instance] 
    13 http-address = ${instances:lemill4a} 
     8scripts = zeo 
  • buildout/branches/gocept-cluster/profiles/lemill03.cfg

    r2654 r2655  
    33parts = 
    44    ${buildout:base-parts} 
    5     nginx 
    6     frontend 
    75    instance 
    8     instance2 
    96 
    107[ctl] 
    11 scripts = frontend instance instance2 
     8scripts = instance 
    129 
    1310[instance] 
    14 http-address = ${instances:lemill5a} 
    15  
    16 [instance2] 
    17 http-address = ${instances:lemill5b} 
     11http-address = lemill03.gocept.net:8080 
  • buildout/branches/gocept-cluster/profiles/lemill04.cfg

    r2654 r2655  
    33parts = 
    44    ${buildout:base-parts} 
    5     nginx 
    6     frontend 
    75    instance 
    8     instance2 
    96 
    107[ctl] 
    11 scripts = frontend instance instance2 
     8scripts = instance 
    129 
    1310[instance] 
    14 http-address = ${instances:lemill5a} 
    15  
    16 [instance2] 
    17 http-address = ${instances:lemill5b} 
     11http-address = lemill04.gocept.net:8080 
  • buildout/branches/gocept-cluster/profiles/lemill05.cfg

    r2654 r2655  
    33parts = 
    44    ${buildout:base-parts} 
    5     nginx 
    6     frontend 
    75    instance 
    8     instance2 
    96 
    107[ctl] 
    11 scripts = frontend instance instance2 
     8scripts = instance 
    129 
    1310[instance] 
    14 http-address = ${instances:lemill5a} 
    15  
    16 [instance2] 
    17 http-address = ${instances:lemill5b} 
     11http-address = lemill05.gocept.net:8080 
  • buildout/branches/gocept-cluster/profiles/production.cfg

    r2418 r2655  
    22extends = base.cfg 
    33 
    4 [frontend] 
    5 bind-address = localhost:8080 
    6 public-name = lemill.net 
    7 public-port = 80 
    8 status-address = localhost:8001 
    9  
    10 vhosts-additional = server { 
    11         listen lemill5.gocept.net:8081; 
    12         server_name lemill.net; 
    13             location / { 
    14                 proxy_pass http://backends/VirtualHostBase/http/lemill.net/lemill-server/VirtualHostRoot/; 
    15             } 
    16     } 
    17      
    18  
    19 [instances] 
    20 lemill4a = lemill4be:8080 
    21 lemill5a = lemill5be:8080 
    22 lemill5b = lemill5be:8081 
    23 lemill6a = lemill6be:8080 
    24 lemill6b = lemill6be:8081 
    25  
    26 nginx-backends = server ${instances:lemill4a}; 
    27     server ${instances:lemill5a}; 
    28     server ${instances:lemill5b}; 
    29     server ${instances:lemill6a}; 
    30     server ${instances:lemill6b}; 
    31  
    324[zeo] 
    33 zeo-address = lemill4be:8100 
     5zeo-address = lemill01.gocept.net:8100 
    346 
    357[instance] 
    36 zeo-client-cache-size = 20000MB 
    37 zodb-cache-size = 4000 
    38 zserver-threads = 2 
    39  
    40 [instance2] 
    41 zeo-client-cache-size = 20000MB 
    42 zodb-cache-size = 4000 
    43 zserver-threads = 2 
     8zeo-client-cache-size = 2000MB 
     9zodb-cache-size = 10000 
     10zserver-threads = 4 
Note: See TracChangeset for help on using the changeset viewer.