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.

Not recommended, for testing purpose, we can also start api server by aodh-api binary:

aodh-api --port 8042 -- --config-file /etc/aodh/aodh.conf

Database configuration

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:

connection = mysql+pymysql://username:password@host/aodh?charset=utf8