How it Works - shesse/h2ha GitHub Wiki
High availability is realized by implementing a new pluggable file system module for the H2 database. This module duplicates all database files to a second machine and forwards all updates to the mirror system.
A control logic based on TCP connections and heartbeating controls activation and deactivation of the H2 database server on the two machines. A server will be started on the secondary when the primary fails.