Saltstack Official Galera Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. applications:
  2. - galera
  3. classes:
  4. - service.galera.support
  5. parameters:
  6. _param:
  7. galera_server_cluster_name: galeracluster
  8. galera_server_bind_address: ${_param:cluster_local_address}
  9. galera_server_bind_port: 3306
  10. galera_server_admin_user: root
  11. galera_max_connections: 20000
  12. galera_innodb_buffer_pool_size: 3138M
  13. galera_innodb_read_io_threads: 8
  14. galera_innodb_write_io_threads: 8
  15. galera_wsrep_slave_threads: 8
  16. galera_xtrabackup_parallel: 4
  17. galera_error_log_enabled: true
  18. galera_error_log_path: /var/log/mysql/error.log
  19. galera:
  20. slave:
  21. enabled: true
  22. name: ${_param:galera_server_cluster_name}
  23. bind:
  24. address: ${_param:galera_server_bind_address}
  25. port: ${_param:galera_server_bind_port}
  26. maintenance_password: ${_param:galera_server_maintenance_password}
  27. admin:
  28. user: ${_param:galera_server_admin_user}
  29. password: ${_param:galera_server_admin_password}
  30. members:
  31. - host: ${_param:cluster_node01_address}
  32. port: 4567
  33. - host: ${_param:cluster_node02_address}
  34. port: 4567
  35. - host: ${_param:cluster_node03_address}
  36. port: 4567
  37. max_connections: ${_param:galera_max_connections}
  38. innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
  39. innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
  40. innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
  41. wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
  42. xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
  43. error_log_enabled: ${_param:galera_error_log_enabled}
  44. error_log_path: ${_param:galera_error_log_path}
  45. mysql:
  46. server:
  47. users:
  48. - name: haproxy
  49. host: localhost
  50. - name: haproxy
  51. host: '%'
  52. - name: haproxy
  53. host: ${_param:cluster_local_address}