Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 3. Installing the client-side tools
Before you deploy the overcloud, you need to determine the configuration settings to apply to each client. Copy the example environment files from the heat template collection and modify the files to suit your environment.
3.1. Setting centralized logging client parameters Copier lienLien copié sur presse-papiers!
For more information, see Enabling centralized logging during deployment.
3.2. Setting monitoring client parameters Copier lienLien copié sur presse-papiers!
The monitoring solution collects system information periodically and provides a mechanism to store and monitor the values in a variety of ways using a data collecting agent. Red Hat supports collectd as a collection agent. Collectd-sensubility is an extention of collectd and communicates with Sensu server side through RabbitMQ. You can use Service Telemetry Framework (STF) to store the data, and in turn, monitor systems, find performance bottlenecks, and predict future system load. For more information, see the Service Telemetry Framework guide.
To configure collectd and collectd-sensubility, complete the following steps:
Create
config.yaml
in your home directory, for example,/home/templates/custom
, and configure theMetricsQdrConnectors
parameter to point to STF server side:Copy to Clipboard Copied! Toggle word wrap Toggle overflow In the
config.yaml
file, list the plug-ins you want underCollectdExtraPlugins
. You can also provide parameters in theExtraConfig
section. By default, collectd comes with thecpu
,df
,disk
,hugepages
,interface
,load
,memory
,processes
,tcpconns
,unixsock
, anduptime
plug-ins. You can add additional plug-ins using theCollectdExtraPlugins
parameter. You can also provide additional configuration information for theCollectdExtraPlugins
using theExtraConfig
option as shown. For example, to enable thevirt
plug-in, and configure the connection string and the hostname format, use the following syntax:Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteDo not remove the
unixsock
plug-in. Removal results in the permanent marking of the collectd container as unhealthy.To enable collectd-sensubility, add the following environment configuration to the
config.yaml
file:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Deploy the overcloud. Include
config.yaml
,collectd-write-qdr.yaml
, and one of theqdr-*.yaml
files in your overcloud deploy command. For example:openstack overcloud deploy
$ openstack overcloud deploy -e /home/templates/custom/config.yaml -e tripleo-heat-templates/environments/metrics/collectd-write-qdr.yaml -e tripleo-heat-templates/environments/metrics/qdr-form-controller-mesh.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Optional: To enable overcloud RabbitMQ monitoring, include the
collectd-read-rabbitmq.yaml
file in your overcloud deploy command. For more information about the YAML files, see Section 3.3, “YAML files”.
3.3. YAML files Copier lienLien copié sur presse-papiers!
When you configure collectd, you can include the following YAML files in your overcloud deploy
command:
-
collectd-read-rabbitmq.yaml
: Enables python-collect-rabbitmq and configures it to monitor overcloud RabbitMQ instance. -
collectd-write-qdr.yaml
: Enables collectd to send telemetry and notification data through QPID dispatch routers. -
qdr-edge-only.yaml
: Enables deployment of QPID dispatch routers. Each overcloud node will have one local qdrouterd service running and operating in edge mode, for example, sending received data straight to defined MetricsQdrConnectors. -
qdr-form-controller-mesh.yaml
: Enables deployment of QPID dispatch routers (QDR). Each overcloud node will have one local qdrouterd service running and forming a mesh topology. For example, QDRs running on controllers operate in interior router mode, with connections to defined MetricsQdrConnectors, and QDRs running on other node types connect in edge mode to the interior routers running on the controllers.