2 node cluster, shared storage, no HA, one dies, how run VM on the other?

mmenaz

Renowned Member
Jun 25, 2009
835
25
93
Northern east Italy
Hi, I've created a 2 node cluster, NO HA (don't want automatic stuff going on, nor I've clear ideas about fencing, redundancy for network, etc), and shared storage.
Let's say that I've VM 101 running on node 1, shared storage, and VM 102 running on node 2, same shared storage.
Now node 2 dies. I would like to send node 2 to repair and run VM 102 on node 1.
I thought that I could have done it this way but I got an error (from node 1, of course):
Code:
# mv /etc/pve/nodes/prox02/qemu-server/102.conf  /etc/pve/nodes/prox01/qemu-server/102.conf
mv: cannot move `/etc/pve/nodes/prox02/qemu-server/102.conf' to `/etc/pve/nodes/prox01/qemu-server/102.conf': Permission denied
the same with 'cp' command. The config file is accessible since a "cat" works fine.
Any idea? Is there a better aproach?

SOLUTION:
ok, was due to quorum problem, the cluster was inactive.
After
pvecm expected 1
I was able to move the config file.
I don't understant this quorum stuff when there is NO HA involved, I've turned on the second node and expected has jumped to 2 again (like quorum), and things seem to work smootly (second node does not show the Vm config, so someway has synched it... magic?)

Thanks a lot
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!