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.

해당 메시지 큐는 컨트롤러 노드에서 실행합니다.

구성요소 설치 및 구성

  1. 패키지를 설치합니다:

    # apt install rabbitmq-server
    
  2. openstack 사용자를 추가합니다:

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

    RABBIT_PASS 를 적절한 암호로 변경합니다.

  3. openstack 사용자에 대해 구성, 쓰기와 읽기 접근을 허용합니다:

    # rabbitmqctl set_permissions openstack ".*" ".*" ".*"
    
    Setting permissions for user "openstack" in vhost "/" ...
    

참고

Sometimes it’s necessary to increase the file descriptor limit for RabbitMQ to handle a large number of connections properly.