Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 line
1.2KB

  1. galera:
  2. master:
  3. enabled: true
  4. name: galeracluster
  5. bind:
  6. address: 127.0.0.1
  7. port: 3306
  8. maintenance_password: password
  9. admin:
  10. user: root
  11. password: password
  12. members:
  13. - host: 127.0.0.1
  14. port: 4567
  15. - host: 127.0.0.1
  16. port: 4567
  17. - host: 127.0.0.1
  18. port: 4567
  19. clustercheck:
  20. enabled: True
  21. user: clustercheck
  22. password: password
  23. available_when_donor: 1
  24. available_when_readonly: 1
  25. port: 9200
  26. max_connections: 20000
  27. innodb_buffer_pool_size: 3138M
  28. mysql:
  29. server:
  30. database:
  31. mydb:
  32. encoding: 'utf8'
  33. users:
  34. - name: haproxy
  35. host: localhost
  36. - name: haproxy
  37. host: '%'
  38. - name: haproxy
  39. host: 127.0.0.1
  40. - name: clustercheck
  41. #host: localhost
  42. password: password
  43. database: '*.*'
  44. grants: PROCESS
  45. - name: inspector
  46. host: 127.0.0.1
  47. password: password
  48. databases:
  49. - database: mydb
  50. table: mytable
  51. grant_option: True
  52. grants:
  53. - all privileges