张立洪
2011-Oct-10 12:57 UTC
[libvirt-users] no connection driver available for openvz:///system
dears. I can not solved the problem: vzctl works. But how do I connect to Virtuozzo? Using the openvz>> > driver >> > it doesn't work out of the box: >> > virsh # connect openvz:///system >> > error: Failed to connect to the hypervisor >> > error: no connection driver available for openvz:///systemWhy can not I connect to the openvz??? please help me , thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111010/da9a76eb/attachment.htm>
Eric Blake
2011-Oct-10 21:42 UTC
[libvirt-users] no connection driver available for openvz:///system
On 10/10/2011 06:57 AM, ?????? wrote:> dears. > I can not solved the problem: > vzctl works. But how do I connect to Virtuozzo? Using the openvz >>>> driver >>>> it doesn't work out of the box: >>>> virsh # connect openvz:///system >>>> error: Failed to connect to the hypervisor >>>> error: no connection driver available for openvz:///system > > > Why can not I connect to the openvz???This may be a simple case of your libvirt binary not being pre-compiled with openvz support. What distro are you using? What does: virsh --version=long display? It may be that you have to recompile libvirt from a tarball and explicitly request that the openvz code be compiled, if the pre-built binary from your distro omits that driver. -- Eric Blake eblake at redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Trey Dockendorf
2011-Oct-13 19:34 UTC
[libvirt-users] no connection driver available for openvz:///system
2011/10/12 ??? <zlh_086 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111013/c722fa54/attachment.htm>
张立洪
2011-Oct-14 00:57 UTC
[libvirt-users] no connection driver available for openvz:///system
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111014/19f040cd/attachment.htm>
张立洪
2011-Oct-18 01:56 UTC
[libvirt-users] no connection driver available for openvz:///system
thanks for your patient helps! If I have any questions I would need your help in the future! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111018/f01d8d43/attachment.htm>
张立洪
2011-Nov-04 13:35 UTC
[libvirt-users] no connection driver available for openvz:///system
dears I have some errors: [root at libvirt libvirt]# libvirtd start 21:30:45.484: 2805: info : libvirt version: 0.9.6 21:30:45.484: 2805: error : virPidFileAcquirePath:345 : Failed to acquire pid file '/usr/local/var/run/libvirtd.pid': ??????? can you tell me why? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111104/6c714274/attachment.htm>