* start up script for "xentop"
@ 2011-02-11 17:17 Gautam
2011-02-11 20:55 ` [Xen-users] " Florian Heigl
0 siblings, 1 reply; 5+ messages in thread
From: Gautam @ 2011-02-11 17:17 UTC (permalink / raw)
To: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 233 bytes --]
Hi All,
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 ?
--
Regards
Gautam
[-- Attachment #1.2: Type: text/html, Size: 311 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xen-users] start up script for "xentop"
2011-02-11 17:17 start up script for "xentop" Gautam
@ 2011-02-11 20:55 ` Florian Heigl
2011-02-12 15:00 ` Gautam
0 siblings, 1 reply; 5+ messages in thread
From: Florian Heigl @ 2011-02-11 20:55 UTC (permalink / raw)
To: Gautam; +Cc: xen-devel, xen-users
Hi,
2011/2/11 Gautam <gautamnitc@gmail.com>:
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: start up script for "xentop"
2011-02-11 20:55 ` [Xen-users] " Florian Heigl
@ 2011-02-12 15:00 ` Gautam
2011-02-12 16:49 ` Peter Phaal
2011-02-15 8:14 ` [Xen-devel] " Thomas Goirand
0 siblings, 2 replies; 5+ messages in thread
From: Gautam @ 2011-02-12 15:00 UTC (permalink / raw)
To: Florian Heigl; +Cc: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 1014 bytes --]
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@gmail.com>wrote:
> Hi,
>
> 2011/2/11 Gautam <gautamnitc@gmail.com>:
> > 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
[-- Attachment #1.2: Type: text/html, Size: 1545 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: start up script for "xentop"
2011-02-12 15:00 ` Gautam
@ 2011-02-12 16:49 ` Peter Phaal
2011-02-15 8:14 ` [Xen-devel] " Thomas Goirand
1 sibling, 0 replies; 5+ messages in thread
From: Peter Phaal @ 2011-02-12 16:49 UTC (permalink / raw)
To: Gautam; +Cc: Florian Heigl, xen-devel, xen-users
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@gmail.com> 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@gmail.com>
> wrote:
>>
>> Hi,
>>
>> 2011/2/11 Gautam <gautamnitc@gmail.com>:
>> > 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@lists.xensource.com
> http://lists.xensource.com/xen-users
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xen-devel] Re: start up script for "xentop"
2011-02-12 15:00 ` Gautam
2011-02-12 16:49 ` Peter Phaal
@ 2011-02-15 8:14 ` Thomas Goirand
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Goirand @ 2011-02-15 8:14 UTC (permalink / raw)
To: xen-devel, xen-users
On 02/12/2011 11:00 PM, Gautam wrote:
>
> Thanks Florian,
> Sudo will work.
> but i don't want to give the password.
> i wrote a script which uses *xentop* command.
You don't need to give any password if you setup /etc/sudoers correctly.
Something like that will do:
%xenusers ALL= NOPASSWD: /usr/sbin/xm top
In this case %xenusers is a group. Just let every xm top users join this
group for example.
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-15 8:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 17:17 start up script for "xentop" Gautam
2011-02-11 20:55 ` [Xen-users] " Florian Heigl
2011-02-12 15:00 ` Gautam
2011-02-12 16:49 ` Peter Phaal
2011-02-15 8:14 ` [Xen-devel] " Thomas Goirand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.