Questions tagged [drbd]

DRBD is a Distributed Replicated Block Device. Developed by LinBit it is now part of the standard-linux-kernel. Regard it as RAID 1 across an IP-network using any type of block device. Normally only the "primary" side can write.

Filter by
Sorted by
Tagged with
4
votes
2answers
37 views

In 2020 - are there any viable Linux block-level replication alternatives for DRBD? [closed]

I'm researching how can we implement near-realtime replication from primary datacenter to a disaster recovery site. Data that would get replicated would be: Images of KVM VMs MySQL and PostgreSQL ...
0
votes
1answer
24 views

DRBD Single Primary Ignore File Types

Is it possible to have an exclusion list for file types (maybe even specific files) so that they wont try to sync with the secondary nodes? I have looked at the DRBD configuration file and cannot find ...
0
votes
0answers
20 views

DRBD node 2 doesn't become primary when node 1 restarts heartbeat but becomes Secondary/Secondary

I have an issue with heartbeat & drbd deployment for MySQL with 2 nodes on ubuntu 18.4. It used to work fine, but now it seems like its working, node1 has floating IP, MySQL runs on node1,drbd ...
1
vote
1answer
83 views

Pacmaker can't start the DRBD Error “not configured”

I´m setting up a 3 node DRBD Cluster with Pacemaker and corosync on CentOS 8. I set up 3 IP resources, 1 apache webserver resource and now I want to set up my drbd resource. The Drbd is working if ...
0
votes
0answers
89 views

DRBD full sync occuring intermittently in single primary mode

I am using DRBD version: 8.3.8.1. During the load test, I see that full sync is occurring twice in a day and could not find the reason behind it. Following are the logs: Ps1 server logs: 9:48:37 ...
0
votes
1answer
164 views

NFS cluster corosync + pacemaker + drbd

I made up a NFS cluster with pacemaker DRBD and corosync with two nodes everything was working fine, on my tests trying different fail over scenario my cluster is completely broken, I can't no more ...
1
vote
0answers
79 views

Building a DRDB secondary - DM seems to keep grabbing the device?

I am trying to rebuild a DRDB secondary on a new Debian Stretch server that I could never successfully make primary. /proc/drbd always reports the secondary as Diskless after a reboot. The drbd ...
1
vote
1answer
49 views

drdb giving error when being restarted in the configuration process

I am setting up HA following this tutorial https://www.howtoforge.com/tutorial/ubuntu-drbd-heartbeat-high-availability/ but when i try to sudo systemctl restart drbd after sudo drbdadm create-md r0 it ...
0
votes
0answers
29 views

ve DRBD with nfs share is not working

I am have to set up a HA system with drbd + nfs corosync and pacemaker. I am following this guide https://documentation.suse.com/sle-ha/12-SP4/pdf/art-ha-quick-nfs_color_en.pdf I have installed nfs ...
1
vote
1answer
258 views

/dev/sdb1 Device or resource busy

I am testing 2 node drbd cluster in virtualbox . I have attached a virtual disk (/dev/sdb/) and mounted it on /mnt/drbd0 directory. While creating a resource by drbdadm create command I am getting ...
3
votes
1answer
180 views

DRBDManage with Pacemaker on CentOS 7

I have 2 CentOS 7.6 nodes which I have configured with drbd, drbdmanage and pacemaker for active/passive failover. during a failure my vip and drbd service failover from primary to secondary the next ...
2
votes
1answer
278 views

DRBD IOWait - high i/o-disk and iowait, but low traffic and r/w-disk

I need your help. I have the DRBD-cluster (9.6.0, kernel 3.10.0-957.21.3, CentOS 7). In this cluster I have two drbd-disks: drbd0 for SSD drbd1 for HDD With drbd0 (SSD, sda) all good - it's in ...
0
votes
0answers
28 views

Keeping KVM's (libvirt) definitions on separate LV (in LVM), Debian 9

