术语表

这个词汇表是为了定义在这个安装指南中所使用的术语。

dom0

Also known as the 主机 or host operating system.

dom0 refers to the host instance of Linux running the 管理程序 which facilitates virtualization of guest operating systems. Dom0 runs on and manages the physical hardware and resource allocation for itself and the guest operating systems.

Domains

domU and Domains are both domains. Domains run on the 管理程序. The term domains has a similar meaning to 虚拟机 and the two are technically interchangeable. A domain is a Virtual Machine.

domU

domU refers to the guest operating system which run on the host system (Domains).

Hardware Virtual Machine

See 全虚拟化

I/O

Short for input/output (pronounced “eye-oh”). The term I/O describes any program, operation or device that transfers data to or from a computer and to or from a peripheral device. Every transfer is an output from one device and an input into another. Devices such as keyboards and mouses are input-only devices while devices such as printers are output-only. A writable CD-ROM is both an input and an output device.

Kernel-based Virtual Machine

KVM (Kernel-based Virtual Machine) is a 全虚拟化 solution for Linux on AMD64 and Intel 64 hardware. VM is a Linux kernel module built for the standard Linux kernel. KVM can run multiple, unmodified virtualized guest Windows and Linux operating systems. KVM is a hypervisor which uses the libvirt virtualization tools (virt-manager and virsh).

KVM 是用于管理程序模块本身的一组管理设备、内存和管理 API 的 Linux 内核模块。这些模块可控制作为 Linux 进程和线程运行的虚拟客户端。

LUN

逻辑单位编号(LUN)是为逻辑单位(SCSI 协议条目)分配的号码。

MAC 地址

介质访问控制地址是网络接口控制器的硬件地址。在虚拟化环境中必须为虚拟网络接口生成 MAC 地址,且您本地域中的每个 MAC 都应该是唯一的。

Security Enhanced Linux

安全性提高 Linux 的缩写。SELinux 使用 Linux 内核中的 Linux 安全性模块(LSM)提供安全性策略所需的最小特权范围。

Universally Unique Identifier

全局唯一识别符(UUID)是对分布计算环境中的设备、系统和某些软件对象的标准化计数方法。虚拟化中的 UUID 类型包括:ext2ext3 文件系统识别符、RAID 设备识别符、iSCSI 和 LUN 设备识别符、MAC 地址以及虚拟机识别符。

Virtualization

虚拟化是一个用于运行软件的泛泛计算术语。通常操作系统与系统中的其他程序共存且独立于其他程序。大多数目前采用的虚拟化使用管理程序。管理程序通过为客户端操作系统提供虚拟硬件,让多个操作系统可在同一物理系统中运行。虚拟化操作系统的方法有很多:

  • Hardware-assisted virtualization is the technique used for full virtualization with Xen and KVM (definition: 全虚拟化)

  • Para-virtualization is a technique used by Xen to run Linux guests (definition: 半虚拟化)

  • 软件虚拟化或者模拟。软件虚拟化使用二进制转换和其它模拟技术运行未修改的操作系统。软件虚拟化比硬件辅助虚拟化或者半虚拟化要慢很多。

Virtualized CPU

运行红帽虚拟化的系统有很多虚拟 CPU 或者 VCPU。VCPU 的数目是限定的,并代表可分配给客户端虚拟机的 VCPU 总数。

Xen

Fedora supports the Xen hypervisor and the KVM hypervisor (refer to Kernel-based Virtual Machine). Both hypervisors have different architectures and development approaches. The Xen hypervisor runs underneath a Linux operating system which acts as a host managing system resources and virtualization APIs. The host is sometimes referred to as as dom0 or Domain0.

术语表 - 图1

术语表 - 图2

主机

The host operating system, also known as dom0.

The host operating system environment runs the virtualization software for 全虚拟 and 半虚拟 guest systems.

全虚拟

See 全虚拟化.

全虚拟化

