ACCEPTING DRBD

ACCEPT

node1

mkfs.ext4 /dev/drbd1
mkfs.ext4 /dev/drbd2
mkdir lala lili
mount /dev/drbd1 lala
mount /dev/drbd2 lili
uname -n > lala/mark1
uname -n > lili/mark1
umount lala
umount lili

node2

mount /dev/drbd1 lala
mount /dev/drbd2 lili

it goes primary by itself

drbdadm status

you should see mark1 there

cat lala/mark1
cat lili/mark1
uname -n > lala/mark2
uname -n > lili/mark2
umount lala
umount lili

more acceptance can be done with Redhat GFS2 or a XEN guest live migration

RESOURCES

xen

Live Migration and Synchronous Replicated Storage With Xen, DRBD and LVM https://backdrift.org/live-migration-and-synchronous-replicated-storage-with-xen-drbd-and-lvm

DRBD Dual-Primary Obstacles https://serverfault.com/questions/574425/drbd-dual-primary-obstacles

Xen Live Migration with DRBD on Debian Jessie: Part 1 – Dom0 https://www.lisenet.com/2016/xen-live-migration-with-drbd-on-debian-jessie-part-1/ https://www.lisenet.com/2016/xen-live-migration-with-drbd-on-debian-jessie-part-2/ https://www.lisenet.com/2016/xen-live-migration-with-drbd-on-debian-jessie-part-3/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun