Trival fix bug in docs

The current recommended Aodh storage backend is
SQLAlchemy-supported DBs intead of mongoDB.

Change-Id: I9cc063891a6c52a9a568f864628bcbcb9106aa5b
This commit is contained in:
Kevin_Zheng 2016-05-04 17:01:36 +08:00 committed by Zhenyu Zheng
parent b5ebdaf58d
commit 09ec847725

View File

@ -34,12 +34,29 @@ Aodh data.
..
SQLalchemy-supported DBs
------------------------
The recommended Aodh storage backend is any SQLAlchemy-supported
database (`PostgreSQL` or `MySQL`).
In case of SQL-based database backends, you need to create a `aodh`
database first and then initialise it by running::
aodh-dbsync
To use MySQL as the storage backend, change the 'database' section in
aodh.conf as follows::
[database]
connection = mysql+pymysql://username:password@host/aodh?charset=utf8
MongoDB
-------
The recommended Aodh storage backend is `MongoDB`. Follow the
instructions to install the MongoDB_ package for your operating system, then
start the service. The required minimum version of MongoDB is 2.4.
Follow the instructions to install the MongoDB_ package for your operating
system, then start the service. The required minimum version of MongoDB is 2.4.
To use MongoDB as the storage backend, change the 'database' section in
aodh.conf as follows::
@ -54,23 +71,6 @@ MongoDB
connection = mongodb://username:password@host:27017/aodh?replicaSet=foobar
SQLalchemy-supported DBs
------------------------
You may alternatively use `MySQL` (or any other SQLAlchemy-supported DB
like `PostgreSQL`).
In case of SQL-based database backends, you need to create a `aodh`
database first and then initialise it by running::
aodh-dbsync
To use MySQL as the storage backend, change the 'database' section in
aodh.conf as follows::
[database]
connection = mysql+pymysql://username:password@host/aodh?charset=utf8
HBase
-----