Questions tagged [drbd]

Use for DRBD, a distributed replicated storage system for the Linux platform.

DRBD® refers to block devices designed as a building block to form high availability (HA) clusters. This is done by mirroring a whole block device via an assigned network. DRBD can be understood as network based raid-1.

See http://www.drbd.org/

65 questions
0
votes
0 answers

OpenZFS cluster setup with Corosync, DRBD & Pacemaker

  I am trying to set up a ZFS cluster on two nodes running Enterprise Storage OS (ESOS). This is based on Redhat, and running the newest ESOS production release (4.0.12). I have been reading up on this for a bit, and think I finally understand that…
786yt
  • 1
  • 1
0
votes
0 answers

Issue with DRBD not being able to reattach disk

So after patching having issue with disk reattaching to sdb1. used "drbdadm attach r1" and getting this error. I try using drbdadm create-md r1 and then bring it down and back up since the metadata is internal. That doesn't seem to work. This is…
0
votes
1 answer

Is DRBD split-brain handler called only when after-sb-Xpri is set to disconnect?

I wanted to run a script if a split brain is detected. In the documentation, it is mentioned that we can do that by providing the path of the script like resource handlers { split-brain ; ... } But, below that, for…
0
votes
1 answer

drbd & Corosync - My drbd works, it shows me that it is upToDate, but it is not

I have a high availability cluster with two nodes, with a resource for drbd, a virtual IP and the mariaDB files shared on the drbd partition. Everything seems to work OK, but drbd is not syncing the latest files I have created, even though drbd…
0
votes
0 answers

Anyone follow this highly-available-mysql-cluster guide witch success?

I am following this guide [Deploying a highly available MySQL 5.6 cluster with DRBD on Compute Engine]2 Although the guide is written for ubuntu-1604-lts, the GCP doesn't have any the image more (I think), so I changed it to ubuntu-1804-lts to…
0
votes
0 answers

DRBD stuck in Connected/WFBitMapS

So I am trying to setup a DRBD replication between 2 nodes. When I restart my primary node, second one gets primary correclty but once the second one is back online, it stays stuck in the below state. Primary has the following status: 0:r0/0 …
oT2
  • 73
  • 2
  • 6
0
votes
1 answer

while using Windrbd, one computer suddenly shutdown. error 5

I help you.... While using WinDRBD to connect two computers, one computer suddenly shutdown. The shutdown side was secondary ( For convenience, let's call the shutdown Node2 ) I entered "drbdadm up foo" in Node2, but the following error message…
inding
  • 15
  • 3
0
votes
1 answer

DRBD ownership issue

I have two cluster nodes server1 and sever2 running on CENTOS7 and I configured DRBD. I have DRBD running on both servers and data is being replicated. The issue is when I perform a test failover the user and group ownership (mysql:mysql) are not…
0
votes
1 answer

MongoDB HA with DRBD ( Active-Standby)

I am working on MongoDB HA. Don't want to go with the HA approach mentioned in mongo official docs due to resource limitation. I have done the MySQL (Active-Active) HA with DRBD, corosync & pacemaker. I have done mongoDB HA (Active- Standby) with…
Pinki Sharma
  • 121
  • 2
  • 16
0
votes
1 answer

Geo cluster with pacemaker - 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 communication between them is fast enough for our…
Rubinsh
  • 4,883
  • 10
  • 34
  • 41
0
votes
1 answer

Ping constraint not moving DRBD primary

I have a two node cluster (CentOS7-based), intended to be active/passive with DRBD resources and app resources dependant on them and a cluster ip dependant on the apps through ordering constraints. I have no colocation constraints. Instead all my…
Waslap
  • 572
  • 3
  • 23
0
votes
1 answer

DRBD Parse error: got 'incon-degr-cmd' (TK 282) on CentOS

Setup I currently have two NFS servers. And the plan is that they mirror their data to each other in realtime using DRBD and monitor each other using heartbeat. This is my current /etc/drbd.d/t0.res config. resource t0 { protocol C; …
Thenen
  • 1
  • 1
0
votes
1 answer

DRBD StandAlone with new resource

I have two nodes "A" (primary) & "B". Each node have 3 resources. On node "B" i replace disks and after that i add each resource as secondary. Two resources successfully connect and sync, but with one resource i have issue. When on node "B" i stop…
Aleksov
  • 1,200
  • 5
  • 17
  • 27
0
votes
1 answer

Making Windows legacy driver non-stoppable programmatically

I am working on WinDRBD: https://github.com/LINBIT/windrbd This driver is stoppable (so sc stop windrbd works). However at some points (when there are DRBD devices configured) I want to prevent the user from stopping the driver. The driver is…
Johannes Thoma
  • 1,026
  • 10
  • 21
0
votes
2 answers

High availability Cluster Active/passive Setup using Pacemaker and drbd primary auto takes over after a failure

After follow the guide below, i manage to set up a active-passive cluster node. But i notice that when the main fails and come back on, it does not take back the primary role. What setting i should configure in the crm to ensure that when the…