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
18
votes
3 answers

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 Wheezy oldstable (because corosync/pacemaker are…
wazoox
  • 6,918
  • 4
  • 31
  • 63
14
votes
5 answers

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 should take over. The same if PG runs on node2 and…
MMore
  • 543
  • 2
  • 6
  • 12
11
votes
3 answers

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: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by…
favadi
  • 537
  • 2
  • 7
  • 15
10
votes
1 answer

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 VMs or other services while replicating the VMs…
9
votes
2 answers

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 down r1; drbadm up r1 on both nodes their /proc/drbd…
rookie09
  • 623
  • 1
  • 6
  • 17
9
votes
1 answer

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 internal; } floating 10.100.101.2:7788 { …
DmitrySemenov
  • 835
  • 2
  • 15
  • 27
9
votes
2 answers

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 dual T1 link and the secondary location setting on…
Jeff Hengesbach
  • 1,762
  • 10
  • 10
8
votes
3 answers

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 recommended that you defer DRBD startup,…
rookie099
  • 375
  • 3
  • 14
8
votes
1 answer

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. I have also noticed that DRBD 9 supports RDMA,…
rookie09
  • 623
  • 1
  • 6
  • 17
8
votes
1 answer

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) as a cluster filesystem. The nodes communicate…
growse
  • 8,020
  • 13
  • 74
  • 115
8
votes
3 answers

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 cat /proc/drbd shows: 1: cs:SyncTarget…
Sergey
  • 948
  • 5
  • 10
  • 22
8
votes
3 answers

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". drbd-overview command…
itzforu
  • 91
  • 1
  • 1
  • 6
8
votes
2 answers

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 Increased the underlying LVM dist to 50 GB: lvresize -L…
thepearson
  • 870
  • 10
  • 18
7
votes
5 answers

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-based virtual machines would be running on active…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
7
votes
2 answers

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 with LVM operations or re-partitioning when comes…
Yves Martin
  • 879
  • 3
  • 8
  • 21
1
2 3
18 19