Blog · 2026-10-19 · Gardience Engineering

Salt master high availability: multi-master and failover

Salt supports multi-master and failover setups, but key sync, split brain, and stale data catch teams out. The options, their trade-offs, and a tested warm-standby design with automatic failover.

The Salt master is a single point of control for the fleet. If it goes down, nothing breaks on the machines (the minions keep running), but nothing can be changed, patched, or checked until it is back. For most teams that is tolerable for minutes, not for days. These are the ways to make it shorter.

Salt's built-in options

Salt's agents can be told about more than one master:

Both need the masters to share the master key pair and the accepted minion keys, or the minions will not trust the standby, and both leave it to you to keep states, pillar, and any console data in sync.

What goes wrong in practice

A tested design: warm standby with a witness

Gardience ships high availability as a feature rather than a recipe:

This is exercised in every release by an automated HA drill: primary failure, promotion, reconnection, fencing, network split and failback, with automatic failover under the three-minute limit.

Questions

Do minions stop working if the Salt master goes down?

No. Minions keep running and keep their configuration. You cannot send new jobs or collect results until a master is back.

Should I use multi-master or failover?

Failover is easier to operate safely, because only one master is in charge at a time. Multi-master adds the risk of conflicting jobs from two masters.

How do I keep minion keys in sync between masters?

Both masters need the same master key pair and the same accepted minion keys. Sync accepted and revoked keys often, not only in nightly backups, so a failover does not reject new machines or trust revoked ones.

Try Gardience on your own machines

One supported console for Windows and Linux on open-source Salt: patching, a scored STIG/CIS-aligned baseline, drift repair, event-driven automation, two-person approval and a tamper-evident audit log. Flat yearly pricing, not per node.

Free 90-day trial (25 nodes)See it work Compare

Salt is a trademark of its owner, Ansible is a trademark of Red Hat, Inc., and other names are trademarks of their owners. Gardience is independent and not affiliated with any of them.