Book Image

Hands-On Enterprise Automation on Linux

By : James Freeman
Book Image

Hands-On Enterprise Automation on Linux

By: James Freeman

Overview of this book

Automation is paramount if you want to run Linux in your enterprise effectively. It helps you minimize costs by reducing manual operations, ensuring compliance across data centers, and accelerating deployments for your cloud infrastructures. Complete with detailed explanations, practical examples, and self-assessment questions, this book will teach you how to manage your Linux estate and leverage Ansible to achieve effective levels of automation. You'll learn important concepts on standard operating environments that lend themselves to automation, and then build on this knowledge by applying Ansible to achieve standardization throughout your Linux environments. By the end of this Linux automation book, you'll be able to build, deploy, and manage an entire estate of Linux servers with higher reliability and lower overheads than ever before.
Table of Contents (23 chapters)
1
Section 1: Core Concepts
5
Section 2: Standardizing Your Linux Servers
10
Section 3: Day-to-Day Management
16
Section 4: Securing Your Linux Servers

Chapter 8 - Enterprise Repository Management with Pulp

  1. Pulp repositories can be version controlled (through snapshots taken in time). They are also disk space-efficient and do not duplicate packages across mirrors.
  2. Linux repositories change on a very regular basis, and a machine patched on Monday may not look like a machine patched on Tuesday. This can, in worst-case scenarios, impact testing results.
  3. Pulp 2.x requires a message broker and a MongoDB database to run.
  4. /var/lib/mongodb should be 10 GB or more in size. /var/lib/pulp should be sized according to the repositories you want to mirror. They should be created on the XFS filesystem.
  5. At the simplest possible level, you could create a repository file in /etc/yum.repos.d and point it at the appropriate path on the Pulp server (as documented in Chapter 8, Enterprise Repository Management with Pulp). It is also possible to configure...