Update the doc about manually installation

This change also clean the valueless "storage" doc.

Change-Id: I042ed4c4a2188ee4c6f115e9af6eabf707cd877a
This commit is contained in:
liusheng 2017-02-15 11:23:03 +08:00 committed by liusheng
parent 8f3aabf845
commit 29a03671bc
3 changed files with 19 additions and 23 deletions

View File

@ -24,6 +24,5 @@
development
manual
storage
mod_wsgi
uwsgi

View File

@ -16,27 +16,30 @@
.. _installing_manually:
=====================
Installing Manually
=====================
===================
Installing Manually
===================
Installing the API Server
=========================
There are two recommended ways to start api server:
1. Starting API server through mod_wsgi_;
2. Starting API server through: uwsgi_.
Storage Backend Installation
============================
Not recommended, for testing purpose, we can also start api server by
aodh-api binary::
This step is a prerequisite for the collector, notification agent and API
services. You may use one of the listed database backends below to store
Aodh data.
aodh-api --port 8042 -- --config-file /etc/aodh/aodh.conf
Database configuration
======================
The recommended Aodh storage backend is any SQLAlchemy-supported database
(`PostgreSQL` or `MySQL`). You need to create a `aodh` database first and then
initialise it by running::
aodh-dbsync
You can use any SQLAlchemy-supported DB such as `PostgreSQL` or `MySQL`.
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
[database]
connection = mysql+pymysql://username:password@host/aodh?charset=utf8
.. _mod_wsgi: ../install/mod_wsgi.html
.. _uwsgi: ../install/uwsgi.html

View File

@ -1,6 +0,0 @@
=================
Storage Drivers
=================
.. list-plugins:: aodh.storage
:detailed: