用过Xen的几乎都知道xm/xend这一套工具,但是最近社区中都是在讨论xl这个工具,特别是对老用户,可能有些疑惑,我们使用Xen之时,到底是XL还是XM作为工具。

我接触Xen也一年多了,每天工作都和Xen打交道,而且经常在Xen开源社区中交流,所以这里我总结一下我的认识,给对xl这个新工具有疑惑的同学答疑一下吧。

  1. 如果你是老用户,而且使用的Xen版本较低(低于4.1),那么你只能使用xm/xend这套老的工具了。
  2. 凡事使用xen的版本等于或高于4.1,强烈推荐使用XL这个工具。

一些原因如下:

  1. XL在Xen 4.1中作为默认的管理工具,而且开源社区现在都是主要支持xl
  2. xl具有和xm几乎完全一致的使用方法,完全兼容。(如果你发现哪里不兼容,请到xen-devel邮件组报告bug吧。)
  3. 目前xm/xend也是作为遗留代码,留在最新的xen开发分支中的,功能基本可用。
  4. 今后的xen版本(比如:5.x之类的),可能就会完全去掉xm/xend相关的代码。
  5. xl主要基于libxl这个库来实现的
  6. xl的功能比较完善了,今后如果添加新功能,也会是在xl这边添加。
  7. xl与以前的xm相比,缺失的主要功能是:managed domain 和 一个XML RPC接口。

问:使用xl时,需要启动xend吗?

答:不需要,xl不依赖于xend,而且建议使用xl时关掉Xend的运行;另外,请注意xencommons这个daemon还是要启动的(它一般位于/etc/init.d/xencommons,其实它也是去启动了xenstored 和 xenconsoled两个daemon)。

下面是我收集的一些关于是否使用xl的英文材料,有兴趣的可以看看。

XL wiki:

http://wiki.xen.org/wiki/XL

As of Xen 4.1, xl is the default toolstack supplied as part of the Xen release. The older xend toolstack is still available in tree but is considered deprecated and may eventually be removed.

xl is based on the xenlight library (libxl), a library designed to provide a common “bottom third” for any Xen toolstack.

Xen 4.1 release notes.

http://blog.xen.org/index.php/2011/03/25/xen-4-1-releases/

XL Toolstack: Xen 4.1 includes a re-architected toolstack, that is based on the new libxenlight library, providing a simple and robust API for toolstacks. XL is functionally equivalent and almost entirely backwards compatible with existing XM domain configuration files. The XEND toolstack remains supported in Xen 4.1 however we strongly recommend that users upgrade to XL.

some discussions about XL/XM in Xen-devel mailing list:

http://xen.1045712.n5.nabble.com/New-feature-support-xl-or-xm-td2516259.html

xl does have the callback mechanisms for cleanup, they are implemented in a per-VM daemon that is started when you create the domain. However you can still create a VM without starting the related daemon.

(no callbacks or cleanups in that case).

There are only two things that xl doesn’t have compared to xend: the concept of managed domains (domains that are installed on your system and may be offline) and an XML-RPC interface.

We like the ‘xm’ CLI, in fact we are trying our best to provide a compatible command line interface with ‘xl’. Ideally you’ll be able to symlink xl to xm and everything will still work.

libxl does use libxenctrl and libxenguest. But it does not use xend and so does not need it to be running.

if you want to migrate your VMs to another 4.1 (or 4.2 or 5.0, etc.) host without xend you just need to shutdown xend (leaving the VMs running) and use xl to perform the migration.

http://lists.xen.org/archives/html/xen-devel/2012-01/msg02227.html

http://lists.xen.org/archives/html/xen-devel/2012-01/msg02227.html

Features missing in Xl, with no current plan to introduce them (as usual, contributions are welcome and encouraged):

- python support in VM config files;

- an RPC interface;

- managed domain;

- pv-usb;

- netchannel2;

- pv-scsi;

Features missing in Xl, work in progress:

- Remus;

- machine parsable output from xl create.

