The health check is classified as a monitoring, detection and healing tool for Open vStorage.
wget https://bootstrap.pypa.io/get-pip.py; python get-pip.py
pip install flower
pip install psutil
pip install xmltodict
Recommended: Run on 30 min. - hourly base (on every node), to check the health of your Open vStorage.
vim /usr/bin/ovs
elif [ "$1" = "healthcheck" ] ; then
cd /opt/OpenvStorage-healthcheck
if [ "$2" = "unattended" ] ; then
# launch unattended healthcheck
python -c "from ovs_health_check.main import Main; Main(True)"
else
# launch healthcheck
python ovs_health_check/main.py
fi
# via Open vStorage commands
ovs healthcheck
# native python execution
cd /opt/OpenvStorage-healthcheck/
python ovs_health_check/main.py
ovs healthcheck unattended
* * * * * root /usr/bin/ovs healthcheck unattended
- No files in the vPools may be named after:
ovs-healthcheck-test-{storagerouter_id}.xml
- No volumes in the vPools may be named after:
ovs-healthcheck-test-{storagerouter_id}.raw
- The 'master' branch is marked as the main but unstable branch
- The 'release' branches are the official releases of the HEALTH CHECK Project
- We'd love to have your contributions, read Community Information and Rules of conduct for notes on how to get started.
Open vStorage and it's automation is quality checked to the highest level. Unfortunately we might have overlooked some tiny topics here or there. The Open vStorage HEALTH CHECK Project maintains a public issue tracker where you can report bugs and request features. This issue tracker is not a customer support forum but an error, flaw, failure, or fault in the Open vStorage software.
If you want to submit a bug, please read the Community Information for notes on how to get started.
The Open vStorage Healthcheck is released under the Apache 2 license.