OpenStack (iii) AMQP (RabbitMQ)

Source: Internet
Author: User
Tags rabbitmq

First, Introduction

All red Hat OpenStack services use RABBITMQ (Unified Messaging System) for communication.

The default RABBITMQ listens on port 5672, RABBITMQ supports account-and password-based access and can implement SSL encryption, and if SSL encryption is enabled, the port needs to be modified to 5671.

RabbitMQ comes with default built-in settings which would most likely being sufficient for running your RabbitMQ server effect Ively. If it runs fine, then you probably don ' t need any of the configuration at all.

Second, the configuration

Installation (Take Redhat7/centos7 as an example):

# yum Install rabbitmq-server# systemctl enable rabbitmq-server.service# systemctl start Rabbitmq-server.service
[Email protected] ~]# cat/etc/rabbitmq/rabbitmq-env.confnode_port=5672

Environment variables:

----Define ports, file locations and names (taken from the shell, or set in the rabbitmq-env.conf file)

[email protected] ~]# cat /etc/rabbitmq/rabbitmq.config% this file managed  by puppet% template path: rabbitmq/templates/rabbitmq.config[  {rabbit,  [    {tcp_listen_options,         [ binary,         {packet,         raw},         {reuseaddr,      true},         {backlog,        128},         {nodelay,        true},         {exit_on_close, false}]     },    {loopback_users, []},    {tcp_listen_ Options, [binary,{packet, raw},{reuseaddr, true},{backlog, 128},{nodelay, true},{exit_on_close, false},{keepalive,  true}]},    {default_user, << "Guest" >>},    {default_ pass, << "Guest" >>}  ]},  {kernel, [  ]}].% eof

Configuration file:

----defines server component settings for permissions, limits and clusters, and also plugin settings.

Three

RABBITMQ is called through other components to verify that each OpenStack component is properly configured with RABBITMQ:

#grep Rabbit/etc/keystone/keystone.conf#grep Rabbit/etc/nova/nova.conf#grep Rabbit/etc/cinder/cinder.conf#grep Rabbit/etc/neutron/neutron.conf#grep rabbit/etc/glance/glance-api.conf


This article is from "Jason's blog" blog, please be sure to keep this source http://xujunxian.blog.51cto.com/8614409/1748209

OpenStack (iii) AMQP (RabbitMQ)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.