Xen中,使用XL还是XM?相关推荐

  1. xen中HVM的安装

    xen中安装hvm. 在intel与AMD推出硬件虚拟化之后,xen3.3.0的版本可以支持全虚拟化的实现.所谓全虚拟化,也就是xen上跑的VM不需要再修改源代码了.所以,现在可以在xen上跑wind ...

  2. CPU亲和性的使用与机制--含Xen中VCPU和PCPU的綁定方法

    CPU的亲和性, 就是进程要在指定的 CPU 上尽量长时间地运行而不被迁移到其他处理器,亲和性是从affinity翻译过来的,应该有点不准确,给人的感觉是亲和性就是有倾向的意思,而实际上是倒向的意思, ...

  3. 对XEN中HVM虚拟机的一些理解

    最近又把一些精力花在了XEN上面了,这和我另外在处理的一个邮件系统有一个间接的关系,在那里我遇到了一个间接涉及到XEN的问题.由于邮件系统我还尚 未达到符合要求,待我整理完稍后刊出.以下是我对HVM功 ...

  4. Xen安装部署和基本原理

    Refer to : http://www.178linux.com/14764 目录:    1. Xen的简介    1.1  Xen的大体结构    1.2 Xen对VM的称呼    1.3 X ...

  5. 虚拟化技术之虚拟化技术介绍及Xen的应用实现

    虚拟化技术是什么: 在计算机中,虚拟化(英语:Virtualization)是一种资源管理技术,是将计算机的各种实体资源,如服务器.网络.内存及存储等,予以抽象.转换后呈现出来,打破实体结构间的不可切 ...

  6. linux xen 管理,Linux Xen管理

    Linux Xen管理: 一.常用命令 xm list                       列出虚拟机列表 xm console vm01      连接进入vm01 xm create vm ...

  7. 虚拟接口+tx+linux,Linux使用笔记: 解决Xen虚拟机中VLAN接口不能ping大包的问题

    出于调试的需要,想在两个Xen虚拟机间使用VLAN相互访问.在Linux上启用VLAN非常简单,只需要使用命令vconfig配置一个VLAN接口就可以了: vconfig add eth0 3 ifc ...

  8. 虚拟化之安装Xen实例

    -----本文大纲 Xen简介 Xen体系结构 Xen布署(Centos 6.5) ------------- 一.Xen简介 Xen 是一个开放源代码虚拟机监视器,由剑桥大学开发.它打算在单个计算机 ...

  9. 在 CentOS 7.0 上源码安装 Xen 4.5

    上周 CentOS 7.0 正式版发布了,Xen4CentOS 项目还没来得及更新支持 CentOS 7.0,所以目前要在 CentOS 7.0 上玩 Xen 的唯一办法只有编译源代码了.貌似这次 C ...

最新文章

  1. 静态路由协议的默认管理距离是_距离矢量路由选择协议
  2. 微信公众号手机无法直接下载APK文件是怎么回事
  3. Graphpad Prism 9绘制子列图与柱状图
  4. boost::mp11::mp_all_of_q相关用法的测试程序
  5. expect详解及自动登录脚本的实现
  6. zookeeper 应用开发
  7. LeetCode 410. 分割数组的最大值(极小极大化 二分查找 / DP)
  8. 一台比亚迪秦EV充电时自燃 相关人员:无人员伤亡、起火未爆炸
  9. 学习笔记88—spyder生成的图单独窗口显示
  10. bigdecimal 科学计数转普通计数_LoaRunner性能测试教程:Windows计数器(2)
  11. php gd实现简单图片验证码与图片背景文字水印
  12. C语言 简单选择排序算法
  13. 帝国网站mysql 数据库开发_帝国cms操作数据库函数范例(二次开发)
  14. Unitue_逆流的处事原则
  15. katana lookfile属性的修改overwride
  16. ios开发的p12和provision
  17. vue 实现 tooltips的效果
  18. 黑猫带你学UFS协议第1篇:全网最全UFS协议中文详讲,这份学习框架图,你值得拥有!!!(持续更新中...)
  19. java基础之转换流
  20. 酒店智能门锁常见故障及解决办法

热门文章

  1. 盘点一道使用pandas.groupby函数实战的应用题目
  2. 1ppi等于多少dpi_史上最全UI相关尺寸单位详解 | px、pt、dp、sp、rem、vwvh、rpx、ppi、dpi、dppx...
  3. php 视频设置参数设置,AnyChat SDK知识中心 - 如何设置合适的视频质量参数?
  4. 直方图(亮度)正规化及直方图均衡化
  5. Linux开发工具详解
  6. java之高质量代码优化技巧
  7. ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection
  8. 《AI人工智能的未来》(Yanlz+VR云游戏+Unity+SteamVR+云技术+5G+AI+机器学习+人机交互+计算机视觉+生物特征识别+立钻哥哥+==)
  9. java ant myeclipse_Ant在MyEclipse中的配置总结
  10. 测试人员如何使用浏览器的f12_浏览器F12功能键对测试工程师的重要性