Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

A lightweight web server written in Golang to check the health of a node in a Galera cluster

License

Notifications You must be signed in to change notification settings

cloudfoundry/galera-healthcheck

Repository files navigation

DEPRECATED: this repo has been merged into https://github.com/cloudfoundry/pxc-release

galera-healthcheck

Note: This project is not intended to stand alone. It is a supporting project that is used with the Cloud Foundry project, cf-mysql-release. While this project is open source (so you can fork it and do whatever you like within the requirements of the license), the community will likely accept only PRs that are not in conflict with the intended purpose of the project.

This go-based process is designed to run on a MariaDB Galera node and monitor the health of the node. An http endpoint is opened, by default at '/' on port 9200. A healthy node will return HTTP status 200, and a node that should not be accessed returns a 503.

Several commandline flags are supported, run galera-healthcheck -h for more information.

  • More information about the config string can be found in the documentation of the general configuration library service-config.

##Running tests## Run ./bin/test for unit tests. Running tests using ginkgo will not work because a config file is necessary.

About

A lightweight web server written in Golang to check the health of a node in a Galera cluster

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published