650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160308-1457443987810006150.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;background-color: RGB (246,246,246); "/>
In the previous section we created and managed the KVM virtual machine on the local host via Virt-manager. In fact, Virt-manager can also manage the virtual machines on other hosts. Simply add the host in the
650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160308-1457443988008019644.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space: Normal;background-color:rgb (246,246,246); "/>
Fill in the host's relevant information, OK.
650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160308-1457443988148086990.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space: Normal;background-color:rgb (246,246,246); "/>
Next, we can manage the virtual machine on the remote host like a local virtual machine.
650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160308-1457443988263001491.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space: Normal;background-color:rgb (246,246,246); "/>
There's actually a place to configure. Because KVM (exactly Libvirt) does not accept remote administration by default, you need to configure two files in the managed host by the following content
/etc/default/libvirt-bin
startlibvirtd= "yes" libvirtdopts= "-d-l"
/etc/libvirt/libvirtd.conf
Listentls = 0listentcp = 1unixsockgroup = "LIBVIRTD" unixsockroperms = "0777" unixsock_rwperms = "0770" Authunixro = "non E "AUTHUNIXRW =" none "Authtcp =" None "
Then restart the LIBVIRTD service to manage it remotely.
Service Libvirt-bin Restart
At the beginning of the next section, we will learn how KVM is virtualized.
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/775365/201603/775365-20160309055309850-1741018234. PNG "style=" border:0px; "/>
Remotely manage KVM virtual machines-5 minutes a day to play with OpenStack (5)