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
All 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
Arrow up icon
GO TO TOP
CentOS High Performance

You're reading from   CentOS High Performance Create high availability clusters to enhance system performance using CentOS 7

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785288685
Length 146 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Cánepa Cánepa
Author Profile Icon Cánepa
Cánepa
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

CentOS High Performance
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Cluster Basics and Installation on CentOS 7 FREE CHAPTER 2. Installing Cluster Services and Configuring Network Components 3. A Closer Look at High Availability 4. Real-world Implementations of Clustering 5. Monitoring the Cluster Health 6. Measuring and Increasing Performance Index

Troubleshooting


As explained previously, the output of pcs status under Failed actions will show you whether there are problems with the cluster resources and provide information as to what you should do in order to fix them.

Here is an example:

  • exit-reason='Config /var/lib/mariadb_drbd1/my.cnf doesn't exist': Make sure the configuration file for MariaDB exists and is identical on both nodes.

  • exit-reason='Couldn't find device [/dev/drbd1]. Expected /dev/??? to exist': The DRBD device was not created correctly. Review the instructions and try to create it.

As you can see, the exit reason will give you valuable information to troubleshoot and fix the issues you may have. If, after verifying the conditions outlined in the error messages, you are still experiencing issues with a particular resource, it is useful to clean up the operation history of a resource and redetect its current state:

pcs resource cleanup [resource name]

From Kamran, a real world problem scenario, which happens when the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images