[libvirt-users] virsh create error : monitor socket did not

2012-03-14 Thread 张光鹏
Hi, Occasionally I run into this situation , i created a vm-template and i use "virsh create vm-template " to start a vm .After a pause , i got this error : virsh create error : monitor socket did not ; Then i try again with the same template and the same command , my vm created successfully. I

Re: [libvirt-users] Memory statistics for DomU's

2012-03-14 Thread Eric Blake
[your mailer broke threading because it failed to set In-Reply-To headers] On 03/14/2012 01:41 PM, ing...@web.de wrote: >> The virDomainMemoryStats() is probably the >> key API to be using, > virDomainMemoryStats() I already focused, but there's not directly the data I > need (read and written

Re: [libvirt-users] Memory statistics for DomU's

2012-03-14 Thread inge85
Am 14.03.2012 20:26, schrieb Eric Blake: On 03/14/2012 01:21 PM, ing...@web.de wrote: > Hello, > > I have a question about memory statistics in libvirt for domU. I want to get > read and written bytes of RAM of a domain in the same way as blockstats for read > and written bytes on disk. I alr

Re: [libvirt-users] Memory statistics for DomU's

2012-03-14 Thread Eric Blake
On 03/14/2012 01:21 PM, ing...@web.de wrote: > Hello, > > I have a question about memory statistics in libvirt for domU. I want to get > read and written bytes of RAM of a domain in the same way as blockstats for > read > and written bytes on disk. I already read the API, but I didn't get it. I

[libvirt-users] Memory statistics for DomU's

2012-03-14 Thread inge85
Hello, I have a question about memory statistics in libvirt for domU. I want to get read and written bytes of RAM of a domain in the same way as blockstats for read and written bytes on disk. I already read the API, but I didn't get it. I want to graph the RAM utilization of

[libvirt-users] Weird behavior with LVM storage pool on host

2012-03-14 Thread Ernesto Domato
Hi list, the problem that I'm having seems to be between libvirtd and udev I have two hosts with LVM. The root partition run over this LVM. After booting the machine, if I do "udevadm settle" it responds almost instantly but then if I launch libvirtd the "udevadm settle" command doesn't respond fo

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-14 Thread Su Zhang
The issue hasn't been eliminated. Here is the running script: [root@XenTester su]# virt-install -p -c xen:/// ERRORHost does not support virtualization type 'xen' [root@XenTester su]# virsh uri xen:/// [root@XenTester su]# Any other possibilities? On Wed, Mar 14, 2012 at 12:30 PM, Eric Blak

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-14 Thread Eric Blake
[please don't top-post on technical lists - I've reformatted my reply] On 03/14/2012 11:24 AM, Su Zhang wrote: >>> However, while I was installing domU image by using virt-install -p at >>> domU OS. I encountered an >>> error information" Host does not support virtualization type 'xen' ". > Tha

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-14 Thread Su Zhang
Thanks for your reply. Yet it seems that it does support Xen based on the running script: virsh --version=long Virsh command line tool of libvirt 0.9.10 See web site at http://libvirt.org/ Compiled with support for: Hypervisors: Xen QEmu/KVM UML OpenVZ VirtualBox LXC Test Networking: Remote Dae

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-14 Thread Eric Blake
On 03/14/2012 10:43 AM, Su Zhang wrote: > Hello Community, > > I successfully installed and run xen (xm list and xm info (but virt_caps > only has hvm) can output appropriately). > However, while I was installing domU image by using virt-install -p at > domU OS. I encountered an > error informat

[libvirt-users] Host does not support virtualization type 'xen'

2012-03-14 Thread Su Zhang
Hello Community, I successfully installed and run xen (xm list and xm info (but virt_caps only has hvm) can output appropriately). However, while I was installing domU image by using virt-install -p at domU OS. I encountered an error information" Host does not support virtualization type 'xen' "

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Eric Blake
On 03/14/2012 01:32 AM, Alex Jia wrote: > I'm not sure whether you met a sanlock AVC error in your > /var/log/audit/audit.log, could you check it and provide your > selinux-policy version? in addition, you should turn on selinux bool > value for sanlock, for example, > > # getsebool -a|grep sanloc

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Alex Jia
On 03/14/2012 05:39 PM, Frido Roose wrote: On Wed, Mar 14, 2012 at 8:32 AM, Alex Jia > wrote: On 03/13/2012 10:42 PM, Frido Roose wrote: Hello, I configured libvirtd with the sanlock lock manager plugin: # rpm -qa | egrep "libvirt-0|sanlock-[01]" li

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Frido Roose
On Wed, Mar 14, 2012 at 8:32 AM, Alex Jia wrote: > ** > On 03/13/2012 10:42 PM, Frido Roose wrote: > > Hello, > > I configured libvirtd with the sanlock lock manager plugin: > > # rpm -qa | egrep "libvirt-0|sanlock-[01]" > libvirt-lock-sanlock-0.9.4-23.el6_2.4.x86_64 > sanlock-1.8-2.el6.x86_64

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Alex Jia
On 03/13/2012 10:42 PM, Frido Roose wrote: Hello, I configured libvirtd with the sanlock lock manager plugin: # rpm -qa | egrep "libvirt-0|sanlock-[01]" libvirt-lock-sanlock-0.9.4-23.el6_2.4.x86_64 sanlock-1.8-2.el6.x86_64 libvirt-0.9.4-23.el6_2.4.x86_64 # egrep -v "^#|^$" /etc/libvirt/qemu-sa