Dominik Klein
2007-Aug-08 07:13 UTC
[Xen-users] What is the best way to determine a domU is running?
Hi I need a healthcheck for my domU. Of course I could go "xm list|grep $dom" but that is pretty ugly. I could also ping my domain''s IP but that tells me nothing about its state as a Xen domain. So what is the suggested way to determine the domain status correctly? Regards Dominik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yves-gaël Chény
2007-Aug-08 08:20 UTC
Re: [Xen-users] What is the best way to determine a domU is running?
xm list $dom without grep, it''s ok and xm list -ll $dom is giving you more info regards yves -- Yves-Gaël Chény Directeur technique 44 Boulevard des Pas Enchantés 44230 St Sébastien sur Loire Tel : 02 40 97 62 67 - 08 73 77 24 91 GSM : 06 98 58 41 55 http://www.tranquilitsystems.com/ yves-gael.cheny@tranquil-it-systems.fr Tranquil IT Systems . SAS 37 000 ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dominik Klein
2007-Aug-08 08:30 UTC
Re: [Xen-users] What is the best way to determine a domU is running?
Yves-gaël Chény schrieb:> xm list $dom > without grep, it''s ok > and > xm list -ll $dom > is giving you more infoSo what would this return if the domain is a zombie or not running ok in any other way (i dont know what ways exist)? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal
2007-Aug-20 10:08 UTC
Re: [Xen-users] What is the best way to determine a domU is running?
If this has static ip then you can ping from dom0 and check if its in healthy state. # xm list also show domain state but sometimes these are misleading. On 8/8/07, Dominik Klein <dk@in-telegence.net> wrote:> > Hi > > I need a healthcheck for my domU. > > Of course I could go "xm list|grep $dom" but that is pretty ugly. I > could also ping my domain''s IP but that tells me nothing about its state > as a Xen domain. > > So what is the suggested way to determine the domain status correctly? > > Regards > Dominik > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andy Smith
2007-Aug-20 17:32 UTC
Re: [Xen-users] What is the best way to determine a domU is running?
Hi, On Wed, Aug 08, 2007 at 09:13:35AM +0200, Dominik Klein wrote:> I need a healthcheck for my domU. > > Of course I could go "xm list|grep $dom" but that is pretty ugly. I > could also ping my domain''s IP but that tells me nothing about its state > as a Xen domain. > > So what is the suggested way to determine the domain status correctly?Personally I care more about the services that my domUs are providing than their state as Xen sees it. So what is wrong with monitoring them like you would services on any server, virtualised or not? Cheers, Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Aug-21 06:34 UTC
Re: [Xen-users] What is the best way to determine a domU is running?
Andy Smith wrote:> Hi, > > On Wed, Aug 08, 2007 at 09:13:35AM +0200, Dominik Klein wrote: > >> I need a healthcheck for my domU. >> >> Of course I could go "xm list|grep $dom" but that is pretty ugly. I >> could also ping my domain''s IP but that tells me nothing about its state >> as a Xen domain. >> >> So what is the suggested way to determine the domain status correctly? >> > > Personally I care more about the services that my domUs are > providing than their state as Xen sees it. So what is wrong with > monitoring them like you would services on any server, virtualised > or not? >That''s what I do, with Nagios and MRTG. I would like to have a graceful tool to publish web information about the Xen guests in a non-root-owned GUI. In particular, GUI''s like the "virt-manager" on RedHat and Fedora Core can''t tell when a domain is *down* that should be up, nor can they activate it. Does anyone have tools for that that actually work? I''ve seen quite a few badly written different little GUI''s, and haven''t yet found a good one. (Robust, uses the actual existing configuration files, does not require local user account, etc.) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users