Implement basic HAST
integration and an automated HA failover scenario for it
#104
Labels
new feature
Label to apply to new features development
HAST
is theFreeBSD
's alternative toDRBD
. This means that we can use it to synchronise the storage state between 2Hoster
nodes, in the primary/secondary fashion.Unlike
DRBD
,HAST
is an official part of theFreeBSD
OS, so it should be more stable in terms of user space and kernel space utilities talking the same language.Here are some docs for more details:
The initial implementation will not try to wrap around the
HAST
management itself, it's pretty easy to work with it as is. InsteadHAST
will be integrated into ourHA
offering, in order to support synchronous replication.Our current model is based on the
async
nature of the ZFS replication, which has a lot of advantages:But it brings it's own set of challenges:
async
, so the failed over VM/Jail may not be in a clean state 100% of the timeHere is where the
HAST
comes in, because we can really easily "cluster" together some storage in the synchronous replication mode, and failover as needed without losing a single bit of data (apart from what was lost in transit on the primary node).I'll also have to add some docs on how to set up
HAST
to work withHoster HA
, how to handle split-brain, etc.The text was updated successfully, but these errors were encountered: