Proxmox: replication 複寫, 在node2 啟用 vm

2020082408:11
筆記:
node1 複寫replication vm100 到 node2
當 node1 死掉後,如何在 node2 開啟 vm100 ?
(無 Web UI 可用,需自行下指令)

在 node2 console:
check if that the cluster is quorate
$ pvecm status

將 Cluster 的期待數量降低為1
$ pvecm expected 1
 
$ mv /etc/pve/nodes/server1/qemu-server/100.conf /etc/pve/server2/2/qemu-server/100.conf
or container
$ mv /etc/pve/nodes/server1/lxc/101.conf /etc/pve/nodes/server2/lxc/101.conf
server1、server2 = PVE主機名稱

啟動 vm (or container)
$ qm start 100
or
$ pct start 200

https://pve.proxmox.com/pve-docs/chapter-pvesr.html