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.

learn more… | top users | synonyms

1
vote
1answer
342 views

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 ...
1
vote
1answer
310 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 ...
1
vote
0answers
147 views

DRBD heartbeat's resource role trouble in centos 5.4 by mysql files owner change?

I am using 2 machines with centos,mysql,drbd,heartbeat,asterisk. node 1 has hdc :SAMSUNG HD160JJ/P, ATA DISK drive kernel version 1 SMP Tue Aug 21 17:50:26 EDT 2012 kernel release ...
6
votes
2answers
2k 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. ...
1
vote
2answers
842 views

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; ...
1
vote
2answers
340 views

Kernel panic when bringing up DRBD resource

I'm trying to set up two machines synchonizing with DRBD. The storage is setup as follows: PV -> LVM -> DRBD -> CLVM -> GFS2. DRBD is set up in dual primary mode. The first server is set up and ...
1
vote
2answers
355 views

Drbd Primary/Primary + iSCSI: accessing to different files avoids split brain?

I have a question / curiosity about split-brain on a Drbd Primary/Primary configuration. Supposing two nodes (hosts), host1 and host2 configured with Drbd Primary/Primary and two different shares ...
1
vote
1answer
305 views

Pacemaker corosync 2-node with a 3rd for quorum

I'm having trouble figuring out how to configure a 2-node setup with a third simpler one for quorum. It seems to think all the nodes have the capability to act as a full fallback node, when I only I ...
1
vote
1answer
435 views

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 ...
1
vote
1answer
72 views

Rsync through the internet

I'm looking for a way to copy files from production server to DRP server via internet. The two servers are in different states. For now, there isn't a lot of data to transfer but I suspect it might go ...
2
votes
1answer
778 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 ...
6
votes
2answers
3k 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: ...
2
votes
2answers
137 views

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 ...
1
vote
1answer
458 views

NFS failover WITHOUT DRBD?

So I am trying to set up a redundant NFS share in a cloud environment(all links internal, half gig links), and I am looking into using heartbeat for failover, but all the guides seem to be about ...
1
vote
1answer
1k views

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 ...
3
votes
2answers
664 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 ...
0
votes
0answers
330 views

drbd ubuntu drbd 8.3.7 -> 8.3.11, 10.04 ->12.04

I want to upgrade a two node cluster, without downtime of the complete drbd node. One node is already upgraded to ubuntu 12.04 - drbd 8.3.11 - kernel 3.2.0 The other node is running ubuntu 10.04 - ...
2
votes
2answers
829 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 ...
1
vote
1answer
129 views

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 ...
2
votes
2answers
365 views

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, ...
0
votes
1answer
651 views

How do you configure Pacemaker to mount the DRBD data directory on the slave?

how do you get the Slave node of a DRBD pair to mount the data directory so data can be sync'd? I went through the following guide: https://wiki.edubuntu.org/ClusterStack/Natty#Prepare_Partitions to ...
4
votes
1answer
277 views

Sync SSD to spindle drive using RAID or DRBD

I'm setting up a server with and SSD as the primary drive, and would like to duplicate the data onto a cheaper drive as a block-level backup (à la RAID1). Since I don't want to hobble the performance ...
2
votes
1answer
374 views

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 ...
2
votes
1answer
3k 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 ...
3
votes
1answer
675 views

DRBD Not starting on Fresh AWS 64-bit Ubuntu 11.10

I followed these instructions precisely (I've done this from scratch using 11.04 and 11.10 with the same results using AMI's ) (using 11.04) Community AMI: ami-e016ca89 ...
4
votes
2answers
8k 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 ...
1
vote
6answers
1k views

Safe filesystem for Email homedir storage? XFS? JFS? Btrfs? Reiser4?

i'm building an email system and considering some filesystem that support online-resize, safe when power-outage, and does not restrict number of files per directory(or at least can hold some millions ...
1
vote
2answers
150 views

Multi Workstation DRBD Setup

I'm considering setting up a way to automate data redundancy and synchronisation of multiple workstations at the office. The way our office is setup, nobody has a fixed desk and anyone can login and ...
2
votes
1answer
436 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.
1
vote
1answer
670 views

Best RAID setup for DRBD

I would like to setup a two nodes PROXMOX cluster with DRBD storage. The nodes will be connected by gigabit ethernet. What would be the best storage setup in terms of reliability, performance and ...
1
vote
4answers
1k 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 ...
1
vote
1answer
1k views

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 ...
0
votes
0answers
290 views

Failover clustering without losing client connections

I need to deploy an FTP server in a high-availability configuration. So far I've used Windows Failover clustering (using Win 2k8 Enterprise) and DRBD in Linux. Both do enable me to develop a failover ...
1
vote
4answers
539 views

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. ...
0
votes
1answer
571 views

Fault-tolerant KVM hosts

I'm going to create a simple virtual hosts infrastructure using QEMU+KVM. It is expected to be very simple, without clouds or any other cool things. Right now the only requirement is the ...
2
votes
1answer
501 views

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 ...
1
vote
0answers
169 views

Any production experience with DRDB dual primary?

In order to avoid having to setup a NAS system, I am considering the possibility of setting up a dual-primary with DRBD to handle RAID1 over IP. Concerning filesystems, I know of OCFS and GFS as ...
5
votes
1answer
2k 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 ...
5
votes
3answers
965 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 ...
3
votes
2answers
320 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 ...
3
votes
2answers
2k views

mkfs.ext3: Wrong medium type while trying to determine filesystem size

When I try to format the /dev/drbd0 with mkfs.ext3 I get the error message: mkfs.ext3: Wrong medium type while trying to determine filesystem size. I found a solution here: ...
3
votes
1answer
342 views

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 ...
2
votes
3answers
3k views

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 ...
2
votes
1answer
704 views

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 ...
1
vote
1answer
181 views

True memory-synchronous write flushing — drbd protocol B-?

Is there a way in DRBD to make a real fully memory-synchronous cache? I might best explain substituting current explanation with my own one: Protocol B. Memory synchronous (semi-synchronous) ...
0
votes
2answers
335 views

DRDB and NFS: NFS downtime during failover restoration

I'm pretty new to DRBD and NFS, and am in the process of testing a DRDB server with heartbeat to use for our company's NFS share. The entire setup is running fine, with the NFS state directory ...
5
votes
4answers
2k 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 ...
0
votes
1answer
606 views

after split brain recovery filesystem not mounted

I have an active/passive high availability cluster with pacemaker+split brain. After split brain condition I use automatic split-brain recovery to recover my systems. The problem is that since file ...
0
votes
1answer
170 views

drbd installation in Ubuntu 10.04

In the guide on drbd.org, it says that: To get DRBD, you need to enable the universe component for your preferred Ubuntu mirror in /etc/apt/sources.list What does this mean? In my sources.list ...
0
votes
1answer
350 views

drbd module setup ubuntu 10.04 LTS

I am giving the following command. sudo apt-get install drbd8-utils drbd8-module-source \ build-essential module-assistant and when I do, the response I get is Note, selecting ...