Saltstack Official Galera Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

35 lines
1021B

  1. applications:
  2. - galera
  3. parameters:
  4. _param:
  5. galera_server_cluster_name: galeracluster
  6. galera_server_bind_address: ${_param:cluster_local_address}
  7. galera_server_bind_port: 3306
  8. galera_server_admin_user: root
  9. galera:
  10. master:
  11. enabled: true
  12. name: ${_param:galera_server_cluster_name}
  13. bind:
  14. address: ${_param:galera_server_bind_address}
  15. port: ${_param:galera_server_bind_port}
  16. maintenance_password: ${_param:galera_server_maintenance_password}
  17. admin:
  18. user: ${_param:galera_server_admin_user}
  19. password: ${_param:galera_server_admin_password}
  20. members:
  21. - host: ${_param:cluster_node01_address}
  22. port: 4567
  23. - host: ${_param:cluster_node02_address}
  24. port: 4567
  25. - host: ${_param:cluster_node03_address}
  26. port: 4567
  27. mysql:
  28. server:
  29. users:
  30. - name: haproxy
  31. host: localhost
  32. - name: haproxy
  33. host: '%'
  34. - name: haproxy
  35. host: ${_param:cluster_local_address}