虚拟化问题

发布于 2024-07-13 02:24:35 字数 1431 浏览 11 评论 0 原文

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

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

发布评论

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

评论(10

柠檬 2024-07-20 02:24:35

我已经使用VMWare三年了,它真的很好。 我的主机是基本的 XP64,我有一个开发虚拟机和一个同时启动的“办公室”虚拟机。 根据我的经验,它无助于创建分配大量内存的虚拟机,保持在 3GB 限制内,否则性能可能会很差 (YMMV)。

I have been using VMWare for three years now, and it is really good. My host is the bare bones XP64 and I have a development VM and an "office" vm that I bring up at the same time. It doesn't help creating VM's with a lot of memory alocated in my experience, stay within the 3gb limit or you might have bad performance (YMMV).

堇年纸鸢 2024-07-20 02:24:35

我广泛使用了 Microsoft Virtual PC,以及最近的 VMware,用于设置测试环境与已安装应用程序的各种组合。

MS VPC 是两者中设置起来最简单的。 这真的非常简单 - 创建虚拟机只需点击一些设置,然后最好将操作系统 DVD 作为 ISO 文件附加,然后就可以开始了(您安装的每个操作系统副本都需要一个许可证) )。 打开操作系统后,不要忘记安装虚拟机附加组件,因为这使得鼠标指针集成不再那么笨拙。

只需复制 VHDD 文件即可备份整个计算机。

我遇到的 MS VPC 的唯一限制是,如果主机操作系统是 32 位,则无法安装 64 位来宾操作系统。

然而,这并不是 VMware 的限制,这就是我开始使用它的原因。 我创建了一台以 Windows 2003 Server x64 作为来宾的计算机,在 XP Pro x86 下运行,一切都很好,包括 .NET 应用程序中编译器开关的效果。

VMWare 控制台有点笨重,但功能齐全,而且一旦全部设置完毕,使用起来就变得轻而易举。

你永远不会回头。

只有一件事 - 预计会花费大量时间下载和安装 Windows 更新。 我的虚拟机数量现在是 14 台,而且更新有点麻烦,尤其是当我恢复了一个虚拟机后它又回到了原来的状态。 其中之一是 Windows 7 beta,运行得非常好。

至于将一个转换为另一个......理论上你可以使用VMWare的转换器(也是免费的)来吸收和虚拟化整个物理计算机(我已经这样做过一次,并且它确实有效),我看不出为什么那不可能是 MSVPC。 你不能走另一条路。

我不在虚拟机中运行普通桌面。 我希望我的正常开发环境尽可能快,但性能确实会受到很大影响。 据我所知,VMware 在这方面比 MS VPC 表现更好,但我无法证实这一点。

I've made extensive use of Microsoft Virtual PC, and more recently VMware, to set up test environments with various combinations of installed applications.

MS VPC is the least hassle to set up of the two. It really is incredibly easy - create the VM is just point and click on a few settings, then you attach the OS DVD preferably as an ISO file, and away you go (you need a licence for every copy of the operating system that you install). Don't forget to install the Virtual Machine Additions after you've got the Operating system on, since that makes mouse pointer integration a lot less clunky.

You can back up the whole computer just by copying the VHDD file.

The only limitation I've come across with MS VPC, is that you can't install a 64 bit guest OS if the host OS is 32 bit.

This is not a limitation of VMware, however, which is why I've started using that. I've created a machine with Windows 2003 Server x64 as guest, running under XP Pro x86, and it's fine, including the effects of the compiler switches in a .NET application.

The VMWare console is a little clunky, but functional, and once it's all set up, again, it's a breeze to use.

You'll never look back.

Just one thing - expect to spend a lot of time downloading and installing Windows updates. My VM count is 14, now, and the updates are a bit of a faff, especially if I've restored one and it goes back a way. One of them is the Windows 7 beta, and that runs pretty well.

As to converting one to the other... you can in theory use VMWare's converter (also free) to suck in and virtualise a whole physical computer (I've done this once, and it does work), and I see no reason why that couldn't be a MSVPC. You can't go the other way.

I don't run my normal desktop in a virtual machine. I want my normal dev environment to be as fast as possible, and performance does take quite a hit. I understand that VMware performs better than MS VPC in this respect, but I can't confirm this.

征棹 2024-07-20 02:24:35

