November 2017
Intermediate to advanced
494 pages
14h 29m
English
Depending on the nature of the OS drive failure, the length of the downtime will vary. If the fix takes more than a tolerable amount of downtime, then it may be necessary to start the VMs previously served by the faulty node on different nodes in the cluster. When the VM disk images are stored on a shared storage node, then we can simply move the VM configuration file to a different node and turn them on. The following commands will move KVM and LXC VMs from one node to another within pmxcfs:
# mv /etc/pve/nodes/<faulty_node>/lxc/<lxc_id>.conf /etc/pve/nodes/<second_node>/lxc/<lxc_id>.conf# mv /etc/pve/nodes/<faulty_node>/qemu-server/<kvm_id>.conf /etc/pve/nodes/<second_node>/qemu-server/<kvm_id>.conf
If the ...