ProxMox Manual Migration

From Wiki.CoreyBlair.US
Jump to navigation Jump to search

This will cover manually migrating config files for shared storage VM's from a dead ProxMox node to the remaining active one. This assumes that you have only two nodes and one has been disabled. In my particular case the SSD controller went out which crippled the node until I could get a new disk in. This is exactly why I made sure to use shared storage in my home lab.

The first thing you will need to do is set the quorum to expect only one vote (since you only have one node now). So issue the following command from the remaining live node

pvecm expected 1

Now you will need to move the configuration file to proper directory for it to become accessible on the remaining node. This command will be a variation depending on you specific version of ProxMox. I issued the "LS" (list) command several times to find the correct location of the configuration files I was looking for. In any case, it will be some variation of the following

mv /etc/pve/nodes/node1/qemu-server/100.conf /etc/pve/nodes/node2/qemu-server

Once the config file has been moved to the remaining node, you should see it switch over in the web gui. Issue the command for all of the configs until the directory is empty. If you have built you nodes correctly then one node should just be able to handle all critical VM's that are required to run.

At this point if you will be required to re-install the dead node from scratch then you will need to remove it from the cluster. Issue the following command to do so

pvecm delnode node1

This information was gathered from Here, Here, & Here