Xen的概况

1. Xen Live CD

xen也有Live CD的形式,当然是少不了Dom 0的,有Apline Linux和Debian两种。

参见http://wiki.xen.org/wiki/LiveCD

2. Xen简介

参考http://wiki.xenproject.org/wiki/Xen_Overview#Introduction_to_Xen_Architecture

Xen_Arch_Diagram

这张图概括了xen的各个组件:

1. xen hypervisor

直接负责CPU, Memory, Interrupt管理,但是hypervisor本身并不知晓IO的相关内容。

hypervisor是bootloader运行结束后,第一个执行的程序。

 

2. Guest Domain

也就是非Dom 0的虚拟机,可以运行在以下两种模式下:

   1: PV: 半虚拟化,Paravirtualization,要想运行在此模式下,Guest OS的内核要进行相应的修改。现在的Linux内核都支持运行在PV模式下。
   2: HVM:硬件虚拟化,也叫全虚拟化,是在硬件支持的情况下的虚拟化。如果想要安装Windows操作系统,比如Windows XP,就需要运行在HVM模式下。

Xen guests are totally isolated from the hardware: in other words, they have no privilege to access hardware or I/O functionality. Thus, they are also called unprivileged domain (or DomU).

DomU对于硬件和IO功能都完全不了解,对于硬件的访问交给xen hypervisor来处理,而IO功能则由Dom0来负责。

3. Domain 0

也被称作Control Domain,它有权限可以访问部分硬件,比如处理系统的IO功能,但是核心的对于CPU、Memory、Interrupt的访问还是要交给xen hypervisor来处理。

Domain 0是系统中必需的,没有它,xen hyperviosr自己是玩不转的。

 

4. Control Stack

也叫Tool Stack, 是安装在Domain 0上面的,用于管理虚拟机的创建,删除以及配置的接口工具。

allows a user to manage virtual machine creation, destruction, and configuration

The toolstack exposes an interface that is either driven by a command line console, by a graphical interface or by a cloud orchestration【为管弦乐配器;和谐的安排[组织,结合]】 stack such as OpenStack or CloudStack.

 

它向外暴露接口,允许通过Console, GUI程序,以及云框架比如OpenStack来使用。

简单介绍一下OpenStack

参考

http://zh.wikipedia.org/wiki/OpenStack

http://baike.baidu.com/view/4924215.htm

http://www.csdn.net/article/2012-06-12/2806594

OpenStack是一族管理云平台的软件的集合,以Python语言编写,可以简单地将其形容为云平台上的操作系统。

posted @ 2014-02-07 16:53  Daniel King  阅读(307)  评论(0编辑  收藏  举报