Opened 4 years ago

Closed 4 years ago

#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):

Description

Background

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:
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers
These drivers should be installed on VMs server4 and server2.

Change History (5)

comment:1 Changed 4 years ago by fred

  • Cc matze added

comment:2 Changed 4 years ago by fred

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

comment:3 Changed 4 years ago 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 4 years ago 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 https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1178625) 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 4 years ago by fred

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.