Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
6554f8d4
Commit
6554f8d4
authored
Jul 03, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability: up
parent
010ef28f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
28 deletions
+28
-28
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-scalability.cfg.in
stack/erp5/instance-scalability.cfg.in
+27
-27
No files found.
stack/erp5/buildout.cfg
View file @
6554f8d4
...
@@ -329,7 +329,7 @@ md5sum = c745d794b28cae64feba527f894d7340
...
@@ -329,7 +329,7 @@ md5sum = c745d794b28cae64feba527f894d7340
[template-scalability]
[template-scalability]
< = download-base
< = download-base
filename = instance-scalability.cfg.in
filename = instance-scalability.cfg.in
md5sum =
87faf70feb657c89a6be0b94551946a5
md5sum =
23c7bbbb14507239524ac86ccf43f686
[template-zeo]
[template-zeo]
< = download-base
< = download-base
...
...
stack/erp5/instance-scalability.cfg.in
View file @
6554f8d4
...
@@ -10,7 +10,8 @@ parts =
...
@@ -10,7 +10,8 @@ parts =
binary-wrap-performance-tester
binary-wrap-performance-tester
erp5-bootstrap
erp5-bootstrap
erp5-promise
erp5-promise
promise-erp5-site
# promise-erp5-site
publish
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
...
@@ -29,13 +30,15 @@ name = ERP5 Cluster
...
@@ -29,13 +30,15 @@ name = ERP5 Cluster
software-url = ${slap-connection:software-release-url}
software-url = ${slap-connection:software-release-url}
software-type = cluster
software-type = cluster
sla-computer_guid = {{ slapparameter_dict.get('launcher-computer-guid', computer_id) }}
sla-computer_guid = {{ slapparameter_dict.get('launcher-computer-guid', computer_id) }}
config =
{% set additional_scalability_zope = {'scalability':{'family':'scalability', 'computer-guid':computer_id}} -%}
use-ipv6
{% do slapparameter_dict.get('cluster').get('zope-partition-dict').update( additional_scalability_zope ) -%}
${:extra-config}
{% set cluster_parameter_dict = slapparameter_dict.get('cluster', {}) -%}
extra-config =
config = {{ cluster_parameter_dict.keys() | join(' ') }}
config-use-ipv6 = {{ dumps(slapparameter_dict.get('use-ipv6', False)) }}
{% for key, value in cluster_parameter_dict.items() -%}
return = mariadb-url family-scalability-site_url kumofs-url memcached-url cloudooo-url
config-{{ key }} = {{ dumps(value) }}
{% endfor -%}
return = mariadb-url family-scalability memcached-persistent-url memcached-volatile-url cloudooo-url
# Create wrapper
# Create wrapper
[binary-wrap-launcher]
[binary-wrap-launcher]
...
@@ -80,6 +83,7 @@ log-path = ${binary-wrap-launcher:log-path}
...
@@ -80,6 +83,7 @@ log-path = ${binary-wrap-launcher:log-path}
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
log = ${rootdirectory:var}/log
log = ${rootdirectory:var}/log
services = ${rootdirectory:etc}/run
services = ${rootdirectory:etc}/run
promises = ${rootdirectory:etc}/promise/
[rootdirectory]
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -87,38 +91,34 @@ etc = ${buildout:directory}/etc
...
@@ -87,38 +91,34 @@ etc = ${buildout:directory}/etc
var = ${buildout:directory}/var
var = ${buildout:directory}/var
bin = ${buildout:directory}/bin
bin = ${buildout:directory}/bin
[erp5-bootstrap]
[erp5-bootstrap]
recipe = slapos.cookbook:erp5.bootstrap
recipe = slapos.cookbook:erp5.bootstrap
runner-path = ${basedirectory:services}/erp5-bootstrap
runner-path = ${basedirectory:services}/erp5-bootstrap
mysql-url = ${erp5-cluster:connection-mariadb-url}
mysql-url = ${erp5-cluster:connection-mariadb-url}
zope-url =
# Must look like : https://user:password@ip:port/site_id
zope-url = ${erp5-cluster:site_url}/{{ site_id }}
# But actually looks like : https://ip:port/site_id
#zope-url = ${erp5-cluster:connection-family-scalability}/{{ site_id }}
zope-url = https://zope:insecure@192.168.241.110:2153/erp5
[erp5-promise]
[erp5-promise]
recipe = slapos.cookbook:erp5.promise
recipe = slapos.cookbook:erp5.promise
promise-path = {{ promise_path }}
promise-path = {{ promise_path }}
kumofs-url = ${erp5-cluster:connection-
kumofs
-url}
kumofs-url = ${erp5-cluster:connection-
memcached-persistent
-url}
memcached-url = ${erp5-cluster:connection-memcached-url}
memcached-url = ${erp5-cluster:connection-memcached-
volatile-
url}
cloudooo-url = ${erp5-cluster:connection-cloudooo-url}
cloudooo-url = ${erp5-cluster:connection-cloudooo-url}
smtp-url =
smtp-url =
bt5 =
bt5 =
bt5-repository-url =
bt5-repository-url =
[zope-instance]
#[promise-erp5-site]
promise-path = {{ promise_path }}
#recipe = slapos.cookbook:check_url_available
site-id = {{ site_id }}
#path = ${basedirectory:promises}/erp5site
#url = ${erp5-cluster:connection-family-scalability}/{{ site_id }}
[promise-erp5-site]
#dash_path = {{ dash_location }}/bin/dash
recipe = slapos.cookbook:check_url_available
#curl_path = {{ curl_location }}/bin/curl
path = ${basedirectory:promises}/erp5site
url = ${erp5-cluster:site_url}/{{ site_id }}
dash_path = {{ dash_location }}/bin/dash
curl_path = {{ curl_location }}/bin/curl
[publish]
recipe = slapos.cookbook:publish.serialised
test = test
{% endif %}
{% endif %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment