Good morning everyone,
I was experimenting and playing around with my Proxmox 3 node cluster. I was testing HA more specifically.
Each server has 2x300GB drives in Raid-1. Nothing complex but something easy for me to pilot and learn on. I only have a Local and Local-LVM stoage. I did add iSCSI storage to test shared storage but I'm not focusing on that right now.
I enabled HA for one specific Windows VM on my main proxmox node (Node 1). I disconnected the ethernet cable from the node itself and watched how HA will work.
What appears to have happened is the HA process started and moved the VM details from Node 1 to Node 2 but the storage didn't move. I understand this issue because the storage is local to each server, so loosing network connectivity on Node 1, proxmox was not able to move the VM contents. This is my fault.
I spent the last 2 hours trying to figure out how I can move the VM details back from Node 2 to Node 1. As you can imagine, a migration move won't work because:
The VM in question is VM ID: 102
2019-11-26 03:59:22 starting migration of VM 102 to node 'NODE1' (10.16.61.103)
2019-11-26 03:59:23 found local disk 'local-lvm:vm-102-disk-0' (in current VM config)
2019-11-26 03:59:23 copying local disk images
blockdev: cannot open /dev/pve/vm-102-disk-0: No such file or directory
Here is the output of each node using lvscan:
root@NODE1:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
ACTIVE '/dev/pve/vm-102-disk-0' [48.00 GiB] inherit
ACTIVE '/dev/pve/vm-101-disk-0' [48.00 GiB] inherit
root@NODE1:~#
root@NODE2:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
ACTIVE '/dev/pve/vm-100-disk-0' [32.00 GiB] inherit
root@NODE2:~#
root@NODE3:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
root@NODE3:~#
I see the VM disk data on NODE 1 but the VM information shows up on NODE 2.
how can I move this VM information from NODE2 to NODE1?
I was experimenting and playing around with my Proxmox 3 node cluster. I was testing HA more specifically.
Each server has 2x300GB drives in Raid-1. Nothing complex but something easy for me to pilot and learn on. I only have a Local and Local-LVM stoage. I did add iSCSI storage to test shared storage but I'm not focusing on that right now.
I enabled HA for one specific Windows VM on my main proxmox node (Node 1). I disconnected the ethernet cable from the node itself and watched how HA will work.
What appears to have happened is the HA process started and moved the VM details from Node 1 to Node 2 but the storage didn't move. I understand this issue because the storage is local to each server, so loosing network connectivity on Node 1, proxmox was not able to move the VM contents. This is my fault.
I spent the last 2 hours trying to figure out how I can move the VM details back from Node 2 to Node 1. As you can imagine, a migration move won't work because:
The VM in question is VM ID: 102
2019-11-26 03:59:22 starting migration of VM 102 to node 'NODE1' (10.16.61.103)
2019-11-26 03:59:23 found local disk 'local-lvm:vm-102-disk-0' (in current VM config)
2019-11-26 03:59:23 copying local disk images
blockdev: cannot open /dev/pve/vm-102-disk-0: No such file or directory
Here is the output of each node using lvscan:
root@NODE1:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
ACTIVE '/dev/pve/vm-102-disk-0' [48.00 GiB] inherit
ACTIVE '/dev/pve/vm-101-disk-0' [48.00 GiB] inherit
root@NODE1:~#
root@NODE2:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
ACTIVE '/dev/pve/vm-100-disk-0' [32.00 GiB] inherit
root@NODE2:~#
root@NODE3:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [69.50 GiB] inherit
ACTIVE '/dev/pve/data' [<181.66 GiB] inherit
root@NODE3:~#
I see the VM disk data on NODE 1 but the VM information shows up on NODE 2.
how can I move this VM information from NODE2 to NODE1?