[one-users] KVM and libvirtd coonfig

davood ghatreh davood.gh2000 at gmail.com
Sat Jun 9 21:52:13 PDT 2012


Dear Chandana,

By default, "LIBVIRTD_ARGS="--listen" is commented in
/etc/sysconfig/libvirtd, so it is not listening. But if anyone wants to
change it to Listen, need to modify /etc/sysconfig/libvirtd [1],[2].


Thanks
Davood

[1] http://libvirt.org/remote.html
[2] http://wiki.libvirt.org/page/TLSDaemonConfiguration



On Sun, Jun 10, 2012 at 8:17 AM, Chandana De Silva
<chandana at desilva.id.au>wrote:

> Hello All,
>
> I am installing OpenNebula 3.4 with KVM on a Centos 6.2 server.
>
> In the KVM instructions at http://opennebula.org/**
> documentation:rel3.4:kvmg<http://opennebula.org/documentation:rel3.4:kvmg>
>
> it says:
>
>  > OpenNebula uses libvirt's migration capabilities. More precisely, it
> uses the TCP protocol offered by libvirt. In order to configure the
> physical hosts, the following files have to be modified:
>
>>
>>    /etc/libvirt/libvirtd.conf : Uncomment “listen_tcp = 1”. Security
>> configuration is left to the admin's choice, file is full of useful
>> comments to achieve a correct configuration. As a tip, if you don't want to
>> use TLS for connections set listen_tls = 0.
>>
>>    /etc/default/libvirt-bin : add -l option to libvirtd_opts
>>
>
> The libvirtd init script on Centos 6,2 is not upstart, and uses
> /etc/sysconfig/libvirtd to configure the libvirtd startup. That has the
> line:
>
>  # Listen for TCP/IP connections
>> # NB. must setup TLS/SSL keys prior to using this
>> LIBVIRTD_ARGS="--listen"
>>
>
> I am assuming that the instruction for libvirtd_opts in the documentation
> should be different for Centos / RHEL.
>
> Regards
> Chandana
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120610/97f0d35c/attachment-0002.htm>


More information about the Users mailing list