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
2
votes
2 answers

DRBD Failed with pacemaker

I'm new with Pacemaker and DRBD but I have to configure them together. I created 2 drbd resources : Drbdwww and DrbdMysql But when I use drbd_mon I have the following errors : Stack: corosync Current DC: s-ha-web1 (version 1.1.15-e174ec8) -…
anakin.wow
  • 23
  • 1
  • 4
2
votes
0 answers

OCFS2 filesystem not mounting

I have an OCFS2 cluster running on top of a dual-primary DRBD setup on Ubuntu 16.04. Yesterday, I pushed this cluster into production and it seemed to run well for a while. But today, the cluster seems to have died. I am no longer able to mount the…
Oldskool
  • 2,025
  • 1
  • 16
  • 27
2
votes
2 answers

How to query DRBD device size?

To write Ansible script to setup DRBD device and file systems, I face the following issue: # blockdev --report /dev/drbd0 RO RA SSZ BSZ StartSec Size Device blockdev: cannot open /dev/drbd0: Wrong medium type I would have…
Yves Martin
  • 879
  • 3
  • 8
  • 21
2
votes
1 answer

DRBD - Why read-only on secondary resource would cause cache coherency issue

According to the DRBD9 documentation (https://www.drbd.org/en/doc/users-guide-90/s-resource-roles), reading the device would cause cache coherency issue but i'm not sure about why. (I know i can't access a resource in secondary role but i want…
D.louis
  • 55
  • 4
2
votes
1 answer

Set up DRBD to replicate root LVM volume

I have a server using /dev/vg1/root as its / mount. I am trying to set up DRBD so that ServerA's vg1-root is mirrored to another LVM volume on ServerB, vg1-ServerA-root. I am able to create the metadata on ServerA's vg1-root, but I cannot attach the…
Ian Ling
  • 171
  • 1
  • 6
2
votes
1 answer

HA Cluster with OpenVZ and DRBD

I would like to create an HA Cluster using OpenVZ and DRBD. I found this tutorial http://www.olindata.com/blog/2013/12/building-ha-cluster-openvz-drbd-heartbeat-and-pacemaker and I got as far as Step 5. I am running CentOS 6.5 (32-bit) under WMware…
2
votes
1 answer

DRBD with manual failover

Looking at using DRBD or a clustered files system to help with up-time when downtime strikes in a small business environment. We currently use a server box for a file server using Linux and samba, then running the web server and Database in a VM. …
Damon
  • 429
  • 2
  • 12
2
votes
3 answers

Debian 7: HA NAS with pacemaker, drbd and iSCSI

I currently am trying to make a highly available NAS under debian 7. I am using following packages: drbd8-utils iscsitarget iscsitarget-dkms pacemaker corosync openais everything works fine without pacemaker (so…
Zawarudio
  • 31
  • 5
2
votes
1 answer

drbd can not start the Can not load the drbd module

i'm trying to learn drbd with centoOS 6.3 on virtual box, i have two vm configed, the node 1 is original, the node 2 is cloned from node 1, but i can't start 'service drbd start' there is a error message 'starting DRBD resources: Can not load the…
hkguile
  • 398
  • 2
  • 12
  • 22
2
votes
2 answers

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 servers and they are presented with 2 iSCSI targets which…
Nick O'Neil
  • 1,771
  • 11
  • 10
2
votes
2 answers

Adding a 3rd node to an existing DRBD cluster

We currently have a 2 node DRBD cluster running which we would like to add a third node to. I have so far been unable to find any resources on whether it is possible to add a third node to an existing cluster, only how to set up a cluster with three…
Flibx
  • 23
  • 1
  • 3
2
votes
2 answers

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 transparent IPSec tunnel VPN to connect both nodes on the…
user204252
  • 43
  • 5
2
votes
0 answers

High Availability/failsafe two different locations

I am wondering if someone could help with the setup that does not seem so difficult. I am just beginning with the multi-server setup. I apologize if my questions are dumb. I have two debian servers in different locations. The aim is to create a…
2
votes
2 answers

Infiniband, SRP and failover

I am considering an linux-based infiniband storage setup, but I am tripping over whether or not I can do active/passive or active/active failover with DRBD and SRP targets. I am led to believe that SRP is the real problem here and that it may be…
nrb
  • 93
  • 1
  • 6
2
votes
1 answer

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. Currently I am already using DRBD resource on two…
chandank
  • 847
  • 3
  • 14
  • 31