Why guest configuration file is not written to the /etc/libvirt/qemu/ of the destination host during a live migration?
Issue
When a guest is migrated from one host to another one, live migration works successfully, but it does not write an xml config file for the guest in /etc/libvirt/qemu of the destination host.
Eg,
Node0 had vm vm1 running and has an xml config file /etc/libvirt/qemu. Node2 did not have a config file in /etc/libvirt/qemu for vm.
Migrated vm1 from node1 to node2 using the below command.
# virsh migrate --live vm1 qemu+ssh://node2/system
vm migrated successfully and is running on node2. However NO config file was written to /etc/libvirt/qemu of the node2 for vm1.
If vm1 is stopped on node2, virsh fails to start that vm on node2 and can only be started on node1.
On node2:
# virsh start vm1
error: failed to get domain 'vm1'
error: Domain not found: no domain with matching name 'vm1'
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.