Practical Linux Infrastructure
Syed Ali
Language: English
Pages: 320
ISBN: 148420512X
Format: PDF / Kindle (mobi) / ePub
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.
What you’ll learn
- Learn how to deploy enterprise Linux infrastructure
• Create networks, firewalls, load balancers
• Install Postfix, Cacti, Nagios, Apache, MySQL
• Using Google Cloud Platform (GCP) services
• Trouble shootings tools such as top, tcpdump, iostat, vmstat
• Using iptables to protect your host
• Install a GIT server for source code configuration management
• Use rlog for log collections
Who this book is for
This book is ideal for Linux system administrators who are currently managing small to medium size Linux infrastructure environments and would like to learn how to manage enterprise-level infrastructures. You will be familiar with basic system administration, or site reliability engineering work, but want to learn how to build significant, pro-level Linux infrastructure.
Table of Contents
- Chapter One: Managing Large Scale Infrastructure
2. Chapter Two: Hosted Cloud Solutions Using Google Cloud Platform
3. Chapter Three: Virtualization with KVM
4. Chapter Four: MySQL, Git, Postfix
5. Chapter Five: Configuration Management with Puppet
6. Chapter Six: Apache for Enterprise-level Fault Tolerance
7. Chapter Seven: Monitoring with Nagios & Trend Analysis with Cacti
8. Chapter Eight: DNS Using Bind and DHCP
9. Chapter Nine: Log Collection, OpenVPN, Iptables
10. Chapter Ten: Troubleshooting Tools
area networks are misconfigured or there can be wireless configuration issues. 6.Last, troubleshooting the Ethernet can be done with ethtool and arp, and by looking at the physical defects in cables as well as connectors. In a large organization, troubleshooting often involves more than one team. Network engineering may own layers one through four, whereas site reliability engineering might own layers five through seven. tcpdump tcpdump is used to dump network traffic. By analyzing network
your e-mail environment with ease. Getting Help with Postfix There are numerous options for Postfix support. The online documentation is excellent and, as with any open source free software, the user community is your best option for getting help after reading the documentation. A few online help options include: Mailing lists ( http://www.postfix.org/lists.html ) IRC channel ( http://irc.lc/freenode/postfix/irctc@@@ ) Online documentation ( http://www.postfix.org/documentation.html )
configures it. Modules can be shared easily with others. Numerous modules are available on Puppet Forge ( https://forge.puppetlabs.com/ ). Before creating your own module, check to see if an existing module works for you. An important issue with modules is being able to trust them, because they can be written by anyone. There are certain modules that are in the Puppet Labs name space; perhaps those may be more trustworthy than other modules. Modules allow autoloading of classes, file serving
with different views. You can also have homegrown systems or purchase commercial products. Regardless of your choice, to scale, you must keep track of issues and use extensive reporting so that problem spots can be figured out and resolved sooner rather than later. Network Operations Center Another important component of operating at scale is having 24/7 support for your products or services. This can be accomplished through various ways, including the following: Follow the sun’s rotation: Have
SSL_connect:SSLv3 read server certificate A SSL_connect:SSLv3 read server done A SSL_connect:SSLv3 write client key exchange A SSL_connect:SSLv3 write change cipher spec A SSL_connect:SSLv3 write finished A SSL_connect:SSLv3 flush data SSL_connect:SSLv3 read finished A --- Certificate chain 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN= www.google.com i:/C=US/O=Google Inc/CN=Google Internet Authority G2 1 s:/C=US/O=Google Inc/CN=Google Internet Authority G2