Openstack rabbitMQ 安装与配置
? ? ? ? ? ? ? ? Openstack rabbitMQ install
1, install rabbitMQ
? ? yum -y install rabbitmq-server
2, hostname
? ? hostname qc_controller8.180.ax.com.cn
2, Configure rabbitMQ
? ? # RabbitMQ 啟動失敗,主要原因在于主機名解析,如果主機名帶有"." ,請截取"."之前的字符串信息
? ? 127.0.0.1 ? localhost localhost.localdomain localhost4 localhost4.localdomain4 qc_controller8.180.ax.com.cn qc_controller8
? ? ::1 ? ? ? ? localhost localhost.localdomain localhost6 localhost6.localdomain6 qc_controller8.180.ax.com.cn qc_controller8
? ? 192.168.8.180 qc_controller8.180.ax.com.cn qc_controller8
? ? [root@qc_controller8 data]# cat /etc/rabbitmq/rabbitmq.config
? ? % This file managed by Puppet
? ? % Template Path: rabbitmq/templates/rabbitmq.config
? ? [
? ? ? {rabbit, [
? ? ? ? {default_user, <<"guest">>},
? ? ? ? {default_pass, <<"guest">>}
? ? ? ]},
? ? ? {kernel, [
? ? ? ]}
? ? ].
? ? % EOF
? ? [
? ? [root@qc_controller8 data]# cat /etc/rabbitmq/rabbitmq-env.conf
? ? RABBITMQ_NODE_PORT=5672
4,restart service rabbitmq
? ? service rabbitmq-server restart
5,Create user and update password
? ? rabbitmqctl add_user username guest
? ? rabbitmqctl change_password guest guest
5, nova.conf rabbitmq Configure
? ? rpc_backend=nova.openstack.common.rpc.impl_kombu
? ? rabbit_host=192.168.8.180
? ? rabbit_port=5672
? ? rabbit_hosts=192.168.8.180:5672
? ? rabbit_use_ssl=False
? ? rabbit_userid=guest
? ? rabbit_password=guest
? ? rabbit_virtual_host=/
? ? rabbit_ha_queues=False
6,glance-api.conf Configure
? ? #notifier_strategy=qpid
? ? notifier_strategy=default
? ? # Configuration options if sending notifications via rabbitmq (these are
? ? # the defaults)
? ? rabbit_notification_exchange = glance
? ? rabbit_notification_topic = notifications
? ? rabbit_host=192.168.8.180
? ? rabbit_port=5672
? ? rabbit_hosts=192.168.8.168:5672
? ? rabbit_use_ssl=False
? ? rabbit_userid=guest
? ? rabbit_password=guest
? ? rabbit_virtual_host=/
? ? rabbit_ha_queues=False
7,reboot system
? ? reboot
本文轉自 swq499809608 51CTO博客,原文鏈接:http://blog.51cto.com/swq499809608/1433541總結
以上是生活随笔為你收集整理的Openstack rabbitMQ 安装与配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 原创:徐福记被雀巢全资收购,外资全面拿下
- 下一篇: Python设计模式——观察者模式