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

master_cluster.sls 531B

123456789101112131415161718192021222324252627
  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: user
  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. mysql:
  20. server:
  21. users:
  22. - name: haproxy
  23. host: localhost
  24. - name: haproxy
  25. host: '%'
  26. - name: haproxy
  27. host: 127.0.0.1