Some helper scripts and configs to organize Keepalived cluster with automatic failover and fallback. The main purpose is to prevent splitbrain.

Currently PostgreSQL and Tomcat are supported, but scripts may be used as templates for other services.