Selaa lähdekoodia

fixes

tags/1.0
Ales Komarek 9 vuotta sitten
vanhempi
commit
72da805641
2 muutettua tiedostoa jossa 18 lisäystä ja 6 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna