Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

5
votes
3answers
296 views

Why disable DRBD in Pacemaker cluster

The DRBD documentation (in section Integrating DRBD with Pacemaker clusters) recommends that DRBD should be disabled in a Pacemaker cluster: If you are employing the DRBD OCF resource agent, it is ...
0
votes
0answers
14 views

Cannot mount GFS2 filesystem on Raspberry Pi with DRBD [closed]

I've been trying to setup a pair of Raspberry Pis with DRBD+GFS2, in a dual-primary configuration. I've successfully got working: all packages installed DRBD userland packages built from source and ...
1
vote
0answers
22 views

Preventing LVM from accessing “low-level” devices of DRBD

Context: Active/passive DRBD setup. KVM VMs on LVM volumes. LVM using /dev/drbd0 for physical volume and volume group. During tests of the setup I have: Shut down Secondary node. Rebooted Primary ...
0
votes
0answers
20 views

drbd Failed on on primary, secondary, it is blocked

I'm trying to settup a cluster with apache(to host jenkins service), IPaddr2, drbd. The process run flawlessly until I add drbd resource to pacemaker, crm status told me that drbd FAILED on both ...
0
votes
1answer
35 views

Reconnecting secondary DRBD node

I have set up test DRBD installation succesfully, with switching, synchronization etc working correctly. But I also wanted to test the reliatbility of the setup, so I gave it a good "trashing" like ...
2
votes
2answers
114 views

How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary

I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide: https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-...
1
vote
3answers
64 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
0
votes
1answer
61 views

DRBD: Where am I losing 13% of disk space?

I have 2 DRBD based storage clusters. And I am somehow not able to utilize 13% of the underlying disk space. The disk in both configs is sda4 Server1: sda4 size: 859G, drbd0 size:788G, drbd0 space ...
0
votes
1answer
22 views

DRBD Compare Local and Remote before sync

Is there a way for DRBD to first compare the local and remote mirror partitions to verify which one is newer before a sync is done? Basically what happens is that I was running Partition 1 for a week ...
7
votes
5answers
263 views

KVM+DRBD replicated between two active-passive servers with manual switching

I need to build 2-node cluster(-like?) solution in active-passive mode, that is, one server is active while the other is passive (standby) that continuously gets the data replicated from active. KVM-...
0
votes
1answer
297 views

drbd both nodes inconsistent, and outofdate, how to fix?

This is a setup I inherited, and that is really old (running drbd 8.3). I tried drbdadm connect drbd0, drbdadm primary -f drbd0, but everything comes back with Need access to UpToDate data. I presume ...
2
votes
1answer
74 views

High availability mirroring without separate partitions or LVM on Ubuntu 14.04 LTS

I'm on AWS with my clients for a long time now but I'm going to need cut costs now to keep providing my services. On AWS I'm using RSync to keep some folders synchronized and DRDB to provide high ...
0
votes
1answer
35 views

iptables rules for drbd

I'm having a default DROP policy on the INPUT and OUTPUT chain configured for iptables and I am trying to configure proper iptables rules for two servers that mirror data via drbd. The resource ...
0
votes
2answers
583 views

DRBD “Device or resource busy”

Hey guys it's me the noobie intern!! So today i've been asked to configure a cluster on Centos7 using pacemaker and drbd. Everything was going fine until i tried to create a the local meta data for ...
1
vote
0answers
130 views

DRBD - Protocol A slower than B and C

I have a simple, not quite so simple question: why the heck is protocol A slower than B and C in my setup? I mean, I've been stuck on this for over a week now, tried "all" the configurations, played ...
0
votes
0answers
60 views

pacemaker drbd active-passive cluster upgrade resources

I have a two node cluster (active-passive) and basically what it does it binds the Cluster IP to the active node, start the OTRS daemon, httpd and mounts the DRBD device. On first looks it works all ...
1
vote
1answer
210 views

pacemaker clear failed actions automactically

I have created an active/passive cluster using Pacemaker / Corosync / drbd and have "simulated" Apache failure pkill httpd and altough pacemaker recovered from the "failure" and started httpd now when ...
0
votes
1answer
271 views

drbd sync active-passive cluster

