Salt Open: Automating Your Enterprise and Your Network

  • 2h 14m
  • Andrew Mallett
  • Apress
  • 2021

There is a rapid growth of automation in server rooms and data centers. The days of having many administrators running around busily configuring and maintaining servers are gone and have been replaced with droves of Salt-Minions; agents beavering away on the target nodes ensuring the configuration is as specified. This book covers Salt Open (also known as SaltStack Open) from the ground up and shows you how to work with two Linux distributions.

You'll see how Salt Open is duplicated with ArubaOS and IOS networking devices, which can be configured without the underlying OS. As you step through the configuration options, you'll learn how to run remote execution modules from the CLI before looking at stateful configuration using SLS files. Moving on, you'll learn how to configure the systems where you also need to monitor your devices and that is when reactors and beacons come into play. Creating beacons to alert the server when thresholds are exceeded, you will be able to create reactors to mitigate the issues identified by the beacons.

By the end of this book, you will be able to deploy Salt to your servers and network infrastructure. You will be able to install the Salt-Master and Salt-Minion, executing commands from both the Master and the Minion. The networking devices you need to manage will be controlled through the Salt_Proxy Minions that you have configured. Finally, you will be able to load-balance connections to the master with Salt-Syndic.

What You'll Learn

  • Install Salt Services on Ubuntu and CentOS based systems
  • Work with remote execution modules
  • Format YAML files correctly
  • Provide defined configuration using state files
  • Use Salt-Proxy to configure network devices
  • Automate the configuration of Linux servers and networking devices
  • Add value for both the server and network automation team

Who This Book Is For

System administrators experienced in Linux administration, who desire to expand their horizons into the world of automation, moving from scripts to states.

In this Book

  • Understanding Salt and Configuration Automation
  • Installing Salt
  • Adding and Removing Salt Minions
  • Targeting Salt Minions
  • Working with Remote Execution Modules in Salt Open
  • Writing YAML Files
  • Writing Salt State Files
  • Building an Effective State Tree
  • Creating Reusable State Files
  • Implementing Reactors and Beacons
  • Using Salt SSH
  • Deploy Virtual Machines Using Salt Cloud
  • Scaling Configuration Management Using Salt Syndic
  • Automating Network Infrastructure with Salt Proxy