fuel-plugin-lma-collector/deployment_scripts/puppet/modules/fuel_lma_collector/templates/node_profiles.yaml.erb

46 lines
1.6 KiB
Plaintext

---
lma_collector:
# Fuel roles mapping to alarm evaluator key.
node_profiles:
controller:
roles: ['primary-controller', 'controller']
description: 'The Controller nodes'
mysql-nodes:
<% if @detach_database_enabled -%>
roles: ['primary-standalone-database', 'standalone-database']
<% else -%>
roles: ['primary-controller', 'controller']
<% end -%>
description: 'The MySQL nodes'
rabbitmq-nodes:
<% if @detach_rabbitmq_enabled -%>
roles: ['primary-standalone-rabbitmq', 'standalone-rabbitmq']
<% else -%>
roles: ['primary-controller', 'controller']
<% end -%>
description: 'The RabbitMQ nodes'
<% if @storage_options["volumes_ceph"] then -%>
ceph-mon:
roles: ['primary-controller', 'controller']
description: 'The Ceph monitor nodes'
<% end -%>
compute:
roles: ['compute']
description: 'The Compute nodes'
storage:
roles: ['cinder', 'ceph-osd']
description: 'The Storage nodes (either Cinder of Ceph-OSD)'
elasticsearch-nodes:
roles: ['primary-elasticsearch_kibana', 'elasticsearch_kibana']
description: 'The Elasticsearch and Kibana nodes'
influxdb-nodes:
roles: ['primary-influxdb_grafana', 'influxdb_grafana']
description: 'The InfluxDB and Grafana nodes'
aggregator:
roles: ['primary-controller', 'controller']
description: 'The Aggregator nodes'
default:
roles: []
description: 'The default profile includes all nodes which are not falling into a definied profile'