Francis Greaves
2016-Jan-21 08:48 UTC
[CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down
I am using Xen 4.6.0-8.el7 on CentOS 7 with 3 Linux DomUs. I did have Xen 4.? on CentOS 6.5 on my previous system. I installed using yum install centos-release-xen. On shutting down the Hypervisor it used to wait for the DomUs to shut down gracefully (one can take a minute or more), then on starting up again it would restart the DomUs, all nice and controlled. For some reason the DomUs (CentOS or Ubuntu servers) are not shutting down nicely when the Hypervisor is shutdown, and not restarting. I have the cfg files in /etc/xen/auto so they should start up. If I forget to shut down the DomU guests then the shutdown hangs. I am running this on a Dell Poweredge T430 by the way. Any ideas why, and how to cure this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20160121/18b78320/attachment-0002.html>
Phill Bandelow
2016-Jan-21 09:20 UTC
[CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down
Try this: systemctl start xendomains.service systemctl enable xendomains.service On 21 January 2016 at 08:48, Francis Greaves <francis at choughs.net> wrote:> I am using Xen 4.6.0-8.el7 on CentOS 7 with 3 Linux DomUs. I did have Xen > 4.? on CentOS 6.5 on my previous system. I installed using yum install > centos-release-xen. > On shutting down the Hypervisor it used to wait for the DomUs to shut down > gracefully (one can take a minute or more), then on starting up again it > would restart the DomUs, all nice and controlled. > For some reason the DomUs (CentOS or Ubuntu servers) are not shutting down > nicely when the Hypervisor is shutdown, and not restarting. I have the cfg > files in /etc/xen/auto so they should start up. > If I forget to shut down the DomU guests then the shutdown hangs. > I am running this on a Dell Poweredge T430 by the way. > Any ideas why, and how to cure this? > > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > https://lists.centos.org/mailman/listinfo/centos-virt > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20160121/9e4a9f1f/attachment-0002.html>
George Dunlap
2016-Jan-21 09:31 UTC
[CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down
On Thu, Jan 21, 2016 at 9:20 AM, Phill Bandelow <phill at onapp.com> wrote:> Try this: > > systemctl start xendomains.service > systemctl enable xendomains.serviceYes, the main difference between C6 and C7 from Xen's perspective is switching from the sysv initscripts to systemd. It's probably worth enabling xendomains by default, particularly if they were enabled by default in C6. I'll put that on my list to do at some point (unless someone wants to implement it and send me a pull request). -George
Francis Greaves
2016-Jan-21 17:50 UTC
[CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down
Thanks a million for that. All working fine now. Ragards From: "Phill Bandelow" <phill at onapp.com> To: "Francis Greaves" <francis at choughs.net>, "centos-virt" <centos-virt at centos.org> Sent: Thursday, 21 January, 2016 09:20:40 Subject: Re: [CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down Try this: systemctl start xendomains.service systemctl enable xendomains.service On 21 January 2016 at 08:48, Francis Greaves < francis at choughs.net > wrote: I am using Xen 4.6.0-8.el7 on CentOS 7 with 3 Linux DomUs. I did have Xen 4.? on CentOS 6.5 on my previous system. I installed using yum install centos-release-xen. On shutting down the Hypervisor it used to wait for the DomUs to shut down gracefully (one can take a minute or more), then on starting up again it would restart the DomUs, all nice and controlled. For some reason the DomUs (CentOS or Ubuntu servers) are not shutting down nicely when the Hypervisor is shutdown, and not restarting. I have the cfg files in /etc/xen/auto so they should start up. If I forget to shut down the DomU guests then the shutdown hangs. I am running this on a Dell Poweredge T430 by the way. Any ideas why, and how to cure this? _______________________________________________ CentOS-virt mailing list CentOS-virt at centos.org https://lists.centos.org/mailman/listinfo/centos-virt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20160121/6bd5a041/attachment-0002.html>