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.

283 questions
2
votes
0 answers

Getting DRBD to boot up in a synchronized state from cold boot

I am working in an environment with an embedded High-Availability NVMeoF cluster, and need this cluster to be available within minutes of a cold power-on of all nodes, and trying to set up a RAID-10 on this cluster. The legacy infrastructure that I…
Garrett
  • 21
  • 1
2
votes
1 answer

What is the process name of WinDRBD?

Now I am using WinDRBD on Windows Server 2019 So far, I have checked whether DRBD is running with the command below. drbdadm status foo However, I need to write some code in the batch file to check if DRBD is working. I looked at the process in the…
inding
  • 77
  • 2
2
votes
0 answers

I'm looking for a way to configure distance clustering of postfix and dovecot

I currently have a postfix server and dovecot server sharing files from an NFS server in the UK and the same config in Switzerland. I tried to mailsync but that appeared to lose emails, so then I tried doveadm replication but keeps coredumping and…
banjo67xxx
  • 620
  • 5
  • 7
2
votes
0 answers

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 diskless and acts as a tie breaker on all three…
Qippur
  • 135
  • 1
  • 10
1
vote
0 answers

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 devices actually contains a lvm vg called "dr" which…
ferg
  • 31
  • 5
1
vote
1 answer

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 fails to restart and gives me error IP…
Perovic
  • 21
  • 2
1
vote
0 answers

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 crypted device. (Please do insist this being unsecure.…
Christian
  • 11
  • 2
1
vote
1 answer

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 the cluster. For Example, I want my drbd.conf…
GP92
  • 681
  • 2
  • 9
  • 27
1
vote
0 answers

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 node. However, a VM that was autostarted after…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
1
vote
1 answer

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 disconnecting network interfaces midflight, etc. In…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
1
vote
3 answers

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 both nodes to monitor the server with icinga2 as…
digijay
  • 1,155
  • 3
  • 11
  • 22
1
vote
2 answers

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 executing pcs status I get: Failed Actions: *…
postFix
  • 41
  • 7
1
vote
2 answers

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 shooting the master. My current config is something…
bakasan
  • 103
  • 1
  • 11
1
vote
0 answers

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 knew VRRP from networking equipment I decided to use…
Lapsio
  • 363
  • 1
  • 5
  • 15
1
vote
2 answers

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 reconnect. It’s state remain in „Outdated“ while it…
Sascha
  • 11
  • 1
  • 2