dc9b777724
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 |
||
---|---|---|
doc | ||
etc/masakarimonitors | ||
masakarimonitors | ||
releasenotes | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/masakari-monitors
- Source: http://git.openstack.org/cgit/openstack/masakari-monitors
- Bugs: http://bugs.launchpad.net/masakari-monitors
Configure masakari-monitors
Clone masakari using:
$ git clone https://github.com/openstack/masakari-monitors.git
Create masakarimonitors directory in /etc/.
Run setup.py from masakari-monitors:
$ sudo python setup.py install
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
To run masakari-processmonitor, masakari-hostmonitor and masakari-instancemonitor simply use following binary:
$ masakari-processmonitor $ masakari-hostmonitor $ masakari-instancemonitor
Features
- TODO