Monitoring and notification tools for Masakari
Go to file
Liam Young dc9b777724 Use crm_mon for pacemaker-remote deployments
As described in bug #1728527 cibadmin does not expose the state of
the pacemaker-remote nodes which means hostmonitor cannot track
them. This change switches to use crm_mon to check the status of
remote nodes if the new config option host.restrict_to_remotes
to set to True. This will trigger host monitor to use crm_mon
to monitor nodes and will only monitor nodes that are marked
as remotes (not members).

Change-Id: I3f2026805413504c875ea5f39eb036d44b26dd43
Depends-On: Iaa2251708616e9c69817bf5b346d795ea7a4d21b
Closes-Bug: #1728527
2019-08-27 17:00:22 +00:00
doc Switch from oslosphinx to openstackdocstheme 2019-04-10 07:41:26 -05:00
etc/masakarimonitors Remove an extra word in process_list.yaml.sample 2017-07-31 15:58:59 +09:00
masakarimonitors Use crm_mon for pacemaker-remote deployments 2019-08-27 17:00:22 +00:00
releasenotes Switch from oslosphinx to openstackdocstheme 2019-04-10 07:41:26 -05:00
.coveragerc Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.gitignore Add line for PyCharm IDE in gitignore file 2018-12-10 06:16:29 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:49:18 +00:00
.mailmap Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.stestr.conf Switch to using stestr 2019-06-19 03:54:45 +00:00
.zuul.yaml Use template for lower-constraints 2019-05-02 08:48:31 +02:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
HACKING.rst Removed unnecessary parantheses in yield statements 2018-12-10 06:16:18 +00:00
LICENSE Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
MANIFEST.in Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
README.rst Remove deprecated shell scripts 2019-06-19 10:27:22 +05:30
babel.cfg Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
lower-constraints.txt Remove python-openstackclient from global-requirements 2018-08-08 08:41:36 +00:00
requirements.txt Remove python-openstackclient from global-requirements 2018-08-08 08:41:36 +00:00
setup.cfg Remove deprecated shell scripts 2019-06-19 10:27:22 +05:30
setup.py Updated from global requirements 2017-08-11 11:52:33 +00:00
test-requirements.txt Updated from global requirements 2018-03-26 08:08:05 +00:00
tox.ini Switch to using stestr 2019-06-19 03:54:45 +00:00

README.rst

masakari-monitors

Monitors for Masakari

Monitors for Masakari provides Virtual Machine High Availability (VMHA) service for OpenStack clouds by automatically detecting the failure events such as VM process down, provisioning process down, and nova-compute host failure. If it detect the events, it sends notifications to the masakari-api.

Original version of Masakari: https://github.com/ntt-sic/masakari

Tokyo Summit Session: https://www.youtube.com/watch?v=BmjNKceW_9A

Monitors for Masakari is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Configure masakari-monitors

  1. Clone masakari using:

    $ git clone https://github.com/openstack/masakari-monitors.git
  2. Create masakarimonitors directory in /etc/.

  3. Run setup.py from masakari-monitors:

    $ sudo python setup.py install
  4. Copy masakarimonitors.conf and process_list.yaml files from masakari-monitors/etc/ to /etc/masakarimonitors folder and make necessary changes to the masakarimonitors.conf and process_list.yaml files. To generate the sample masakarimonitors.conf file, run the following command from the top level of the masakari-monitors directory:

    $ tox -egenconfig
  5. To run masakari-processmonitor, masakari-hostmonitor and masakari-instancemonitor simply use following binary:

    $ masakari-processmonitor
    $ masakari-hostmonitor
    $ masakari-instancemonitor

Features

  • TODO