Saltstack Official Galera Formula
Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- applications:
- - galera
- classes:
- - service.galera.support
- parameters:
- _param:
- galera_server_cluster_name: galeracluster
- galera_server_bind_address: ${_param:cluster_local_address}
- galera_server_bind_port: 3306
- galera_server_admin_user: root
- galera_max_connections: 20000
- galera_innodb_buffer_pool_size: 3138M
- galera:
- master:
- enabled: true
- name: ${_param:galera_server_cluster_name}
- bind:
- address: ${_param:galera_server_bind_address}
- port: ${_param:galera_server_bind_port}
- maintenance_password: ${_param:galera_server_maintenance_password}
- 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
- max_connections: ${_param:galera_max_connections}
- innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
- mysql:
- server:
- users:
- - name: haproxy
- host: localhost
- - name: haproxy
- host: '%'
- - name: haproxy
- host: ${_param:cluster_local_address}
|