Re: [libvirt-users] Ceph RBD locking for libvirt-managed LXC (someday) live migrations

2014-01-16 Thread Joshua Dotson
> > Can anyone guide me on how to theoretically build a very "lock" safe > 5-node > > active-active KVM cluster atop Ceph RBD? Must I use sanlock with its NFS > > or GFS2 with its performance bottlenecks? Does your answer work for LXC > > (sans the current state of live migration)? > > The "prope

Re: [libvirt-users] Live migration finish threshold

2014-01-16 Thread Eric Blake
On 01/16/2014 09:23 AM, Joaquim Barrera wrote: > Hello everyone, > > Can somebody point where I can find the code where libvirt makes the > decision to complete a live migration? Libvirt doesn't make the decision, qemu does. So you'll have to look in the qemu code. Libvirt just reacts to the ch

[libvirt-users] Live migration finish threshold

2014-01-16 Thread Joaquim Barrera
Hello everyone, Can somebody point where I can find the code where libvirt makes the decision to complete a live migration? I mean, at some point syncronising the VM state, it has to decide that the delta left to be migrate is low enough to achieve downtime 0, so libvirt finishes the migrati

Re: [libvirt-users] Retry reboots in xmls files for libvirt

2014-01-16 Thread Martin Kletzander
On Thu, Jan 16, 2014 at 04:59:20PM +0100, Fernando Porro wrote: > Hi, > > I have a virtual machine defined by xml that start from pxe (network boot), > my problem is that sometimes the dhcp server is not ready when the virtual > machine try to boot. > > I need that the virtual machine keep asking f

Re: [libvirt-users] vnc port/listen address ignored when setting machine?

2014-01-16 Thread hubert depesz lubaczewski
On Thu, Jan 16, 2014 at 05:11:52PM +0100, Ján Tomko wrote: > On 01/16/2014 05:10 PM, Ján Tomko wrote: > > On 01/16/2014 04:51 PM, hubert depesz lubaczewski wrote: > > > > What is the address reported by 'netstat -tnp'? > Oops, 'nestat -tlnp'. =# netstat -ntlp | grep -i qem tcp0 0 0.0

Re: [libvirt-users] vnc port/listen address ignored when setting machine?

2014-01-16 Thread Ján Tomko
On 01/16/2014 04:51 PM, hubert depesz lubaczewski wrote: > Hi, > First of all, I hope it's not a big problem - I'm running on Debian, not > Redhat. > > To my problem: I'm starting to learn virtualization, libvirt, and > decided to create some test machine. I did it with: > virt-install --name debi

Re: [libvirt-users] vnc port/listen address ignored when setting machine?

2014-01-16 Thread Ján Tomko
On 01/16/2014 05:10 PM, Ján Tomko wrote: > On 01/16/2014 04:51 PM, hubert depesz lubaczewski wrote: > > What is the address reported by 'netstat -tnp'? Oops, 'nestat -tlnp'. > > Jan > signature.asc Description: OpenPGP digital signature ___ libvi

[libvirt-users] vnc port/listen address ignored when setting machine?

2014-01-16 Thread hubert depesz lubaczewski
Hi, First of all, I hope it's not a big problem - I'm running on Debian, not Redhat. To my problem: I'm starting to learn virtualization, libvirt, and decided to create some test machine. I did it with: virt-install --name debian-test \ --os-type=linux \ --os-variant=debianwheezy \ --c

[libvirt-users] Retry reboots in xmls files for libvirt

2014-01-16 Thread Fernando Porro
Hi, I have a virtual machine defined by xml that start from pxe (network boot), my problem is that sometimes the dhcp server is not ready when the virtual machine try to boot. I need that the virtual machine keep asking for dhcp (network reboot) many times, until dhcp is ready and can start the v

Re: [libvirt-users] Ceph RBD locking for libvirt-managed LXC (someday) live migrations

2014-01-16 Thread Daniel P. Berrange
On Wed, Jan 15, 2014 at 05:47:35PM -0500, Joshua Dotson wrote: > Hi, > > I'm trying to build an active/active virtualization cluster using a Ceph > RBD as backing for each libvirt-managed LXC. I know live migration for LXC > isn't yet possible, but I'd like to build my infrastructure as if it wer

Re: [libvirt-users] If it's possible for a third-party PCIe card to be shared by multiple containers

2014-01-16 Thread Daniel P. Berrange
On Thu, Jan 16, 2014 at 08:55:53AM +, WANG Cheng D wrote: > Dear Daniel, > > The thirty-party PCIe card is based on the Xilinx’ FPGA which is off the > shelf, the main features are as follows: > 1) x8 Gen3, 8Gb/s per lane/direction > 2) MSI and legacy interrupt support > 3) Scatter-gather pac

Re: [libvirt-users] If it's possible for a third-party PCIe card to be shared by multiple containers

2014-01-16 Thread WANG Cheng D
Dear Daniel, The thirty-party PCIe card is based on the Xilinx’ FPGA which is off the shelf, the main features are as follows: 1) x8 Gen3, 8Gb/s per lane/direction 2) MSI and legacy interrupt support 3) Scatter-gather packet DMA engine provide by Northwest Logic We hope multiple Linux Containers