我应该使用哪个 Linux 发行版作为 Xen 主机?

发布于 2024-07-14 02:45:50 字数 1431 浏览 9 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

硪扪都還晓 2024-07-21 02:45:50

强烈推荐 Debian 或 Ubuntu(服务器)作为domain-0。 原因如下:

  1. 设置复杂的网络(桥接器、绑定设备等)非常简单。 一个文件,简单的语法,如果需要的话,很容易让脚本为您做这件事。 不要在生产环境中使用 Xen 附带的“network-bridge”脚本,您可能需要重新启动 Xend,这会破坏
  2. Debian 和 Ubuntu 的 所有网络(dom-0 和 guest 虚拟机)使用 apt 包管理器。 Apt 因很好地解决依赖关系而臭名昭著,它可以让您搜索为 Xen 编译新工具所需的库(或者从源代码中搜索 Xen 本身,我推荐这样做)。
  3. Shorewall 在 Xen 社区中广泛流行,用于路由配置,在基于 Debian 的系统上使用非常简单。 此外,您还可以获得 Steve Kemp 的 Xen 工具以及我编写的十几个工具。

我不会向想要桌面虚拟化的人推荐这个,我会推荐 Fedora。 然而,作为生产中拥有 300 个 Xen 服务器的 Xen 主机,我强烈推荐基于 Debian 的东西。 当然,使用您熟悉的版本.. 但是,您可能值得花时间熟悉 dom-0 上基于 Debian 的发行版。

I highly recommend Debian or Ubuntu (server) for domain-0. Here's why:

  1. Setting up complex networking (bridges, bonded devices, etc) is simple. One file, easy syntax, easy to have scripts do it for you if need be. Do not use the 'network-bridge' script that comes with Xen on a production box, you may need to re-start Xend, which would break all networking (dom-0 and guests)
  2. Debian and Ubuntu use the apt package manager. Apt is notorious for resolving dependencies very well, letting you search for libraries that you need to compile new tools for Xen (or Xen itself from source, which I recommend).
  3. Shorewall, which is wildly popular in the Xen community for routed configurations is very easy to use on a Debian based system. Moreover, you can get Steve Kemp's Xen tools as well as the dozen or so that I wrote.

I would not recommend this to someone who wanted Desktop virtualization, I would recommend Fedora. However, as a Xen host with 300 Xen servers in production, I HIGHLY recommend something Debian based. Of course, use what you are comfortable with .. however it might be worth your time to get comfortable with a Debian based distro on dom-0.

偏爱自由 2024-07-21 02:45:50

任何主要发行版都应该可以正常工作。 选择您最舒服的一个。

Any of the major distributions should work fine. Pick the one you're most comfortable with.

带刺的爱情 2024-07-21 02:45:50

Red Hat EL5(或 Centos)是在 OOB 上设置 Xen 最简单的之一,RH 完全支持 xen 作为其虚拟化工具; debian 和 ubuntu 看起来正在向 KVM 迈进。 我认为 Fedora 11 默认情况下有一个启用 pvops 的内核。 只是我的 2c 值,我更喜欢基于 Red Hat 的,但就像他们说的,无论你喜欢什么都可以。

Red Hat EL5 (or Centos) is one of the easiest to set up Xen on OOB, and RH is fully behind xen as their virtualization tool; debian and ubuntu look to be moving toward KVM. Fedora 11 has a pvops enabled kernel by default I think. Just my 2c worth, I prefer Red Hat based but like they said, whatever youre comfortable with will work.

南城旧梦 2024-07-21 02:45:50

Debian 是非常好的选择。 您还可以使用 xen live cd 来测试一切,如果一切正常,将其安装在硬盘上。

Debian is very good choice. You may also use xen live cd to test everything and if everything is ok, install it on HDD.

断念 2024-07-21 02:45:50

定义“最佳” ,我认为主要的竞争者是 Debian、Red Hat 和 Gentoo,具体取决于管理偏好和需求。

立即

define "best"

right off the bat, I'd say the major contenders are Debian, Red Hat and Gentoo, depending on management preferences and needs.

怎会甘心 2024-07-21 02:45:50

opensuse 有用于管理 xen 的特定工具,我没有使用过它,但开箱即用的支持可能会很好。

opensuse has specific tools for managing xen, I've not played with it, but having out of the box support might be good.

那一片橙海, 2024-07-21 02:45:50

我碰巧看到这个问题。 我已经在集群中的许多服务器上部署了 Xen 虚拟机。 该平台是Fedora 12。我们对其进行了大量测试,并在这些虚拟机上进行了大量计算。 是相当稳定的。 唯一的痛苦是你需要自己编译内核:

http://fclose.com/b/1535/setting-up-xen-pvops-dom0 -on-fedora-xen-3-4-2-kernel-2-6-31-with-paravirt_ops-in-fedora-12/

I happen to view this question. I have deployed Xen virtual machines across lots of servers in our cluster. The platform is Fedora 12. We have done lots of tests on it and plenty of computation is done on these VMs. It's quite stable. The only pain is that you need to compile the kernel by yourself:

http://fclose.com/b/1535/setting-up-xen-pvops-dom0-on-fedora-xen-3-4-2-kernel-2-6-31-with-paravirt_ops-in-fedora-12/

深海蓝天 2024-07-21 02:45:50

我想扩展 Tim(投票给 Debian)的回应,指出 Xen 社区致力于 Kronos 项目,该项目将把 XAPI (Xen API) 引入 Debian/Ubuntu 查看官方公告,这使得 Debian 更具吸引力。

您可能需要考虑的另一个选项是 Xen Cloud Platform(简称 XCP)或 XenServer,尤其是您可以免费获得基本版本。

I would like to extend Tim's (vote for Debian) response, pointing that Xen community working on Project Kronos, which will bring XAPI (Xen API) to Debian/Ubuntu see official announcement, what makes Debian even more attractive option.

Another options you might want to consider are Xen Cloud Platform (XCP in short) or XenServer, especially that base version you can get for free.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文