2
votes
2answers
105 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
635 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, ...
0
votes
1answer
192 views

DRBD Dual Primary Revisited

It is an old datum that it is not possible to use a non-cluster-aware filesystem like ext4 on Linux with DRBD in dual-primary mode. For example, as stated by Linbit in their manual "Dual Primary - ...
4
votes
1answer
581 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) ...
0
votes
2answers
101 views

Linux partitioning suggestion for failover setup?

I've been using Ubuntu for a while but didn't really paid attention on partitioning and just accepted the defaults. But on a new project we plan on setting up two old servers HP DL380 G3 both would ...
5
votes
1answer
2k 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 ...
1
vote
1answer
87 views

DBRD dual primary Heartbeat resource management

I have the following setup: Two servers with DRBD running dual primary with OCFS2 Heartbeat with two virtual ips, one for each server Round robin DNS to load balance NFS across the two vIPs ...
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
660 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 ...
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 ...
0
votes
1answer
635 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 ...
2
votes
1answer
373 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
666 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 ...
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
956 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
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: ...
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 ...
4
votes
4answers
16k 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
625 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 ...
1
vote
2answers
552 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 ...
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 ...
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 ...
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 ...
2
votes
3answers
7k 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
992 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 ...
1
vote
4answers
308 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 ...