Merge "Update the doc about manually installation"

This commit is contained in:
Jenkins 2017-02-16 13:37:36 +00:00 committed by Gerrit Code Review
commit b40c51b5c9
3 changed files with 19 additions and 23 deletions

View File

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

View File

@ -16,27 +16,30 @@
.. _installing_manually: .. _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 aodh-api --port 8042 -- --config-file /etc/aodh/aodh.conf
services. You may use one of the listed database backends below to store
Aodh data.
Database configuration
======================
The recommended Aodh storage backend is any SQLAlchemy-supported database You can use any SQLAlchemy-supported DB such as `PostgreSQL` or `MySQL`.
(`PostgreSQL` or `MySQL`). 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 To use MySQL as the storage backend, change the 'database' section in
aodh.conf as follows:: aodh.conf as follows::
[database] [database]
connection = mysql+pymysql://username:password@host/aodh?charset=utf8 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: