17
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 ...
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 / ...
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....
7
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 ...
7
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....
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 ...
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 ...
6
votes
Force one drbd node to StandAlone
Stop DRBD
$drbd -stop
Gracefully shutdown Linux
$shutdown -h now
6
votes
DRBD Cluster nodes not configured (StandAlone)
The problem is you caught "famous" DRBD split brain condition and both DRBD nodes went to “StandAlone” state. It’s difficult to say do your have valid or corrupted DB on your primary node, ...
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 ...
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 ...
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;
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
5
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, ...
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 ...
4
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 ...
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 ...
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-...
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 ...
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/...
4
votes
Accepted
drbd: quorum and dual primary for ocfs2 without fencing?
Dual primary is limited to only two nodes. See this warning in the DRBD user's guide.
In DRBD 9.0.x Dual-Primary mode is limited to exactly 2 Primaries for the use in live migration.
Quorum requires ...
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-...
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 ...
3
votes
Asynchronous file replication over long distances, with buffering
There is a fully asynchronous kernel-level replication, based on trransaction logfiles: https://github.com/schoebel/mars
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
drbd × 286linux × 54
pacemaker × 48
cluster × 42
high-availability × 40
corosync × 23
centos × 21
lvm × 20
debian × 19
mysql × 18
heartbeat × 18
xen × 15
replication × 15
ocfs2 × 15
ubuntu × 14
nfs × 14
kvm-virtualization × 13
failovercluster × 12
failover × 9
centos7 × 8
redhat × 7
virtualization × 6
iscsi × 6
raid × 5
vmware-esxi × 5