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

cluster.yml 1013B

9年前
9年前
123456789101112131415161718192021222324252627282930313233
  1. applications:
  2. - galera
  3. parameters:
  4. _param:
  5. galera_server_cluster_name: galeracluster
  6. galera_server_bind_address: ${_param:cluster_local_address}
  7. galera_server_bind_port: 3306
  8. galera_server_admin_user: root
  9. linux:
  10. system:
  11. repo:
  12. trusty:
  13. enabled: true
  14. source: 'deb http://10.0.110.14 trusty main'
  15. key_url: 'http://10.0.110.14/public.gpg'
  16. galera:
  17. master:
  18. enabled: true
  19. name: ${_param:galera_server_cluster_name}
  20. bind:
  21. address: ${_param:galera_server_bind_address}
  22. port: ${_param:galera_server_bind_port}
  23. maintenance_password: ${_param:galera_server_maintenance_password}
  24. admin:
  25. user: ${_param:galera_server_admin_user}
  26. password: ${_param:galera_server_admin_password}
  27. members:
  28. - host: ${_param:cluster_node01_address}
  29. port: 4567
  30. - host: ${_param:cluster_node02_address}
  31. port: 4567
  32. - host: ${_param:cluster_node03_address}
  33. port: 4567