0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

developer: infrastructure: DRBD disaster recovery instructions

One step is missing when restarting the machine, which happened today
because of a network card failure.
This commit is contained in:
Earl Warren 2024-06-09 09:09:21 +02:00 committed by Earl Warren
parent 444cba3f20
commit 2cebfa7231

View file

@ -311,6 +311,7 @@ To prevent split brain situations a manual step is required at boot
time, on the machine that is going to be the primary. time, on the machine that is going to be the primary.
```sh ```sh
sudo drbdadm up r0
sudo drbdsetup status sudo drbdsetup status
sudo drbdadm primary r0 sudo drbdadm primary r0
sudo mount /var/lib/lxc sudo mount /var/lib/lxc