Message queue for 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.
メッセージキューはコントローラーノードで動作します。
コンポーネントのインストールと設定¶
パッケージをインストールします。
# apt install rabbitmq-server
openstack
ユーザーを追加します。# rabbitmqctl add_user openstack RABBIT_PASS Creating user "openstack" ...
RABBIT_PASS
を適切なパスワードに置き換えます。openstack
ユーザーに対して、設定、書き込み、読み出しアクセスを許可します。# rabbitmqctl set_permissions openstack ".*" ".*" ".*" Setting permissions for user "openstack" in vhost "/" ...