Create a Multi-Master Salt Environment

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

When running critical applications and infrastructure, we want to be sure to avoid any single point of failure — such as our Salt master. To allow for redundancy, we can configure multiple Salt masters that work with our minions, all of which run “hot” and can communicate with all minions. In this lab, we’ll take an existing Salt master and replicate it.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Copy the Master Keys
  1. From the current master, copy over the existing master keys.
  2. Copy over any additional configuration files.
  3. On the new master, set up the configuration.
  4. Restart.
Update the Minion
  1. Update the minion configuration to use both masters.
  2. Restart the minion configuration.
  3. Accept the minion on the new master.
Run a Highstate Test

Run a highstate against the dev minion from the new master.

Additional Resources

Your are the DevOps engineer at Providentia Press, a digital publisher. As the publisher gains traction and the related apps and websites gain traffic, you see a need to improve your existing Salt infrastructure to eliminate the single point of failure that is your Salt master. To do this, you intend to enable multi-master by configuring a second Salt master for redundancy.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?