Hi, elkner.sol ~ > + virsh list Id Name State ---------------------------------- 0 Domain-0 running 1 win2003sbs running 2 win2008ss blocked Unfortunately a ''virsh shutdown win2003sbs'' does nothing - the domain keeps running. Since one can''t do anything via vncviewer - e.g. Send Ctrl-Alt-Delete doesn''t have any effect at all, the GUI gets refreshed (probably cached by vnc server), but is not responsive. Connection via Win/MacOSX-RDP is also impossible. Any help, how to get this domain back without rebooting dom0 ? Regards, jel. BTW: Is it the expected behavior of "xm debug-key ''R''" to reboot dom0? -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
Did you try "xm destroy" or "virsh destroy". The shutdown of the Dom-U won''t be graceful, but it might get it to shut down. --joe Jens Elkner wrote:> Hi, > > elkner.sol ~ > + virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > 1 win2003sbs running > 2 win2008ss blocked > > Unfortunately a ''virsh shutdown win2003sbs'' does nothing - the domain > keeps running. Since one can''t do anything via vncviewer - e.g. Send > Ctrl-Alt-Delete doesn''t have any effect at all, the GUI gets refreshed > (probably cached by vnc server), but is not responsive. Connection via > Win/MacOSX-RDP is also impossible. > > Any help, how to get this domain back without rebooting dom0 ? > > Regards, > jel. > > BTW: Is it the expected behavior of "xm debug-key ''R''" to reboot dom0? >
On Tue, Oct 14, 2008 at 11:18:11AM -0700, Joseph Mocker wrote:> Did you try "xm destroy" or "virsh destroy".None of them yet, since - if I understand the man pages correctly - I would need to re-install the domain again (which takes ~ 3-4 hours :( ).> The shutdown of the Dom-U > won''t be graceful, but it might get it to shut down.Yes, I expect it to work like pulling the power cable off the machine... This is much more acceptable than rebooting dom0 =:-( - i.e. ungracefully shutdown all other working domains as well and the need for manually killing the processes which prevent ''init 6'' to continue ...> >Unfortunately a ''virsh shutdown win2003sbs'' does nothing - the domain > >keeps running. Since one can''t do anything via vncviewer - e.g. Send > >Ctrl-Alt-Delete doesn''t have any effect at all, the GUI gets refreshed > >(probably cached by vnc server), but is not responsive. Connection via > >Win/MacOSX-RDP is also impossible.Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
Jens Elkner wrote:> On Tue, Oct 14, 2008 at 11:18:11AM -0700, Joseph Mocker wrote: > >> Did you try "xm destroy" or "virsh destroy". >> > > None of them yet, since - if I understand the man pages correctly - I > would need to re-install the domain again (which takes ~ 3-4 hours :( ). > >I think you are misreading the man pages. What statements make you believe this? All I see is a statement saying they are like "abruptly removing the power from a physical machine." I''m sure I''ve don destroy''s before an then started the domains again with no problem. The only problem I would imagine would happen would be disk consistency problems (that would force a fsck or chkdsk). --joe
On Tue, Oct 14, 2008 at 12:53:49PM -0700, Joseph Mocker wrote:> I think you are misreading the man pages. What statements make you > believe this? All I see is a statement saying they are like "abruptly > removing the power from a physical machine."Verflixt - probably doing too much zfs experiments. You are correct. Somehow I missed that (guess my brain has hidden this part of the man page since zfs destroy ... ;-)).> I''m sure I''ve don destroy''s before an then started the domains again > with no problem. The only problem I would imagine would happen would be > disk consistency problems (that would force a fsck or chkdsk).Yepp - dom came up without any problems. Thanx a lot - you made my day :-))))), jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
On Tue, Oct 14, 2008 at 06:28:13PM +0200, Jens Elkner wrote:> elkner.sol ~ > + virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > 1 win2003sbs running > 2 win2008ss blocked > > Unfortunately a ''virsh shutdown win2003sbs'' does nothing - the domainDo you have the PV drivers installed? This is a known issue.> keeps running. Since one can''t do anything via vncviewer - e.g. Send > Ctrl-Alt-Delete doesn''t have any effect at all, the GUI gets refreshed > (probably cached by vnc server), but is not responsive. Connection via > Win/MacOSX-RDP is also impossible.It sounds like the domain has hung, in which case your only option will always be a destroy. It''s like a machine hanging and you having to press the reset button, a familiar Windows experience I''m sure :)> BTW: Is it the expected behavior of "xm debug-key ''R''" to reboot dom0?Yes. regards john
On Wed, Oct 15, 2008 at 01:39:10AM +0100, John Levon wrote:> On Tue, Oct 14, 2008 at 06:28:13PM +0200, Jens Elkner wrote: > > > elkner.sol ~ > + virsh list > > Id Name State > > ---------------------------------- > > 0 Domain-0 running > > 1 win2003sbs running > > 2 win2008ss blocked > > > > Unfortunately a ''virsh shutdown win2003sbs'' does nothing - the domain > > Do you have the PV drivers installed? This is a known issue.Yes - found it soewhere mentioned. Also Joseph Mocker gave the right hint: virsh destroy is not as damaging as I thought ;-)> > keeps running. Since one can''t do anything via vncviewer - e.g. Send > > Ctrl-Alt-Delete doesn''t have any effect at all, the GUI gets refreshed > > (probably cached by vnc server), but is not responsive. Connection via > > Win/MacOSX-RDP is also impossible. > > It sounds like the domain has hung, in which case your only option will > always be a destroy. It''s like a machine hanging and you having to press > the reset button, a familiar Windows experience I''m sure :)LOL - yes. BTW: Currently the X4600M2 seem to be a very bad choice for hosting win2003 or win2008 VMs. Without PV driver awefully slow, with PV driver unusable after reboot. On the other hand, after installing all recent updates wrt. win and than the PV driver, they seem to run pretty stable and fast on IntelServers (5000PAL + 2xE5440 in my case) ...> > BTW: Is it the expected behavior of "xm debug-key ''R''" to reboot dom0? > > Yes.Ah ok - good to know ;-) Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768