Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
CentOS High Availability
CentOS High Availability

CentOS High Availability: Leverage the power of high availability clusters on CentOS Linux, the enterprise-class, open source operating system

eBook
AU$14.99 AU$36.99
Paperback
AU$45.99
Subscription
Free Trial
Renews at AU$24.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

CentOS High Availability

Chapter 2. Meet the Cluster Stack on CentOS

The previous chapter, familiarized you with high availability and computer clusters were introduced. You learned that the key components of clusters are computers as cluster members and they run computer cluster software. In this chapter, you will learn how computer clusters work. You will get to know the software that builds a computer cluster, allowing it to function as expected, and the tasks each cluster software component has.

Computers forming a computer cluster must be running a piece of cluster software, which is a bundle of many components. Each of these components has a different task and all of these components work together to satisfy all the cluster requirements and provide the features a computer cluster must implement.

Cluster stack is a phrase used to describe the cluster software used to form a computer cluster. A cluster stack is a software stack and it includes all of the necessary software for normal operation of a...

Cluster stack software

A computer cluster is a group of computers working together as one unit. A computer cluster can, in many ways, be viewed as a single system, even though it is built from many computers. All cluster members are closely connected, each one of them being prepared to take any actions needed at any time. This sounds simple but, actually, it requires complex software products and solutions for a computer cluster to operate in this way. A cluster software stack makes sure that all the magic happens. It introduces a bundle of combined software products to form a complete high-availability computer cluster solution. It is a software stack and its goal is to provide a highly available cluster service.

Generally speaking, the cluster software stack must provide two significant features:

  • Cluster communication: This is located at the bottom layer of the cluster stack due to its close relation to the transport layer. Communication between cluster members is only possible via the...

The cluster communication layer

The cluster communication layer is the bottom layer of the cluster software stack and provides continuous communication between all the computer cluster nodes. Continuous communication between the cluster members is required for normal cluster operation. It is a priority for cluster members to get all of the information required about the current computer cluster configuration and status at any time. The cluster members must always know the exact number of the cluster nodes currently forming the computer cluster, and must also be notified immediately if a cluster member joins or leaves the computer cluster. Successful cluster communication can be achieved only when all the cluster members are connected to each other and able to communicate. This is why you must carefully decide the sort of cluster connection the members will use to communicate to each other. The types of supported cluster connection are defined by the cluster communication software. The most...

The cluster resource management layer

The cluster resource management layer is the top layer of the cluster stack. It makes sure that the services your cluster provides are up-and-running at all times.

The features of the cluster resource management layer are as follows:

  • Starting cluster resources
  • Stopping cluster resources
  • Monitoring cluster resources
  • Migrating cluster resources
  • Grouping cluster resources
  • Location constraints

The main objective of the cluster resource management layer is to relocate cluster resources and services to operational cluster members when there is a failure in the cluster. In order for the cluster resource management layer to manage cluster services, it must be able to access the applications providing the cluster service. The services and applications the cluster resource manager provides are called cluster resources. These resources can be anything such as an IP address, web server, database server, or any other application available on the operating system. The cluster...

A theoretical cluster service example

In order to make it easy for you to understand the cluster service, you will be presented with a theoretical example of a two-node active/passive computer cluster providing a website cluster service. The active/passive cluster configuration only provides operational cluster services on the master cluster member at a given time, while the secondary cluster member waits on standby to take over if there is a master node failure. If the currently active cluster member fails, the cluster resources will be relocated and recovered on the operational secondary cluster member.

The following resources are required to run a simple website:

  • IP address—web server
  • Database server
  • Shared storage solution

All the listed resources must be installed and configured on the cluster node operating system and also added to the cluster resource manager configuration. In this way, the cluster resource manager is able to manage the resources and provide failover capabilities...

Cluster stack on CentOS Linux

There are endless possibilities and platforms a computer cluster can be installed and configured on and, therefore, also different software building the cluster stack. Since the objectives of this book are to familiarize you with the high-availability cluster running on CentOS Linux, I will present you with the cluster stack software to be used to install and configure a highly available computer cluster on CentOS Linux.

CentOS is a Community Enterprise Operating System. It is a Linux distribution that provides a free enterprise platform. The functionalities of CentOS are compatible with its commercial upstream source: Red Hat Enterprise Linux (RHEL). The current major CentOS version is 7 and was released on July 7, 2014. It offers many changes compared to its predecessor, CentOS version 6. Probably due to this and the fact that CentOS 6 maintenance updates will be supported until November 30, 2020, the majority of CentOS Linux servers still run CentOS version...

Preparing for cluster stack software installation

The first step towards building your highly available computer cluster is the operating system installation. We will not cover the details of installing CentOS Linux on the server machines. I can only mention that it is always good practice to install the minimum number of packages required. This is the beauty of using the Linux operating system in general, and also CentOS Linux specifically. CentOS has an option for minimal installation, which actually installs only the basic required packages for normal functioning of the operating system. This is an advantage because the more packages are used, the higher the possibility that one of the packages will go berserk and cause trouble at the operating system level. It is also an advantage for patching the systems, since there are fewer packages to patch.

All the dependencies and required packages will be installed while installing the cluster stack software of your choice. Note that you can...

Summary

In this chapter, you became familiar with cluster stacks and cluster stack layers. Each cluster stack layer was explained in detail by elaborating on the tasks it must provide and how to provide them. You also learned about the cluster software stack solutions that will be presented in practical examples in the following chapters of this book, and the necessary preparations and recommendations before installing the cluster software stack. In the next chapter, you will prepare the operating system to run the cluster stack software. You will follow step-by-step instructions on how to install and configure operating system requirements and cluster communication software.

