Questions tagged [drbd]

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.

283 questions
1
vote
1 answer

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 versions, there was /usr/lib/heartbeat/hb_takeover now…
sreimer
  • 2,218
  • 15
  • 17
1
vote
3 answers

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 database is accessed by the application at an average of…
MrD
  • 235
  • 5
  • 11
1
vote
2 answers

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 stuff. I've been doing a lot of research into…
dbee
  • 21
  • 4
1
vote
4 answers

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 course we want to add a bit of reliability here by…
afa
  • 61
  • 6
1
vote
1 answer

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 ro:Primary/Secondary ds:UpToDate/UpToDate A…
Guillaume
  • 135
  • 1
  • 8
1
vote
0 answers

MySql Service Not Starting in cluster with DRBD

I have a high availability cluster with two nodes configured, after a maintenance carried out by an external company when restarting the system my mysql resource stopped working. when executing the drbd-overview command I get the following. Node…
Iván Jf
  • 111
  • 5
1
vote
0 answers

Recreation of mdadm RAID backing store for drbd yields *The peer's disk size is too small!*

Some years ago, I've set up a storage cluster with stock Debian Linux using mdadm RAID as backing store by using the Debian provided drbd 0.8. Currently there are two RAID6 volumes, comprised of some 2, and 14 TB disks. Meanwhile, disks have been…
PoC
  • 236
  • 1
  • 8
1
vote
0 answers

ZFS disk error on write

our ZFS backup pool is producing strange disk errors when writing data. This pool is replicated via DRBD on a second server with identical hardware which is also experiencing the same errors. This is why I don't think it's a hardware problem. The…
Edgxxar
  • 11
  • 1
1
vote
0 answers

How to setup a failover server with KVM and DRBD

I have a server that I am virtualizing using the Virtualizor control panel. I need to set up a failover server that syncs everything on the first server to the second server. I am using DRBD to sync the servers. I have a couple of questions as I am…
1
vote
0 answers

DRBD Operations With Many Files Slow

I need to set up file replication between two geographically different DC. My first idea was with GlusterFS, but it doesn't work well with high latency Blicks, and its geo replication is not bidirectional. Set up DRBD+OCFS2 and it is replication…
1
vote
0 answers

Preparing storage for DRBD

I am trying to set up high availability Linode server and using DBRD for data replication. I created primary partition using fdisk. But I get the error WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The…
basic123
  • 11
  • 1
1
vote
0 answers

I had some drbd (i guess block devices?) on my server, after a crash they are all gone

I am not a sys admin but inherited some servers setup with no documentation in linux. Today the server died in a way it was unresponsive and the VMs running on it down...after a good few hours the server reboot itself, so could ssh to it again but…
Codejoy
  • 107
  • 5
  • 17
1
vote
1 answer

cheap, commodity hardware based, highly available distributed filesystem

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both PCs. one zvol in a partition of each local disk of…
Qippur
  • 135
  • 1
  • 10
1
vote
1 answer

Pacmaker can't start the DRBD Error "not configured"

I´m setting up a 3 node DRBD Cluster with Pacemaker and corosync on CentOS 8. I set up 3 IP resources, 1 apache webserver resource and now I want to set up my drbd resource. The Drbd is working if it is started alone with systemctl and is…
ses
  • 11
  • 1
  • 4
0
votes
1 answer

NFS cluster corosync + pacemaker + drbd

I made up a NFS cluster with pacemaker DRBD and corosync with two nodes everything was working fine, on my tests trying different fail over scenario my cluster is completely broken, I can't no more switch to the primary node only the second one is…
tba
  • 21
  • 3