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-users

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

To: Florian Heigl <florian.heigl@xxxxxxxxx>
Subject: Re: [Xen-users] start up script for "xentop"
From: Gautam <gautamnitc@xxxxxxxxx>
Date: Sat, 12 Feb 2011 20:30:05 +0530
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Feb 2011 07:01:49 -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:from:date :message-id:subject:to:cc:content-type; bh=RbvFld8EWoURWt0oAaYHGICGBuy1tt4Vuc9c9YlQf3I=; b=ZAq+ADkPZvcnM/JNNI+QaymbkbbS5TOUkESpjJdvWjBRuHAzbmp50qlqhskW5JIetW b25z1BvEdHF4Otu8rI6Gkdd/nzGOxCOKxKAQDoxBYw9pVDqPcWbXp4EsobvvGK8lXEIV /OYDtEFwGHRKcY1KOIkDY++oZGYoGDubG/cKY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=wJQxmHjk1PW5tABQhcPNE1290rbgXJ8Xl2vyX1oKTRkyIQ+I9FuYYDbjeFxFgWr2be YeWIGgf/FlGIIFx1GyiHoZmtX7LD80CDO2K7bCqPMn/I9Gr+mw4holtCcaeDSuVs3WZI yiG2/mQv0q2krYYJk69WGRRtarlif+zoNnpy4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimtGxVdyzSkNjBjFcc+j=XEQN+rxpqmvC-5tgVX@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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