Left arrow icon Right arrow icon

Description

This book is targeted at system engineers and system administrators who want to upgrade their knowledge and skills in high availability and want to learn practically how to achieve high availability with CentOS Linux. You are expected to have good CentOS Linux knowledge and basic networking experience.

Who is this book for?

This book is targeted at system engineers and system administrators who want to upgrade their knowledge and skills in high availability and want to learn practically how to achieve high availability with CentOS Linux. You are expected to have good CentOS Linux knowledge and basic networking experience.

What you will learn

  • Prepare the CentOS 6 and CentOS 7 operating systems for cluster software installation
  • Install, configure, and test cluster stacks on CentOS 6 (Corosync, CMAN, and RGManager) and CentOS 7 (Corosync and Pacemaker)
  • Configure failover domains, cluster resources, cluster services, and cluster resource groups
  • Start, stop, add, and remove cluster nodes from a cluster on CentOS 6 and CentOS 7
  • Place a cluster on standby mode to perform maintenance work on the cluster node
  • Configure fencing on CentOS 6 and STONITH on CentOS 7
  • Successfully test cluster failovers

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 28, 2015
Length: 174 pages
Edition : 1st
Language : English
ISBN-13 : 9781785285325
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 28, 2015
Length: 174 pages
Edition : 1st
Language : English
ISBN-13 : 9781785285325
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
AU$24.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
AU$249.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts
AU$349.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total AU$ 175.97
Mastering CentOS 7 Linux Server
AU$75.99
CentOS High Performance
AU$53.99
CentOS High Availability
AU$45.99
Total AU$ 175.97 Stars icon
Banner background image

Table of Contents

15 Chapters
1. Getting Started with High Availability Chevron down icon Chevron up icon
2. Meet the Cluster Stack on CentOS Chevron down icon Chevron up icon
3. Cluster Stack Software on CentOS 6 Chevron down icon Chevron up icon
4. Resource Manager on CentOS 6 Chevron down icon Chevron up icon
5. Playing with Cluster Nodes on CentOS 6 Chevron down icon Chevron up icon
6. Fencing on CentOS 6 Chevron down icon Chevron up icon
7. Testing Failover on CentOS 6 Chevron down icon Chevron up icon
8. Two-node Cluster Considerations on CentOS 6 Chevron down icon Chevron up icon
9. Cluster Stack Software on CentOS 7 Chevron down icon Chevron up icon
10. Resource Manager on CentOS 7 Chevron down icon Chevron up icon
11. Playing with Cluster Nodes on CentOS 7 Chevron down icon Chevron up icon
12. STONITH on CentOS 7 Chevron down icon Chevron up icon
13. Testing Failover on CentOS 7 Chevron down icon Chevron up icon
14. Two-node Cluster Considerations on CentOS 7 Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(12 Ratings)
5 star 58.3%
4 star 33.3%
3 star 8.3%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




C.P. Feb 26, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book for what I needed.
Amazon Verified review Amazon
Carmelinee Jun 02, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been using CentOS linux for a while now so I have quite goodknowledge of linux system administration, but I have never installedand configured a CentOS linux cluster. I bought this book to guide methrough the process of installing and configuring a linux cluster onlatest CentOS version 7 with Pacekamer cluster resource manager. Imust say the book did a really good job at it, providing me with astep-by-step guide, detailed description of every step and alsoadditional insights on the parameters used and why to use them. Withthis book I successfully configured a 4 node CentOS 7 cluster withMySQL, Apache, Tomcat and DRBD cluster services. I recommend this bookto everyone who want to set up CentOS linux cluster on CentOS 6 orCentOS 7.
Amazon Verified review Amazon
Clebson Barbosa May 15, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
After a while not using the open source Cluster Stack solution, I found myself in trouble to get a cluster running on Centos 7, since the last version of the solution I used was Heartbeat 2.This book got me updated on the new components of the stack as well as well as with the new set of managing tools included on the stack.The author is clear and objective explaining the concepts of a Cluster solution and it's components. When comes to configuring the solution he presents step by step all the options available within stack that could meet the wanted requirements.I truly recommend this book to all of those who need a guidance in order to start implementing the Linux Cluster Stack.
Amazon Verified review Amazon
Chaminda Divitotawela May 22, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been working on RedHat cluster stack cman, corosync & pacemaker implementation for couple of years, yet I thought of buying this book hoping I can acquire more on this technology. That proved to be correct. I love this book, one its structure, second areas it covers. It start with introducing the high availability in general and move on to discuss the CentOS cluster stack. Further the book talks about the underlying protocols such as TOTEM which I have not come across much resources on this area. Book covers both rgmanager (CentOS 6) and pcs(CentOS 7). Overall I feel book covers required theory and practical implementation of the CentOS high availability and recommend the book as a good resource for anyone interested in high-availability setup.
Amazon Verified review Amazon
Rudy May 14, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a well laid out approach to CentOS and Red Hat Enterprise Linux (RHEL).Outside of official RHEL training books and expensive classes which are extremely technical in nature, this book helps you ease into the basics of systems administration and quickly takes you from noob to engineer focusing on making your CentOS environment HA!From GRUB to Filesystems to Processes this book covers the foundations of CentOS giving you the reader a better grasp and understanding of one of the worlds most powerful and widely used linux operating systems
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.