Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
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
Gabriel C√°nepa Gabriel C√°nepa
Author Profile Icon Gabriel C√°nepa
Gabriel C√°nepa
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

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

Configuring DRBD

After having successfully created and partitioned our DRBD disks on each node, the main configuration file for DRBD is located in /etc/drbd.conf, which consists only of the following two lines:

include "drbd.d/global_common.conf";
include "drbd.d/*.res";

Both lines include relative paths, starting at /etc/, of the actual configuration files. In the global_common.conf file, you will find the global settings for your DRBD installation, along with the common section (which defines those settings that should be inherited by every resource) of the DRBD configuration. On the other hand, in the .res files, you will find the specific configuration for each DRBD resource.

We will now rename the existing global_common.conf file as global_common.conf.orig (as a backup copy of the original settings) with the following command:

mv /etc/drbd.d/global_common.conf /etc/drbd.d/global_common.conf.orig

We will then create a new global_common.conf file with the following contents...

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 $19.99/month. Cancel anytime
Banner background image