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

8
votes
2answers
4k 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: ...
7
votes
3answers
478 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
2answers
3k 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 ...
7
votes
3answers
1k 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 ...
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. ...
6
votes
3answers
4k 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
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 ...
5
votes
1answer
3k 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
3answers
1k 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 ...
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 ...
4
votes
2answers
10k 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 ...
4
votes
1answer
174 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 ...
4
votes
3answers
2k views

Data loss due to MySQL DRBD Heartbeat failover script

Using DRBD version: 8.2.6 (api:88/proto:86-88) Here is the contents of /etc/ha.d/haresources db1 192.168.100.200/24/eth0 drbddisk::mysql Filesystem::/dev/drbd0::/drbd::ext3::defaults mysql ...
4
votes
1answer
3k 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". ...
4
votes
1answer
26 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 ...
4
votes
2answers
759 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 ...
4
votes
4answers
17k 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 ...
4
votes
1answer
854 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) ...
4
votes
1answer
316 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 ...
3
votes
2answers
336 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
1answer
876 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 ...
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
592 views

GFS2 over DRBD automount

I have 2 nodes Proxmox cluster. For KVM images I use DRBD device with GFS2 on it. Everything works fine except GFS2 automounting after server restart. I put in fstab: /dev/drbd0 /cluster/drbd0 gfs2 ...
3
votes
1answer
411 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 ...
3
votes
3answers
745 views

vmware vmdk disk problem

I have a VMware ESXi 4 server and 2 storage servers (mounted via nfs). Between the storage servers (Fedora 14) is a drbd cluster (dual primary) and ocfs2 filesystem; also every server has a local ...
3
votes
3answers
2k 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 ...
3
votes
0answers
474 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 ...
3
votes
3answers
716 views

Mysql replication using drbd and heartbeat

I am setting up a backup server for an already existing Ubuntu server setup. I'm running DRBD (protocol C) together with heartbeat, which is configured so that in case of an error the MySQL5 Server ...
2
votes
5answers
749 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, ...
2
votes
5answers
3k 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 ...
2
votes
2answers
167 views

DRBD Madness on Virtual Environment (XEN)

Right now I am using DRBD to replicate two directories (/var/www and /var/spool/mail) on two different XEN VPS's and they're 7000 Miles away from each other! on the top of that I am using a ...
2
votes
3answers
1k 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, ...
2
votes
1answer
2k 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 ...
2
votes
1answer
803 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 ...
2
votes
4answers
2k views

DRBD on a file (rather than partition)

We have a number of Xen virtual machines that use disk image files. disk = ["file:/xen/vbd/something.vbd,sda1,w"] We'd like to use DRBD to replicate these files for backup (as opposed to the mess ...
2
votes
1answer
1k views

Redhat cluster Vs Pacemaker Vs Gluster Vs Sheepdog

Changing the entire question as earlier one was very confusing. I have been exploring different clustering system to run Virtual machines on two different machines on LAN with high availability. ...
2
votes
1answer
1k 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 ...
2
votes
2answers
982 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 ...
2
votes
2answers
408 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, ...
2
votes
1answer
492 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.
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
2answers
1k views

drbd block device as storage for kvm virtual machine

I've setup a drbd replication between two machines and used a drbd block device as storage for a kvm machine. Everything is running well. However I'm in doubt if this setup is ok to use. From what ...
2
votes
1answer
1k views

DRBD/LVM/Xen Setup not re-syncing/updating

I have a problem with a HA Cluster running on CentOS 5.4 x86_64. Software used: DRBD 8 (kmod-drbd-xen-8.0.16-5.el5_3.x86_64 / drbd-8.0.16-5.el5.centos) Heartbeat LVM2 Xen 3.1.2 My DRBD ...
2
votes
3answers
9k 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 ...
2
votes
3answers
2k views

DRBD / Heartbeat on Virtual Machines

Does anyone have experience configuring drbd with heartbeat between 2 virtual linux machines (VMWare Infrastructure)? The problem I am running into is that heartbeat likes multiple data paths to see ...
2
votes
1answer
5k 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 ...
2
votes
2answers
370 views

OCFS2 + DRBD8 + MD mirror + PERC 6/iR + SATA 500GB = serious I/O problems?

I have reports that I/O on a certain filesystem, namely /srv/data1, is intermittently horrific. I've seen it myself and it's true. For example, I run 'ls' /srv/data1 and the output takes 30+ seconds ...
2
votes
1answer
957 views

NFS-shared file-system is locking up

Our NFS-shared file-system is locking up. Please feel free to ask any questions you feel relevant. :) At the time, there are a lot of processes in "disk sleep" state, and the load averages on our ...
2
votes
2answers
1k views

Unexpected start of already-primary server processes when heartbeat on secondary is stopped

I've got an active-passive Heartbeat cluster with Apache, MySQL, ActiveMQ and DRBD. Today, I wanted to perform hardware-maintenance on the secondary node (node04), so I stopped the heartbeat service ...
2
votes
4answers
210 views

DRBD Same server specs

Is it possible to DRDB a entire server? We have ~5 or so webservers that have identical specs but for each one I had to log in and install all the software, etc.. With DRDB I was thinking if I ...