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.
286
questions
18
votes
3
answers
29k
views
DRBD terrible sync performance on 10GigE
I've set up a pair of identical servers with RAID arrays (8 cores, 16GB RAM, 12x2 TB RAID6), 3 10GigE interfaces, to host some highly available services.
The systems are currently running Debian 7.9 ...
14
votes
5
answers
41k
views
How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?
I am trying to setup an active/passive (2 nodes) Linux-HA cluster with corosync and pacemaker to hold a PostgreSQL-Database up and running. It works via DRBD and a service-ip. If node1 fails, node2 ...
11
votes
3
answers
26k
views
Can not switch drbd to secondary
I'm running drbd83 with ocfs2 in centos 5 and planning to use packemaker with them.
Afer some time, I'm facing drbd split brain problem.
version: 8.3.13 (api:88/proto:86-96)
GIT-hash: ...
10
votes
1
answer
3k
views
Can ZFS using snaphots replace DRBD using sync protocol A?
This question is related to a former, more generic one, but this time I would like to ask more specifically if ZFS can replace DRBD in a use case like mine. That is two servers, both hosting their own ...
9
votes
2
answers
30k
views
How to get DRBD nodes out of Connection State StandAlone (and WFConnection)?
My Debian 8.9 DRBD 8.4.3 setup somehow has got into a state where the two nodes cannot connect over the network any more. They should replicate a single resource r1, but immediately after drbdadm ...
9
votes
2
answers
5k
views
DRBD Proxy / WAN experiences
I'd like to consider the use of DRBD for data replication between a primary and secondary location. The initial plan is to establish a VPN tunnel between the two; the primary end using a slice of a ...
9
votes
1
answer
22k
views
How to resize DRBD disk on LVM?
this is my drbd config
resource mysql {
protocol C;
floating 10.100.101.1:7788 {
device /dev/drbd0;
disk /dev/VolGroup00/LogVol02;
meta-disk ...
8
votes
3
answers
2k
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 ...
8
votes
3
answers
29k
views
DRBD status :- UpToDate/Diskless
I was configuring two DRBD shares for our servers. I have successfully completed two DRBD share creation, but while checking the status one of the shares status is showing as "UpToDate/Diskless".
...
8
votes
2
answers
40k
views
DRBD Not syncing between my nodes
Some version info:
Operating system is Ubuntu 11.10, on EC2, kernel is 3.0.0-16-virtual and the application info is:
Version: 8.3.11 (api:88)
GIT-hash: 0de839cee13a4160eed6037c4bddd066645e23c5 build ...
8
votes
1
answer
3k
views
IPoIB (IP over InfiniBand) vs. RDMA performance
I have partly inherited a Linux HA cluster at the center of which currently serves a connection with DRBD 8 over IPoIB (IP over InfiniBand) between two Debian hosts. It ain't broken, so I won't fix it....
8
votes
3
answers
14k
views
Extremely slow resync rate of DRBD on dedicated gigabit
I've set up DRBD on 2 nodes, and started using it yesterday. After about an hour, it had resynced 50% of the partition. Another 12 hours passed, and it's up to 79%, and moving VERY slow.
Here's what ...
8
votes
1
answer
2k
views
Dual Primary OCFS2 DRBD encountered split-brain. Is recovery always going to be manual in this case?
I've got two webservers which each have a disk attached. This disk is synced between them using drbd (2:8.3.13-1.1ubuntu1) in 'dual-primary' mode, and over the top of this I run ocfs2 (1.6.4-1ubuntu1) ...
8
votes
2
answers
4k
views
After LVM/DRBD resize df is reporting incorrect information
I have a Debian Xen DomU which has a DRBD mounted partition. I needed to resize this partition from 46G to 50G. I did the following:
Stopped DRBD on the secondary node: /etc/init.d/drbd stop
...
7
votes
5
answers
4k
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-...
7
votes
5
answers
22k
views
DRBD vs. GlusterFS for replication
I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories.
I plan on using multiple "dumb" servers with a shared storage, so ...
7
votes
2
answers
4k
views
Magento hosting on a budget
I have to do a setup for Magento. My constraint is primarily ease of setup and fault tolerance/fail over. Furthermore costs are an issue. I have three identical physical servers to get the job done. ...
7
votes
3
answers
490
views
Why does WinDRBD become Diskless/StandAlone (both node)
I have a question.
Currently, this OS is Windows Server 2019.
The volume configuration is Raid-5.
The two servers are connected by a heartbeat network
Both nodes were mirrored using WinDRBD. Both ...
7
votes
3
answers
951
views
DRBD configuration
I was going through the configuration of DRBD on two nodes. The DRBD has already configured, but I would like to enable the dual primary mode feature.
On drbd site I have seen that it requires the ...
7
votes
3
answers
515
views
DRBD Cluster nodes not configured (StandAlone)
I have a HA cluster with two nodes, node one is the primary and node 2 is its mirror. I have a problem in the mysql resource since my nodes are not synchronized
drbd-overview
Node Principal:
0:home ...
7
votes
2
answers
12k
views
DRBD on raw disk block device
I try to setup DRBD on a raw disk device /dev/sdb without partition table, nor LVM stack PV/VG/LV
As this disk is virtual and hypervisor I use allow on-the-fly disk extension, I do not want to bother ...
7
votes
1
answer
408
views
DRBD for HA Server in Small Office Questions
Backround: We are in need of a HA server in a small office environment and are looking at DRBD to provide it. We only have about 100GB that needs to be on the HA server and server load will be ...
7
votes
2
answers
817
views
Force one drbd node to StandAlone
I need to take a box that is part of 2-node DRBD cluster offline for hardware servicing.
How do I force the primary (the other?) DRBD node to StandAlone so that I can turn the other node down?
Just ...
7
votes
4
answers
30k
views
How to measure IOwait per device?
I have a server, which exports home directories over NFS. They are on software RAID1 (/dev/sdb and /dev/sdc) and the OS is on /dev/sda. I noticed that my %iowait as reported by top and sar are ...
7
votes
1
answer
6k
views
Why do I see a large performance hit with DRBD?
I see a much larger performance hit with DRBD than their user manual says I should get. I'm using DRBD 8.3.7 (Fedora 13 RPMs).
I've setup a DRBD test and measured throughput of disk and network ...
7
votes
2
answers
2k
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 ...
7
votes
1
answer
11k
views
Pacemaker DRBD resource not getting promoted to master on any node
First off, I'm no linux specialist, I've been following tutorials and been working with the help of google, this worked out fine until now, but currently I'm stuck with a problem.
I'm using CentOS 6.5 ...
6
votes
4
answers
5k
views
DRDB and NFS: is there any efficient way to make failover transparent for NFS
We are implementing DRDB + heartbeat with two servers to have a file system with failover.
These servers exposes a NFS service for other servers
Currently DRDB is working just fine, but when testing ...
6
votes
2
answers
4k
views
Setting up DRBD with only one node
I need to migrate an existing storage server running Debian 6, with many TB of data, to a HA setup. I can't simply shut down this server for any prolonged time (HA is required after all).
I plan to ...
6
votes
3
answers
6k
views
For kvm host images. GFS2 or OCFS2 with drbd8?
I want a shared filesystem on top of drbd8 on two nodes.
The servers run ubuntu 9.10.
I googled a lot, but couldn't find an clear trend what the web community prefers.
It's seems that OCFS2 is ...
5
votes
4
answers
25k
views
DRBD on a disk with existing file system that takes all the place
I'm currently trying to simulate the environment via XEN. I have installed two debian systems with such FS layout:
cltest1:/etc# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/...
5
votes
4
answers
3k
views
DRBD or similiar RAID over net on slow/limited networks
I am looking for ways to create some kind of file replication without losing too much performance on file operations. A real RAID is not an option due to non-technical constraints.
As far as I ...
5
votes
3
answers
5k
views
Replicated shared filesystem
I'm looking into setting up a shared filesystem/file server on AWS (EC2) infrastructure that offers replication and fairly painless failover. This filesystem would host potentially millions of files ...
5
votes
2
answers
486
views
Corosync/Pacemaker/DRBD Resilience Tuning
I have a DRBD cluster and one node was switched off for a couple of days. The single node ran fine without a hiccup. When i switch it on I got into a situation where all resources got stopped and one ...
5
votes
1
answer
1k
views
Pacemaker error on failback with drbd
I have two nodes in my cluster with drbd+pacemaker+corosync
When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors ...
5
votes
1
answer
2k
views
DRBD as DR: syncing datastores of 2 ESXI hosts, vmdk consistency?
does anyone have experience with using DRBD (protocol C) to sync parts of the datastores of 2 esxi hosts for disaster recovery of selected guests?
I have 2-3 guests that should be able to recover ...
5
votes
2
answers
2k
views
Heartbeat/DRBD failover didn't work as expected. How do I make the failover more robust?
I had a scenario where a DRBD-heartbeat set up had a failed node but did not failover. What happened was the primary node had locked up, but didn't go down directly (it was inaccessible via ssh or ...
5
votes
1
answer
12k
views
mount.ocfs2: Transport endpoint is not connected while mounting...?
I have replaced a dead node that was running in dual-primary mode with OCFS2. All the steps work:
/proc/drbd
version: 8.3.13 (api:88/proto:86-96)
GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 ...
5
votes
1
answer
3k
views
DRBD + corosync + pacemaker - Servers won't connect after failover
I got 2 servers configured with drbd, corosync with pacemaker. It is all working fine, primary server gets secondary if it fails, and secondary gets primary.
But if the 1st server comes up again ...
5
votes
3
answers
2k
views
What to use for software-based shared file storage?
The situation: setting up a load balancer
Currently we have all of our servers (running CentOS Linux) in pairs in our data center: each server has a mirroring server. We don't employ any load ...
4
votes
5
answers
2k
views
DRBD with MySQL
Question about using DRBD to provide HA for MySQL.
I need to be sure that my backup MySQL instance is always going to be in a functional state when the failover occurs. What happens, for example, ...
4
votes
4
answers
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 ...
4
votes
5
answers
5k
views
DRBD for Windows / Hyper V
DRBD is a protocol for mirroring the storage on one server with the storage on another. Essentially it gives you a highly available (HA) cluster of storage across two or more physical machines, ...
4
votes
1
answer
3k
views
Calculating DRBD Meta Size
I've read through the documentation provided at http://www.drbd.org/users-guide/ch-internals.html#s-meta-data-size to establish the DRBD meta size, but I'm struggling to correlate that to actual disk ...
4
votes
2
answers
425
views
SAN replication
My company has only a single storage box (SuperMicro hardware + chassis with a LSI raid card and 12 SAS 7.2k drive) in its current setup. It runs on linux and we hook it up to our fileserver via ...
4
votes
1
answer
405
views
DRBD config to automatically resolve any split brain
I'm running 2 node cluster with DRBD (active/passive) managed by the drbd systemd service and a small script that mounts volumes whenever a resource becomes primary.
I want to configure the DRBD in ...
4
votes
3
answers
7k
views
drbd service not startable / WFConnection
I recently migrated my drbd setup from Ubutnu to centos 7 and i get a wierd error:
i can load and unload the module normally, and the whole thing seems to work
#>modprobe drbd
#>lsmod | grep ...
4
votes
2
answers
6k
views
DRBD - no resources defined
I have some problems getting a drbd cluster running.
When I want to start creating my storage, i get the following error:
root@raspberrypi-ha1~# drbdadm create-md drbd1
no resources defined
But my ...
4
votes
2
answers
2k
views
Xen DomU on DRBD device: barrier errors
I'm testing setting up a Xen DomU with a DRBD storage for easy failover. Most of the time, immediatly after booting the DomU, I get an IO error:
[ 3.153370] EXT3-fs (xvda2): using internal journal
...
4
votes
1
answer
968
views
Ganeti and automatic failover
I'm building a simple 2-node cluster with Ganeti+DRBD... What is the recommended way to setup automatic failover?
I'm used to Heartbeat, but they say it should be avoided with my setup.