Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Configuration recommendations for the Telemetry service
Because the Red Hat OpenStack Platform (RHOSP) Telemetry service is CPU-intensive, telemetry is not enabled by default in RHOSP 16.0. However, by following these deployment recommendations, you can avoid performance degradation if you enable telemetry.
These procedures—one for a small, test overcloud and one for a large, production overcloud—contain recommendations that maximize Telemetry service performance.
2.1. Configuring the Telemetry service on a small, test overcloud Link kopierenLink in die Zwischenablage kopiert!
When you enable the Red Hat OpenStack Platform (RHOSP) Telemetry service on small, test overclouds, you can improve its performance by using a file back end.
Prerequisites
- The overcloud deployment on which you are configuring the Telemetry service is not a production system.
- The overcloud is a small deployment that supports fewer than 100 instances, with a maximum of 12 physical cores on each Controller node, or 24 cores with hyperthreading enabled.
- The overcloud deployment has high availability disabled.
Procedure
Add the following to
parameter_defaultsin your/usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yamlenvironment file and replace <FILE> with the name of the gnocchi configuration file:parameter_defaults: GnocchiBackend: <FILE>
parameter_defaults: GnocchiBackend: <FILE>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the
enable-legacy-telemetry.yamlfile to youropenstack overcloud deploycommand:openstack overcloud deploy \ -e /home/stack/environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml \ [...]
openstack overcloud deploy \ -e /home/stack/environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml \ [...]Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- Modifying the Overcloud Environment in the Director Installation and Usage guide
2.2. Configuring the Telemetry service on a large, production overcloud Link kopierenLink in die Zwischenablage kopiert!
When you enable the Red Hat OpenStack Platform (RHOSP) Telemetry service on a large production overcloud, you can improve its performance by deploying the Telemetry service on a dedicated node.
The Telemetry service uses whichever RHOSP object store that has been chosen as its storage back end. If you do not enable Red Hat Ceph Storage, the Telemetry service uses the the RHOSP Object Storage service (swift). By default, RHOSP director colocates the Object Storage service with the Telemetry service on the Controller.
Prerequisites
- The overcloud on which you are deploying the Telemetry service is a large, production overcloud.
Procedure
To set dedicated telemetry nodes, remove the telemetry services from the Controller role.
Create an Orchestration service (heat) custom environment file by copying
/usr/share/openstack-tripleo-heat-templates/roles_data.yamlto/home/stack/templates/roles_data.yaml.In
/home/stack/templates/roles_data.yaml, remove the following lines from theServicesDefaultlist of the Controller role:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the following snippet, and save
roles_data.yaml:Copy to Clipboard Copied! Toggle word wrap Toggle overflow In the
/home/stack/storage-environment.yamlfile, set the number of dedicated nodes for the Telemetry service.For example, add
TelemetryCount: 3to theparameter_defaultsto deploy three dedicated telemetry nodes:parameter_defaults: TelemetryCount: *3*
parameter_defaults: TelemetryCount: *3*Copy to Clipboard Copied! Toggle word wrap Toggle overflow You now have a custom telemetry role.
With this role, you can define a new flavor to tag and assign specific telemetry nodes.
When you deploy your overcloud, include
roles_data.yamlandstorage-environment.yamlto the list of your templates and environment files thatopenstack overcloud deploycommand calls:openstack overcloud deploy \ -r /home/stack/templates/roles_data.yaml \ -e /home/stack/templates/storage-environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml \ [...]
$ openstack overcloud deploy \ -r /home/stack/templates/roles_data.yaml \ -e /home/stack/templates/storage-environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/enable-legacy-telemetry.yaml \ [...]Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If you cannot allocate dedicated nodes to the Telemetry service, and you still need to use the Object Storage service as its back end, configure the Object Storage service on the Controller node. Locating the Object Storage service on the Controller lowers the overall storage I/O.
Additional resources
- Creating a New Role in the Advanced Overcloud Customization guide
- Configuration recommendations for the Object Storage service (swift)
- Modifying the Overcloud Environment in the Director Installation and Usage guide