Hi,
I have a node which has been live-migrated to another node and it is running on the new node BUT there isn’t any xml definition file (/etc/libvirt/qemu/instance-*.xml) of it which is automatically generated.
How I solve this issue normally is to respawn that vm with the same disk and ip that it has before, but I wonder is there any easier way to just simply recreate the automatically generated definition file.
The file which I’m talking about auto generated is this one: /etc/libvirt/qemu/instance-*.xml starts like this so I guess I can’t create by myself.
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit instance-00006580
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>instance-00006580</name>
<uuid>ac8cf83e-6819-417a-9f83-de73c28567e9</uuid>
<metadata>
….
Thank you