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.

274 questions
17
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,782
  • 4
  • 30
  • 62
13
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
  • 523
  • 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
9
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
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
  • 755
  • 2
  • 14
  • 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
  • 345
  • 2
  • 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
  • 573
  • 1
  • 5
  • 14
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
  • 850
  • 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,159
  • 2
  • 14
  • 29
7
votes
1 answer

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
  • 573
  • 1
  • 5
  • 14
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
  • 7
  • 21
7
votes
1 answer

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 and DRBD version 8.4.4. I have two nodes running…
Infi
  • 71
  • 1
  • 3
7
votes
5 answers

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 basically when a client is trying to access a…
Gilad Novik
  • 307
  • 2
  • 3
  • 10
7
votes
1 answer

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 extremely low. The data will probably increase about…
Damon
  • 429
  • 2
  • 11
1
2 3
18 19