High availability with multiple masters

The traditional Salt setup only involves a single master with multiple minions. This is fine for a number of smaller shops, and even some of the bigger ones, but definitely not for everybody. High availability has become increasingly crucial in the modern infrastructure, and Salt is a part of that.

Built-in high-availability configuration

Salt does have some built-in configuration to handle multiple masters, but it's smaller and simpler than what one might expect. Interestingly, the actual Salt configuration is all on the minion; the masters don't have any configuration inside Salt itself. We'll talk about that in a moment.

First, let's talk about minion configuration. Normally, minions have a single master ...

Get Mastering SaltStack - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.