Doc about zmq in ccp
Change-Id: I8a59813224ac384294a74b749d097bae2a595cfe
This commit is contained in:
parent
4f134c6dd1
commit
2ef42923e4
|
@ -32,6 +32,7 @@ Advanced topics
|
||||||
using_calico_instead_of_ovs
|
using_calico_instead_of_ovs
|
||||||
using_odl_instead_of_ovs
|
using_odl_instead_of_ovs
|
||||||
ironic
|
ironic
|
||||||
|
zmq
|
||||||
known_issues
|
known_issues
|
||||||
neutron_configuration
|
neutron_configuration
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,57 @@
|
||||||
|
.. _zmq:
|
||||||
|
|
||||||
|
============
|
||||||
|
ZeroMQ Guide
|
||||||
|
============
|
||||||
|
|
||||||
|
This guide provides information about how to enable zmq in the CCP.
|
||||||
|
|
||||||
|
To use zmq as an rpc backend the following steps are required:
|
||||||
|
|
||||||
|
1. `fuel-ccp-zmq` repository should be added to the repositories list:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
repositories:
|
||||||
|
repos:
|
||||||
|
- git_url: https://git.openstack.org/openstack/fuel-ccp-zmq
|
||||||
|
name: fuel-ccp-zmq
|
||||||
|
|
||||||
|
2. `zmq-proxy` and `redis` images should be built:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
ccp build -c zmq-proxy redis
|
||||||
|
|
||||||
|
3. `rpc` service should be configured to use zmq:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
services:
|
||||||
|
rpc:
|
||||||
|
service_def: zmq-proxy
|
||||||
|
|
||||||
|
4. `rpc` and `redis` services should be added to topology. Example of such
|
||||||
|
topology provided in :file:`fuel-ccp/etc/topology-with-zmq-example.yaml`
|
||||||
|
|
||||||
|
5. `configs` should be extended with the following values:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
configs:
|
||||||
|
messaging:
|
||||||
|
backend:
|
||||||
|
rpc: zmq
|
||||||
|
|
||||||
|
Pretty much the same steps required to enable zmq as a notifications backend:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
services:
|
||||||
|
notifications:
|
||||||
|
service_def: zmq-proxy
|
||||||
|
|
||||||
|
configs:
|
||||||
|
messaging:
|
||||||
|
backend:
|
||||||
|
notifications: zmq
|
|
@ -0,0 +1,54 @@
|
||||||
|
services:
|
||||||
|
database:
|
||||||
|
service_def: galera
|
||||||
|
rpc:
|
||||||
|
service_def: zmq-proxy
|
||||||
|
notifications:
|
||||||
|
service_def: zmq-proxy
|
||||||
|
|
||||||
|
nodes:
|
||||||
|
node1:
|
||||||
|
roles:
|
||||||
|
- db
|
||||||
|
- messaging
|
||||||
|
- controller
|
||||||
|
- openvswitch
|
||||||
|
node[2-3]:
|
||||||
|
roles:
|
||||||
|
- db
|
||||||
|
- messaging
|
||||||
|
- compute
|
||||||
|
- openvswitch
|
||||||
|
roles:
|
||||||
|
db:
|
||||||
|
- database
|
||||||
|
messaging:
|
||||||
|
- rpc
|
||||||
|
- notifications
|
||||||
|
- redis
|
||||||
|
controller:
|
||||||
|
- etcd
|
||||||
|
- glance-api
|
||||||
|
- glance-registry
|
||||||
|
- heat-api-cfn
|
||||||
|
- heat-api
|
||||||
|
- heat-engine
|
||||||
|
- horizon
|
||||||
|
- keystone
|
||||||
|
- memcached
|
||||||
|
- neutron-dhcp-agent
|
||||||
|
- neutron-l3-agent
|
||||||
|
- neutron-metadata-agent
|
||||||
|
- neutron-server
|
||||||
|
- nova-api
|
||||||
|
- nova-conductor
|
||||||
|
- nova-consoleauth
|
||||||
|
- nova-novncproxy
|
||||||
|
- nova-scheduler
|
||||||
|
compute:
|
||||||
|
- nova-compute
|
||||||
|
- nova-libvirt
|
||||||
|
openvswitch:
|
||||||
|
- neutron-openvswitch-agent
|
||||||
|
- openvswitch-db
|
||||||
|
- openvswitch-vswitchd
|
Loading…
Reference in New Issue