Skip to content

Quick Start

The current implementation focus is mode: ha.

Ports

  • 9375/udp for HA peer traffic
  • 9376/tcp for the management API
  • 9377/tcp reserved for future KV peer traffic

What HA mode does

Each node:

  • sends HA advertisements to one configured peer over unicast UDP
  • validates packets for protocol version, group ID, and authentication
  • tracks peer liveness and state
  • chooses between INIT, BACKUP, and MASTER
  • adds or removes VIP addresses on transition
  • exposes status through 9376/tcp

Status

Query the local node:

bash
gruezi status

Watch HA status continuously:

bash
gruezi status --watch --interval-ms 1000 --node 127.0.0.1:9376

Important

gruezi should be read as work in progress.

  • HA mode is the implemented path today
  • service discovery is still pending
  • distributed KV is still planned

Released under the BSD-3-Clause License