Skip to content
This repository was archived by the owner on Jun 30, 2018. It is now read-only.

Commit 466b786

Browse files
author
Frederic Guillot
committed
Added configuration instructions to the documentation
1 parent c621ede commit 466b786

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,30 @@ export RABBITMQ_URL="amqp://openstack:openstack@hostname:5672"
6262
almanach collector /path/to/almanach.cfg
6363
```
6464

65+
RabbitMQ configuration
66+
----------------------
67+
68+
Each OpenStack services (Nova, Cinder, Neutron) need to be configured to send notifications to the Almanach queue.
69+
70+
For example with Nova, add the topic "almanach" in the config file `/etc/nova.conf`:
71+
72+
```bash
73+
notification_topics=almanach
74+
```
75+
76+
77+
Database configuration
78+
----------------------
79+
80+
Almanach requires a specific user to connect to the database.
81+
To create a new user, open a new MongoDB shell:
82+
83+
```javascript
84+
m = new Mongo()
85+
m.getDB("almanach").createUser({user: "almanach", pwd: "almanach", roles: [{role: "readWrite", db: "almanach"}]})
86+
```
87+
88+
6589
Database entities
6690
-----------------
6791

0 commit comments

Comments
 (0)