Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
13.3. Configure the Telemetry Alarming Service
13.3.1. Configure the Telemetry Alarming Service Database Connection Link kopierenLink in die Zwischenablage kopiert!
/etc/aodh/aodh.conf
file. Set the URL by running the following command:
openstack-config --set /etc/aodh/aodh.conf \ database connection mysql+pymysql://aodh:AODH_PASSWORD@IP/aodh
# openstack-config --set /etc/aodh/aodh.conf \
database connection mysql+pymysql://aodh:AODH_PASSWORD@IP/aodh
13.3.2. Create the Telemetry Alarming Service Identity Records Link kopierenLink in die Zwischenablage kopiert!
Procedure 13.2. Creating Identity Records for the Telemetry Alarming Service
- Set up the shell to access the Identity service as the administrative user:
source ~/keystonerc_admin
# source ~/keystonerc_admin
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
aodh
user:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace AODH_PASSWORD with your Telemetry Alarming service password. - Add the
aodh
user to theservices
project, as a member of theadmin
role:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
aodh
service entity:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the Telemetry Alarming service endpoint:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace IP with the IP address or host name of the Telemetry Alarming server.
13.3.3. Configure the Firewall to Allow Telemetry Alarming Service Traffic Link kopierenLink in die Zwischenablage kopiert!
8042
. The firewall on the service node must be configured to allow network traffic on this port. All steps in this procedure must be performed on the server hosting the Telemetry Alarming service, while logged in as the root
user.
Procedure 13.3. Configuring the Firewall to Allow Telemetry Alarming Service Traffic
- Open the
/etc/sysconfig/iptables
file in a text editor. - Add an INPUT rule allowing TCP traffic on port
8042
. The new rule must appear before any INPUT rules that REJECT traffic:-A INPUT -p tcp -m multiport --dports 8042 -j ACCEPT
-A INPUT -p tcp -m multiport --dports 8042 -j ACCEPT
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Save the changes to the
/etc/sysconfig/iptables
file. - Restart the
iptables
service to ensure that the change takes effect:systemctl restart iptables.service
# systemctl restart iptables.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
13.3.4. Configure Telemetry Alarming Service Authentication Link kopierenLink in die Zwischenablage kopiert!
root
user.
Procedure 13.4. Configuring the Telemetry Alarming Service to Authenticate Through the Identity Service
- Configure service credentials:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace CONTROLLER with the host name or IP address of your Identity server and AODH_PASSWORD with your Telemetry Alarming service password. - Configure access to the Identity service:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Again, replace CONTROLLER with the host name or IP address of your Identity server and AODH_PASSWORD with your Telemetry Alarming service password.