I have an application that installs itself into the /opt/my_app/ directory. Now I'd like to setup two servers in a cluster (active - passive) and sync the whole directory with DRBD. Now from what I ...
0
votes
1answer
31 views

Identifying processes saturating VPS IO

I have a setup with to nodes with drbd to sync kvm VPSes for fallback. So the vps is only active on one node. The active node has 4 kvm vpses on them. The two nodes have a dedicated 10G interface for ...
0
votes
1answer
200 views

How to configure fencing delay in master/slave cluster with DRBD and Pacemaker?

I have a pacemaker cluster for DRBD primary/secondary setup and Virtual IP. I would like the master node to immediately shoot the slave, while the slave will have to wait for 15 seconds before ...
1
vote
0answers
201 views

Can you use peacemaker with keepalived as communication layer?

I'm new to HA topic and I'm trying to get some bigger picture here. I have 2 hosts that run few services - mostly nginx and NFS for other servers. My primary goal was to make nginx redundant. As I ...
1
vote
2answers
366 views

DRBD 9 - Tripple Nodes (tripple primary or dual primary with one secondary)

We’ve setup a three node cluster with DRBD 9.0.12 where all three nodes are primary and UpToDate. This setup is working fine until we reboot one machine. After the machine comes up again, it won’t ...
3
votes
2answers
254 views

DRBD weird speed dips

couple of weeks ago I made a test setup for DRBD on couple of servers. The speed was fixed 90MB/800Mb as per my config for initial sync. Now I have reinstalled the OS (CentOS 7.4) to do final install ...
1
vote
1answer
470 views

DRBD resources not coming back online - Pacemaker + Corosync

I am using DRBD for replication. For testing purpose I am using 2 VMs. I have noticed that if I disconnect network interface on a node then it moves to standalone, and after I reconnect it does not go ...
3
votes
4answers
817 views

Sync Servers with DRBD

assume if I synchronized two servers and I used DRBD, and after I synced them I installed application on both, if I wanted to add a third server. is that possible? since I think I should create block ...
1
vote
0answers
204 views

How to determine Master priority in HA cluster based on connected interfaces

I want to make a DRBD cluster of 2 servers. Both have 2 interfaces bonded together. I want to be able to determine the master role based on connection metric. i.e how many of the network interfaces ...
0
votes
0answers
295 views

iptables port number

I configured a resource refering to the [document of pacemaker][1] yesterday.,After I finished chapter 5, I cofused the issue. At first it is the same as the example in the document.After a minute, ...
0
votes
1answer
172 views

how to force drbd for a self synchronization

I have two drbd nodes, one master and one slave. I want to use existing drbd disk after a fresh system install while the other node isn't present. Is it possible to force drbd for this? Consider ...
2
votes
1answer
625 views

Automatic recovery with discarded data from NetworkFailure-interrupted DRBD sync

Suppose I have two DRBD devices provisioned. When the second node connects, it syncs the data from the first (primary/master) node. During this sync, the primary node loses power. After the Primary ...
0
votes
1answer
155 views

DRBD 9 with existant LVM (RHEL 6.9) no resource defined

i'm trying to configure DRBD 9 on 2 RHEL 6.9 with LVM configured when i try to do drbdadm create-md amss_drbd the result is No resource defined i've a .res file xxx_drbd.res with this configuration ...
1
vote
1answer
242 views

SQL Server 2017 crashed during startup on Ubuntu with Pacemaker failover

I have installed mssql-server and mssql-server-ha on Ubuntu Server 16.04 LTS. I'm using drbd on two nodes, with pacemaker and corosync attempting to control the automatic failover between the two ...
0
votes
1answer
788 views

DRBD Status after Network fail become Primary/Unknown

i have the following structure: 2 nodes. corosync + pacemaker + DRBD + OCFS2. ============== After test Network fail the status from DRBD become: ****Primary/Unknown**** dmesg show the following: ...
2
votes
0answers
238 views

How to provision DRBD to libvirt storage pool?

I want to expose DRBD replicated storage (2 nodes Active/Passive) to libvirt as a storage pool for qcow2 files. However, I have the following error message: virsh pool-create-as qcow2 --type=logical -...
0
votes
1answer
119 views

HA on CentOS6.5 constantly switching

