DomU Guests Not Shutting Down Nicely When Dom0 Hypervisor Shuts Down

Home » CentOS-Virt » DomU Guests Not Shutting Down Nicely When Dom0 Hypervisor Shuts Down
CentOS-Virt 4 Comments

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?

4 thoughts on - DomU Guests Not Shutting Down Nicely When Dom0 Hypervisor Shuts Down

  • Yes, 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

  • Thanks a million for that. All working fine now. Ragards

    From: “Phill Bandelow” To: “Francis Greaves” , “CentOS-virt”
    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@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@CentOS.org https://lists.CentOS.org/mailman/listinfo/CentOS-virt