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.
Questions tagged [drbd]
283 questions
2
votes
1 answer
DRBD keeps crashing over saturated link
Under high I/O DRBD will crash and take server down; is there anyway to optimize DRBD to prevent from happening again. listed below is my current config, errors and specs. if you need any more information please let me know. Thanks in advance. …

Buckie Fairweather
- 21
- 2
2
votes
2 answers
Possible to use DRBD on two ESXi virtualized servers?
I have two servers (attached disks have been set up as hardware RAID1 for disk device level failure resilience).
Here is the setup in my mind:
1) Install ESXi on each of the physical server, M1, M2;
2) Start one VM on each of the ESXi virtualized…

chen
- 329
- 1
- 5
- 13
2
votes
1 answer
STONITH with a DRBD/Pacemaker/Corosync 2 node cluster
So I am seeing a lot of conflicting viewpoints out there on using STONITH with a 2-node DRBD/Pacemaker/Corosync cluster for replicating MySQL data. The example I could find on the Pacemaker website seems to turn it off, but a lot of other places…

user439407
- 155
- 1
- 6
2
votes
2 answers
DRBD(-alike) solution to enable failover for spool files
Im about to setup a failover-setup for our Kannel service using hardbeat and DRBD. One machine is the primary one, when that one dies/goes down, it switches to the secondary.
Kannel is using a spool directory for temporary (track/DLR) files. In…

Rene Feiner
- 21
- 1
2
votes
1 answer
Is it possible to create a multipath iSCSI target with two DRBD nodes?
I can put together two linux servers and use the (more or less) new DRBD dual-primary feature to get a shared block device with concurrent read/write access on the two nodes.
Can I then export an iSCSI target from each node and use the two like a…

Luke404
- 5,826
- 4
- 47
- 58
2
votes
1 answer
how to extend the DRBD device online on production server?
Hey folks i am trying to extends the size of DRBD device (/dev/drbd0) online on production server but have to bring down and up the device (/dev/drbd0) twice so the change in size is detected.
I just wanna know that is their any way to extend the…

Rahul Hazra
- 21
- 2
2
votes
2 answers
RAID -> LVM -> DRBD am I doing it right?
So I've setup RAID1 with an LVM on that and then used the LVM as a physical disk for DRBD. I'm planning on mounting the DRBD to /mnt/data and then moving all config and data files for apache2, mysql, and ftp to /mnt/data respectively. Is this setup…

David Neudorfer
- 171
- 3
- 9
2
votes
1 answer
Need an interface for an Elastic IP (DRBD & EC2)
We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a local IP. Thus, DRBD will not work as it needs an…

Kladskull
- 1,255
- 5
- 15
- 32
2
votes
1 answer
Cheap, reliable high availability solution?
We're looking for a way to improve the reliability of one of our servers (Apache/MySQL/Virtualmin setup).
So far, we've had every possible kind of clusterfuck with that server in the past six months (DNS failure, DDOS, Dom0 failure, network outage,…

Creshal
- 259
- 1
- 5
- 16
2
votes
4 answers
A better inexpensive 2 node cluster
There is a Xen cluster that setup that I really like. It consists of 2 nodes (let's call them 1 and 2). Each node has 2 non-raided drives (A and B). A1 replicates to A2 through DRBD and B2 to B1.
When machine 1 goes down, VMs come up on machine 2…

Tomas
- 39
- 2
2
votes
1 answer
Ubuntu Server mdadm drbd ocfs2 kvm hangs under heavy file reading
I have deployed four ubuntu 10.04 server. They are coupled two by two in a cluster scenario. on both sides we have software raid1 disks, drbd8 and OCFS2 and on top of it some kvm machines run with qcow2 disks.
I followed this: Link
corosync is just…

Stefano Annese
- 21
- 2
2
votes
1 answer
Oracle DB on drbd or SAN replication with Oracle Data Guard
I'm looking to deploy an application based on Oracle DB, and I was assuming that it would be possible to easily do active/passive clustering (with RH Cluster or Heartbeat) and synchronous replication a la drbd, but all the hosting providers I'm…

niXar
- 2,043
- 17
- 23
2
votes
3 answers
NFS / DRBD / XFS Performance issues
we have a NFS sitting on top of XFS and drbd which delivers us a horrible performance (about 1MB/s read / write as shown in iostat/iotop)
the xfs volume properties are:
meta-data=/dev/drbd0 isize=256 agcount=4, agsize=52427198 blks
…

tmsmaster
- 21
- 1
- 3
2
votes
1 answer
Best way to mirror data across two-node apache cluster
I'm architecting a new server structure and I plan to have two apache workhorses and a sql database behind both of them. I was wondering what the best way to mirror the data between the apache servers is. User data should be limited on these servers…

bswinnerton
- 121
- 2
- 6
2
votes
1 answer
Snapshot/rollback in Kvm using DRBD
I want to use the HA on a virtual machine on two server using KVM/libvirt.
I placed the image on a partition using DRBD.
I'm using the qcow2 format and i'm taking the snapshot, using virsh snapshot-create vm
I think that it saves it in the qcow2…

nevios
- 120
- 1
- 1
- 7