Skip to Content
Mastering Proxmox - Third Edition
book

Mastering Proxmox - Third Edition

by Wasim Ahmed
November 2017
Intermediate to advanced
494 pages
14h 29m
English
Packt Publishing
Content preview from Mastering Proxmox - Third Edition

Migrating VMs from a faulty node

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Mastering KVM Virtualization - Second Edition

Mastering KVM Virtualization - Second Edition

Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Publisher Resources

ISBN: 9781788397605Other