Ubuntu Server Guide Changes, errors and bugs
virt-manager guest lifecycle
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Virtual Machine Viewer
virt-manager guest lifecycle
When using virt −manager it is always important to know the context you look at. The main window initially lists only the currently defined guests, you’ll see their name, state and a small chart on cpu usage. virt-manager-gui-start|499x597 On that context there isn’t much one can do except start/stop a guest. But by double-clicking on a guest or by clicking the open button at the top one can see the guest itself. For a running guest that includes the guests main-console/virtual-screen output. virt-manager-gui-showoutput|690x386 If you are deeper in the guest config a click in the top left onto “show the graphical console” will get you back to this output. virt-manager guest modification virt −manager provides a gui assisted way to edit guest definitions which can be handy. To do so the per- guest context view will at the top have “show virtual hardware details”. Here a user can edit the virtual hardware of the guest which will under the cover alter the guest representation. virt-manager-gui-edit|690x346 The UI edit is limited to the features known and supported to that GUI feature. Not only does libvirt grow features faster than virt-manager can keep up - adding every feature would also overload the UI to the extend to be unusable. To strike a balance between the two there also is the XML view which can be reached via the “edit libvirt XML” button. virt-manager-gui-XML|690x346 110 By default this will be read-only and you can see what the UI driven actions have changed, but one can allow RW access in this view in the preferences. This is the same content that the virsh edit of the libvirt-client exposes. Virtual Machine Viewer The virt-viewer application allows you to connect to a virtual machine’s console like virt-manager reduced to the GUI functionality. virt-viewer does require a Graphical User Interface (GUI) to interface with the virtual machine. To install virt-viewer from a terminal enter: sudo apt i n s t a l l v i r t −v i e w e r Once a virtual machine is installed and running you can connect to the virtual machine’s console by using: v i r t −v i e w e r The UI will be a window representing the virtual screen of the guest, just like virt-manager above but without the extra buttons and features around it. virt-viewer-gui-showoutput|690x598 Similar to virt-manager, virt-viewer can connect to a remote host using SSH with key authentication, as well: v i r t −v i e w e r −c qemu+s s h : / / v i r t n o d e 1 . mydomain . com/ system Be sure to replace web_devel with the appropriate virtual machine name. If configured to use a bridged network interface you can also setup SSH access to the virtual machine. Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling