Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
于 2011年10月27日 11:16, Luengffy XUE 写道: > Oh, I think I can describe the problem more specific. > > 1 Creat the vm in the source host and it run well. > 2 Create the image in the destination and change the user and group 2)的意思是你自己在dest上创建了同名的image么? > 3 Open TCP socket in the destination host. 你是咋

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Luengffy XUE
Oh, I think I can describe the problem more specific. 1 Creat the vm in the source host and it run well. 2 Create the image in the destination and change the user and group 3 Open TCP socket in the destination host. In the source host I use the different command as 1 $ virsh migrate

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
? 2011?10?26? 22:22, Luengffy XUE ??: Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host co

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Luengffy XUE
I find this error is cause by this source C --savevm.c http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/savevm.c?v=qemu-kvm-0.12.3 I do not understand it. Anyone who develop it? 2011/10/26 vmnode guy > Try this, i am not sure it will works.. > $ virsh -c qemu+ssh://destinationHost/sy

Re: [libvirt-users] How to collect the VM bandwidth usage utilization

2011-10-26 Thread Peter Phaal
If you are trying to monitor KVM, XenServer or Xen then you might want to take a look at the Host sFlow project: http://host-sflow.sourceforge.net/ The Host sFlow agent is installed on the hypervisor and exports libvirt metrics for the VMs. sFlow uses a push model, continually streaming the metric

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-26 Thread vmnode guy
Hello HetZ, I try the put in the example and try run, but it's don't seem to be works. Do you have the same problem, do you know how should i proceed ? root@cn1:/var/www# cat info.php root@cn1:/var/www# It doesn't show any output.. I also put this example into a file log.php and run it. It

Re: [libvirt-users] Start of libvirtd fails with error "undefined symbol: __virAlloc"

2011-10-26 Thread Eric Blake
On 10/24/2011 10:02 AM, Langenbach, Steffen wrote: Hello List like described in the topic I have a problem with starting the libvirtd. I'm a complete newbie with libvirtd, today I heard the first time that such a daemon exists after I get the message that our webserver isn't running (a former

Re: [libvirt-users] how to setup libvirt with java bindings for use

2011-10-26 Thread Dan Hirsch
Can you please elaborate ? How is it done? Do I have to do it for each platform? Sent from my iPhone On Oct 26, 2011, at 17:08, Bryan Kearney wrote: On 10/26/2011 09:39 AM, Dan Hirsch wrote: Hi, I would like to use libvirt to manipulate virtual machines of different types (KVM, ESXi etc.) I

Re: [libvirt-users] virsh start VM failed

2011-10-26 Thread vmnode guy
On Wed, Oct 26, 2011 at 11:50 PM, Eric Blake wrote: > [re-adding the list] > > > On 10/26/2011 09:37 AM, 邱敏鈴 wrote: > >> linux distribution : linux2.6.35-30-server version : ubuntu10.10 >> >> virsh # version >> Compiled against library: libvir 0.8.3 >> Using library: libvir 0.8.3 >> Using API: Q

Re: [libvirt-users] virsh start VM failed

2011-10-26 Thread Eric Blake
[re-adding the list] On 10/26/2011 09:37 AM, 邱敏鈴 wrote: linux distribution : linux2.6.35-30-server version : ubuntu10.10 virsh # version Compiled against library: libvir 0.8.3 Using library: libvir 0.8.3 Using API: QEMU 0.8.3 Running hypervisor: QEMU 0.12.5 /var/log/libvirt/qemu/controlnode.l

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread vmnode guy
Try this, i am not sure it will works.. $ virsh -c qemu+ssh://destinationHost/system migrate --live --copy-storage-all vmubuntu But it works for me for below option:- $ virsh -c qemu+ssh://destinationHost/system migrate list Regards, Peter On Wed, Oct 26, 2011 at 10:22 PM, Luengffy XUE wrote:

Re: [libvirt-users] how to setup libvirt with java bindings for use

2011-10-26 Thread Bryan Kearney
On 10/26/2011 09:39 AM, Dan Hirsch wrote: Hi, I would like to use libvirt to manipulate virtual machines of different types (KVM, ESXi etc.) I added dependencies to my project the libvirt and jna jars. trying to execute your example code I am getting a run time exception saying the library cann't

[libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Luengffy XUE
Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host command line. $ virsh migrate --li

Re: [libvirt-users] virsh start VM failed

2011-10-26 Thread Eric Blake
On 10/26/2011 08:10 AM, vmnode guy wrote: > May i know what linux distribution, version, and version of libvirt you are > using ? Also, what does /var/log/libvirt/qemu/controlnode.log say, and what does 'virsh dumpxml controlnode' say? Does 'virsh managedsave-remove controlnode' help (it matters

Re: [libvirt-users] virsh start VM failed

2011-10-26 Thread vmnode guy
May i know what linux distribution, version, and version of libvirt you are using ? Regards, Peter On Wed, Oct 26, 2011 at 11:13 AM, 邱敏鈴 wrote: > Dear, > > I encountered some problems when I used the virsh to start my virtual > machines. I had tried some ways but I still couldn't solve it. > Pl

[libvirt-users] how to setup libvirt with java bindings for use

2011-10-26 Thread Dan Hirsch
Hi, I would like to use libvirt to manipulate virtual machines of different types (KVM, ESXi etc.) I added dependencies to my project the libvirt and jna jars. trying to execute your example code I am getting a run time exception saying the library cann't be found. it an actual libvirt c library is

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-26 Thread vmnode guy
Thanks HetZ, it works now! Regards, Peter On Tue, Oct 25, 2011 at 8:04 PM, חץ בן חמו wrote: > Hi, > > Depending on which linux distribution you use, you'll need to install the > php development packages. > In Red Hat or Fedora it's php-devel while on ubuntu I think it's called > php5-dev or som

[libvirt-users] virsh start VM failed

2011-10-26 Thread 邱敏鈴
Dear, I encountered some problems when I used the virsh to start my virtual machines. I had tried some ways but I still couldn't solve it. Please help me, thanks. error messages : virsh # start controlnode error: Failed to start domain controlnode error: internal error process exited while conne