O'Reilly logo

Salt Cookbook by Anirban Saha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Salt multi-master setup (active-active mode)

In very large infrastructures, high availability and redundancy are important requirements. Fortunately, Salt has support for redundant Salt masters that provide a level of redundancy and also a means to scale the infrastructure to support large deployments.

How to do it...

We will use our existing Salt master, but rename it to salt-master-1 from salt-master. Also, configure a second Salt master called salt-master-2 by following the Installing and configuring the Salt master and Configuring the Salt environment and pillar paths recipes from Chapter 1, Salt Architecture and Components.

The second node will be configured in the exact same way as the first one. After installing the salt-master package, copy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required