CentOS High Availability
eBook - ePub

CentOS High Availability

  1. 174 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

CentOS High Availability

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

CentOS High Availability


Table of Contents

CentOS High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with High Availability
What is high availability?
System design
Computer clusters
High-availability solutions
Summary
2. Meet the Cluster Stack on CentOS
Cluster stack software
The cluster communication layer
The cluster messaging and membership service
Quorum
The cluster resource management layer
A theoretical cluster service example
Cluster stack on CentOS Linux
Preparing for cluster stack software installation
Summary
3. Cluster Stack Software on CentOS 6
Cluster infrastructure
Cluster operating system preparation
Installing and configuring Corosync
Installing and configuring CMAN
Installing and configuring RGManager
Summary
4. Resource Manager on CentOS 6
Working with RGManager
Configuring failover domains
Adding cluster resources and services
Resources
Services
Managing cluster services
Removing cluster resources and services
Summary
5. Playing with Cluster Nodes on CentOS 6
Adding a new cluster node
Removing a cluster node
Summary
6. Fencing on CentOS 6
Fencing
Fencing configuration
APC switch fencing
IPMI management board fencing
HP iLO management board fencing
Fencing test
Fence master node
Fence check
Fence node
Summary
7. Testing Failover on CentOS 6
Hardware failure
Network failure
Summary
8. Two-node Cluster Considerations on CentOS 6
Quorum in a two-node cluster
Two-node cluster configuration
Quorum disk
Summary
9. Cluster Stack Software on CentOS 7
Cluster infrastructure
Cluster operating system preparation
Network configuration
NTP configuration
DNS configuration
Installing and configuring Corosync
Installing and configuring Pacemaker
Summary
10. Resource Manager on CentOS 7
Working with pcs
Adding cluster resources, constraints, and resource groups
Configuring resources
Configuring resource constraints
Configuring resource groups
Managing resources
Moving resources around
Stopping resources
Starting resources
Banning resources
Clearing resource constraints
Removing cluster constraints, resource groups, and resources
Removing resource constraints
Removing resource groups
Removing resources
Summary
11. Playing with Cluster Nodes on CentOS 7
Adding a new cluster node
Cluster node standby mode
Removing a cluster node
Summary
12. STONITH on CentOS 7
Fencing
Configuring fence devices
APC switch fencing
IPMI management board fencing
HP iLO management board fencing
Fence test
Summary
13. Testing Failover on CentOS 7
Hardware failure
Network failure
Summary
14. Two-node Cluster Considerations on CentOS 7
Quorum in a two-node cluster
Two-node cluster configuration
Summary
Index

CentOS High Availability

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2015
Production reference: 1220415
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-248-5
www.packtpub.com

Credits

Author
Mitja Resman
Reviewers
Denis Fateyev
Christophe Grenier
Commissioning Editor
Veena Pagare
Acquisition Editor
Reshma Raman
Content Development Editor
Neeshma Ramakrishnan
Technical Editor
Abhishek R. Kotian
Copy Editor
Vikrant Phadke
Project Coordinator
Danuta Jones
Proofreaders
Stephen Copestake
Safis Editing
Paul Hindle
Indexer
Rekha Nair
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa

About the Author

Mitja Resman hails from a small, beautiful country called Slovenia in south-central Europe. He is a fan of Linux and also an open source enthusiast. He is a Red Hat Certified Engineer and Linux Professional Institute professional. Working as a system administrator, Mitja gained years of professional experience with open source software and Linux system administration on local and international projects. The Swiss Army Knife syndrome makes him an expert in the field of VMware virtualization, Microsoft system administration, and more recently, Android system administration.
Mitja has a strong desire to lea...

Table of contents

  1. CentOS High Availability

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access CentOS High Availability by Mitja Resman in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over one million books available in our catalogue for you to explore.