February 2020
Intermediate to advanced
734 pages
38h 13m
English
Since we're working with DRBD and need a fully established mirror, please follow the steps in all of the recipes up to Adding block-level replication before continuing. In addition to this, we need to simulate a split brain. A very easy way to do this is to put both nodes in the primary state while disconnected from each other.
Assuming that we have nodes pg1 and pg2, where pg1 is the current primary node, follow these instructions as the root user to cause a split brain:
drbdadm disconnect pg
drbdadm primary --force pg
If we were to use drbdadm to attempt to connect the nodes now, we would see the following ...
Read now
Unlock full access