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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox High Availability

You're reading from   Proxmox High Availability Discover how to introduce, design, and implement high availability clusters for your business without hassle

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783980888
Length 258 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
CHENG MAN CHENG MAN
Author Profile Icon CHENG MAN
CHENG MAN
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Basic Concepts of a Proxmox Virtual Environment FREE CHAPTER 2. Getting Started with a High Availability (HA) Environment 3. Key Components for Building a Proxmox VE Cluster 4. Configuring a Proxmox VE Cluster 5. Testing on a Proxmox Cluster 6. System Migration of an Existing System to a Proxmox VE Cluster 7. Disaster Recovery on a Proxmox VE Cluster 8. Troubleshooting on a Proxmox Cluster Index

Storage preparation for an LVM shared storage

According to the Installing and configuring DRBD section in Chapter 4, Configuring a Proxmox VE Cluster, we have built an LVM volume with the /dev/sdc1 partition on both the Proxmox nodes to form our DRBD device. The /dev/sdc1 partition contains an LVM identifier on it as the LVM storage, and the LVM service tries to import it to the system; this might affect our DRBD mount point. It would be better to filter out this device to prevent any possible error by editing the /etc/lvm/lvm.conf file on both cluster nodes. Before we make any change to the file, we should back up the file with the following command:

root@vmsrv01# cp /etc/lvm/lvm.conf /etc/lvm/lvm.conf.bak

Then, we can make the following changes:

Original: filter = ["a/.*/" ]
New: filter = ["a|/dev/drbd1|", "r|/dev/sdc1|", "a/.*/" ]

In this example, we have defined the configuration, which is explained in the following points:

  • a|/dev/drbd1|: This accepts...
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