Libvirt and the virtualization shell.
libvirt和虚拟shell。
Libvirt itself is built on the idea of abstraction.
libvirt本身构建于一种抽象的概念之上。
With libvirt, you have two distinct means of control.
使用libvirt,我们有两种不同的控制方式。
In this example, you begin by importing the libvirt module.
在本例中,我们从导入libvirt模块开始。
Also shown is a comparison of the terminology that libvirt USES.
图中还显示了libvirt所用术语对照。
One of the most important tools built on libvirt is called oVirt.
构建于libvirt之上的一种最重要的工具名为ovirt。
Figure 3 illustrates the layering of the libvirt API and associated drivers.
图3展示了libvirtAPI与相关驱动程序的层次结构。
MOM USES libvirt to maintain a list of virtual machines running on the host.
MOM使用libvirt来维护运行在主机上的虚拟机列表。
Two of the more common solutions are each built from the same platform (libvirt).
其中最常用的两个解决方案均构建自同一个平台(libvirt)。
So whatever your language focus, libvirt provides a path to control your domains.
因此,不管您侧重何种语言,libvirt 都会提供一种路径来帮助您控制域。
Using libvirt, it's also possible to use its shell (built on top of libvirt), called virsh.
使用libvirt还能使用它的shell(构建于 libvirt 之上),称为virsh。
In this case, the management application works through libvirt to control the local domains.
在本例中,管理应用程序通过libvirt工作,以控制本地域。
I start by using an application called virsh (virtualization shell), which is built on top of libvirt.
首先介绍一种名为virsh(虚拟shell)的应用程序,它构建于libvirt之上。
And as you can expect, there are a number of applications that are being successfully built on libvirt.
且如您所愿,有大量应用程序正成功构建于libvirt之上。
This shell permits use of much of the libvirt functionality but in an interactive (shell-based) fashion.
该shell允许以交互(基于shell)方式使用多个libvirt功能。
This article touched on the intersection of libvirt (an open virtualization API) and the virtio framework.
本文讨论libvirt(一个开源虚拟化api)和virtio框架的相似之处。
Let's start our discussion of libvirt with a view of the use model, then dig into its architecture and use.
首先让我们从用例模型视角来展开对libvirt的讨论,然后深入探究其架构和用途。
Note here that libvirt (and its application) runs in the domain of the host Linux operating system (domain 0).
这里需要注意的是,libvirt(及其应用程序)在宿主Linux操作系统(域0)中运行。
Note that this is a very simple configuration: the actual attributes that libvirt supports are much more diverse.
注意,这只是个简单的配置,libvirt真正支持的属性更加多样化。
The management application communicates through the local libvirt to the remote libvirtd through a custom protocol.
该管理应用程序通过一种通用协议从本地libvirt 连接到远程libvirtd。
You can see an example of how to configure your server for this option at the libvirt Wiki (see Resources for a link).
您可以在libvirtWiki中找到如何为服务器配置这一选项的示例(见参考资料中的链接)。
Python was the libvirt-supported scripting language and provides a clean, object-oriented interface to the libvirt API.
Python是受libvirt支持的脚本语言,它向libvirt API提供完全面向对象的接口。
The two fundamental differences are that libvirt calls the physical host a node, and the guest operating system is called a domain.
两个根本区别在于,libvirt 将物理主机称作节点,将来宾操作系统称作域。
Both of these virtualization solutions support virtio (along with QEMU for system emulation and libvirt for virtualization management).
这两个虚拟化解决方案都支持virtio(以及用于系统模拟的QEMU和用于虚拟化管理的libvirt)。
Now that I've covered some of the architecture of libvirt, let's look at some examples of the use of the libvirt virtualization API.
上面已经介绍了libvirt的一些架构,接下来看一下如何使用libvirt虚拟化api的一些示例。
When it comes to scale-out computing (such as cloud computing), libvirt may be one of the most important libraries you've never heard of.
讲到向外扩展计算(比如云计算),libvirt可能是您从未听说过的最重要的库之一。
Libvirt is a large project that can create virtual machines using the Xen hypervisor, qemu emulator, and KVM, and also using lightweight containers.
Libvirt是能够使用Xen管理程序、qemu模拟器、kvmis甚至是轻量级容器创建虚拟机的大型项目。
The primary tools used for container management in this article come from liblxc (see Resources for a link, and also see libvirt for an alternative).
本文的容器管理工具来自liblxc(从 参考资料获取链接。
Numerous other tools exist (such as utilities built upon libvirt) or are in development for conversion and management as the OVF format gains adoption.
随着ovf格式的大量采用,有很多其他的转换和管理工具或者已经存在(比如构建于libvirt之上的实用工具)或正在开发之中。
InfoQ: in the InfoQ interview dated Dec 23, 2010, you mentioned that JClouds might work with libvirt soon so one can use JClouds for virtualization control?
InfoQ:在去年12月23日InfoQ的采访中,你提到JClouds可能会与libvirt合作,这样用户就可以使用JClouds进行可视化控制了?
应用推荐