免费的 Microsoft Virtual PC 是无与伦比的。 VMware 的明显劣势是价格标签。 其他答案中已经很好地概述了 VMware 和 Ms VPC 的优缺点,但这里有一些额外的要点:

  • 请注意,如果 Vista 是您的主机环境,请确保您运行的是 Enterprise、Ultimate 或 Business。 MS 不允许在 Vista Home Basic 或 Home Premium 上运行 VPC。 VMware 不受此限制的限制。 这不是技术限制,而是许可限制。
  • 在虚拟机中运行日常生产力应用程序可以使备份变得更容易,但它确实会减慢启动时间,因为您必须启动主机,然后启动虚拟机。 增量备份很困难,因为主机上运行的任何备份软件都会将虚拟机磁盘视为一个大文件,并且无法查看已更改和未更改的内容。 因此它将支持整个斑点。 就备份存储而言,这可能会变得昂贵。 对于增量备份,您可能会发现驱动器快照更容易:http://www.drivesnapshot.de/en/
  • 作为运行测试平台的解决方案,您需要回滚到已知良好状态的系统,或者您无法击败虚拟机的很少使用的系统。

我建议开始在您的测试机器上尝试使用 Ms VPC 并习惯它。 然后您可以稍后决定是否要完全虚拟化。 从第一天开始完全虚拟化可能会很痛苦,您可能会发现自己希望自己没有这样做。

Microsoft Virtual PC is hard to beat for free. The obvious disadvantage to VMware is the price tag. The pros and cons of VMware and Ms VPC are pretty well outlined in other answers, but here's a few additional points:

  • Be aware that if Vista is your host environment ensure that you are running Enterprise, Ultimate or Business. MS does not allow running of VPC on Vista Home Basic or Home Premium. VMware is not limited by this restriction. It is not a technical limitation, but rather a licensing limitation.
  • Running your daily productivity apps in a VM can make backups easier, but it does slow down boot time as you have to boot your host, then boot the VM. Incremental backups are hard as any backup software running on the host would see the VM disk as just a big file and would not be able to see what has and has not changed. It would therefor back the whole blob up. That can get costly in terms of backup storage. For incremental backups you might find Drive Snapshot easier: http://www.drivesnapshot.de/en/
  • As a solution for running testing platforms, systems you need to roll back to known good state, or rarely used systems you just can't beat a VM.

I recommend starting experimenting with Ms VPC for your test machines and get used to it. Then you can later decide if you want to go totally virtualized. Going totally virtual from day 1 could be painful and you might find that you wish you had not done it.

GRAY°灰色天空 2024-07-20 02:24:35

坦率地说,Virtualbox 可能会让您轻松启动并运行,但它不支持虚拟化 SMP。 如果做不到这一点,VMWare Server 是免费的,ESXi 也是免费的(配置起来比较麻烦,除非您有一定的 ESX 经验),而 VirtualPC 是一个可用的选项。

如果您不打算在主机操作系统上安装任何内容,请在带有 Hyper-V 计算机的 Server 2k8 上运行它(这也使您可以选择从 VHD 文件本机启动)。 就我而言,我不倾向于将虚拟机视为我的桌面。 在主机操作系统上安装您想要的任何内容,并让虚拟机运行机器当前运行的服务。 毕竟,如果您想在虚拟机中运行桌面,您无论如何都可以在 ESX 机器上使用 RDP 来完成。

至于15k驱动器? 呃……好吧。 我希望它们是 SAS(不是 Velociraptors),因为您需要大量廉价的辅助存储来存储快照、对性能不重要的图像(除了 SQL 服务器之外的任何东西),而 Velociraptors 没有完全相同的存储空间可靠性。

Frankly, Virtualbox will probably get you up and running with the least hassle, but it doesn't support virtualized SMP. Failing that, VMWare Server is free, as is ESXi (whichi s more of a pain to configure unless you have some experience with ESX), and VirtualPC is a serviceable option.

If you aren't planning to install anything on the host OS, run it on Server 2k8 with Hyper-V machines (which gives you the option of natively booting from the VHD files also). For my part, I don't tend to treat virtual machines as if they're my desktop. Install whatever you want on the host OS, and leave the VMs to run the services the machines run right now. After all, if you wanted to run your desktop in a VM, you could have done that with RDP on an ESX box anyway.

As for the 15k drives? Uhh... ok. I hope they're SAS (not Velociraptors), since you're going to want a lot of cheap secondary storage for snapshots, images which are not performance critical (anything but the SQL servers), and Velociraptors don't have quite the same reliability.

铁轨上的流浪者 2024-07-20 02:24:35

