Migrate vm from host to host without cluster

Jan 19, 2024
12
0
6
Hi,

Im failry new to all of this. i found this website https://www.thomas-krenn.com/en/wiki/Proxmox_Remote_Migration

I want to migrate a vm from a proxmox host to another without clustering

my question is. after following the instructions on the website. do you turn of the vm off on the old host after running the command?

what is the procedure ?

this is the command i found:

qm remote-migrate <VMID_QUELLE> <VMID_ZIEL> 'host=<ZIEL_IP>,apitoken=PVEAPIToken=<BENUTZER>@pam!<TOKENNAME>=<API_TOKEN>,fingerprint=<FINGERPRINT>' --target-bridge <NETZWERK_BRIDGE> --target-storage <ZIEL_STORAGE> --online
 
Hi,
after the remote migration, the VM will still exist on the source node and be shut down and put into a locked state. There also is an option to delete it (from man qm):
Code:
--delete <boolean> (default = 0)
    Delete the original VM and related data after successful migration. By default the original VM is kept on the source cluster in a stopped state.