I'm setting up 2 box, active/passive high-availability cluster built on heartbeat, DRBD and LVM. What I'm after is reliability and quick automatic failover rather than performance (as performance ...
1
vote
0answers
29 views

Cryptodevice on top of DRBD with CentOS7

I have created a replicated drbd device. On top, I have create an encrypted volume with cryptsetup and finally formatted with ext4. Additionally, I am using a keyfile to be able to automount the ...
0
votes
1answer
68 views

Installed DRDB Utilities but there is no /dev/drbd0 device

Installed DRDB Utilities but there is no /dev/drbd0 device even after running the command drbdadm create-md r0. Is there a command to create /dev/drbd0 device?
0
votes
1answer
75 views

Synchronize Oracle database on VM under KVM using DRBD

We have two physical servers and we want to use KVM to create some VMs. One of the VMs will contain an Oracle 12 database and we want to make it highly available. We thought of using DRBD to ...
2
votes
1answer
277 views

DRBD Over LVM MKFS and accessing device

I admit I am in the experimental stage at this point, but as I read the documentation, this shouldn't be a problem. I am configuring DRBD over LVM. As I understand the drbd00.res file, I should be ...
1
vote
0answers
90 views

Reconnecting secondary node in shared-nothing active-passive DRBD cluster after secondary reboot

I'm using DRBD (config below) and tried to test reliability of the setup. I have rebooted secondary node (host1) and noticed it went into this state: host1: 0:r0/0 WFConnection Secondary/Unknown ...
1
vote
1answer
72 views

Is it possible to maintain a configuration of an arbitrary resource using pacemaker cluster

What I understood is that with resource agents (which are exactly same on all nodes), pacemaker can start/stop resource on any node. But can we also use it to sync a configuraton file in all nodes in ...
7
votes
3answers
957 views

Why disable DRBD in Pacemaker cluster

The DRBD documentation (in section Integrating DRBD with Pacemaker clusters) recommends that DRBD should be disabled in a Pacemaker cluster: If you are employing the DRBD OCF resource agent, it is ...
1
vote
0answers
232 views

Preventing LVM from accessing “low-level” devices of DRBD

Context: Active/passive DRBD setup. KVM VMs on LVM volumes. LVM using /dev/drbd0 for physical volume and volume group. During tests of the setup I have: Shut down Secondary node. Rebooted Primary ...
0
votes
1answer
628 views

Reconnecting secondary DRBD node

I have set up test DRBD installation succesfully, with switching, synchronization etc working correctly. But I also wanted to test the reliatbility of the setup, so I gave it a good "trashing" like ...
2
votes
2answers
4k views

How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary

I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide: https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-...
1
vote
3answers
333 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
0
votes
1answer
105 views

DRBD: Where am I losing 13% of disk space?

I have 2 DRBD based storage clusters. And I am somehow not able to utilize 13% of the underlying disk space. The disk in both configs is sda4 Server1: sda4 size: 859G, drbd0 size:788G, drbd0 space ...
0
votes
1answer
31 views

DRBD Compare Local and Remote before sync

Is there a way for DRBD to first compare the local and remote mirror partitions to verify which one is newer before a sync is done? Basically what happens is that I was running Partition 1 for a week ...
7
votes
5answers
2k views

KVM+DRBD replicated between two active-passive servers with manual switching

I need to build 2-node cluster(-like?) solution in active-passive mode, that is, one server is active while the other is passive (standby) that continuously gets the data replicated from active. KVM-...
0
votes
1answer
4k views

drbd both nodes inconsistent, and outofdate, how to fix?

This is a setup I inherited, and that is really old (running drbd 8.3). I tried drbdadm connect drbd0, drbdadm primary -f drbd0, but everything comes back with Need access to UpToDate data. I presume ...
2
votes
1answer
126 views

High availability mirroring without separate partitions or LVM on Ubuntu 14.04 LTS

I'm on AWS with my clients for a long time now but I'm going to need cut costs now to keep providing my services. On AWS I'm using RSync to keep some folders synchronized and DRDB to provide high ...
0
votes
1answer
185 views

iptables rules for drbd

I'm having a default DROP policy on the INPUT and OUTPUT chain configured for iptables and I am trying to configure proper iptables rules for two servers that mirror data via drbd. The resource ...
0
votes
3answers
2k views

DRBD “Device or resource busy”

So today I've been asked to configure a cluster on Centos7 using pacemaker and drbd. Everything was going fine until I tried to create a the local meta data for my resource ( a simple web server). ...
1
vote
0answers
322 views

DRBD - Protocol A slower than B and C

I have a simple, not quite so simple question: why the heck is protocol A slower than B and C in my setup? I mean, I've been stuck on this for over a week now, tried "all" the configurations, played ...
1
vote
1answer
732 views

pacemaker clear failed actions automactically

I have created an active/passive cluster using Pacemaker / Corosync / drbd and have "simulated" Apache failure pkill httpd and altough pacemaker recovered from the "failure" and started httpd now when ...
0
votes
1answer
707 views

drbd sync active-passive cluster

I have an application that installs itself into the /opt/my_app/ directory. Now I'd like to setup two servers in a cluster (active - passive) and sync the whole directory with DRBD. Now from what I ...
0
votes
1answer
44 views

Identifying processes saturating VPS IO

I have a setup with to nodes with drbd to sync kvm VPSes for fallback. So the vps is only active on one node. The active node has 4 kvm vpses on them. The two nodes have a dedicated 10G interface for ...
0
votes
1answer
427 views

How to configure fencing delay in master/slave cluster with DRBD and Pacemaker?

I have a pacemaker cluster for DRBD primary/secondary setup and Virtual IP. I would like the master node to immediately shoot the slave, while the slave will have to wait for 15 seconds before ...
1
vote
0answers
419 views

Can you use peacemaker with keepalived as communication layer?

I'm new to HA topic and I'm trying to get some bigger picture here. I have 2 hosts that run few services - mostly nginx and NFS for other servers. My primary goal was to make nginx redundant. As I ...
1
vote
2answers
1k views

DRBD 9 - Tripple Nodes (tripple primary or dual primary with one secondary)

We’ve setup a three node cluster with DRBD 9.0.12 where all three nodes are primary and UpToDate. This setup is working fine until we reboot one machine. After the machine comes up again, it won’t ...
2
votes
2answers
467 views

DRBD weird speed dips

couple of weeks ago I made a test setup for DRBD on couple of servers. The speed was fixed 90MB/800Mb as per my config for initial sync. Now I have reinstalled the OS (CentOS 7.4) to do final install ...
2
votes
1answer
1k views

DRBD resources not coming back online - Pacemaker + Corosync

I am using DRBD for replication. For testing purpose I am using 2 VMs. I have noticed that if I disconnect network interface on a node then it moves to standalone, and after I reconnect it does not go ...
4
votes
4answers
1k views

Sync Servers with DRBD

assume if I synchronized two servers and I used DRBD, and after I synced them I installed application on both, if I wanted to add a third server. is that possible? since I think I should create block ...
1
vote
0answers
356 views

How to determine Master priority in HA cluster based on connected interfaces

I want to make a DRBD cluster of 2 servers. Both have 2 interfaces bonded together. I want to be able to determine the master role based on connection metric. i.e how many of the network interfaces ...
0
votes
1answer
1k views

how to force drbd for a self synchronization

I have two drbd nodes, one master and one slave. I want to use existing drbd disk after a fresh system install while the other node isn't present. Is it possible to force drbd for this? Consider ...
2
votes
1answer
985 views

Automatic recovery with discarded data from NetworkFailure-interrupted DRBD sync

Suppose I have two DRBD devices provisioned. When the second node connects, it syncs the data from the first (primary/master) node. During this sync, the primary node loses power. After the Primary ...
0
votes
1answer
228 views

DRBD 9 with existant LVM (RHEL 6.9) no resource defined

i'm trying to configure DRBD 9 on 2 RHEL 6.9 with LVM configured when i try to do drbdadm create-md amss_drbd the result is No resource defined i've a .res file xxx_drbd.res with this configuration ...
1
vote
1answer
440 views

SQL Server 2017 crashed during startup on Ubuntu with Pacemaker failover

I have installed mssql-server and mssql-server-ha on Ubuntu Server 16.04 LTS. I'm using drbd on two nodes, with pacemaker and corosync attempting to control the automatic failover between the two ...
0
votes
1answer
2k views

DRBD Status after Network fail become Primary/Unknown

i have the following structure: 2 nodes. corosync + pacemaker + DRBD + OCFS2. ============== After test Network fail the status from DRBD become: ****Primary/Unknown**** dmesg show the following: ...
2
votes
0answers
404 views

How to provision DRBD to libvirt storage pool?

I want to expose DRBD replicated storage (2 nodes Active/Passive) to libvirt as a storage pool for qcow2 files. However, I have the following error message: virsh pool-create-as qcow2 --type=logical -...
0
votes
1answer
189 views

HA on CentOS6.5 constantly switching

I have 2 server Asterisk on centOS in HA group with peacemaker.The cluster is in active passive mode with configured resource groups.The problem is from some time the server switch from the primary to ...
8
votes
1answer
2k views

IPoIB (IP over InfiniBand) vs. RDMA performance

I have partly inherited a Linux HA cluster at the center of which currently serves a connection with DRBD 8 over IPoIB (IP over InfiniBand) between two Debian hosts. It ain't broken, so I won't fix it....

1
2 3 4 5