Books: 10


KEY FEATURES * Create a PostgreSQL cluster that stays online even when disaster strikes * Avoid costly downtime and data loss that can ruin your business * Updated to include the newest features introduced in PostgreSQL 9.6 with hands-on industry-driven recipes BOOK DESCRIPTION Databases are nothing more » without the data they store. In the event of a failure - catastrophic or otherwise - immediate recovery is essential. By carefully combining multiple servers, it's even possible to hide the fact a failure occurred at all. From hardware selection to software stacks and horizontal scalability, this book will help you build a versatile PostgreSQL cluster that will survive crashes, resist data corruption, and grow smoothly with customer demand. It all begins with hardware selection for the skeleton of an efficient PostgreSQL database cluster. Then it's on to preventing downtime as well as troubleshooting some real life problems that administrators commonly face. Next, we add database monitoring to the stack, using collectd, Nagios, and Graphite. And no stack is complete without replication using multiple internal and external tools, including the newly released pglogical extension. Pacemaker or Raft consensus tools are the final piece to grant the cluster the ability to heal itself. We even round off by tackling the complex problem of data scalability. This book exploits many new features introduced in PostgreSQL 9.6 to make the database more efficient and adaptive, and most importantly, keep it running. WHAT YOU WILL LEARN * Protect your data with PostgreSQL replication and management tools such as Slony, Bucardo, pglogical, and WAL-E * Hardware planning to help your database run efficiently * Prepare for catastrophes and prevent them before they happen * Reduce database resource contention with connection pooling using pgpool and PgBouncer * Automate monitoring and alerts to visualize cluster activity using Nagios and collected * Construct a robust software stack that can detect and fix outages * Learn simple PostgreSQL High Availability with Patroni, or dive into the full power of Pacemaker. ABOUT THE AUTHOR Shaun M. Thomas has been working with PostgreSQL since late 2000. He is a frequent contributor to the PostgreSQL Performance and General mailing lists, assisting other DBAs with the knowledge he's gained over the years. In 2011 and 2012, he gave presentations at the Postgres Open conference on topics such as handling extreme throughput, high availability, server redundancy, and failover techniques. Most recently, he has contributed the Shard Manager extension and the walctl WAL management suite. Currently, he serves as the database architect at PEAK6 Investments, where he develops standard operating procedure (SOP) guidelines to facilitate reliable server architecture among many other tasks. Many of the techniques used in this book were developed specifically for this extreme environment. He believes that PostgreSQL has a stupendous future ahead, and he can't wait to see the advancements subsequent versions will bring. TABLE OF CONTENTS 1. Hardware Planning 2. Handling and Avoiding Downtime 3. Pooling Resources 4. Troubleshooting 5. Monitoring 6. Replication 7. Replication Management Tools 8. Simple Stack 9. Advanced Stack 10. Cluster Control 11. Data Distribution « less
Achieve the Continuous Integration and Continuous Delivery of your web applications with ease
ABOUT THIS BOOK * Overcome the challenges of implementing DevOps for web applications, familiarize yourself with diverse third-party modules, and learn how to integrate them with bespoke code to efficiently complete tasks * Understand how to deploy web applications for a variety of Cloud platforms more » such as Amazon EC2, AWS Elastic Beanstalk, Microsoft Azure, Azure Web Apps, and Docker Container * Understand how to monitor applications deployed in Amazon EC2, AWS Elastic Beanstalk, Microsoft Azure, Azure Web Apps using Nagios, New Relic, Microsoft Azure, and AWS default monitoring features WHO THIS BOOK IS FOR If you are a system admin or application and web application developer with a basic knowledge of programming and want to get hands-on with tools such as Jenkins 2 and Chef, and Cloud platforms such as AWS and Microsoft Azure, Docker, New Relic, Nagios, and their modules to host, deploy, monitor, and manage their web applications, then this book is for you. WHAT YOU WILL LEARN * Grasp Continuous Integration for a JEE application—create and configure a build job for a Java application with Maven and with Jenkins 2.0 * Create built-in delivery pipelines of Jenkins 2 and build a pipeline configuration for end-to-end automation to manage the lifecycle of Continuous Integration * Get to know all about configuration management using Chef to create a runtime environment * Perform instance provisioning in AWS and Microsoft Azure and manage virtual machines on different cloud platforms—install Knife plugins for Amazon EC2 and Microsoft Azure * Deploy an application in Amazon EC2, AWS Elastic Beanstalk, Microsoft Azure Web Apps, and a Docker container * Monitor infrastructure, application servers, web servers, and applications with the use of open source monitoring solutions and New Relic * Orchestrate multiple build jobs to achieve application deployment automation—create parameterized build jobs for end-to-end automation IN DETAIL The DevOps culture is growing at a massive rate, as many organizations are adopting it. However, implementing it for web applications is one of the biggest challenges experienced by many developers and admins, which this book will help you overcome using various tools, such as Chef, Docker, and Jenkins. On the basis of the functionality of these tools, the book is divided into three parts. The first part shows you how to use Jenkins 2.0 for Continuous Integration of a sample JEE application. The second part explains the Chef configuration management tool, and provides an overview of Docker containers, resource provisioning in cloud environments using Chef, and Configuration Management in a cloud environment. The third part explores Continuous Delivery and Continuous Deployment in AWS, Microsoft Azure, and Docker, all using Jenkins 2.0. This book combines the skills of both web application deployment and system configuration as each chapter contains one or more practical hands-on projects. You will be exposed to real-world project scenarios that are progressively presented from easy to complex solutions. We will teach you concepts such as hosting web applications, configuring a runtime environment, monitoring and hosting on various cloud platforms, and managing them. This book will show you how to essentially host and manage web applications along with Continuous Integration, Cloud Computing, Configuration Management, Continuous Monitoring, Continuous Delivery, and Deployment. STYLE AND APPROACH This is a learning guide for those who have a basic knowledge of application deployment, configuration management tools, and Cloud computing, and are eager to leverage it to implement DevOps for web applications using end-to-end automation and orchestration. « less
Develop stunning web application projects with the Django framework
KEY FEATURES * Build six exciting projects and use them as a blueprint for your own work * Extend Django's built-in models and forms to add common functionalities into your project, without reinventing the wheel * Gain insights into the inner workings of Django to better leverage it BOOK DESCRIPTION Django more » is a high-level web framework that eases the creation of complex, database-driven websites. It emphasizes on the reusability and pluggability of components, rapid development, and the principle of don't repeat yourself. It lets you build high-performing, elegant web applications quickly. There are several Django tutorials available online, which take as many shortcuts as possible, but leave you wondering how you can adapt them to your own needs. This guide takes the opposite approach by demonstrating how to work around common problems and client requests, without skipping the important details. If you have built a few Django projects and are on the lookout for a guide to get you past the basics and to solve modern development tasks, this is your book. Seven unique projects will take you through the development process from scratch, leaving no stone unturned. In the first two projects, you will learn everything from adding ranking and voting capabilities to your App to building a multiuser blog platform with a unique twist. The third project tackles APIs with Django and walks us through building a Nagios-inspired infrastructure monitoring system. And that is just the start! The other projects deal with customizing the Django admin to create a CMS for your clients, translating your web applications to multiple languages, and using the Elasticsearch search server with Django to create a high performing e-commerce web site. The seventh chapter includes a surprise usage of Django, and we dive deep into the internals of Django to create something exciting! When you're done, you'll have consistent patterns and techniques that you can build on for many projects to come. WHAT YOU WILL LEARN * Create a blogging platform and allow users to share posts on different blogs * Prioritise user-submitted content with an intelligent ranking algorithm based on multiple factors * Create REST APIs to allow non-browser based usage of your web apps * Customize the Django admin to quickly create a full-featured and rich content management system * Use Elasticsearch with Django to create blazing fast e-commerce websites * Translate your Django applications into multiple languages * Dive deep into Django forms and how they work internally ABOUT THE AUTHOR Asad Jibran Ahmed is an experienced programmer who has worked mostly with Django-based web applications for the past 5 years. Based in Dubai, UAE, he has worked with some of the biggest web properties in the region, including Dubizzle, the number one classifieds platform in UAE; Nabbesh, one of the top freelancing platforms in the MENA region; and Just Property, a hot and rising name in the property portal space of the region. His experience with such big names has given him a keen insight into how to design performant, stable, and user friendly web applications, all the while using programming practices that make sure that the code base is maintainable for years. TABLE OF CONTENTS 1. Blueblog – a Blogging Platform 2. Discuss – a Hacker News Clone 3. Djagios – a Nagios Clone in Django 4. A Car Rental App 5. Multilingual Movie Database 6. Daintree – an E-commerce Site 7. Form Mason – a Monkey of your own 8. Development Environment Setup Details and Debugging Techniques « less
KEY FEATURES * Simplify the automation of applications and systems using the newest version of Ansible * Get acquainted with fundamentals of Ansible such as playbooks, modules, and various testing strategies * A comprehensive, learning guide that provides you with great skills to automate your organization's more » infrastructure using Ansible 2 BOOK DESCRIPTION Ansible is an open source automation platform that assists organizations with tasks such as configuration management, application deployment, orchestration, and task automation. Basically complex tasks can be handled by the easy-to-use Ansible. This update to Learning Ansible is based on the latest version, Ansible 2. In this book, you will learn about the fundamentals and practical aspects of Ansible 2 by deep diving into topics such as installation (Linux, BSD, and Windows Support), playbooks, modules, various testing strategies, provisioning, deployment, and orchestration. In this book, you will get accustomed with the new features of Ansible 2 such as cleaner architecture, task blocks, playbook parsing, new execution strategy plugins, and modules. You will also learn how to integrate Ansible 2 with cloud platforms such as AWS. The book ends with the enterprise version of Ansible, Ansible Tower and Ansible Galaxy, where you will learn to interact Ansible with different OSs to speedup your work with Ansible Tower and Ansible Galaxy. By the end of the book, you'll able to leverage the Ansible parameters to create expeditious tasks for your organization by implementing the Ansible 2 techniques and paradigms. WHAT YOU WILL LEARN * Set up Ansible 2 and an Ansible 2 project in a future-proof way * Perform basic operations with Ansible 2 such as creating, copying, moving, changing, and deleting files, and creating and deleting users) * Deploy complete cloud environments using Ansible 2 on Amazon Web Services and DigitalOcean * Explore complex operations with Ansible 2 (Ansible vault, e-mails, and Nagios) * Develop and test Ansible playbooks * Write a custom module and test it « less
Learn how to set up Nagios 4 in order to monitor your systems efficiently
One of the most important challenges in system monitoring is to detect and report any malfunctioning system or device as soon as possible, so that you as an administrator are aware of the problem before a user runs into one. Nagios is a powerful monitoring tool that enables organizations to identify more » and resolve IT infrastructure problems before they affect critical business processes. It monitors your entire IT infrastructure to ensure systems, applications, services, and business processes are functioning properly. In the event of a failure, Nagios can alert the technical staff of the problem, allowing them to begin remediation processes before outages affect business processes, end-users, or customers. « less
Over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL
ABOUT THIS BOOK * Create a PostgreSQL cluster that stays online even when disaster strikes * Avoid costly downtime and data loss that can ruin your business * Perform data replication and monitor your data with hands-on industry-driven recipes and detailed step-by-step explanations WHO THIS BOOK more » IS FOR If you are a PostgreSQL DBA working on Linux systems who want a database that never gives up, this book is for you. If you've ever experienced a database outage, restored from a backup, spent hours trying to repair a malfunctioning cluster, or simply want to guarantee system stability, this book is definitely for you. WHAT YOU WILL LEARN * Protect your data with PostgreSQL replication and management tools such as Slony, Bucardo, and Londiste * Choose the correct hardware for redundancy and scale * Prepare for catastrophes and prevent them before they happen * Reduce database resource contention with connection pooling * Automate monitoring and alerts to visualize cluster activity using Nagios and collectd * Construct a robust software stack that can detect and fix outages * Design a scalable schema architecture to handle billions of queries IN DETAIL PostgreSQL, often known as simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. From hardware selection to software stacks and horizontal scalability, this book will help you build a versatile PostgreSQL cluster that will survive crashes, resist data corruption, and grow smoothly with customer demand. We start with selecting the necessary hardware to handle multiple failure scenarios with redundancy. Then, we discuss how to automate and visualize these checks with Nagios, check_mk, and Graphite. We'll finally round off by tackling the complex problem of data scalability. « less
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 more » 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. « less
Develop an integrated monitoring solution for virtually any kind of network
Monitor almost anything in a network Control notifications in your network by configuring Nagios Core. Get a handle on best practices and time-saving configuration methods for a leaner configuration. Use the web interface to control notification behaviour on the fly and for scheduled outages, without more » restarts. Pull Nagios Core's data into a database to write clever custom reports of your own devising. « less
Use Nagios to monitor and report on the states of servers, network devices, and applications
Real-world configurations and supporting materials enable you to deploy Nagios and integrate other tools on a step-by-step basis. Simplifies deployment and installation by providing examples of real-world monitoring situations and explains how to configure, architect, and deploy EM solutions to address more » these situations. Shows how to create your own Nagios plug-ins, to monitor devices for which Nagios doesn’t provide plug-ins « less
System and Network Monitoring
Nagios, which runs on Linux and most *nix variants, can be configured to continuously monitor network services such as SMTP, POP3, HTTP, NNTP, SSH, and FTP. It can also supervise host resources (processor load, disk and memory usage, running processes, log files, and so on) and environmental factors, more » such as temperature and humidity. This book is your guide to getting the most out of this versatile and powerful monitoring tool. « less