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