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
1
vote
0answers
15 views

DRBD Operations With Many Files Slow

I need to set up file replication between two geographically different DC. My first idea was with GlusterFS, but it doesn't work well with high latency Blicks, and its geo replication is not ...
0
votes
0answers
44 views

Unable to create selinux policy to allow drbdadm to run

In snmpd.conf I have exec drbd_cstate /sbin/drbdadm cstate all exec drbd_role /sbin/drbdadm role all exec drbd_state /sbin/drbdadm dstate all With selinux set to permissive if I were to run the SNMP ...
3
votes
0answers
49 views

drbd - diskless node won't join cluster unless started first

Good day, I am trying to set up a 3-node DRBD9 cluster 2 nodes actually have a disk the 2 nodes with disk have a direct link via a cross cable and a switch connection with third node third node is ...
2
votes
1answer
27 views

Corosync-Pacemaker no split brain

I'm trying to set up a cluster of two nodes using CentOS 7, Corosync, Pacemaker and pcsd. I can migrate resources manually from one node to another, but if I turn off primary node (by unplugging the ...
0
votes
0answers
18 views

Is it possible to manage mounting of a DRBD device using keepalived?

Back in the day (2006/2007) I used heartbeat to manage a floating IP and mounting a DRBD device on one of two mostly identical computers. Now I want to finally replace those old Linux systems with ...
1
vote
0answers
39 views

Preparing storage for DRBD

I am trying to set up high availability Linode server and using DBRD for data replication. I created primary partition using fdisk. But I get the error WARNING: Re-reading the partition table failed ...
0
votes
1answer
72 views

How to configure properly DRBD and KVM replication?

I have two CentOS KVM servers with some virtual machines: A and B I am running as Primary on A and Secondary on B. When A fails I am able to switch DRBD on B to Primary and access the disk images ...
0
votes
0answers
71 views

drbdmeta 0 v08 /dev/vdc internal create-md' terminated with exit code 20

I am getting below error in drbd create, though my one server only having issue other server with same partationm name configured properly. [root@xxxxxx drbd.d]# drbdadm create-md filerun read from ...
1
vote
0answers
36 views

I had some drbd (i guess block devices?) on my server, after a crash they are all gone

I am not a sys admin but inherited some servers setup with no documentation in linux. Today the server died in a way it was unresponsive and the VMs running on it down...after a good few hours the ...
0
votes
0answers
25 views

Geo cluster - quorum vs Booth

I configured a geo cluster using pacemaker and DRBD. The cluster has 3 different nodes, each node is in a different geographic location. The locations are pretty close to one another and the ...
1
vote
1answer
173 views

cheap, commodity hardware based, highly available distributed filesystem [closed]

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both ...
6
votes
2answers
494 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
32 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
75 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
671 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
1answer
508 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
138 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
77 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 ...
1
vote
1answer
1k 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
339 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
783 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 ...
1
vote
0answers
46 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
173 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
155 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
433 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
174 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
107 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 ...
8
votes
3answers
1k 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
459 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
1k 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
3answers
6k 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
452 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
154 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
41 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
7k 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
142 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
282 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
3k 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
420 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
1k 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
1k 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
47 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 ...
1
vote
2answers
528 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
532 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
2k 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
614 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
2k 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
2k 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
401 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 ...

1
2 3 4 5 6