"Fossies" - the Fresh Open Source Software Archive

Member "masakari-9.0.0/doc/source/configuration/sample_config.rst" (13 May 2020, 1793 Bytes) of package /linux/misc/openstack/masakari-9.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Masakari Configuration Options

The following is a sample Masakari configuration for adaptation and use. It is auto-generated from Masakari when this documentation is built, so if you are having issues with an option, please compare your version of Masakari with the version of this documentation.

The sample configuration can also be downloaded from here </_static/masakari.conf.sample>.

/_static/masakari.conf.sample

Minimal Configuration

Edit the /etc/masakari/masakari.conf file and complete the following actions

In the [DEFAULT] section, set following options:

auth_strategy = keystone
masakari_topic = ha_engine
os_privileged_user_tenant = service
os_privileged_user_auth_url = http://controller/identity
os_privileged_user_name = nova
os_privileged_user_password = PRIVILEGED_USER_PASS

Replace PRIVILEGED_USER_PASS with the password you chose for the privileged user in the Identity service.

In the [database] section, configure database access:

connection = mysql+pymysql://root:MASAKARI_DBPASS@controller/masakari?charset=utf8

In the [keystone_authtoken] sections, configure Identity service access:

auth_url = http://controller/identity
memcached_servers = controller:11211
signing_dir = /var/cache/masakari
project_domain_name = Default
user_domain_name = Default
project_name = service
username = masakari
password = MASAKARI_PASS
auth_type = password
cafile = /opt/stack/data/ca-bundle.pem

Replace MASAKARI_PASS with the password you chose for the masakari user in the Identity service.