Saltstack Official Galera Formula
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- applications:
- - galera
- 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
- linux:
- system:
- repo:
- trusty:
- enabled: true
- source: 'deb http://10.0.110.14 trusty main'
- key_url: 'http://10.0.110.14/public.gpg'
- galera:
- slave:
- 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
|