[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Florian Heigl <florian.heigl@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.