SUSE Message queue

SUSE Message queue

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, Qpid, and ZeroMQ. 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.

The message queue runs on the controller node.

Instalace a nastavení součástí

  1. Nainstalujte balíčky:
# zypper install rabbitmq-server
  1. Spusťte službu fronty zpráv a nastavte ji, aby byla spuštěna při zavedení systému:

    # systemctl enable rabbitmq-server.service
    # systemctl start rabbitmq-server.service
    
  2. Předejte uživatele openstack:

    # rabbitmqctl add_user openstack RABBIT_PASS
    
    Creating user "openstack" ...
    

    Nahraďte RABBIT_PASS vhodným heslem.

  3. Uživateli openstack povolte přístup pro nastavení, zápis a čtení:

    # rabbitmqctl set_permissions openstack ".*" ".*" ".*"
    
    Setting permissions for user "openstack" in vhost "/" ...
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.