Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have xen server free edition. Today one of the guest VM was very loaded and I decided to reboot it. Now it can not start. It is with Ubuntu 10.04 Server. The machine is shown as running in xsconsole and in windows Xen control center. It shows 100 % CPU and 100 % RAM usage. The console shows nothing (it doesn't show boot process). And the worst is that I have no backup. Is there any advice how to see what is going on. I exported it to file and now I am trying it to import it into another server, because I can't reboot the physical server it runs on. Can this save me (the reboot of the server)

Thank you

share|improve this question
1  
First thing I'd do is run 'xe task-list' from command line on the Xen server to get the status of all tasks. Your reboot task might be pending and be waiting for another task to complete before it is executed. You can then try and cancel the blocking task. –  Athanasios Jul 6 '11 at 13:25

3 Answers 3

I would try xe-toolstack-restart. this will restart all associated services without needing to reboot the cms.

share|improve this answer

You can try this procedure:

  1. Get the uuid of the hung VM: xe vm-list name-label=VMname
  2. Find the VM domain id: list_domains | grep [uuid]
  3. Destroy the VM domain: /opt/xensource/debug/destroy_domain -domid [domain id]
  4. Reboot the VM: xe vm-reboot name-label=VMname --force

This solved my problems with hanging VM's.

share|improve this answer

You can use the xe task-cancel command to kill the process. If all else fails try restarting the XenServer API service: service xapi restart

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.