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

@@ -3,10 +3,9 @@ applications:
parameters:
_param:
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_password: root
galera:
master:
enabled: true
@@ -17,3 +16,10 @@ parameters:
admin:
user: ${_param:galera_server_admin_user}
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

@@ -3,10 +3,9 @@ applications:
parameters:
_param:
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_password: root
galera:
slave:
enabled: true
@@ -17,3 +16,10 @@ parameters:
admin:
user: ${_param:galera_server_admin_user}
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