Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | reclass: |
| 3 | storage: |
| 4 | node: |
| 5 | openstack_database_node01: |
| 6 | name: dbs01 |
| 7 | domain: ${_param:cluster_domain} |
| 8 | classes: |
| 9 | - service.galera.master.cluster |
| 10 | - cluster.${_param:cluster_name}.openstack.database |
| 11 | params: |
| 12 | salt_master_host: ${_param:reclass_config_master} |
| 13 | linux_system_codename: trusty |
| 14 | single_address: ${_param:openstack_database_node01_address} |
| 15 | keepalived_vip_priority: 103 |
| 16 | mysql_cluster_role: master |
| 17 | openstack_database_node02: |
| 18 | name: dbs02 |
| 19 | domain: ${_param:cluster_domain} |
| 20 | classes: |
| 21 | - service.galera.slave.cluster |
| 22 | - cluster.${_param:cluster_name}.openstack.database |
| 23 | params: |
| 24 | salt_master_host: ${_param:reclass_config_master} |
| 25 | linux_system_codename: trusty |
| 26 | single_address: ${_param:openstack_database_node02_address} |
| 27 | keepalived_vip_priority: 102 |
| 28 | mysql_cluster_role: slave |
| 29 | openstack_database_node03: |
| 30 | name: dbs03 |
| 31 | domain: ${_param:cluster_domain} |
| 32 | classes: |
| 33 | - service.galera.slave.cluster |
| 34 | - cluster.${_param:cluster_name}.openstack.database |
| 35 | params: |
| 36 | salt_master_host: ${_param:reclass_config_master} |
| 37 | linux_system_codename: trusty |
| 38 | single_address: ${_param:openstack_database_node03_address} |
| 39 | keepalived_vip_priority: 101 |
| 40 | mysql_cluster_role: slave |