Commit Graph
33 Commits
Author SHA1 Message Date
Feike Steenbergen 91b71f8579 Created tatuspage, a health check for a PostgreSQL cluster served using http.
The StatusPage uses a BaseHTTPServer to server 3 simple http endpoints:

- pg_master, returns 200 if PostgreSQL is running as master
- pg_slave,  returns 200 if PostgreSQL is running as slave
- pg_status, returns some information about the cluster

It does this by relying on the PostgreSQL connection of the Governor.
2015-05-11 11:46:01 +02:00
Feike Steenbergen 0b053e3b33 Created a Dockerfile to be able to run Governor using a local etcd.
Usefull for developing and testing the Governor locally.
2015-05-07 13:17:28 +02:00
Oleksii Kliukin 39667f6e92 allow connections for all hosts and ports, not just postgres. 2015-04-30 12:11:46 +02:00
Oleksii Kliukin 221ba39c0f Remove WITH invokations from CREATE ROLE. 2015-04-30 12:04:57 +02:00
Oleksii Kliukin e8345e5e90 fix a typo. 2015-04-30 11:56:13 +02:00
Oleksii Kliukin 10dbf990f1 Allow md5 connections from outside and create connection roles.
Create a superuser role with a given name and password (or change
the postgres role if the name is not given). Also, create an admin
role with the name and the password provided. The admin role has
CREATEDB and CREATEROLE permisssions, effectively making it the
most powerful role after the superuser.
2015-04-30 10:58:07 +02:00
Oleksii Kliukin 8184efbf45 Add an option to use AWS instance address in a PostgreSQL connection string.
When PostgreSQL is running inside the docker container, it should provide
the address of the host it's running on and not the address from inside
of the container to the outside world.
2015-04-29 12:54:29 +02:00
Oleksii Kliukin c3ea0ebccd use samehost instead of the host's ip address. 2015-04-24 18:06:20 +02:00
Oleksii Kliukin 60db8d6adb Allow connections to the host's own IP address from the host itself. 2015-04-24 16:23:38 +02:00
Christopher Winslett 772185728d update README based on @pires's recommendation #6 2015-04-22 14:26:09 -04:00
Christopher Winslett e5e12f9a99 Merge pull request #5 from bookest/logging
Use timestamped logs
2015-04-04 08:00:25 -07:00
Christopher Grim b979c12c9d Use timestamped logs 2015-04-03 17:27:47 -04:00
Christopher Winslett 6850bdce78 Merge pull request #4 from scalp42/fixes
Couple tweaks
2015-03-29 18:45:07 -07:00
Anthony Scalisi 378851eeff fix haproxy_status.sh to trim new lines 2015-03-26 12:35:36 -07:00
Anthony Scalisi f167bbaddc python tweaks 2015-03-26 12:35:20 -07:00
Christopher Winslett 289620746b remove postgresql pid 2015-03-19 09:08:41 -07:00
Christopher Winslett d07572e80e add a restarter to the ha loop 2015-03-19 08:46:14 -07:00
Dj Walker-Morgan 07c844e211 Add Python to Brew install list 2015-03-19 15:32:05 +00:00
Dj Walker-Morgan 4df1131647 Minor changes in headings 2015-03-19 10:39:30 +00:00
Dj Walker-Morgan eeeed5864d Added MIT Licence 2015-03-18 18:40:05 +00:00
Dj Walker-Morgan 81ca8a1d26 Changed title of Readme 2015-03-18 18:36:44 +00:00
Christopher Winslett 64b54dda39 change to governor name 2015-03-18 11:35:17 -07:00
Christopher Winslett 4501bbc761 Add a link to the PDF for the Readme 2015-03-17 11:43:23 -07:00
Christopher Winslett 3dd0bfde15 Add context for this project. 2015-03-17 11:40:04 -07:00
Christopher Winslett bcedaf3391 make README copy and pasteable 2015-03-16 16:23:42 -07:00
Christopher Winslett 04631800f2 add a haproxy router for a single connection point 2015-03-16 15:46:27 -07:00
Christopher Winslett d3f96ad2ca to to typo 2015-03-16 11:54:40 -07:00
Dj Walker-Morgan 3179c9dd30 Updated Readme.md
Added opening para  to set tone.
2015-03-16 18:53:28 +00:00
Christopher Winslett a62cf64c06 fix README linking 2015-03-16 09:49:36 -07:00
Christopher Winslett 0d75152d54 make healthiest node work 2015-03-16 09:47:52 -07:00
Christopher Winslett 450b9912d7 clean up some debugging statements 2015-03-16 08:30:15 -07:00
Christopher Winslett c96972ee3c add better information to the readme 2015-03-16 08:15:41 -07:00
Christopher Winslett 3749883328 first commit 2015-03-15 23:16:48 -07:00