Saltstack Official Galera Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

48 行
901B

  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. clustercheck:
  16. enabled: False
  17. mysql:
  18. server:
  19. enabled: true
  20. bind:
  21. address: 0.0.0.0
  22. port: 3306
  23. protocol: tcp
  24. database:
  25. mydb:
  26. encoding: 'utf8'
  27. users:
  28. - name: haproxy
  29. host: localhost
  30. - name: haproxy
  31. host: '%'
  32. - name: haproxy
  33. host: 127.0.0.1
  34. - name: clustercheck
  35. #host: localhost
  36. password: password
  37. database: '*.*'
  38. grants: PROCESS
  39. - name: inspector
  40. host: 127.0.0.1
  41. password: password
  42. databases:
  43. - database: mydb
  44. table: mytable
  45. grant_option: True
  46. grants:
  47. - all privileges