Re: [libvirt-users] Libvirt newbie, need help with doubts

2011-10-07 Thread Eric Blake
Forwarding to the list (this was mistakenly sent to just me) On 10/07/2011 11:32 AM, Mohammed Naser wrote: On 2011-10-07, at 12:13 PM, Eric Blake wrote: On 10/07/2011 05:28 AM, PREETHI RAMESH wrote: 3. I'm developing an application in Java to monitor VM usage(Memory,CPU, Network etc). Are

Re: [libvirt-users] Libvirt newbie, need help with doubts

2011-10-07 Thread Eric Blake
On 10/07/2011 05:28 AM, PREETHI RAMESH wrote: Hi, These are my doubts: I'll answer what I can, but you'll have to hope that others chime in as well. 1. I tried live migration of Ubuntu 11.04 from the one physical machine to another using the migrate() function. I connected via tcp in the d

Re: [libvirt-users] Reg: shutdown/restart from within the container(system LXC)

2011-10-07 Thread Alphonse Hansel Anthony
Hi Daniel, I checked the latest version (0.9.6) and observed the following from the code. * So If a shutdown is issued from the within the container and only if that init process within the container terminates, the function "lxcPidGone()" in lxcController, takes care of exiting from

[libvirt-users] Libvirt newbie, need help with doubts

2011-10-07 Thread PREETHI RAMESH
Hi, These are my doubts: 1. I tried live migration of Ubuntu 11.04 from the one physical machine to another using the migrate() function. I connected via tcp in the destination URI and migrated successfully(lesser than 2 seconds). I tried running virsh list --all on the destination PM and confirme

Re: [libvirt-users] Performance tuning questions for mail server

2011-10-07 Thread Emmanuel Noobadmin
On 10/7/11, Alex wrote: > Can I also ask how you measured performance and the effect any changes > you made may have had on the system? > > iotop seems very general. Perhaps sar? Ideas for graphing its output? Well for that situation, people were screaming at me so I didn't really measured things

Re: [libvirt-users] Performance tuning questions for mail server

2011-10-07 Thread Emmanuel Noobadmin
On 10/7/11, Alex wrote: > The only thing I haven't done from above is to use ionice on mail > processes. I'm using RAID5 across three 1TB SATA3 disks, RAID 5 is another major bottleneck there. The commonly cited write penalty for RAID 5 appears to be 4 IOPS, while RAID 1/10 is 2 IOPS. Due to the

Re: [libvirt-users] Reg: shutdown/restart from within the container(system LXC)

2011-10-07 Thread Daniel P. Berrange
On Thu, Oct 06, 2011 at 02:06:19PM -0400, Alphonse Hansel Anthony wrote: > Hi, > >Is it possible to shutdown/restart a system LXC from within the > container? > >From what I have observed(Version - 0.8.4): >* The libvirt_lxc manager process, which listens on the /dev/pts for > console