F
fluke
Guest
Hi,
I am currently testing scenarios for recovery from split-brain. Usually this involves making one of the nodes (the split-brain victim) secondary.
When I try to do that, it refuses:
This is probably happening, because of your locking mechanism, that you have implemented. The only way to fix this is to reboot the split-brain victim, which for me is not acceptable, because this will mean downtime for the VM's.
Is it possible somehow to recover from split-brain without reboot, for example disabling the locking mechanism (preferably via command line, so this could be scripted) if this is the cause?
Just for info: my setup is with two resources r0 holds the VM's for the master node and r1 holds the VM's for the slave node, so it's easy to choose the split-brain victim.
I am currently testing scenarios for recovery from split-brain. Usually this involves making one of the nodes (the split-brain victim) secondary.
When I try to do that, it refuses:
Code:
proxmox1:~# drbdadm secondary r1
1: State change failed: (-12) Device is held open by someone
Command 'drbdsetup 1 secondary' terminated with exit code 11
This is probably happening, because of your locking mechanism, that you have implemented. The only way to fix this is to reboot the split-brain victim, which for me is not acceptable, because this will mean downtime for the VM's.
Is it possible somehow to recover from split-brain without reboot, for example disabling the locking mechanism (preferably via command line, so this could be scripted) if this is the cause?
Just for info: my setup is with two resources r0 holds the VM's for the master node and r1 holds the VM's for the slave node, so it's easy to choose the split-brain victim.