Error backup vzdump STOP with Windows Server 2008R2

kev

New Member
Dec 10, 2013
2
0
1
Hi

I have a problem with backups in STOP mode on Proxmox 2.3 server's.

My virtual machines do not stop at the time of the backup. Virtual machines are Windows Server 2008 R2.

Here is the error:

[Dec 08 22:28:19 ERROR: Backup of VM 107 failed - command 'qm shutdown 107 --skiplock --keepActive --timeout 600' failed: exit code 255

Do you have any idea? Could someone help me please? What should I do for my Windows virtual machine stops?

thank you

Kevin
 
Have a look at:
http://pve.proxmox.com/wiki/Acpi_kvm
and also "Power settings" section of:
http://pve.proxmox.com/wiki/Windows_2003_guest_best_practices
Once configured, try the shutdown command from web interface to see if the host really shuts down. I have problems in RDP servers where some user can have the session open and then the above tricks fails anyway. A "guest agent" that can take care of this stuff would be great but seems not available AFAIK for kvm and windows
hope it helps
 
It is not 100% reliable but I have found that issuing two shutdown commands to windows VMs usually works.
Maybe you can implement the additional shutdown command using a vzdump hook script.

There is also a group policy setting that can prevent ACIP shutdown from working so you might want to check that too.
 
Have a look at:
http://pve.proxmox.com/wiki/Acpi_kvm
and also "Power settings" section of:
http://pve.proxmox.com/wiki/Windows_2003_guest_best_practices
Once configured, try the shutdown command from web interface to see if the host really shuts down. I have problems in RDP servers where some user can have the session open and then the above tricks fails anyway. A "guest agent" that can take care of this stuff would be great but seems not available AFAIK for kvm and windows
hope it helps

Okay thank you for the advice, it worked. I applied the gpo the following link: http://pve.proxmox.com/wiki/Windows_2008_guest_best_practices


Power settings
  • In Windows Server 2008, you need to disable the 'Shutdown Event Tracker'. This setting in Group Policy. If the server is part of a domain, you need to edit the group policy for the organizational unit with the server. If you're not using a domain, you can edit the local group policy. This can be accessed by doing the following:
    • Start -> Run -> gpedit.msc -> ok -> open "Computer Configuration" then "Policy" then "Administrative Templates" then "System". In the right pane, double click on 'Display Shutdown Event Tracker' and select 'disable' and OK. To make sure the new group policy is applied. Go to Start -> run -> cmd -> ok and type in 'gpupdate /force' without the quotes. Now when you select shutdown, you won't be promoted with the box asking why you are shutting down the server.



  • In order to make Windows 2008 R2 guest shutdown cleanly on the event of a shutdown (power button) on the Proxmox VE host you need make the following changes:
    • Control Panel -> System and Security -> Power Options -> Edit Plan Settings -> Turn off the display: Never
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!