From 09ec847725347c00e0e089ac3789e0430826056a Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Wed, 4 May 2016 17:01:36 +0800 Subject: [PATCH] Trival fix bug in docs The current recommended Aodh storage backend is SQLAlchemy-supported DBs intead of mongoDB. Change-Id: I9cc063891a6c52a9a568f864628bcbcb9106aa5b --- doc/source/install/manual.rst | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/source/install/manual.rst b/doc/source/install/manual.rst index 9ecdb5b0d..7d5157aba 100644 --- a/doc/source/install/manual.rst +++ b/doc/source/install/manual.rst @@ -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 -----