虚拟化基础问题
请原谅我缺乏知识,但我对虚拟世界真的很陌生,并且有一些问题。
我在一家小型慈善机构工作,专门提供基础 IT 培训。我们最近购买了一些 Dell Poweredge 2650 服务器和戴尔台式机,我们希望提供 XP、Windows 7、Mac 和 Ubuntu 培训。我正在考虑设置一个虚拟环境,以便我们可以为每个操作系统提供一个标准映像(我目前使用映像文件,但目前构建每台机器大约需要 25 分钟,并且多重启动不是一个选项,因为新机器有 20Gb磁盘)。
服务器都是双处理器,我们可以购买更多内存(我需要证明成本的合理性)
- 内存要求是多少 主人?
- 我可以运行多少个虚拟机 每台服务器?
- 我可以运行同一虚拟机的多个实例吗?
提前感谢您的知识。
达林
Excuse me for my lack of knowledge but I am really new to the Virtual world and have a few questions.
I work for a small charity who specialise in providing basic IT training. We have recently acquired a few Dell Poweredge 2650 servers and Dell desktops and we wish to offer both XP, Windows 7, Mac and Ubuntu training. I am looking at setting up a Virtual environment so that we can have a standard image for each OS (I currently use image files but it currently takes approximately 25mins to build each machine and multi-boot is not an option as the new machines have 20Gb disks).
The servers are all dual processor and we can purchase more memory(I need to justify the cost)
- What are the memory requirements for
the Host? - How many VM's can I run
per server? - Can I run multiple instances of the same VM
Thanks in advance for your knowledge.
Darryn
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您也许可以使用那些 20 GB 磁盘的多重启动选项;每个操作系统可能需要不超过 10 GB 的最小安装量,每台机器安装两个操作系统并不可怕。 (顺便说一句,在您所在的地区寻找像 FreeGeek 这样的组织 - 较大的硬盘应该便宜 对于 120-500 演出这样的小规模。)
也就是说,虚拟化可能正是如果您有一些功能强大的机器,您就需要。
我认为对于要运行的每个来宾虚拟机来说,一到两千兆字节的主机内存将非常有用。至少根据我的经验,我给了 1024 MB 的 Ubuntu 映像可以非常快速运行,但我并没有按得太远。在虚拟机内运行 Firefox 或 OpenOffice 可能会很快占用更多内存。 Chrome 看起来很活泼。
因此,如果您有 12 GB RAM,您可能能够同时在计算机上托管 4 到 20 个虚拟机,具体取决于您的来宾正在执行的操作。
至于磁盘空间,如果您使用 QEMU 的
-snapshot
选项,您应该能够节省磁盘空间。每个用户都可以启动相同的底层磁盘映像,但他们自己的修改将进入“快照”文件。 (我没有尝试使用此选项进行长期系统维护的经验,因此可能您的所有 20 个用户在将来升级时都需要存储 service pack 2 内容;我害怕尝试修改也许让每个人都在 CIFS 共享中存储“个人文档”等内容会很有意义。)最大的障碍可能是 Mac;由于 Apple 服务条款禁止在非 Apple 硬件上运行 OS X,因此您必须拥有一些 Apple 计算机才能运行 VirtualBox。
You might be able to get away with a multi-boot option with those 20 gig disks; each OS will probably take no more than ten gigs for minimal installs, two OSes per machine isn't terrible. (Incidentally, look around for a group like FreeGeek in your area -- larger hard drives ought to be cheap for small sizes like 120-500 gigs.)
That said, virtualization might be just what you need, if you have a handful of pretty powerful machines.
I think between one and two gigabytes of host memory for every guest VM that you want to run would be very useful. At least in my experience, an Ubuntu image I gave 1024 megabytes to ran very quickly, but I didn't press it very far. Running Firefox or OpenOffice inside the VM would probably dictate more memory very quickly. Chrome seemed snappy.
So, if you've got 12 gigabytes of RAM, you might be able to get between four and twenty virtual machines hosted on the machine simultaneously, depending upon what your guests are doing.
As for disk space, if you use QEMU's
-snapshot
option, you ought to be able to save disk space. Each user could boot the same underlying disk image, but their own modifications would go into the 'snapshot' file. (I have no experience trying to do long-term system maintenance with this option, so it could be that all twenty of your users need to store service pack 2 contents when they upgrade in the future; I'd be scared of trying to modify the shared disk image once you've got snapshots of it running. Perhaps having everyone store 'personal documents' and the like in CIFS shares would make a ton of sense.)The biggest hurdle will probably be Mac; because the Apple terms of service forbid running OS X on non-Apple hardware, you'll have to have some Apple machines around to run VirtualBox.