Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying CentOS High Performance
  • Table Of Contents Toc
  • Feedback & Rating feedback
CentOS High Performance

CentOS High Performance

By : Cánepa
4.8 (4)
close
close
CentOS High Performance

CentOS High Performance

4.8 (4)
By: Cánepa

Overview of this book

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 (8 chapters)
close
close
7
Index

Installing the web and database servers


As of the time of writing this book, the Apache HTTP server (or just Apache for short) remains the world's most widely used web server and is often used within what is called a LAMP stack. In this stack, a Linux distribution is used as the operating system, Apache as the web server, MySQL/MariaDB as the database server, and PHP as the server-side programming language for applications. Each one of these components is free, and these technologies are widely spread and thus easy to learn/get help on.

To install the Apache and MariaDB (a free and open source fork of MySQL) servers, run the following commands on each node. Note that this will install PHP as well:

yum update && yum install httpd mariadb mariadb-server php

Upon successful installation, we will proceed as we did earlier. To begin, let's enable and start the web server on both nodes:

systemctl enable httpd
systemctl start httpd

Don't forget to make sure that Apache is running:

systemctl...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY