Browse Source

fixes

tags/1.0
Ales Komarek 9 years ago
parent
commit
72da805641
2 changed files with 18 additions and 6 deletions
  1. +9
    -3
      metadata/service/galera/master/cluster.yml
  2. +9
    -3
      metadata/service/galera/slave/cluster.yml

metadata/galera/service/master/cluster.yml → metadata/service/galera/master/cluster.yml View File

parameters: parameters:
_param: _param:
galera_server_cluster_name: galeracluster galera_server_cluster_name: galeracluster
galera_server_bind_address: 0.0.0.0
galera_server_bind_port: 0.0.0.0
galera_server_bind_address: ${_param:cluster_local_address}
galera_server_bind_port: 3306
galera_server_admin_user: root galera_server_admin_user: root
galera_server_admin_password: root
galera: galera:
master: master:
enabled: true enabled: true
admin: admin:
user: ${_param:galera_server_admin_user} user: ${_param:galera_server_admin_user}
password: ${_param:galera_server_admin_password} password: ${_param:galera_server_admin_password}
members:
- host: ${_param:cluster_node01_address}
port: 4567
- host: ${_param:cluster_node02_address}
port: 4567
- host: ${_param:cluster_node03_address}
port: 4567

metadata/galera/service/slave/cluster.yml → metadata/service/galera/slave/cluster.yml View File

parameters: parameters:
_param: _param:
galera_server_cluster_name: galeracluster galera_server_cluster_name: galeracluster
galera_server_bind_address: 0.0.0.0
galera_server_bind_port: 0.0.0.0
galera_server_bind_address: ${_param:cluster_local_address}
galera_server_bind_port: 3306
galera_server_admin_user: root galera_server_admin_user: root
galera_server_admin_password: root
galera: galera:
slave: slave:
enabled: true enabled: true
admin: admin:
user: ${_param:galera_server_admin_user} user: ${_param:galera_server_admin_user}
password: ${_param:galera_server_admin_password} password: ${_param:galera_server_admin_password}
members:
- host: ${_param:cluster_node01_address}
port: 4567
- host: ${_param:cluster_node02_address}
port: 4567
- host: ${_param:cluster_node03_address}
port: 4567

Loading…
Cancel
Save