Book description
Practical Linux Infrastructure teaches you how to use the best open source tools to build a new Linux infrastructure, or alter an existing infrastructure, to ensure it stands up to enterprise-level needs. Each chapter covers a key area of implementation, with clear examples and step-by-step instructions.
Using this book, you’ll understand why scale matters, and what considerations you need to make. You’ll see how to switch to using Google Cloud Platform for your hosted solution, how to use KVM for your virtualization, how to use Git, Postfix, and MySQL for your version control, email, and database, and how to use Puppet for your configuration management. For enterprise-level fault tolerance you’ll use Apache, and for load balancing and high availability, you'll use HAProxy and Keepalived. For trend analysis you’ll learn how to use Cacti, and for notification you’ll use Nagios. You’ll also learn how to utilize BIND to implement DNS, how to use DHCP (Dynamic Host Configuration Protocol), and how to setup remote access for your infrastructure using VPN and Iptables. You will finish by looking at the various tools you will need to troubleshoot issues that may occur with your hosted infrastructure. This includes how to use CPU, network, disk and memory management tools such as top, netstat, iostat and vmstat.
Author Syed Ali is a senior site reliability engineering manager, who has extensive experience with virtualization and Linux cloud based infrastructure. His previous experience as an entrepreneur in infrastructure computing offers him deep insight into how a business can leverage the power of Linux to their advantage. He brings his expert knowledge to this book to teach others how to perfect their Linux environments. Become a Linux infrastructure pro with Practical Linux Infrastructure today.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
Chapter 1: Managing Large-Scale Infrastructure
- Application Deployment
- Software Development Automation
- Waterfall Methodology
- Agile Methodology
- Web Architecture
- Single-Tier Architecture
- Two-Tier Architecture
- Three-Tier Architecture
- Four-Tier Architecture
- Five-Tier Architecture
- Six-Tier Architecture
- Global Architecture
- Autoscaling
- Rolling Deployments
- Licensing
- Support
- Bug Reporting
- Inventory Management
- Hardware
- System Profiles
- Conclusion
- Chapter 2: Hosted Cloud Solutions Using Google Cloud Platform
-
Chapter 3: Virtualization with KVM
- What Is Virtualization?
- Enterprise Architecture
- KVM Hypervisor Provisioning
- VM Provisioning
- KVM Management Solutions
- Selecting Physical Servers
- Designing KVM Networks
- Designing KVM Storage
- Image Selection
- File System Selection
- Virtual Image Optimization
- Security Considerations
- Reference Architecture
- Conclusion
-
Chapter 4: MySQL, Git, and Postfix
- Database Categories
- Picking a Database
- Installing MySQL
- MySQL Failover
- MySQL Enterprise Design
- Managing MySQL
- Backing up MySQL
- Getting Help with MySQL
- Future of MySQL
- E-mail in an Enterprise
- E-mail Solution Strategy
- Enterprise Mail Transfer Agents
- Postfix Enterprise Design
- Installing Postfix
- Configuring Postfix
- E-mail Protocols
- Getting Help with Postfix
- Revision Control in an Enterprise
- Revision Control Management Choices
- Why Git?
- Installing Git
- Setting up a Git Server
- Git Enterprise Design
- Git Protocols
- Getting Help with Git
- Conclusion
-
Chapter 5: Configuration Management with Puppet
- Legacy Solutions
- What Is Configuration Management?
- Configuration Management Requirements
- CMS Options
- Commercial Versus Open Source
- Understanding Puppet
- Puppet Resources
- Puppet Manifests
- Puppet Modules
- Hiera
- Puppet Style Guide
- Puppet Config Files
- Reporting
- Certificate Management
- Puppet Hardware Requirements
- Puppet Software Requirements
- Installing Puppet
- Modular Architecture
- Putting It All Together
- Where to Get Help
- Conclusion
-
Chapter 6: Apache for Enterprise-Level Fault Tolerance
- Apache Software Foundation
- Understanding HTTP
- HTTP Headers
- HTTP Method
- HTTP Response
- Role of Apache HTTP Server
- Installing Apache HTTP Server
- Configuring Apache HTTP Server
- Apache Multiprocessing Modules
- Monitoring Apache HTTP Server
- Apache HTTP Benchmarking
- Tuning Apache HTTP
- Apache Reverse Proxy
- Apache Forward Proxy
- Apache with Python
- HAProxy
- HAProxy Load-Balancing Algorithms
- HAProxy Management
- Keepalived
- Keepalived in Action
- Getting Help
- Conclusion
-
Chapter 7: Monitoring with Nagios and Trend Analysis with Cacti
- What to Monitor
- How to Monitor
- SNMP
- Understanding SNMP
- Installing Net-SNMP
- Configuring Net-SNMP
- SNMP MIB
- Monitoring Software
- Cloud-Based Monitoring
- Understanding Nagios
- Commercial Versus Community Edition
- Installing the Nagios Server
- Starting the Nagios Server
- Nagios Check Types
- Configuring the Nagios Server
- Object Configuration
- Nagios Macros
- Nagios Server Plug-ins
- Installing the Nagios Client
- Adding Clients to Nagios
- Nagios Templates
- Nagios Add-ons
- Sample Nagios Checks
- Nagios Front Ends
- Getting Help
- Trend Analysis
- Trend Analysis Software
- Installing Cacti
- Configuring Cacti
- Web-Based Configuration
- Cacti Graphs
- Graph Trees
- Cacti Command Line Interface
- Cacti Support
- RRDtool
- Conclusion
-
Chapter 8: DNS Using BIND and DHCP
- Role of DNS in an Enterprise
- DNS Solutions
- Domain Registrars
- Protecting Your Domain Registration
- DNS Record Types
- DNS Reverse Mapping
- Root Servers
- Installing BIND
- Tracking Changes
- Named Config File
- Types of DNS Servers
- Sender Policy Framework
- DNS Security Extensions
- BIND Zone Delegation
- Where to Get BIND Help
- BIND Enterprise Architecture
- Understanding DHCP
- DHCP Enterprise Architecture
- Primary DHCP Server
- DHCP Failover
- Conclusion
-
Chapter 9: Log Collection, OpenVPN, and iptables
- Why Collect Logs?
- Logging Solutions
- rsyslog
- Logging Architecture
- rsyslog Configuration
- Log Retention
- Log Rotation
- Role of VPNs in an Enterprise
- Picking a VPN Technology
- How Does SSL Work?
- VPN Software
- VPN Design
- Split Tunnel
- OpenVPN Configuration File
- Routing or Bridging
- OpenVPN Certificates
- OpenVPN Security
- OpenVPN with Dual Authentication
- OpenVPN Management Interface
- OpenVPN Access Server Versus Community Edition
- OpenVPN Access Server
- iptables
- iptables in a Network
- Filter Table
- Popular iptables Rules
- Deleting iptables Rules
- Saving iptables
- Conclusion
- Chapter 10: Troubleshooting Tools
- Index
Product information
- Title: Practical Linux Infrastructure
- Author(s):
- Release date: December 2014
- Publisher(s): Apress
- ISBN: 9781484205112
You might also like
book
Linux Administration Best Practices
Gain an understanding of system administration that will remain applicable throughout your career and understand why …
book
Linux in Action
Linux in Action is a task-based tutorial that will give you the skills and deep understanding …
book
Linux Networking Cookbook
Over 40 recipes to help you set up and configure Linux networks About This Book Move …
video
Linux for Network Engineers: Practical Linux with GNS3
It is important for you as a network engineer to learn Linux! Why? There are many …