Ubuntu Server Guide
Download 1.23 Mb. Pdf ko'rish
|
ubuntu-server-guide (1)
system and session scope
Virsh - as well as most other tools to manage virtualization - can be passed connection strings. $ virsh –connect qemu:///system There are two options for the connection. • qemu:///system - connect locally as root to the daemon supervising QEMU and KVM domains • qemu:///session - connect locally as a normal user to his own set of QEMU and KVM domains The default always was (and still is) qemu:///system as that is the behavior users are used to. But there are a few benefits (and drawbacks) to qemu:///session to consider it. qemu:///session is per user and can on a multi-user system be used to separate the people. But most importantly things run under the permissions of the user which means no permission struggle on the just donwloaded image in your $HOME or the just attached USB-stick. On the other hand it can’t access system resources that well, which includes network setup that is known to be hard with qemu:///session. It falls back to slirp networking which is functional but slow and makes it impossible to be reached from other systems. qemu:///system is different in that it is run by the global system wide libvirt that can arbitrate resources as needed. But you might need to mv and/or chown files to the right places permssions to have them usable. Applications usually will decide on their primary use-case. Desktop-centric applications often choose qemu :///session while most solutions that involve an administrator anyway continue to default to qemu:///system. Read more about that in the libvirt FAQ and this blog about the topic. 103 Migration There are different types of migration available depending on the versions of libvirt and the hypervisor being used. In general those types are: • offline migration • live migration • postcopy migration There are various options to those methods, but the entry point for all of them is virsh migrate. Read the integrated help for more detail. v i r s h m i g r a t e −−h e l p Some useful documentation on constraints and considerations about live migration can be found at the Ubuntu Wiki Download 1.23 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling