Re: [libvirt-users] no connection driver available for openvz:///system

2011/10/12 张立洪 <zlh_086@126.com>
thanks for help.
I download a new libvirt 0.8.1,and compile libvirt.spec. and I success.I can use virsh command connect openvz.
but I want use libvirt manager KVM and openvz simultaneously.can you tell me how can I implement.....? openvz and kvm 's VMs can network interconnect? the end I want to ask whether libvirt0.9.6 support openvz,vbox,lxc etc?
thanks very much again!!!! look forward to your replies.
Replying back to the list as this may be useful for others. Personally, I don't know openvz or its capabilities, but you can use something like virt-manager to manage anything controlled by Libvirt. If the openvz server connects via libvirt then virt-manager should be able to manage that also. In virt-manager you'd just do "File" -> "Add Conection" to connect a new server to the same interface. I'd recommend also upgrading the CentOS 6 CR. The version of libvirt fixes many issues I've run into, primarily the snapshot capabilities. Also the virt-manager version in CentOS 6 is very dated. I have one you can download that is the latest I've found to work with libvirt-0.8.1 and libvirt-0.8.7 (CentOS 6.1 / CR). http://itscblog.tamu.edu/virt-manager-0-8-7-for-centos-6/ . I'll be updating the virt-manager RPM shortly, to just incorporate changes from upstream RedHat. - Trey

I am very proud to share this problem with you ! thanks for your instructions. virt-manager currently support xen,qemu-kvm,and the latest version support lxc.libvirt can connect openvz,and via virsh command tools can mananger openvz, but official does not claimed that virt-manager support openvz...perhaps virt-manager can support openvz in theory,but I do not kown how to modify or add to support openvz.

On 10/13/2011 06:57 PM, ������ wrote:
I am very proud to share this problem with you !
thanks for your instructions.
virt-manager currently support xen,qemu-kvm,and the latest version support lxc.libvirt can connect openvz,and via virsh command tools can mananger openvz, but official does not claimed that virt-manager support openvz...perhaps virt-manager can support openvz in theory,but I do not kown how to modify or add to support openvz.
Support for openvz requires recompilation of the libvirt package from source, with the correct headers installed. For example, Fedora's pre-built libvirt includes this support, while RHEL does not. Depending on your distro, you may have to rebuild your own libvirt to enable the extra bits that your distro does not support by default. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

dears thanks your answers,I I would like to use virt-manager manage openvz,because I want to run KVM and openvz concurrently in the same physical host. But I dont kown how to rebuild my own libvirt to enable the extra bits. In virt-manager I can just do "File" -> "Add Conection" to connect a new server for 'openvz' to the same interface. can you tell me how to rebuild libvirt to use virt-manager manager openvz in detail ,like supporting KVM or xen in virt-manager. my os is centos6.0_X86_64. I would greatly appreciate you!

thanks for your patient helps! If I have any questions I would need your help in the future!
participants (3)
-
Eric Blake
-
Trey Dockendorf
-
张立洪