This patch is a first documentation for deploying Operational tools in TripleO. That's a start of work and expect more content in the future, but that's the basic structure of what we need to deploy the stack. It includes Monitoring & Logging content for both undercloud & overcloud. Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I9326a46de121ba6591babe632355b78557741d4d
3.0 KiB
Deploying Operational Tools
TripleO comes with an optional suite of tools designed to help operators maintain an OpenStack environment. The tools perform the following functions:
- Availability Monitoring
- Centralized Logging
This document will go through the presentation and installation of these tools.
Architecture
- Undercloud:
- Overcloud:
Deploying the Undercloud
- Edit
undercloud.conf
before the deployment:- set
enable_monitoring
to true if you want to enable Availability Monitoring. You can also specify a password forundercloud_sensu_password
, otherwise one will be automatically generated. - set
enable_logging
to true if you want to enable Centralized Logging. By default, the indexes will be closed after 7 days and deleted after 10 days by using Curator. You can change that with the 2 parameters:elastic_close_index_days
andelastic_delete_index_days
.
- set
- That's it, you're ready to deploy your undercloud!
Deploying the Overcloud
Note
The template_deploy
document has a more detailed explanation of the following steps.
As the
stack
user, copy the Operational tools configuration files to your home directory:Availability Monitoring:
cp /usr/share/openstack-tripleo-heat-templates/environments/monitoring-sensu-config.yaml ~
Centralized Logging:
cp /usr/share/openstack-tripleo-heat-templates/environments/logging-fluentd-config.yaml ~
Edit the parameters in the Operational tools configuration files to fit your requirements.
Continue following the TripleO instructions for deploying an overcloud. Before entering the command to deploy the overcloud, add the environment file that you just configured as an argument:
openstack overcloud deploy --templates -e ~/monitoring-sensu-config.yaml -e ~/logging-fluentd-config.yaml
Wait for the completion of the overcloud deployment process.
Accessing to the Dashboards
Availability Monitoring: you can reach the Sensu dashboard (Uchiwa) on this URL:
http://<UNDERCLOUD_IP_ADDRESS>:3000
Centralized Logging: you can reach the Elastic dashboard (Kibana) on this URL:
http://<UNDERCLOUD_IP_ADDRESS>:8300/index.html#/dashboard/file/logstash.json