我在 Vista 操作系统上设置了虚拟机并同时运行 xp。 它很棒,因为有些应用程序无法在 64 位中运行(即那些旧的 16 位应用程序)。 您可以尝试 Microsoft Virtual PC 2007,它很可能是最用户友好的。 这就是我用的。 您也可以尝试 Virtualbox。 您可以设置一个分区并为新操作系统分配空间以使其发挥作用。 或者使用备用的格式化辅助驱动器(如果您有的话)并且我希望分配 10gig 就足够了。

I set up a virtual machine on my Vista Os and running xp simultaneously. Its great as some apps don't work in 64bit (ie. those old 16bit apps.). You can try Microsoft Virtual PC 2007 its most probably the most user friendly. It's what I use. You can try Virtualbox too. You can set up a partition and allocate space to the new operating system for this to work. Or use a spare formatted secondary drive if you have one and allocating 10gig will do adequately I would hope.

停滞 2024-07-20 02:24:35

我使用 VMWare 开源服务器(最新的免费服务器),它非常易于使用和设置。 而且它不像其他一些程序那样使用那么多的资源。

I use VMWare open source server (The newest free one) and it is extremely easy to use and setup. And it doesn't use as many resources as some of the other ones do.

死开点丶别碍眼 2024-07-20 02:24:35

请记住,许多虚拟化平台缺乏对 OpenGL/DirectX/3D 的良好支持。 如果您需要运行/测试这些类型的应用程序,您可能必须升级到非免费版本。

很多时候,应用程序可以通过软件 3D 模拟“运行”,但性能会难以忍受。 如果您使用 OpenGL 加速来执行图形或动画(例如科学应用程序),或者正在构建 3D 应用程序(如 ArcGIS Explorer)的扩展模块,则这是一个常见问题。

就我个人而言,我不会在虚拟机上运行日常环境,因为我倾向于使用在虚拟机中性能不佳的应用程序,其中两个最大的问题是桌面搜索和基于 3D 的应用程序。 但是,如果您使用标准的办公产品套件并且不以任何方式推送系统(特别是磁盘),那么您应该没问题。

Remember that many virtualization platforms lack good support for OpenGL/DirectX/3D. If you need to run/test those types of apps, you may have to upgrade to a not-free version.

Many times, the apps can "run" with software 3D emulation, but the performance will be unbearable. This is a common problem if you are using OpenGL acceleration to perform graphics or animation (such as a scientific app) or if you are building extensions to a 3D application like ArcGIS Explorer.

Personally, I would not run my day-to-day environment on a VM as I tend to use apps that perform poorly in a VM, the two biggest offenders being Desktop Search and 3D-based apps. However, if you are using the stanard suite of office products and not pushing the system in any way (disk, in particular), then you should be fine.

情绪少女 2024-07-20 02:24:35

另外,我建议查看 VMware 的 ESXi - 它是一个精简的、免费的其完整 ESX 产品的版本。 它是裸机管理程序安装,因此不会像 Parallels、Virtual PC 或 VMware 自己的服务器工具等托管解决方案那样出现性能影响。

构建虚拟机需要付出一些努力,为此我建议使用 VMware Server(也是免费的)工具来构建虚拟机。

一旦构建完成,它们就可以在 ESXi 上运行。

Also, I'd suggest looking-into VMware's ESXi - it's a stripped-down, free edition of their full ESX product. It's a bare-metal hypervisor installation, so it's not going to see the level of performance hits that a hosted solution like Parallels, Virtual PC, or VMware's own Server tool sees.

Some effort is requried to build the VMs, and for that I'd recommend using the VMware Server (also free) tool to build your VMs.

Once they're built, they can be run on ESXi.

倒数 2024-07-20 02:24:35

查看 VMware 录制/重播功能(精彩视频演示 此处)这对于调试非常有用。 它不包含在任何免费产品中,因此您必须花钱购买许可证,但考虑到您还获得了很好的 DirectX 支持,这是非常值得的。

Check out the VMware record/replay feature (awesome video demo here) which is great for debugging. It's not included in any of the free products, so you'll have to shell out for a license but it's well worth it considering you also get pretty good DirectX support as well.

何以畏孤独 2024-07-20 02:24:35

我刚刚开始使用虚拟化,并得到了这本书,名为 microsoft virtualization 4.6 ...到目前为止,它确实对我很有帮助.. 如果您愿意,可以查看它...

https://www.packtpub.com/getting-started-microsoft-application-virtualization-46/book

I am just starting with virtualiazation and have got this book called microsoft virtualization 4.6 ...till now it has really helped me out .. You can check it out if you want...

https://www.packtpub.com/getting-started-microsoft-application-virtualization-46/book

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