David Kowis
2006-Feb-23 13:57 UTC
[Xen-users] xm list not showing guest machines as "running"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 as the screenshot [0] shows, my virtual machines aren''t showing up as running. This causes me a few problems. One being if I do xm shutdown SMGL-1 it simply powers it down, it doesn''t send the "shutdown signal" or whatever makes it go away :) I''ve done a from source install using the instructions mentioned [1]. Other than that it''s working great. Am i supposed to start some sort of daemon on the guest VM so that xm list|top know that the machine is running? I''m really not sure why it''s not showing up as "running." Occasionally, I''ll see a "b" in there, so I know it''s communicating somehow. I''m using xen 3.0.1. [0] http://static.flickr.com/37/103028680_6cd1bfb473_o.png [1] http://lists.xensource.com/archives/html/xen-users/2005-09/msg00701.html - -- David Kowis ISO Team Lead - www.sourcemage.org Source Mage GNU/Linux Progress isn''t made by early risers. It''s made by lazy men trying to find easier ways to do something. - Robert Heinlein Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iQGVAwUBQ/2/X8nf+vRw63ObAQqk8wv/QsPnccsvjS8dnFu6rA9smUHSsrbAJiID DRgS4AzgZ4XS2LIjgrqWy2gGGVqxk2B2B+B3Q5hoRFNj4VWy8UkSIgCw01Z1z8AR u8h3vB2vG1T0hr3iGah+8JeYtSR1ZnrJyfDRCr5i7GFrHPI8pX1O9t56pHzmxqzx WSLItZcJdErs2cohD6CSeRb67Pzr+zL3rtUVnXkIAwBV0iqYJl+XIxV0QEax/Y52 Qy4EY9QhIE+6sUgMhvNGGFC3pDxLpqNBw9zeQrrlf8STyUQPqRaTvdwmTaZlnwor gpZJtdGlyUjezlV41cQIZsZUsDDPjz33dtkQUCB4/Plfe8TfLEYYiJFAeGanTrFZ t1Mc465lQKn2+UjxlJb1nmeEpLdKeaScz5ZXRTgidPfzOoW6qnPTmZfK/XfUnuZW 3iUdlOJzFC6t71jQZM794kAJ/cEQjD25+PW8bdUG048SKGq116Dg7Xe8feDF2WXe 7Ns9SkbvHdQXrEOL8GK8WO8UhD9p5DLV =X+eT -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ernst Bachmann
2006-Feb-23 14:39 UTC
Re: [Xen-users] xm list not showing guest machines as "running"
On Thursday 23 February 2006 14:57, David Kowis wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > as the screenshot [0] shows, my virtual machines aren''t showing up as > running. This causes me a few problems. One being if I do xm shutdown > SMGL-1 it simply powers it down, it doesn''t send the "shutdown signal" > or whatever makes it go away :) I''ve done a from source install using > the instructions mentioned [1]. Other than that it''s working great. Am i > supposed to start some sort of daemon on the guest VM so that xm > list|top know that the machine is running? I''m really not sure why it''s > not showing up as "running." Occasionally, I''ll see a "b" in there, so I > know it''s communicating somehow. > > I''m using xen 3.0.1.Its normal they don''t show as running. the running flag is only set if the domain has ownership of a CPU just in that moment. If you run xen on a single CPU system, no domU can ever show as running, as the cpu is obviously currently in dom0, producing the xm top output. "blocked" means: that domain is waiting for some IO to complete, that is, it just passed a network packet / hdd request to the backend drivers and is waiting for the answer. to test the shutdown: attach to the console with "xm console ...", then issue the xm shutdown from another shell to see if it really does skip the shutdown process. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Kowis
2006-Feb-23 15:46 UTC
Re: [Xen-users] xm list not showing guest machines as "running"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Ernst Bachmann wrote:> On Thursday 23 February 2006 14:57, David Kowis wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> as the screenshot [0] shows, my virtual machines aren''t showing up as >> running. This causes me a few problems. One being if I do xm shutdown >> SMGL-1 it simply powers it down, it doesn''t send the "shutdown signal" >> or whatever makes it go away :) I''ve done a from source install using >> the instructions mentioned [1]. Other than that it''s working great. Am i >> supposed to start some sort of daemon on the guest VM so that xm >> list|top know that the machine is running? I''m really not sure why it''s >> not showing up as "running." Occasionally, I''ll see a "b" in there, so I >> know it''s communicating somehow. >> >> I''m using xen 3.0.1. > > Its normal they don''t show as running. the running flag is only set if the > domain has ownership of a CPU just in that moment. If you run xen on a single > CPU system, no domU can ever show as running, as the cpu is obviously > currently in dom0, producing the xm top output.Oh okay, well thats good then :)> > "blocked" means: that domain is waiting for some IO to complete, that is, it > just passed a network packet / hdd request to the backend drivers and is > waiting for the answer.Okay, that''s what I figured...> > to test the shutdown: > > attach to the console with "xm console ...", then issue the xm shutdown from > another shell to see if it really does skip the shutdown process.Oh it most definately skips. I''m seeing the login prompt and then I see a "Power down." then I''ve got my dom0 console back. from another console: xm shutdown SMGL-1 <Screen paste> rc: Entered runlevel 3... Entered runlevel default... Welcome to /dev/tty1 of smgl-xen1 on Thu Feb 23 2006 Running Source Mage GNU/Linux, kernel 2.6.12.6-xenU on i686 smgl-xen1 login: Power down. root@xen:/etc/xen# </Screen paste> It shouldn''t have done the Power Down. bit, it should''ve gone through the rest of the shutdown stuff, as if I''d told it to halt. - -- David Kowis ISO Team Lead - www.sourcemage.org Source Mage GNU/Linux Progress isn''t made by early risers. It''s made by lazy men trying to find easier ways to do something. - Robert Heinlein Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iQGVAwUBQ/3Y1snf+vRw63ObAQoDvAv9EImszxkMn6YwYZJ2IrA/JUpuPNemZfp0 uf9OZWiMpKU73mstXy96Ho/6vgVX+dCZFBJRzV6PuzQPi1i4s4JbgWxcWUKiK/ug 3NoBiud46EfQJJ+WVUqcHffdt0OfCE199Ljz3pNJ1d/c3WMr6q1iHe7KIi2YTMpZ ThauKR6L5CLM47BLKUvGJbRDLVGiMJyrFD5vy+ACb4OL5p7GtOezQWFuCxgyxjQH B3za4jgG3VykDp4o7I27Cce9XugY2/NDYEkSJbbQKe6ipzo0Y1d8PGwBTRiawaBd aLouLWWE3qCyVmra/PbTC/+bFTb8sF4OfgpVN/x7rAsGDhZ5BSUMeNfZVSaDFn7B qER4lVgSQWnASJl66RCAByzU+U6thIKMTQ6SFv2+4i0PjXkPkBOQ6N5lsDvG9hqa Wum3OYLOMlifVXwJJALEDYD4nke9/WnaL7elXmxet66ikogLvv4xwFiUYBR93zCA 1uC4kMwCtw03zbOMRTttIqrWpPFYfzKn =bmfR -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users