CentOS High Performance

Create high availability clusters to enhance system performance using CentOS 7

CentOS High Performance

This ebook is included in a Mapt subscription
Gabriel Cánepa

1 customer reviews
Create high availability clusters to enhance system performance using CentOS 7
$0.00
$14.00
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781785288685
Paperback146 pages

Book Description

CentOS is the enterprise level Linux OS, which is 100% binary compatible to Red Hat Enterprise Linux (RHEL). It acts as a free alternative to RedHat's commercial Linux offering, with only a change in the branding. A high performance cluster consists in a group of computers that work together as one set parallel, hence minimizing or eliminating the downtime of critical services and enhancing the performance of the application.

Starting with the basic principles of clustering, you will learn the necessary steps to install a cluster with two CentOS 7 servers. We will then set up and configure the basic required network infrastructure and clustering services. Further, you will learn how to take a proactive approach to the split-brain issue by configuring the failover and fencing of the cluster as a whole and the quorum of each node individually. Further, we will be setting up HAC and HPC clusters as a web server and a database server. You will also master the art of monitoring performance and availability, identifying bottlenecks, and exploring troubleshooting techniques.

At the end of the book, you’ll review performance-tuning techniques for the recently installed cluster, test performance using a payload simulation, and learn the necessary skills to ensure that the systems, and the corresponding resources and services, are being utilized to their best capacity.

Table of Contents

Chapter 1: Cluster Basics and Installation on CentOS 7
Clustering fundamentals
Setting up CentOS 7 nodes
Installing the packages required for clustering
Summary
Chapter 2: Installing Cluster Services and Configuring Network Components
Configuring and starting clustering services
Security fundamentals
Getting acquainted with PCS
Setting up a virtual IP for the cluster
Summary
Chapter 3: A Closer Look at High Availability
Failover – an introduction to high availability and performance
Fencing – isolating the malfunctioning nodes
Installing and configuring a STONITH device
Split-brain – preparing to avoid inconsistencies
Quorum – scoring inside your cluster
Configuring our cluster with PCS GUI
Summary
Chapter 4: Real-world Implementations of Clustering
Setting up storage
ELRepo repository and DRBD availability
Configuring DRBD
Adding DRBD as a PCS cluster resource
Installing the web and database servers
Configuring the web server as a cluster resource
Mounting the DRBD resource and using it with Apache
Testing the DRBD resource along with Apache
Setting up a high-availability database with replicated storage
Troubleshooting
Summary
Chapter 5: Monitoring the Cluster Health
Cluster services and performance
Monitoring the node status
Monitoring the resources
Summary
Chapter 6: Measuring and Increasing Performance
Setting up a sample database
Introducing initial cluster tests
Measuring and improving performance
Moving to an A/A cluster
Summary

What You Will Learn

  • Install a CentOS 7 cluster and network infrastructure
  • Configure firewall, networking, and clustering services and settings
  • Set up and test a HAC (high-availability cluster) to host an Apache web server and a MariaDB database server
  • Monitor performance and availability
  • Identify bottlenecks and troubleshoot issues
  • Improve performance and ensure high availability

Authors

Table of Contents

Chapter 1: Cluster Basics and Installation on CentOS 7
Clustering fundamentals
Setting up CentOS 7 nodes
Installing the packages required for clustering
Summary
Chapter 2: Installing Cluster Services and Configuring Network Components
Configuring and starting clustering services
Security fundamentals
Getting acquainted with PCS
Setting up a virtual IP for the cluster
Summary
Chapter 3: A Closer Look at High Availability
Failover – an introduction to high availability and performance
Fencing – isolating the malfunctioning nodes
Installing and configuring a STONITH device
Split-brain – preparing to avoid inconsistencies
Quorum – scoring inside your cluster
Configuring our cluster with PCS GUI
Summary
Chapter 4: Real-world Implementations of Clustering
Setting up storage
ELRepo repository and DRBD availability
Configuring DRBD
Adding DRBD as a PCS cluster resource
Installing the web and database servers
Configuring the web server as a cluster resource
Mounting the DRBD resource and using it with Apache
Testing the DRBD resource along with Apache
Setting up a high-availability database with replicated storage
Troubleshooting
Summary
Chapter 5: Monitoring the Cluster Health
Cluster services and performance
Monitoring the node status
Monitoring the resources
Summary
Chapter 6: Measuring and Increasing Performance
Setting up a sample database
Introducing initial cluster tests
Measuring and improving performance
Moving to an A/A cluster
Summary

Book Details

ISBN 139781785288685
Paperback146 pages
Read More
From 1 reviews

Read More Reviews