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:
parent
444cba3f20
commit
2cebfa7231
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue