aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-ha/openstack_database.yml
blob: 89c485e0fec614888403bf469038b110ce1088c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##############################################################################
# Copyright (c) 2018 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
classes:
  - system.linux.system.repo.mcp.mirror.v1.openstack
  - system.galera.server.cluster
  - system.galera.server.database.aodh
  - system.galera.server.database.ceilometer
  - system.galera.server.database.cinder
  - system.galera.server.database.designate
  - system.galera.server.database.glance
  - system.galera.server.database.gnocchi
  - system.galera.server.database.grafana
  - system.galera.server.database.heat
  - system.galera.server.database.keystone
  - system.galera.server.database.nova
  - system.galera.server.database.neutron
  - system.galera.server.database.panko
parameters:
  _param:
    keepalived_vip_interface: ${_param:single_nic}
    keepalived_vip_virtual_router_id: 80
    galera_server_cluster_name: openstack_cluster
    galera_max_connections: 3072
    galera_innodb_buffer_pool_size: 2048M
    cluster_vip_address: ${_param:openstack_database_address}
    cluster_local_address: ${_param:single_address}
    cluster_node01_hostname: ${_param:openstack_database_node01_hostname}
    cluster_node01_address: ${_param:openstack_database_node01_address}
    cluster_node02_hostname: ${_param:openstack_database_node02_hostname}
    cluster_node02_address: ${_param:openstack_database_node02_address}
    cluster_node03_hostname: ${_param:openstack_database_node03_hostname}
    cluster_node03_address: ${_param:openstack_database_node03_address}