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.
286
questions
1
vote
1
answer
231
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 ...
1
vote
2
answers
1k
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
2
answers
694
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
0
answers
1k
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 ...
0
votes
1
answer
112
views
Will (Effectively) Nested Xen SR be Stable?
Is an effectively nested Xen Server storage repository a problem for stability?
Consider the graphic for the data path of the web server to a physical drive: (Starting on the right)
In the graphic ...
0
votes
1
answer
537
views
I/O usage high on drdb drives
The I/O usage is high on drives of drdb, but the usage is very low on the underlying drive. Is it right to ignore usage of I/O on DRDB drive as the underlying disk usage is fine.
We have 4 Redhat ...
4
votes
1
answer
927
views
I/O high on DRBD disk drbd10 on stacked site
We have 4 Redhat Boxes Dell PowerEdge R630 (say a,b,c,d) having the following OS/packages.
RedHat EL 6.5 MySql Enterprise 5.6 DRBD 8.4 Corosync 1.4.7
We have setup 4-way stacked drbd resources as ...
0
votes
1
answer
161
views
Folder / Storage mirroring
I have a web application running on a single VPS now and I want to scale it and make it HA using two VPS (from different providers) that works together using a load balancer.
I've successfully put ...
7
votes
2
answers
12k
views
DRBD on raw disk block device
I try to setup DRBD on a raw disk device /dev/sdb without partition table, nor LVM stack PV/VG/LV
As this disk is virtual and hypervisor I use allow on-the-fly disk extension, I do not want to bother ...
2
votes
2
answers
3k
views
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 ...
0
votes
0
answers
345
views
DRBD /dev/drbd0 not showing : mysql stopped
I have two Xen virtual servers with mysql cluster(db1 and db2) with DRBD and corosync.
Recently one of the server i upgrade to KVM and i configured drbd *.res file to be sync again and its working. ...
0
votes
1
answer
1k
views
Puppet: DRBD Resource not promoting in Corosync/Pacemaker
I'm trying to recreate a complete cluster setup from blank using puppet. Everything up to this point works, but now the cluster doesn't promote the DRBD resource on either node.
This is the working ...
3
votes
1
answer
10k
views
How do I migrate Proxmox VM to another computer in a cluster?
Original:
I am running Proxmox 4.2 with a Debian 8 (Jessie) VM. I have DRBD running between two desktop computers in a cluster and I have a third node in the cluster which is a laptop not ...
6
votes
2
answers
4k
views
Setting up DRBD with only one node
I need to migrate an existing storage server running Debian 6, with many TB of data, to a HA setup. I can't simply shut down this server for any prolonged time (HA is required after all).
I plan to ...
-1
votes
2
answers
2k
views
DRBD Setup on 2 node CentOS 6.8
I have installed and configured DRBD on 2 centos nodes and after creating the metadata when i try to start the drbd service, its complaining that the module is not loaded. See below for more details. ...
3
votes
1
answer
839
views
Ganeti disks degraded drbd cs:NetworkFailure
I have an instance (with 2disks) on Ganeti with both disks degraded (probably due to a connection problem?).
This instance was working correctly for many years until this morning.
On my master
$ gnt-...
1
vote
0
answers
518
views
Configure STONITH for esxi host CentOS guests
I am just doing some initial researching into STONITH and am finding that it can require Hardware to reset the failed nodes. Something called an IPMI can be used. I was wondering how something like ...
1
vote
1
answer
262
views
Passing SAN Storage to Virtual Machine in active/passive HA Cluster
I need to attach a fibre channel SAN disk to one virtual machine that resides on an active/passive cluster (pacemaker, corosync). As it is the backup storage, corruption has to be strongly avoided. ...
3
votes
1
answer
1k
views
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 ...
0
votes
1
answer
1k
views
Postgres server not starting on drbd + pacemaker
I am trying to bring up the postgres server over ubuntu 14.04 with drbd and fiesystem.
Service state as below:
Last updated: Mon Mar 14 01:16:45 2016
Last change: Mon Mar 14 01:05:53 2016 via ...
3
votes
2
answers
1k
views
Pacemaker and DRBD on Hyper-V
I need to setup two-node Web cluster for Apache web site. I have Hyper-V infrastructure and only two nodes.
The points are load-balancing and high availability.
I installed and configured two VMs ...
4
votes
2
answers
6k
views
DRBD - no resources defined
I have some problems getting a drbd cluster running.
When I want to start creating my storage, i get the following error:
root@raspberrypi-ha1~# drbdadm create-md drbd1
no resources defined
But my ...
0
votes
0
answers
231
views
Adding network-fault tolerance to drbd or drbd alternatives
I've been working with drbd for about a year now, and at this point I'm tearing my hair out in frustration. Every time there is a network fault (something that is disappointingly common in the ...
4
votes
0
answers
1k
views
Dual primary DRBD with LUKS encryption
Is it possible to create a LUKS encrypted filesystem that is accessible by both nodes of a dual primary DRBD system?
Here is what I tried to do:
Create two nodes and establish a partition on each ...
1
vote
1
answer
2k
views
how to make a Virtual ip on a 2 nodes cluster
i have a specific question, her's my situation :
1- 2 vms with drbd - pacemaker - corosync - NFs
- here's my crm configuration :
node san1
node san2
primitive drbd_res1 ocf:linbit:drbd \
params ...
18
votes
3
answers
29k
views
DRBD terrible sync performance on 10GigE
I've set up a pair of identical servers with RAID arrays (8 cores, 16GB RAM, 12x2 TB RAID6), 3 10GigE interfaces, to host some highly available services.
The systems are currently running Debian 7.9 ...
0
votes
2
answers
3k
views
Mirroring VGs between two Linux server
I have two nodes , each has 20 HDDs (identical size) .
Both nodes are configured with 2 VGs , each VG was created using 10 disks . 1 VG is called SAN the 2nd is called NAS .
Node1- will provide nfs ...
2
votes
1
answer
594
views
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 ...
1
vote
1
answer
2k
views
Using heartbeat with systemd
I'm using a simple setup with heartbeat handling a shared filesystem implemented with drbd and served via apache.
I'm using /etc/ha.d/haresources to define the ha resource, this way:
server1 drbddisk:...
1
vote
0
answers
1k
views
DRBD server not starting - error in creating netlink socket
I have a newly configured DRBD-Cluster 8.4.5 on 2 VM running ubuntu 14.04, following this example: http://geekpeek.net/configure-drbd-ubuntu/
Unfortunatelly I can not start the service. It seems to ...
2
votes
1
answer
1k
views
DRBD always causing splt brain after restart
I'm absolutely new to the whole cluster topic (pacemaker with DRBD, etc) and in general new to linux (using it on a daily basis for about two months now). Actually I'm playing around with a simple ...
2
votes
1
answer
671
views
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 ...
0
votes
0
answers
962
views
DRBD what is the meaning of warning "nothing to do in stacked mode"
We just installed DRBD on one node (the second one is not installed).
After doing
drbdadm primary theres
service drbd start
everything is ok (resource available) but the following warning message ...
1
vote
0
answers
257
views
Run Server from Clustered File Server DRBD & GFS2
We are trying to eliminate a single point of failure for our files without a SAN. We currently have a single server for file serving (locally), web server, and database (in VM). Looking at using DRBD ...
2
votes
1
answer
1k
views
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, ...
1
vote
0
answers
77
views
DRBD device temporarily disappearing across different kernel versions?
After upgrading from an old kernel to a new kernel version and booting into the new kernel the DRBD logical device was gone.
Think nothing under /proc/drbd.
This is a major problem as I have DRBD ...
5
votes
3
answers
5k
views
Replicated shared filesystem
I'm looking into setting up a shared filesystem/file server on AWS (EC2) infrastructure that offers replication and fairly painless failover. This filesystem would host potentially millions of files ...
5
votes
1
answer
1k
views
Pacemaker error on failback with drbd
I have two nodes in my cluster with drbd+pacemaker+corosync
When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors ...
1
vote
1
answer
776
views
Running a DRBD cluster having two different versions
Is it safe to have a cluster composed of two servers
one running DRBD 8.0
one running DRBD 8.3 or 8.4
Currently there is only one DRBD server with the 8.0 data.
Will the new added server on DRBD 8.[...
3
votes
1
answer
5k
views
Split brain on DRBD and Pacemaker cluster
I want to put into your consideration the following situation that is currently happening on our active-passive cluster (DRBD, Pacemaker, Corosync, PostgreSQL)
OS: Ubuntu server 14.04 x64
DRBD: 8.4
...
0
votes
1
answer
103
views
What problems arise if user-space drbd is older than the kernel module?
Since more than five years I am using XEN in a productive environment.
My constellation: SLES11 (included: OpenSource XEN 4.x), DRBD 8.3 in primary/secondary mode.
Now I would have loved to go away ...
4
votes
1
answer
3k
views
What is the proper way to shutdown an iSCSI target with connected clients?
iSCSI with two DRBD primary nodes is a bad idea to use if the two paths get concurrent write requests. But I am thinking about using this idea as backend storage for an ESXi 5.5U2 host.
I already did ...
5
votes
1
answer
3k
views
DRBD + corosync + pacemaker - Servers won't connect after failover
I got 2 servers configured with drbd, corosync with pacemaker. It is all working fine, primary server gets secondary if it fails, and secondary gets primary.
But if the 1st server comes up again ...
2
votes
3
answers
1k
views
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 ...
5
votes
1
answer
2k
views
DRBD as DR: syncing datastores of 2 ESXI hosts, vmdk consistency?
does anyone have experience with using DRBD (protocol C) to sync parts of the datastores of 2 esxi hosts for disaster recovery of selected guests?
I have 2-3 guests that should be able to recover ...
-1
votes
1
answer
204
views
MySQL - data inside vm on shared storage? [closed]
I'm planning on moving all my VMs to shared storage, and I have a question about how to deal with a MySQL VM:
Currently the size of the VM image is 100GB, where most of the space is taken up by the ...
0
votes
1
answer
493
views
Clone a VirtualBox VDI to make a second DRBD node
A primary node has been built up in a VirtualBox (guest RHEL 6 + DRBD).
In order to get a second node with the same configuration, a VirtualBox cloning operation seems ideal
easiness
declare the ...
1
vote
2
answers
3k
views
the pacemaker can't start the drbd resource
here is crm the configure show
[root@node1 /]# crm configure show
node node1
node node1.mycluster.org
node node2
node node2.mycluster.org
primitive Apache apache \
params configfile="/etc/...
1
vote
2
answers
4k
views
drbd does not sync the mount point
i'm trying to learn drbd with centoOS 6.3 on virtual box, i have two vm configed, the node1 and node2, i copy the a file to the mount point /data which is /dev/drbd0 of node1, but not reflect to the ...
2
votes
1
answer
12k
views
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 ...