public:kvm:access:remote_libvirt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
public:kvm:access:remote_libvirt [2018/06/08 18:57] – strongly extended content wiki.tk | public:kvm:access:remote_libvirt [2018/06/08 19:17] (current) – extended ssh access description wiki.tk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Remote libvirt access ==== | ||
+ | There are two opportunities to access libvirt remotely: | ||
+ | * command line access: remote access to virsh | ||
+ | * graphical user interface (GUI) access: Virtual Machine Manager | ||
+ | Both opportunities need a mechanism of remote access from the client host to the remote KVM server. That's why the remote access mechanisms are described first before command line and GUI access are described. | ||
+ | === remote access mechanisms === | ||
+ | == ssh access == | ||
+ | The easiest access mechanism from client to KVM server is ssh. Authentication can be done per password, per ssh authorized keys or kerberized via GSSAPI. The known authorization mechanisms for ssh apply.\\ | ||
+ | The URI for remote access via ssh to a KVM server is: '' | ||
+ | == tcp access == | ||
+ | Kerberized access to libvirt is the most secure way for tcp access to a KVM server. The implementation is [[http:// | ||
+ | The URI for remote access via tcp to a KVM server is: '' | ||
+ | === remote access to virsh === | ||
+ | The package ' | ||
+ | user@client: | ||
+ | Welcome to virsh, the virtualization interactive terminal. | ||
+ | |||
+ | Type: ' | ||
+ | ' | ||
+ | |||
+ | virsh # | ||
+ | The command for tcp access is: | ||
+ | user@client: | ||
+ | Welcome to virsh, the virtualization interactive terminal. | ||
+ | |||
+ | Type: ' | ||
+ | ' | ||
+ | |||
+ | virsh # | ||
+ | From the virsh command line all virsh commands can be executed like locally on the KVM server. See page [[public: | ||
+ | === Virtual Machine Manager === | ||
+ | The best choice of a graphical user interface (GUI) for the administration of virtual hosts based on KVM is the [[wp> | ||
+ | root@client: | ||
+ | The VMM allows the administration of KVM hosts, virtual networks, storage and network interfaces. Virtual hosts can be configured, started, stopped, moved and suspended via VMM. The vhosts graphical consoles could also be accessed by VMM. In contradiction to the free versions of VMWare ESX/ESXi the VMM allows the administration of all KVM hosts and all vhosts of a site from one program window.\\ | ||
+ | \\ | ||
+ | [[public: |