Commit f9bce314 authored by Romain Courteaud's avatar Romain Courteaud

Allow to configure innodb buffer pool size.

parent 7db240ff
......@@ -96,6 +96,8 @@ partition-id = $${slap-connection:partition-id}
<=request-common
name = MariaDB DataBase
software-type = mariadb
config = innodb-buffer-pool-size
config-innodb-buffer-pool-size = 1G
[request-cloudooo]
<=request-common
......
......@@ -39,6 +39,8 @@ sla-computer_guid = $${slap-parameter:sphinx-computer-guid}
name = MariaDB DataBase
software-type = mariadb
sla-computer_guid = $${slap-parameter:mariadb-computer-guid}
config = innodb-buffer-pool-size
config-innodb-buffer-pool-size = $${slap-parameter:innodb-buffer-pool-size}
[request-cloudooo]
<=request-common
......@@ -83,6 +85,7 @@ kumofs-computer-guid = $${slap-connection:computer-id}
tidstorage-computer-guid = $${slap-connection:computer-id}
cloudooo-json =
site-id = erp5
innodb-buffer-pool-size = 1G
# rest of parts are candidates for some generic stuff
[basedirectory]
......
......@@ -39,7 +39,7 @@ test-user = erp5_test
test-database = erp5_test
mysql-test-database-base = testdb
mysql-test-user-base = testuser
innodb-buffer-pool-size = 1G
innodb-buffer-pool-size = $${slap-parameter:innodb-buffer-pool-size}
# Paths
wrapper = $${basedirectory:services}/mariadb
......
......@@ -61,7 +61,7 @@ command = grep parts ${buildout:develop-eggs-directory}/z2loganalyser.egg-link
[template-mariadb]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
md5sum = 8f3085b5e53a3a123bc1939e50719b39
md5sum = cec682fcff85eaa18e50f497f9e9da26
output = ${buildout:directory}/template-mariadb.cfg
mode = 0644
......@@ -117,14 +117,14 @@ mode = 0644
[template-erp5-development]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-erp5-development.cfg
md5sum = 9af9db6f1220ffe42e030c81f9072669
md5sum = a134de4f6bbef5a1c530fb7d51fd53a4
output = ${buildout:directory}/template-erp5-development.cfg
mode = 0644
[template-erp5-production]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-erp5-production.cfg
md5sum = 53e89121fc4607372f03206785bb3dbf
md5sum = 36e9ad37b33685cea495f82cd5ffce19
output = ${buildout:directory}/template-erp5-production.cfg
mode = 0644
......
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