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

slave_cluster.sls 596B

1234567891011121314151617181920212223242526272829
  1. galera:
  2. slave:
  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. max_connections: 20000
  20. innodb_buffer_pool_size: 3138M
  21. mysql:
  22. server:
  23. users:
  24. - name: haproxy
  25. host: localhost
  26. - name: haproxy
  27. host: '%'
  28. - name: haproxy
  29. host: 127.0.0.1