Message queue für Ubuntu¶
OpenStack uses a message queue to coordinate operations and status information among services. The message queue service typically runs on the controller node. OpenStack supports several message queue services including RabbitMQ and Qpid. However, most distributions that package OpenStack support a particular message queue service. This guide implements the RabbitMQ message queue service because most distributions support it. If you prefer to implement a different message queue service, consult the documentation associated with it.
Die Nachrichtenwarteschlange läuft auf dem Kontrollknoten.
Installieren und konfigurieren von Komponenten¶
Installieren Sie das Paket:
# apt install rabbitmq-server
Fügen Sie den Benutzer
openstack
hinzu:# rabbitmqctl add_user openstack RABBIT_PASS Creating user "openstack" ...
Ersetzen Sie
RABBIT_PASS
durch ein geeignetes Passwort.Erlauben Sie dem Benutzer
openstack
Zugriff zum Konfigurieren, Lesen und Schreiben.# rabbitmqctl set_permissions openstack ".*" ".*" ".*" Setting permissions for user "openstack" in vhost "/" ...
Bemerkung
Sometimes it’s necessary to increase the file descriptor limit for RabbitMQ to handle a large number of connections properly.