Commit 4ebd4967 authored by Benjamin Blanc's avatar Benjamin Blanc

scalability: up

parent 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 = 23c7bbbb14507239524ac86ccf43f686 md5sum = ec48cd1a067b74702a86358ddd6996c4
[template-zeo] [template-zeo]
< = download-base < = download-base
......
...@@ -30,6 +30,8 @@ name = ERP5 Cluster ...@@ -30,6 +30,8 @@ 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) }}
{# Add a zope scalability family to the erp5 cluster configuration, -#}
{# this zope family is used by erp5-bootstrap and may serve to scalability monitoring tools. -#}
{% set additional_scalability_zope = {'scalability':{'family':'scalability', 'computer-guid':computer_id}} -%} {% set additional_scalability_zope = {'scalability':{'family':'scalability', 'computer-guid':computer_id}} -%}
{% do slapparameter_dict.get('cluster').get('zope-partition-dict').update( additional_scalability_zope ) -%} {% do slapparameter_dict.get('cluster').get('zope-partition-dict').update( additional_scalability_zope ) -%}
{% set cluster_parameter_dict = slapparameter_dict.get('cluster', {}) -%} {% set cluster_parameter_dict = slapparameter_dict.get('cluster', {}) -%}
...@@ -37,7 +39,6 @@ config = {{ cluster_parameter_dict.keys() | join(' ') }} ...@@ -37,7 +39,6 @@ config = {{ cluster_parameter_dict.keys() | join(' ') }}
{% for key, value in cluster_parameter_dict.items() -%} {% for key, value in cluster_parameter_dict.items() -%}
config-{{ key }} = {{ dumps(value) }} config-{{ key }} = {{ dumps(value) }}
{% endfor -%} {% endfor -%}
return = mariadb-url family-scalability memcached-persistent-url memcached-volatile-url cloudooo-url return = mariadb-url family-scalability memcached-persistent-url memcached-volatile-url cloudooo-url
# Create wrapper # Create wrapper
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment