[libvirt] Connecting with a remote libvirt

Marcela Castro León mcastrol at gmail.com
Tue Feb 1 10:14:57 UTC 2011


Hello

i'm trying to connect with a remote libvirt.

The option I selected was tcp because it's a development environment and a
secure and isolated network,

I've configured
listen_tcp = 1
tcp_port = "16509"

in libvirtd.conf at the destition.


I've tried to connect to host "santacruz" from a remote host "aoniken" and
locally but pn both cases I've got:

REMOTE
marcela at aoniken:~$ virsh -c qemu+tcp://santacruz:16509 list
error: unable to connect to libvirtd at 'santacruz': Connection refused
error: failed to connect to the hypervisor

LOCALLY
radic at santacruz:/etc/libvirt$ virsh -c qemu+tcp://santacruz:16509 list
error: unable to connect to libvirtd at 'santacruz': Connection refused
error: failed to connect to the hypervisor


I've try to use ssh but i've got an error two on both cases.


REMOTE (SSH)
marcela at aoniken:~$ virsh -c qemu+ssh://radic@santacruz list
radic at santacruz's password:
error: internal error no QEMU URI path given, try qemu:///system
error: failed to connect to the hypervisor
marcela at aoniken:~$

radic at santacruz:/etc/libvirt$ virsh -c qemu+ssh://radic@santacruz list
radic at santacruz's password:
error: internal error no QEMU URI path given, try qemu:///system
error: failed to connect to the hypervisor


Can you help me?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110201/a1839cd4/attachment-0001.htm>


More information about the libvir-list mailing list