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

0
votes
1answer
683 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
171 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
377 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 ...
1
vote
1answer
133 views

Predict the number of primaries after a split-brain situation

I am trying to avoid a split brain situation using automatic split brain recovery policies explained at http://www.drbd.org/users-guide/s-configure-split-brain-behavior.html How to predict which ...
1
vote
1answer
885 views

Installing DRBD in ubuntu 10.04 LTS

I have installed drbd8-utils, and edited the drbd.conf file in /etc. But when I try to start drbd I get the following error message. root@drbd1:~# service drbd start /etc/drbd.conf:4: Failed to ...
1
vote
1answer
680 views

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

Setting up DRBD on rackspace servers

Is it possible to do? I have been trying for the last couple of days to no avail. Every place I look says that the two machines have to have a partition of the exact same size, and you cannot ...
0
votes
1answer
204 views

DRBD with primary-to-primary as a RAID1 over TCP/IP with both notes read/write?

In my setup I have two machines. Both of them have almost the same setup, except for the amount of RAM. On both sides I want to designate /dev/sdb1 as the underlying device for a common /dev/drbd0. ...
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 ...
1
vote
1answer
763 views

Replacement command for hb_takeover

I recently installed the latest DRBD on Ubuntu 10.04 and would like to issue a one-step command to test failover to demonstrate to the powers that be the simplicity of failing over. In previous ...
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 ...
0
votes
1answer
465 views

DRBD Replication failure

A couple of weeks ago I setup a 2 nodes CRM system with one of the resources managed being MySQL over DRBD. Today for maintenance reasons I restarted both nodes but now they can't connect to each ...
3
votes
3answers
744 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 ...
1
vote
2answers
825 views

DRBD stacked resources: recovering from failure

We're running a stacked four-node DRBD setup like this: A --> B | | v v C D This means three DRBD resources running across these four servers. Servers A and B are Xen hosts ...
1
vote
3answers
925 views

When to use MySQL replication or DRBD for HA on Xen VM?

I'm setting up a database which needs to be needs to provide High Availabilty. My primary concern is high performance and robustness (I don't want something that will fail fast and badly). The ...
0
votes
2answers
712 views

mysql with DRBD on rackspace

I am trying to set up a failover secondary MySQL server that is a mirror of my primary MySQL server using DRBD. The problem is that I am on a rackspace cloud server and I need a second partition on ...
1
vote
4answers
763 views

What are the options for synchronizing files between Linux servers in real time without an intermediary or remote share?

Quickfix (an open source FIX Engine) persists state information and sent/received messages in the filesystem of the server (Linux in this case). For disaster recovery, I should like these files to be ...
1
vote
2answers
671 views

Advice for IMAP failover to secondary server

I've recently been given the task of configuring an IMAP based e-mail server solution that incorporates failover to a backup server. I have experience in this area, but it's all been single server ...
0
votes
3answers
80 views

change a file at a time located in different location

Iam very new to linux. suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in ...
0
votes
1answer
401 views

How long does it take to create an OCFS2 filesystem on a 1TB disk?

I'm creating an OCFS2 fs for use with DRBD and it's taking an awful long time to create the filesystem. I haven't done it before so I'm wondering if someone with more experience can relate how long ...
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 ...
0
votes
1answer
195 views

Is it possible use replicated storage in a network RAID 1 fashion?

I was wondering if there was any way to replicate the functionality of the HP StorageWorks P4000 Virtual SAN Appliance using open source tools? Basically the HP VSA lets you replicate in the same ...
0
votes
2answers
531 views

How should I backup this large volume?

I have a 10TB XFS filesystem on a SLES 10.2 server. I am currently running rsync on it once per day, to sync it with a disk-based online backup on another server. The primary volume is quite busy as ...
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 ...
0
votes
1answer
1k views

DRBD setup problem

I'm so new to DRBD, please help me fixing the problem below. Enclosed my drbd.conf. Many thanks [root@skonkwerks1 ~]# drbdadm create-md all open(/dev/hdb3) failed: No such file or directory Command ...
2
votes
1answer
953 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
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 ...
1
vote
1answer
228 views

DRBD resource status

I'm currently using DRBD to replicate a samba file server accross two machines. Sometimes writes fail on the master, when this happens the resource status (using cat /proc/drbd) is: 0: cs:Connected ...
0
votes
1answer
484 views

How to mount a drbd/gfs logical volume from Xen VM?

Any hint on how to do this for primary/primary? I have drbd and gfs running ok, I can see the logical volume from the DomU but dont know how to mount it. Should I install gfs on DomU and mount??? ...
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 ...
0
votes
2answers
317 views

Pygrub with DRBD on Xen 3.2

we have a two-node cluster using DRBD 8.2 on CentOS 5.2 64bit. The cluster runs a few VMs on top of Xen 3.2.1, here's the configuration for an Ubuntu Jaunty VM: name = 'dev' bootloader = ...
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 ...
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 ...
0
votes
2answers
1k views

DRBD in a VMware guest

I've seen a lot of posts on the internet which talk about various combinations of DRBD and VMware, but I haven't managed to find a straight answer on this one: Can I use DRBD in a VMware guest? I'm ...
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
2answers
1k views

VMware ESX, iSCSI Targets - Redundancy

Greetings Team, I’d like to share a brainstorm with the experts about how to produce a 100% uptime and redundant VMware infrastructure. What I am currently working with is 2 VMware controller ...
0
votes
2answers
2k views

MySQL differential dump? Other strategy for restore?

Is it possible to generate a differential dump with mysqldump - between two databases, or, ideally, between a database and a dumped version of that database? Here's the issue I've got - I have an ...
1
vote
1answer
1k views

DRBD experimentation and virtualization

This was one of those thoughts that were tickling the back of my mind. I'm working on a home testbed of a high-availability cluster consisting of just computers, not a SAN or NAS for storage, just ...
0
votes
3answers
3k views

Why won't DRBD restart?

We run 10 servers, mostly cheap requisitioned desktop machines, all running CentOS 5.1 and Xen. All these 10 servers do is run Xen virtual machines. Someone switched off the power supply to the server ...
1
vote
2answers
1k views

DRBD as a block device for XEN VM (Centos 5.3)

I have setup a drbd resource between 2 server nodes - everything works correctly when doing sync tests between the two. (I want to create a HA cluster using drbd,xen and heartbeat) However, when I ...
1
vote
3answers
2k views

CentOS 5.3 64bit, XEN and DRBD

After numerous Google searches and attempts to rectify this issue I decided to post here... hopefully someone here can assist me, please?? I have setup 2 dell poweredge r200 servers with Centos 5.3 ...
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 ...
0
votes
5answers
1k views

MySQL replication using DRBD, distributed lock manager?

I need to implement Linux-HA configuration in two servers. I've decided to use DRBD for block level replication on both hosts, mainly for MySQL data replication. As I understand, in DRBD ...
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 ...
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 ...
1
vote
4answers
314 views

What is the better way to add extra servers for reliability in our case?

We have the following servers: A. 1 x web server running MySQL (a forum). B. 1 x web server running RT with Postgres. C. 1 x web server running a home grown app with MonetDB as the backend Now of ...
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 ...