Questions tagged [drbd]

Use for DRBD, a distributed replicated storage system for the Linux platform.

DRBD® refers to block devices designed as a building block to form high availability (HA) clusters. This is done by mirroring a whole block device via an assigned network. DRBD can be understood as network based raid-1.

See http://www.drbd.org/

65 questions
4
votes
2 answers

After a reboot the DRBD comes up with Connected Diskless/Diskless status

After an unattented power loss, facing a major issue, every reboot the DBRB comes up with Connected Diskless/Diskless status. main problems: dump-md response: Found meta data is "unclean" apply-al command terminated with exit code 20 with message…
Gabor Koltai
  • 431
  • 6
  • 11
4
votes
2 answers

PostgreSQL set PGDATA variable

Server: Ubuntu server 14 lts + PostgreSQL 9.2 I want create cluster database using drbd, but i can't set PGDATA without cluster initialization. I just need say pgsql use data from drbd disk. How i can do it? Example 1: mkdir /cluster/var/lib/pgsql…
user4074041
3
votes
1 answer

docker - in production - HA

how to run docker in production, with a active/active or active/standby HA system? are there any guides or best practices? i am thinking of 3 scenarios: 1) NFS - for two servers - wich are prepped with docker-machine and mounting a shared NFS to…
Helmut Januschka
  • 1,578
  • 3
  • 16
  • 34
3
votes
2 answers

is it possible to have MySQL Active-Active Clustering with DRBD?

we use MySQL 5.6 InnoDB engine for our database purpose. currently we have a single instance of it , but as our application is growing , we want to have our database in cluster mode. now what we have done till now : We tried MySQL NDB cluster 7.3.1…
Chetan Sharma
  • 173
  • 1
  • 3
  • 16
2
votes
1 answer

What's the step to change DRBD IP

How do I change the node IP of DRBD? This is my config: resource data { protocol C; on server1 { device /dev/drbd0; disk /dev/sdb1; address 192.168.56.101:7788; meta-disk…
cnwalker
  • 87
  • 9
2
votes
1 answer

Pacemaker - High availability cluster - how to receive notification

I have a high availability cluster that is configured with DRBD resource. Is there a way to receive notification, for example to email, when resource has failed? I'm using the Web UI (GUI) high availability pacemaker interface but I didn't find a…
Lidor Aviman
  • 91
  • 1
  • 4
  • 14
2
votes
1 answer

DRBD - automatic recover after disconnect

I have High availability cluster that configured with DRBD resource. Master/Slave Set: RVClone01 [RV_data01] Masters: [ rvpcmk01-cr ] Slaves: [ rvpcmk02-cr ] I perform a test that disconnect one of the network adapter that connect…
Lidor Aviman
  • 91
  • 1
  • 4
  • 14
2
votes
1 answer

DRBD - How to initialize primary without any secondary server available?

Here is the normal way to initialize the drbd partition: ON BOTH SERVERS drbdadm create-md r0 drbdadm up r0 Both servers should be now connected, check with ONLY ON PRIMARY drbdadm -- --overwrite-data-of-peer primary r0 cat /proc/drbd AFTER BOTH…
f3com2
  • 21
  • 1
  • 1
  • 3
2
votes
2 answers

no resources defined drbd

I have a problem with the configuration of drbd someone have any idea ?
GinfoB
  • 48
  • 1
  • 7
2
votes
1 answer

mount: unknown filesystem type 'drbd'

On two system with DRBD over LVM Logical Volumes, Primary/Secondary after a try change (promote) Secondary to Primary, get an error on TWO nodes. Kernel panic on Centos System Well.. i like fsck one or other nodes.... But get a wrong…
abkrim
  • 3,512
  • 7
  • 43
  • 69
1
vote
1 answer

How to calculate progress rate of DRBD?

WinDRBD's progress is only visible when syncing. But I'd like to know how far has gone if the out-of-sync remains. drbdsetup status foo --v --s Through the detail view command, the following contents were obtained. foo node-id:2 role:Primary…
inding
  • 15
  • 3
1
vote
0 answers

internal create-md' terminated with exit code 20 - DRBD

I am doing database replication with DRBD. Using different ips for pacemaker, corosync & Drbd traffic.Created one partition (vdc1). I am not able to setup DRBD. It's giving below error- Command 'drbdmeta 0 v08 /dev/vdc1 internal create-md'…
Pinki Sharma
  • 121
  • 2
  • 16
1
vote
1 answer

Running LINSTOR in Docker Swarm

I am currently trying out linstor in my lab. I am trying to setup a separation of compute and storage node. Storage node that runs linstor whereas Compute node is running Docker Swarm or K8s. I have setup 1 linstor node and 1 docker swarm node in…
jlim
  • 909
  • 2
  • 12
  • 24
1
vote
1 answer

Setup DRBD with 3 server (master/slave)

I currently work with pacemaker DRBD setup. I have 3 Debian 9 server and I want to synchronize drive with all server. unfortunately I get error while installing DRBD to my server. drbd configuration global { usage-count no; } common { protocol…
Karippery
  • 85
  • 1
  • 9
1
vote
0 answers

How to know the replication states in DRBD?

Replication states of DRBD are many as shown: Each volume has over each connection a replication state. The possible replication states are: Off The volume is not replicated over this connection, since the connection is not…
Pooja G
  • 41
  • 1
  • 14
1
2 3 4 5