我们何时/何地使用 VMware 和 .net 组合?

发布于 2024-08-07 18:44:07 字数 123 浏览 11 评论 0原文

我听说VMware和.net应用程序(Web)的结合但不知道为什么要这样结合?有人知道我们何时何地使用这些组合吗?

编辑:在虚拟机中运行网络服务器有一些优点......它们是什么?

I heard that the combination of VMware and .net application(Web) but dont know why this combination? Does any one have the idea about when and where we use these combinations.?

Edit: There are some advantages of running your webserver in a virtual machine.. what are they?

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

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

发布评论

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

评论(4

2024-08-14 18:44:07

虚拟化来了。确定您是否需要它,然后意识到 VMware 的功能比 Virtual PC 更强大。

至于是否使用虚拟机,至少有一个提示:您可以在一台可以放在口袋里的“机器”上进行开发,只要可以访问 VMware,就可以在任何地方启动它。这可以帮助您节省备份任务,并让您在保持一个环境的情况下漫游。

另一种方法是创建多个测试环境。当需要检查不同的软件配置时,这可以节省更多的精力。

嗯,这里还有很多延续。

Here comes virtualization. Decide whether you need it at all and then realize that VMware capabilities are greater than of Virtual PC.

And whether to use virtual machines there's at least one tip: you can develop on a "machine" that can be placed in your pocket, launching it anywhere if only VMware is accessible. This saves you back-up tasks and lets you roam keeping one environment.

Other way is creating multiple testing environments. This saves more effort when different software configurations are required to check.

Well, there are many more continuations here.

幽梦紫曦~ 2024-08-14 18:44:07

请更准确地说明您的问题。

VMware是一家销售虚拟化技术的公司,而Microsoft .NET Framework和ASP.NET分别是软件技术。

当然,您可以在虚拟机上安装 Windows Server 200x 并在其上运行 IIS 来托管 ASP.NET 网站,但由于这两种技术本质上不同,因此我不会将其称为组合。

在虚拟机中运行网络服务器有一些优点:

  • 您可以将虚拟机与基础架构的其余部分隔离,这使得您的系统在受到某些黑客等攻击时更安全。

  • 您可以制作虚拟机快照,以保存虚拟机的当前状态。然后,您可以稍后回滚到所需的任何快照。

最好的问候
奥利弗·哈纳皮

Please specify your question a little bit more precisely.

VMware is a company which sells virtualization technology whereas the Microsoft .NET Framework and ASP.NET respectively are software technologies.

You can of course install Windows Server 200x on a virtual machine and run an IIS on it to host an ASP.NET Website, but because both technologies are fundamentally different, I would not call this a combination.

There are some advantages of running your webserver in a virtual machine:

  • You can isolate the virtual machine from the rest of your infrastructure, what makes your system safer when being attacked by some hackers or so.

  • You can make snapshots of virtual machines which saves the current state of the virtual machine. You can then later roll back to any snapshot you want.

Best Regards
Oliver Hanappi

挥剑断情 2024-08-14 18:44:07

虚拟化的要点往往是:

  1. 增加资源的使用:
    • 在一台物理硬件上运行一台网络服务器通常意味着在内存和处理能力方面有大量闲置容量。
    • 在同一物理硬件上运行多个网络服务器可以更均匀地利用这些资源。
  2. 一些冗余:
    • 通过拥有多个网络服务器,您可以在它们之间进行负载平衡,但是,因为您只有一台物理计算机,如果失败,您仍然会丢失所有内容。
    • 如果您的网站流量突然激增,则说明您使用的资源较多,意味着承受超载的能力较小。
  3. 降低成本:
    • 如果您的大部分成本都在硬件上,那么确保其得到充分利用会更经济,但是,如果您的大部分成本是许可证,那么这可能是一种错误的经济。< /里>

与许多事情一样,需要进行许多权衡,您需要正确看待它们,并找出成本效益所在。

请注意,某些服务器角色比其他服务器角色更适合虚拟化 - 特别是搜索/索引服务器和数据库服务器通常相当消耗资源,并且更喜欢直接在服务器上运行而不是在虚拟化环境中运行。

The main points of virtualisation tend to be:

  1. Increased use of resources:
    • Running one web server on one physical bit of hardware generally means that there's a lot of spare capacity in terms of memory and processing power.
    • Running multiple web servers on the same physical bit of hardware results in a more even use of those resources.
  2. Some redundancy:
    • By having multiple web servers you can load-balance between them, however as you only have one physical machine, if that fails you've still lost everything.
    • If your site suddenly sees a massive spike in traffic, the fact that you're using more resources means there is less capacity to pick up the overload.
  3. Reduced cost:
    • If the bulk of your costs are in the hardware, then ensuring it's fully utilised is more economical, however, if the bulk of your costs are licenses, then this could be a false economy.

As with many things, there are a number of trade-offs to be made, and you'll need to look at them properly, and work out where the cost-benefit lies.

Note that some server roles are better suited to virtualisation than others - search/indexing servers and database servers in particular are often fairly resource hungry and prefer to run directly on the server rather than in a virtualised environment.

痴梦一场 2024-08-14 18:44:07

使用 VMWare 作为 Web 服务器的优点是,如果虚拟机由于某种原因发生故障(这种情况发生在我们身上),则可以自动故障转移到其他物理设备。

在我们的 Web 应用程序设置中使用 VMWare 所引起的唯一另一个重要注意事项是永远、永远,我的意思是永远不要使用 VMWare 盒子来运行 SQLServer。我知道这个问题专门与网络服务器有关,但我们在 VMWare 上的网络应用程序数据库的体验非常糟糕(速度、磁盘访问错误等),我认为这很重要!

Advantages of using VMWare for your webserver could be the automatic failover to other physical boxes if a virtual machine fails for some reason (this happens to us).

The only other important note that has arisen from using VMWare in our web application setup is to never, ever and I mean ever use VMWare boxes for running SQLServer. I know this question was specifically about the webserver but we've had such poor experiences (speed, disk access errors etc) with our web application databases on VMWare that I think it's important!

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