I have 2 server Asterisk on centOS in HA group with peacemaker.The cluster is in active passive mode with configured resource groups.The problem is from some time the server switch from the primary to ...
7
votes
1answer
773 views

IPoIB (IP over InfiniBand) vs. RDMA performance

I have partly inherited a Linux HA cluster at the center of which currently serves a connection with DRBD 8 over IPoIB (IP over InfiniBand) between two Debian hosts. It ain't broken, so I won't fix it....
1
vote
1answer
4k views

How to get DRBD nodes out of Connection State StandAlone (and WFConnection)?

My Debian 8.9 DRBD 8.4.3 setup somehow has got into a state where the two nodes cannot connect over the network any more. They should replicate a single resource r1, but immediately after drbdadm ...
2
votes
1answer
995 views

RHEL7.4 and DRBD 9.0/8.4 Installation

I have a fresh RHEL7.4 Server installation on which I'm trying to install DRBD 9.0 from elrepo. My server is running the latest kernel: 3.10.0-693.1.1.el7.x86_64, yet kmod-drbd90 wants to install ...
1
vote
2answers
459 views

Correct use of Pacemaker's ocf-tester with OCF resource agents

I have got a setup with DRBD, Corosync, and Pacemaker in which Pacemaker should mount a file system atop a DRBD block device on different cluster nodes, depending on nodes' availabilies. The setup is ...
2
votes
1answer
424 views

DRBD 8.3 replace a failed disk

I need to replace a DRBD backend disk due to worn out but unsure how to proceed. Setup is as follows: server0 <----> server1 Server0 is the one affected, DRBD process has been stopped on it. ...
0
votes
0answers
67 views

httpd failover is not working on DRBD + Hearbeat

I need help regarding running httpd service in drbd with heartbeat. It was working fine but after adding httpd service in heartbeat haresources, drbd failover stopped working. I'm using DRBD 8.4 ...
0
votes
1answer
3k views

Can't run drbdadm up with DRBD 8.4 on CentOS 7.3

Nodes: node1 node2 Use this way installed DRBD on both nodes: rpm -ivh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org yum -y ...
0
votes
1answer
3k views

Can't start drbd service and can't set primary node with DRBD 8.4 on CentOS 7.3

Using two nodes to install DRBD. node1 node2 Followed this guide: http://www.learnitguide.net/2016/07/how-to-install-and-configure-drbd-on-linux.html On both nodes resource testdata1 { ...
1
vote
1answer
111 views

drbd with IPv4 fallback

I was setting up DRBD over IPv6, I want to ask if it is possible to provide both IPv4 and IPv6 addresses in address section like below. on server1 { disk /dev/sdb1; address 140.X.X.X:7788; ...
0
votes
1answer
70 views

Pacemaker Cluster Issue - Backup Firewall does not take over in case network cable unplugged from Primary Firewall

I have an issue with pacemaker cluster. I have two firewalls that I am using in Active/ Backup HA. The heartbeat IPs are 10.0.0.1 (FW 1) & 10.0.0.2 (FW 2) on a dedicated network. Traffic IPs on ...
6
votes
1answer
1k views

Can ZFS using snaphots replace DRBD using sync protocol A?

This question is related to a former, more generic one, but this time I would like to ask more specifically if ZFS can replace DRBD in a use case like mine. That is two servers, both hosting their own ...
1
vote
2answers
3k views

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

Which technology allows shared storage for clusters with preferred local reads and writes?

I have two or three somewhat older servers of type HP ProLiant DL380 G6/7 with only x * 1 GBit Ethernet, but quite some CPU power, RAM and capable of a fair amount of local storage. I'm interested in ...
0
votes
1answer
481 views

Asynchronous file replication over long distances, with buffering

I'm looking for a filesystem that can replicate over long distances, and tolerate being offline for extended periods of time by using a local buffer, which should be a disk buffer, to queue up changes ...
0
votes
2answers
350 views

LVM detecting signatures on underlying block device despite filters

So I'm asking this question solely so I can post my own solution. I ran into a situation where my disks looked like this: LVM DRBD-RESOURCE UNDERLYING-BLOCK-DEVICE Using Drbd 9, I was running into a ...
2
votes
0answers
463 views

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 ...