You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/installguide/hypervisor/kvm.rst
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -299,8 +299,10 @@ cloudstack-agent and should already be installed.
299
299
Please note that Cloudstack will automatically perform basic configuration of the agent and libvirt when the host is added. This is relevant if you are
300
300
planning to automate the deployment and configuration of your KVM hosts.
301
301
302
-
#. In order to have live migration working libvirt has to listen for
303
-
unsecured TCP connections. We also need to turn off libvirts attempt
302
+
#. To avoid potential security attack to virtual machines, We need to turn
303
+
off libvirt to listen on unsecure TCP port. CloudStack will automatically
304
+
set up cloud keystore and certificates when the host is added to cloudstack.
305
+
We also need to turn off libvirts attempt
304
306
to use Multicast DNS advertising. Both of these settings are in
305
307
``/etc/libvirt/libvirtd.conf``
306
308
@@ -312,7 +314,11 @@ cloudstack-agent and should already be installed.
312
314
313
315
.. parsed-literal::
314
316
315
-
listen_tcp = 1
317
+
listen_tcp = 0
318
+
319
+
.. parsed-literal::
320
+
321
+
tls_port = "16514"
316
322
317
323
.. parsed-literal::
318
324
@@ -326,8 +332,7 @@ cloudstack-agent and should already be installed.
326
332
327
333
mdns_adv = 0
328
334
329
-
#. Turning on "listen\_tcp" in libvirtd.conf is not enough, we have to
330
-
change the parameters as well:
335
+
#. We have to change the parameters as well:
331
336
332
337
On RHEL or CentOS or SUSE modify ``/etc/sysconfig/libvirtd``:
333
338
@@ -344,33 +349,35 @@ cloudstack-agent and should already be installed.
0 commit comments