WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-users] start up script for "xentop"

To: Gautam <gautamnitc@xxxxxxxxx>
Subject: Re: [Xen-users] start up script for "xentop"
From: Peter Phaal <peter.phaal@xxxxxxxxx>
Date: Sat, 12 Feb 2011 08:49:45 -0800
Cc: Florian Heigl <florian.heigl@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Feb 2011 08:51:07 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kXe7cEeQn9dVv0q4ghG4zaWkANG0V0sM+F3CxPAzwBs=; b=tvNOkALhsih040ZQwJOhpzhZfCOFrT1JvrcLUfr/pfAa43eC75vW/aOoRZFimIM7Le M8HSo57SIhn0ZwbQwbv+aJ5Cewlh4ihtzORlLHGzGBsyQxGKfeb0fx3biMPChD4LYqmP KYU2XWG2nxX5IbZQSWyLTnNXmQCmPrxqoYj+Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HepE/G4av6FnkSD4sZyBoVEBmQhJODuks0hDR8W3Sl0D7OIeDjFctJv9f4JzN6f3cW lxsRuk2zSTIvOlde9cUfQrDWFMvFoFmAntGMW0E2TtK3AQI33Rli0atgykNA6iZQZAnb V3oMf+3xzIbTrMIx8Ody3DNbDf0xqi0jVqXT0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinmzMKeOUA-82tVimX000XxOMXmnqdkfsMvYe4z@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=eQ0+J0jo51DbhuZk531fPTBDKQHvTzUHgvYM+@xxxxxxxxxxxxxx> <AANLkTimtGxVdyzSkNjBjFcc+j=XEQN+rxpqmvC-5tgVX@xxxxxxxxxxxxxx> <AANLkTinmzMKeOUA-82tVimX000XxOMXmnqdkfsMvYe4z@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You might want to take a look at the Host sFlow daemon:

http://host-sflow.sourceforge.net/

It exports all the dom0 and domN statistics from xentop, along with
additional dom0 CPU, memory, disk and network I/O statistics, making
it easy to monitor all the servers in your live migration pool from a
central location, providing the data you would need for load
balancing.

The following article provides links to resources and tools for
developing applications that support the sFlow standard:

http://blog.sflow.com/2010/01/developer-resources.html

Peter

On Sat, Feb 12, 2011 at 7:00 AM, Gautam <gautamnitc@xxxxxxxxx> wrote:
>
> Thanks Florian,
> Sudo will work.
> but i don't want to give the password.
> i wrote a script which uses xentop command.
>
> On Sat, Feb 12, 2011 at 2:25 AM, Florian Heigl <florian.heigl@xxxxxxxxx>
> wrote:
>>
>> Hi,
>>
>> 2011/2/11 Gautam <gautamnitc@xxxxxxxxx>:
>> > i want to add the automatic live migration features in XEN.
>> > i am facing one issue regarding xentop command.
>> > Is it possible to run the xentop command in normaluser mode or withou
>> > supplying the password ?
>>
>> would sudo work for you?
>> you can "allow" a single command for a user, and even use that via a
>> hardcoded call in your ssh authorized_keys.
>>
>> Also maybe you wanna look (google) a script xen-balance.rb (i think
>> that was the name), which can already balance between dom0s. It could
>> use some more work but might be a great start.
>>
>> Flo
>>
>> --
>> the purpose of libvirt is to provide an abstraction layer hiding all
>> xen features added since 2006 until they were finally understood and
>> copied by the kvm devs.
>
>
>
> --
> Regards
> Gautam
>
>
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users