Configuring SaltStack Job Results Storage in MySQL

MySQL Client Installation Install the MySQL Python client package: yum install MySQL-python -y Master Configuration Edit /etc/salt/master to enable MySQL job caching: master_job_cache: mysql mysql.host: '10.240.17.103' mysql.user: 'salt' mysql.pass: 'salt' mysql.db: 'salt' mysql.port: 3306 MySQL Server Setup Install and configure MySQL server ...

Posted on Tue, 16 Jun 2026 17:30:23 +0000 by Hepp

SaltStack Job Cache with MySQL Backend

Setting Up SaltStack Job Cache with MySQL Backend The SaltStack Job Cache functionality allows you to persist all Salt operations in a MySQL database, providing a centralized storage for job execution data. Prerequisites Begin by installing the MySQL Python connector on your Salt master node: yum install MySQL-python Configuring Salt Master Ed ...

Posted on Mon, 15 Jun 2026 17:54:37 +0000 by snaack

Implementing SaltStack Multi-Master High Availability

To configure a highly available SaltStack environment, you must set up a multi-master architecture where minions can communicate with multiple master servers. Additionally, configuration files, state files, and keys must be synchronized between the primary and secondary masters to ensure consistency during a failover. 1. Configuring Salt Minion ...

Posted on Wed, 03 Jun 2026 17:52:21 +0000 by dubt2nv

Comprehensive SaltStack Guide: Commands, Configuration, and Advanced Features

Core Commands salt - Primary command for executing modules on minions from the master: salt [options] '<target>' <function> [arguments] Example: salt '*' test.ping salt-run - Execute runnner modules on the master: salt-run manage.status # View all minion statuses salt-run manage.down # Show offline minions salt-run manage.u ...

Posted on Mon, 25 May 2026 19:51:23 +0000 by lalloo

Automating Zabbix Agent and Redis Deployments with SaltStack

Deploying the Zabbix Monitoring Agent Establish the required directory hierarchy within the Salt base environment to separate system initialization tasks from application-specific configurations. mkdir -p /srv/salt/base/{init/zabbix_epel,zabbix_agent/templates} Configure the EPEL repository to ensure dependency resolution works correctly. Dow ...

Posted on Wed, 20 May 2026 06:30:43 +0000 by gatoruss

Advanced HAProxy Configuration, Deployment, and Dynamic Management

HAProxy Overview and Load Balancing Algorithms HAProxy is a high-performance, open-source load balancer and proxy server designed to handle high traffic volumes while ensuring high availability. It operates effectively at Layer 7 (Application) and Layer 4 (Transport), allowing seamless integration into existing architectures to protect backend ...

Posted on Sun, 17 May 2026 16:45:08 +0000 by slicer123

SaltStack Configuration Management Fundamentals

Official Website: https://www.saltstack.com/ Official Documentation: https://docs.saltstack.cn/contents.html GitHub Repository: https://github.com/saltstack Chinese SaltStack Community: https://www.saltstack.cn/ Architecture Overview SaltStack master and minion nodes communicate through encrypted key exchange. The master disrtibutes configurati ...

Posted on Sun, 10 May 2026 15:30:19 +0000 by aod