Salt Cookbook

Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 27. Juli 2015
  • |
  • 350 Seiten
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78439-742-5 (ISBN)
Salt has become one of the major players in automation and configuration management solutions.This book starts with the basics of the tool, the procedures to get up and running with Salt and then moves on to configuring very simple but important details to receive optimal performance from the tool. It also walks you through Salt configurations for different infrastructure components and the details of the Salt modules for each of the components. The book also provides some common problem scenarios and how to troubleshoot them.With detailed configuration, their explanation and command line outputs of the module execution, Salt Cookbook will help you to get up and running with Salt for all your infrastructural needs.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
978-1-78439-742-5 (9781784397425)
1784397423 (1784397423)
weitere Ausgaben werden ermittelt
Anirban Saha has been a system engineer for several years, mostly working with Linux and cloud-based infrastructures. He has worked extensively on large system deployments in data center environments, as well as public and private cloud infrastructures for several organizations in various industries. He is also an open source and technology enthusiast and a speaker at conferences and meetups. Anirban likes and supports anything about technology.
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • Table of Contents
  • Preface
  • Chapter 1: Salt Architecture and Components
  • Introduction
  • Installing and configuring the Salt master
  • Configuring the Salt environment and pillar paths
  • Understanding and configuring Salt pillars
  • Understanding and writing Salt states
  • Understanding and writing the top file
  • Installing and configuring Salt minion
  • Configuring environments and grains on the minion
  • Applying Salt states to minions
  • Chapter 2: Writing Advanced Salt Configurations
  • Introduction
  • Writing and retrieving pillar data
  • Using pillar data in states
  • Using grains in states
  • Using conditionals in states and pillars
  • Using Python functions in conditionals
  • Using iterations in states
  • Setting and using variables in states
  • Testing a state run before applying to minions
  • Configuring nodegroups
  • Targeting minions
  • Chapter 3: Modules, Orchestration, and Scaling Salt
  • Introduction
  • Using execution modules
  • Using state modules
  • Configuring templates
  • Using requisites
  • Using Salt runners
  • Orchestration with Salt orchestrate
  • Salt multi-master setup (active-active mode)
  • Salt multi-master setup (active-passive mode)
  • Chapter 4: General Administration Tasks
  • Introduction
  • Running commands
  • Setting host entries and grains
  • Setting time zone, locale, and kernel configurations
  • Handling archive files
  • Adding groups and users
  • Performing SSH authentication tasks
  • Scheduling jobs with cron
  • Managing volumes
  • Working with disks and mounts
  • Managing network configurations
  • Chapter 5: Advanced Administration Tasks
  • Introduction
  • Managing package repositories
  • Managing packages using the default package manager
  • Managing packages using rvm, gem, and pip
  • Managing files
  • Managing services
  • Managing code repositories with Git
  • Managing code repositories with svn
  • Configuring alternatives
  • Chapter 6: Managing Application Servers
  • Introduction
  • Apache web server packages and services
  • Managing web server modules
  • Adding web server configuration
  • Web server security with htpasswd
  • Setting up Java for Apache Tomcat
  • Apache Tomcat packages, files, and service
  • Deploying the WAR file in Apache Tomcat
  • Chapter 7: Managing Databases
  • Introduction
  • Using MySQL packages, files, and services
  • Using MySQL databases
  • Creating MySQL database users
  • Running MySQL queries
  • Providing MySQL user grants
  • Using PostgreSQL packages, files, and services
  • Setting up PostgreSQL groups and users
  • Configuring PostgreSQL databases
  • Chapter 8: Configuring Salt Cloud
  • Introduction
  • Configuring the Salt cloud environment
  • Configuring cloud providers
  • Configuring cloud profiles
  • Extending profiles and providers
  • Configuring cloud maps
  • Using post-install scripts
  • Launching, querying, and destroying instances
  • Performing general cloud functions
  • Chapter 9: Managing Amazon Web Services
  • Introduction
  • Implementing security groups
  • Using elastic load balancers
  • Configuring DNS with Route53
  • Configuring Simple Queue Service
  • Deploying ElastiCache clusters
  • Configuring CloudWatch alarms
  • Chapter 10: Salt Event and Reactor System
  • Introduction
  • Learning the basics of the event system
  • Listening to events
  • Firing events
  • Identifying and working with Salt event types
  • Integrating and configuring the reactor system
  • Using reactors for Salt tasks
  • Chapter 11: Troubleshooting
  • Introduction
  • Troubleshooting the Salt master
  • Troubleshooting the Salt minion
  • Dealing with too many open files
  • Connectivity, DNS, and ports
  • Dealing with YAML configuration problems
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)


Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.

Download (sofort verfügbar)

37,41 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok