Difficulty: Beginner
Estimated Time: 5 minutes

Summary

Jobs are a critical component to the SaltStack ecosystem of features. Jobs allows us to manage the multitude of events running on various systems in a typical SaltStack environment. In this tutorial, you're going to learn how to work with jobs in SaltStack Enterprise (SSE). You'll be learning how to create, execute, monitor and finally troubleshoot various jobs that you may find yourself in SaltStack Enterprise.

Environment

In the background already set up for you is the following Salt Master and Salt Minions. We'll be using these machines throughout this tutorial.

Hostname Operating System Salt Role Salt Version
saltmaster CentOS 7 Master/Minion 2018.3.4
minion1 CentOS 7 Minion 2018.3.4
minion2 CentOS 7 Minion 2018.3.4
minion3 CentOS 7 Minion 2018.3.4

You've run an SSE job and inspected it's output. Jobs are a powerful and heavily-used feature in SSE and it's important to understand how to work with them.

In this tutorial, we simply targeted all minions but what if you only need a job to run against a subset of minions? In that case, we'll need to get into targeting. Click on Next Scenario below to continue your SSE journey to learn more!

Learning Jobs

Step 1 of 3

Logging In

The first task is logging into SaltStack Enterprise (SSE). We've already built out a simple environment for you to kick the tires in. Near the middle of the screen, you will see two tabs; Terminal and Dashboard. You're probably on the Terminal tab now. Click on the Dashboard tab to bring up the SSE login page.

If you've just started the tutorial, you will see a temporary status page that says Connecting to Port 80. If so, wait 30-60 seconds for SSE to be provisioned.

When the login page is displayed, input a username of root and a password of salt.

Once logged in, click Continue below to learn how to run your first job.