Saltstack Official Galera Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

master_cluster.sls 946B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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
  28. - name: clustercheck
  29. #host: localhost
  30. password: clustercheck
  31. database: '*.*'
  32. grants: PROCESS
  33. grant_option: False
  34. - name: inspector
  35. host: 127.0.0.1
  36. password: password
  37. databases:
  38. mydb:
  39. - database: mydb
  40. - table: mytable
  41. - grant_option: False
  42. - grants:
  43. - all privileges