Hot answers tagged

16 votes
Accepted

How to get DRBD nodes out of Connection State StandAlone (and WFConnection)?

The situation was apparently caused by a case of split-brain. I had not noticed this because I had only inspected recent journal entries for drbd.service (sudo journalctl -u drbd), but the problem ...
rookie09's user avatar
  • 623
11 votes

DRBD terrible sync performance on 10GigE

In newer versions of DRBD (8.3.9 and newer) there is a dynamic resync controller that needs tuning. In older versions of DRBD setting the syncer {rate;} was enough; now it's used more as a lightly ...
Matt Kereczman's user avatar
10 votes
Accepted

DRBD terrible sync performance on 10GigE

Someone elsewhere suggested that I use these settings: disk { on-io-error detach; c-plan-ahead 0; } net { max-epoch-...
wazoox's user avatar
  • 6,918
9 votes
Accepted

Why disable DRBD in Pacemaker cluster

Well the intention of disabling the DRBD service on the OS level is that everything is controlled by pacemaker. If two services (PCMK and your OS, for example) are trying to start / stop / promote / ...
Lenniey's user avatar
  • 5,240
7 votes

Sync Servers with DRBD

As it was mentioned already, DRBD isn't greatest solution especially if you have a requirements for further scale. I believe that the best solution on Linux would be Ceph Cluster - https://en....
batistuta09's user avatar
  • 9,031
6 votes
Accepted

IPoIB (IP over InfiniBand) vs. RDMA performance

have you seen these presentations? https://www.linbit.com/en/drbd-9-over-rdma-with-micron-ssds/ http://downloads.openfabrics.org/Media/Monterey_2015/Tuesday/tuesday_09_ma.pdf InfiniBand is just a ...
Tux_DEV_NULL's user avatar
  • 1,093
6 votes

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

Why not using things which have been checked by thousands of users and proved their reliability? You can just deploy free Hyper-V server with, for example, StarWind VSAN Free and get true HA without ...
batistuta09's user avatar
  • 9,031
5 votes
Accepted

Setting up DRBD with only one node

You can bring DRBD up without a peer and without starting the DRBD service: # modprobe drbd # drbdadm create-md <res> # drbdadm up <res> # drbdadm primary <res> --force -- now you ...
Matt Kereczman's user avatar
5 votes

DRBD on raw disk block device

drbdadm attach data isn't the only command you want to be using after creating the metadata. One of the following procedures should work for getting your device up: drbdadm create-md data drbdadm up ...
Matt Kereczman's user avatar
5 votes

DRBD status :- UpToDate/Diskless

these commands will help you fix the problem. Run the following commands on the Diskless node. drbdadm detach drbdadm connect drbdadm attach restart the drbd service <--- this is important step
Moshe Sharon's user avatar
5 votes

DRBD terrible sync performance on 10GigE

c-plan-ahead have to set a positive value to enable dynamic sync rate controller. disk c-plan-ahead 15; // 5 * RTT / 0.1s unit,in my case is 15 c-fill-target 24; c-max-rate 720M;
Keven's user avatar
  • 59
5 votes

Pacemaker and DRBD on Hyper-V

Is it possible to use Pacemaker in top of Hyper-V for now? Or may be exist another way to use DRBD in dual primary? It's possible but resulting performance is not going to be great TBH. Get some ...
BaronSamedi1958's user avatar
5 votes

Which technology allows shared storage for clusters with preferred local reads and writes?

Since you about deliver shared storage system having local I/O preferably, I would suggest to look at solutions that do kind of asynchronous replication between clustered hosts. I suspect the ...
Mr. Raspberry's user avatar
5 votes
Accepted

Can ZFS using snaphots replace DRBD using sync protocol A?

I asked a somewhat similar (yet different) question lately In short, it all depends on the replication target you want to achieve and if ZoL fits your use case: if point-in-time replication is ...
shodanshok's user avatar
  • 48.2k
5 votes
Accepted

Can't run drbdadm up with DRBD 8.4 on CentOS 7.3

You don't want to create the filesystem on your backing disks for DRBD (sdb and sdc); you want to create the DRBD first, and then format the resulting DRBD device with your filesystem. It can be done ...
Matt Kereczman's user avatar
5 votes

Sync Servers with DRBD

Yes, you can absolutely do that! See: https://docs.linbit.com/doc/users-guide-83/s-three-nodes/ The only problem you need to have cluster-aware file system or do active-passive-passive mode with ...
BaronSamedi1958's user avatar
5 votes
Accepted

DRBDManage with Pacemaker on CentOS 7

DRBDmanage will not work correctly in “pure” 2-node setup, because of lost quorum. drbdmanage will work properly in following cases: 1 node 2 nodes and both are online. Otherwise the quorum will not ...
batistuta09's user avatar
  • 9,031
5 votes
Accepted

Why does WinDRBD become Diskless/StandAlone (both node)

WinDRBD loses heartbeat which leads to the issue you’re seeing. Cut off the wires for the h/b and you’ll easily reproduce the issue. The writing is on the wall: don’t use WinDRBD in production at ...
BaronSamedi1958's user avatar
5 votes

Force one drbd node to StandAlone

Stop DRBD $drbd -stop Gracefully shutdown Linux $shutdown -h now
BaronSamedi1958's user avatar
5 votes

DRBD Cluster nodes not configured (StandAlone)

The problem is you caught DRBD split brain condition and both nodes went to “StandAlone” state. It’s difficult to say do your have valid or corrupted DB on your primary node, but for now you have two ...
BaronSamedi1958's user avatar
4 votes

DRBD - no resources defined

I had the same issue. The fix is quite simple actually. Typically this happens when you update your drbdutils package to version 8.9.6. The configuration file is now in /usr/local/etc/drbd.conf NOT ...
Wesley Gill's user avatar
4 votes
Accepted

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

Neither node has UpToDate data, so DRBD will not be able to go Primary without some convincing. You'll need to force a node into Primary. Which ever node you run the following command on should ...
Matt Kereczman's user avatar
4 votes
Accepted

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

I have a very similar installation with the setup you described: a KVM server with a stanby replica via DRBD active/passive. To have a system as simple as possible (and to avoid any automatic split-...
shodanshok's user avatar
  • 48.2k
4 votes

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

For DBs and DB-aware & dependent applications their proprietary replication is always preferred over the "generic" block-level one due to many reasons, DB consistency is one of those. So use SQL ...
BaronSamedi1958's user avatar
4 votes

Why does WinDRBD become Diskless/StandAlone (both node)

@BaronSamedi1958 actually has a point: WinDRBD isn't a native Windows solution, it was blatantly ported to Windows from Linux with a help of the wrappers emulating Linux kernel APIs. https://linbit....
RiGiD5's user avatar
  • 1,240
4 votes

DRBD on LVM or LVM on DRBD with multiple disks

With 4 servers and all-SSD w/out any RAID your configuration simply begs for Ceph erasure-coded setup! E/C pool creation (assuming you have Ceph cluster already) https://subscription.packtpub.com/...
RiGiD5's user avatar
  • 1,240
4 votes

There is no replication in a HA Cluster

Only one server will work with a data set at a time, while keeping the other server as a backup with realtime data updates. See: https://syslint.com/blog/tutorial/drbd-%E2%80%93-heartbeat-...
fopsik's user avatar
  • 606
4 votes

Corosync/Pacemaker/DRBD Resilience Tuning

It's a misconfigured fencing or quorum pick-up issue. It's a very typical DRBD behavior which works when it works but fails miserably with a split-brain or replicated volumes stuck in a wrong state at ...
Stuka's user avatar
  • 5,445
4 votes

DRBD config to automatically resolve any split brain

Back in the days, I have tried multiple times to setup a similar cluster. That was until I understood that DRBD is broken by design and goes by "split brain" as its second name. In DRBD9, ...
Strepsils's user avatar
  • 5,040
3 votes
Accepted

DRBD - Why read-only on secondary resource would cause cache coherency issue

Yes, what you described it is the exact scenario that can lead to cache coherency issues. To solve that problem, you had to use a filesystem designed to re-validate any cached entries accessed by ...
shodanshok's user avatar
  • 48.2k

Only top scored, non community-wiki answers of a minimum length are eligible