Hi, I've 2 nodes with drbd9 storage in a 3 node cluster, linked with a cross cable 10GB/s on nic card. I've noticed that if I disconnect the cable, and create a VM in one node, when I re-plug the cable the new "resource", i.e. "vm-106-disk-1", it's not replicated.
drbdsetup status shows it only in the first node, where has been created. Rebooting does not help.
This has become a BIG issue when I've lost the storage on node 2 and I had to remove it, recreate the lvm storage and re-add it from drdb storage, all the disk resources were not synched and, after a lot of tryies, I had to delete the vm and restore from backup.
Please help me
The situation was like:
turning the VM on or manually setting the resource to "primary"
did nothing (even after some minutes)
drbdsetup status shows it only in the first node, where has been created. Rebooting does not help.
This has become a BIG issue when I've lost the storage on node 2 and I had to remove it, recreate the lvm storage and re-add it from drdb storage, all the disk resources were not synched and, after a lot of tryies, I had to delete the vm and restore from backup.
Please help me
The situation was like:
Code:
root@prox01:~# drbdsetup status
.drbdctrl role:Secondary
volume:0 disk:UpToDate
volume:1 disk:UpToDate
prox02 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate
vm-106-disk-1 role:Secondary
disk:UpToDate
vm-107-disk-1 role:Secondary
disk:UpToDate
root@prox01:~#
WHILE
root@prox02:~# drbdsetup status
.drbdctrl role:Secondary
volume:0 disk:UpToDate
volume:1 disk:UpToDate
prox01 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate
root@prox02:~#
Code:
# drbdadm primary --force vm-106-disk-1