# Moving VM's from old to new server

**URL:** <https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628>\
**Category:** SLES Virtualization\
**Created:** [December 10, 2019, 12:24pm UTC](https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628 "2019-12-10T12:24:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Gill](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@John\_Gill](https://forums.suse.com/u/John_Gill)\
**Post date:** [December 10, 2019, 12:24pm UTC](https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628/1 "2019-12-10T12:24:59Z")

</div>

Hi,

I have an old SuSE12sp4 server running XEN virtualization with two VM’s (Novell GW-Mobility and GW-Webaccess)…all stock standard, nothing fancy. I now install SuSE12sp4 on some new hardware and config the machine for XEN virtualization … all good.

I shut down the VM’s and copy the image to the new server (/var/lib/libvirt/images) then run “vm-install” in a terminal and do the “I have a disk or disk image” to import the VM’s into the new system. Both VM’s start and within 5 seconds the VM’s shutdown for no reason. I cannot find anything in the log files (if I am looking in the right place) but if I take a Windoze (2012 or 2016 server) the VM loads without an issue.

ideas, help, comments or laughter most welcome,  
John (going slightly mad) Gill

---

<div class="post-metadata">

**Author:** ![Eugen](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@Eugen](https://forums.suse.com/u/Eugen)\
**Post date:** [December 10, 2019, 4:01pm UTC](https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628/2 "2019-12-10T16:01:13Z")

</div>

[QUOTE=John\_Gill;59040]Hi,

I have an old SuSE12sp4 server running XEN virtualization with two VM’s (Novell GW-Mobility and GW-Webaccess)…all stock standard, nothing fancy. I now install SuSE12sp4 on some new hardware and config the machine for XEN virtualization … all good.

I shut down the VM’s and copy the image to the new server (/var/lib/libvirt/images) then run “vm-install” in a terminal and do the “I have a disk or disk image” to import the VM’s into the new system. Both VM’s start and within 5 seconds the VM’s shutdown for no reason. I cannot find anything in the log files (if I am looking in the right place) but if I take a Windoze (2012 or 2016 server) the VM loads without an issue.

ideas, help, comments or laughter most welcome,  
John (going slightly mad) Gill[/QUOTE]

Hi John,

just a quick shot, have you checked the image’s permissions after copying it to the new server? Although I would expect to find a hint in the logs if that was the case.

Regards,  
Eugen

---

<div class="post-metadata">

**Author:** ![John\_Gill](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@John\_Gill](https://forums.suse.com/u/John_Gill)\
**Post date:** [December 11, 2019, 10:44am UTC](https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628/3 "2019-12-11T10:44:37Z")

</div>

Thanks Eugen, checked the permissions but still no joy!

John

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [December 18, 2019, 2:21pm UTC](https://forums.suse.com/t/moving-vms-from-old-to-new-server/34628/4 "2019-12-18T14:21:24Z")

</div>

Hi John,

> [@John\_Gill;59040](#):
>
> Both VM’s start and within 5 seconds the VM’s shutdown for no reason. I cannot find anything in the log files (if I am looking in the right place)

“VMs start” means… what? That the VM is started from Xen’s point of view, or that the SLES inside the VM ist starting (5 secs could mean “from power-up to grub menu” or “booting to login prompt, but invoking formal “shutdown” 5 secs after completed boot”)? What can you see on each VM’s console during that sort period?

One thing that comes to mind is changing UUIDs of the disks, which would be referenced in the grub profile.

Regards,  
J
