Re: Connecting with a remote libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
donc forget to start libvirtd with the "-l" (listen) argument. Generally, it's in your /etc/init.d/libvirtd script.
 
Regards,
 
Arnaud

Sent: Tuesday, February 01, 2011 11:14 AM
Subject: Connecting with a remote libvirt

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@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@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@aoniken:~$ virsh -c qemu+ssh://radic@santacruz list
radic@santacruz's password:
error: internal error no QEMU URI path given, try qemu:///system
error: failed to connect to the hypervisor
marcela@aoniken:~$

radic@santacruz:/etc/libvirt$ virsh -c qemu+ssh://radic@santacruz list
radic@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


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]