Xen and KVM can use full virtualization. Full virtualization uses hardware features of the processor to provide total abstraction of the underlying physical system (裸机) and create a new virtual system in which the guest operating systems can run. No modifications are needed in the guest operating system. The guest operating system and any applications on the guest are not aware of the virtualized environment and run normally. Para-virtualization requires a modified version of the Linux operating system.

半虚拟

See 半虚拟化,

半虚拟化

半虚拟化使用特殊的内核,有时是指 Xen 内核或者 kernel-xen。半虚拟客户端内核同时还使用主机程序库和设备在主机中运行。半虚拟安装可对系统中的所有设备有完全访问,但可使用安全性设置(SELinux 和文件控制)进行限制。半虚拟化比全虚拟化速度要快,可有效用于负载平衡、provisioning、安全性以及巩固性提高。

因为从 Fedora 9 将不再需要特殊内核。一旦将这个路径纳入主 Linux 树结构,之后的所有 Linux 版本都将会有启用的或者可用的半虚拟化系统。

半虚拟驱动程序

半虚拟的驱动程序是在全虚拟 Linux 客户端中进行操作的设备驱动程序。这些驱动程序为全虚拟客户端极大提高了网络和块设备 I/O 的性能。

客户端系统

Also known as guests, virtual machines or domU.

管理程序

管理程序是用来从操作系统中提取硬件信息的软件层,可允许在同一个硬件中运行多个操作系统。在主机系统中运行的管理程序还允许其它虚拟操作系统在主机的硬件中运行。

虚拟机

虚拟机是物理机器或者编程语言的软件实施(例如:Java 运行时环境或者 LISP)。虚拟化环境中的虚拟机上下文就是在虚拟硬盘中运行的操作系统。

裸机

裸机指的是计算机的基本物理构架。在裸机中运行一个操作系统与在物理硬件中运行一个未修订版本的操作系统的效果一致。在裸机中运行的操作系统示例为 dom0,或者是一般安装的操作系统。

迁移

迁移是将一个虚拟客户端从一个主机移动到另一个主机的进程名称。迁移可离线(此时将客户端挂起然后移动)或者实时(不将客户端挂起就移动)进行。Xen 全虚拟客户端、Xen 半虚拟客户端和 KVM 全虚拟客户端都可迁移。

迁移是虚拟化的一个主要特性,因为软件是与硬件完全分开的。迁移在以下方面很有用:

  • Load balancing - guests can be moved to hosts with lower usage when a host becomes overloaded.

  • Hardware failover - when hardware devices on the host start to fail, guests can be safely relocated so the host can be powered down and repaired.

  • Energy saving - guests can be redistributed to other hosts and host systems powered off to save energy and cut costs in low usage periods.

  • Geographic migration - guests can be moved to another location for lower latency or in serious circumstances.

共享、联网存储可用来保存客户端映像。没有共享存储的迁移是无法进行的。

An offline migration suspends the guest then moves an image of the guests memory to the destination host. The guest is resumed on the destination host and the memory the guest used on the source host is freed.

离线迁移所需时间依赖网络带宽和等待时间。有 2GB 内存的客户端在 1Gbit 以太网链接中需要几秒钟。

实时迁移可让客户端继续在源主机中运行并在不停止客户端的情况下移动内存。发送映像后会追踪所有修改的内存页面并将其发送到目的地。使用更改的页面更新内存。此进程持续进行直至成功复制搜有页面或者源变化太快以至目的地主机无法复制。如果出现以上两种情况,则会在源主机中暂停该客户端并发送记录器(register)和缓存。在新主机中载入这些记录器,然后在目的地主机中恢复该客户端。如果无法合并该客户端(客户端处于极限负载时出现),则会暂停该客户端,然后启动离线迁移。

离线迁移所需时间依赖网络带宽和等待时间以及客户端中的活动。如果该客户端正在使用大量 I/O 或者 CPU,迁移的耗时会很长。