|
15 | 15 | <info><title>What is &libvirt;?</title> |
16 | 16 | <meta name="maintainer" content="shalaka.harne@suse.com" its:translate="no"/> |
17 | 17 | <abstract> |
18 | | - <para>libvirt is a collection of software that provides a common API (Application Programming Interface) for managing popular virtualization solutions, for example, KVM and Xen. libvirt consists of an API library, a system service libvirtd, and a command line utility virsh. </para></abstract> |
| 18 | + <para>libvirt is a collection of software that provides a common API (Application Programming Interface) for managing popular virtualization solutions, for example, KVM, Hypervisor.framework, QEMU, Xen, Virtuozzo, VMWare ESX, and so on. libvirt consists of an API library, a system service &libvirtd;, and a command line utility <emphasis>virsh</emphasis>.</para></abstract> |
19 | 19 | </info> |
20 | 20 | <para>The modular architecture of libvirt allows developers to extend the functionality. Using libvirt, live migration of virtual machines between physical hosts is possible without downtime and this facilitates in load balancing and maintenance.</para> |
21 | | -<figure><title>Architecture of libvirt</title> |
22 | | - <mediaobject> |
23 | | - <imageobject role="pdf"> |
24 | | - <imagedata fileref="manage-vm-on-commandline-architecture.png" width="70%"/> |
25 | | - </imageobject> |
26 | | - <imageobject role="html"> |
27 | | - <imagedata fileref="manage-vm-on-commandline-architecture.png" width="75%"/> |
28 | | - </imageobject> |
29 | | - </mediaobject></figure> |
| 21 | +<para>&libvirt; allows remote management of Virtual Machines and Host resources for multiple VM hosts and is a single tool for different hypervisors. &libvirt; has a graphical user interface and command line to write XML configurations. </para> |
| 22 | + |
30 | 23 | <section><title>How does &libvirt; work?</title> |
31 | | - <info><abstract><para>The &libvirtd; service runs on the server and performs management tasks, for example, staring, stopping, and migrating guests between host servers. The &libvirt; client libraries and utilities connect to &libvirtd; and collect configuration information and resources of the host servers.</para></abstract></info> |
| 24 | + <info><abstract><para>The &libvirtd; service runs on the VM host. The &libvirt; client libraries and utilities connect to &libvirtd; and collect configuration information and resources of the host servers.</para></abstract></info> |
32 | 25 | <para>The configuration of each virtual machine is stored in an XML file, and you can manage this configuration in different ways. </para> |
33 | 26 |
|
34 | 27 | <para>You can configure virtual machines managed by &libvirt; using command-line or using Virtual Machine Manager. Interoperability between libvirt and libvirt-based applications are tested and is an essential part of SUSE's support stance. |
35 | | - </para> |
36 | | - <para>&libvirt; tools are designed to work with the &libvirt; API and support various virtualization technologies and hypervisors. Some of the commonly used tools for libvirt are virsh, virt-manager, virt-install, virt-clone, virt-image, and so on.</para> |
37 | | - <para>Using the &libvirt;-based tools is the recommended way of managing VM Guests. For example, you can use <command>virsh</command> to configure virtual machines (VM) on the command line as an alternative to using the graphical &vmm;. You can also manage virtual disks using this tool.</para> |
38 | | - <para>The management of virtual machines on command line provides more control over the host machines than using the graphical interface applications.</para> |
| 28 | + </para> |
| 29 | + |
| 30 | + <para>&libvirt; tools are designed to work with the &libvirt; API and support virtualization technologies and hypervisors. You can use the &libvirt;-based tools for managing VM Guests. Commonly used tools for libvirt are <emphasis>virsh</emphasis>, <emphasis>virt-manager</emphasis>, <emphasis>virt-install</emphasis>, <emphasis>virt-clone</emphasis>, <emphasis>virt-image</emphasis>, and so on. &libvirt; supports using graphical user interface and commands to write XML configurations.</para> |
| 31 | + <para> For example, you can use <emphasis>virsh</emphasis> to configure virtual machines (VM) on the command line as an alternative to using the graphical &vmm;. You can also manage virtual disks using this tool.</para> |
| 32 | + <figure xml:id="libvirt-overview"><title>libvirt Overview</title> |
| 33 | + <mediaobject> |
| 34 | + <imageobject role="pdf"> |
| 35 | + <imagedata fileref="libvirt_overview.svg" width="100%"/> |
| 36 | + </imageobject> |
| 37 | + </mediaobject></figure> |
| 38 | + <para>The management of virtual machines on the command line provides more control over the host machines than using the graphical interface applications as it allows scripting and automation.</para> |
39 | 39 | </section> |
40 | 40 |
|
41 | 41 | <section><title>Benefits of using &libvirt;</title> |
42 | | - <info><abstract><para>Some of the major advantages of using &libvirt; through command-line are listed below:</para></abstract></info> |
| 42 | + <info><abstract><para>The major advantages of using &libvirt; through command-line are listed below:</para></abstract></info> |
43 | 43 | <itemizedlist> |
| 44 | + <listitem><para>Allows basic monitoring of host and virtual machines.</para></listitem> |
44 | 45 | <listitem><para>Allows automating and scripting complex virtualization tasks and workflows.</para></listitem> |
45 | 46 | <listitem><para>Enables remote management of virtualization host. This helps in managing virtualization resources on remote servers over SSH or other secure protocols.</para></listitem> |
46 | 47 | <listitem><para>Allows managing headless servers. In server environments, where systems may not have a graphical interface or GUI tools installed, the command-line tool is the only option for managing virtualization.</para></listitem> |
47 | | - <listitem><para>Provides resource efficiency as command line tools have fewer resource requirements compared to the graphical user interface.</para></listitem> |
48 | | - <listitem><para>Allows precise control and customization of commands.</para></listitem> |
49 | 48 | <listitem><para>Allows using scripts and commands to create custom reports.</para></listitem> |
50 | | - <listitem><para>Allows using any Linux distribution as &libvirt; is cross-platform compatible.</para></listitem></itemizedlist> |
| 49 | + <listitem><para>Supports working with multiple hypervisors.</para></listitem></itemizedlist> |
51 | 50 | </section> |
52 | 51 | </topic> |
0 commit comments