Opened on 08/19/2015 at 02:50:25 PM

Closed on 10/12/2015 at 02:05:06 PM

#2929 closed change (fixed)

Enable graceful shutdown for Windows guests on XEN hosts

Reported by: fred Assignee: fred
Priority: P2 Milestone:
Module: Office-IT Keywords:
Cc: matze Blocked By:
Blocking: #2667 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):



Currently, our Windows Server OS cannot be shutdown or rebooted (gracefully) from the XEN host. But this is necessary when the XEN host has to shutdown all VMs automatically, e.g. in case of a power outage when the UPS battery runs out or for in general for a reboot of the XEN host.

What to change

There exists a set of open source XEN PV drivers for Windows that (besides a noticeable performance increase on the Windows guest) allows for signalling a graceful shutdown / reboot command from the XEN host.
They can be downloaded from here:
These drivers should be installed on VMs server4 and server2.

Attachments (0)

Change History (5)

comment:1 Changed on 08/19/2015 at 02:50:55 PM by fred

  • Cc matze added

comment:2 Changed on 10/06/2015 at 01:27:39 PM by fred

The XEN PV drivers for Windows have been installed on server4.

comment:3 Changed on 10/06/2015 at 01:52:26 PM by fred

The XEN PV drivers for Windows have been installed on server2.

Now a real-life test of the graceful shutdown of the Windows VMs via the power management tools on the XEN host (xen1) is still needed.

comment:4 Changed on 10/12/2015 at 02:04:12 PM by fred

Shutdown procedure tests have been performed during a maintenance window an showed, that the /etc/init.d/xendomains init script provided by the ubuntu 14.04 XEN packages has a bug (see that prevents the guest VMs to be properly shutdown.

So after a certain timeout is hit, the VMs are switched off without further notice to the guest OS, resulting in complaints by the guest OS about an unclean shutdown and potentially in data-loss.

After applying a patch provided in the bug report mentioned above, the xendomains script is able to properly notify the guest OS to trigger a clean shutdown.

comment:5 Changed on 10/12/2015 at 02:05:06 PM by fred

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from fred.
Note: See TracTickets for help on using tickets.