问题标签 [virtualization]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
1220 浏览

performance - Server virtualization: how to avoid, locate and fix bottlenecks?

Server virtualization is a big thing these days, so I'm tasked at work to install some of our software on a virtualized server and see what happens. Long story short: a rsync transfer promptly brings the virtualized server to its knees. The virtualization host is a beefy machine with no other load; I don't think this should be happening. Top shows high load averages, and cpu iowait near 100%. There's a huge bottleneck somewhere.

I'm more a programmer than a sysadmin, I lack the knowledge on how to go about fixing this outside of random Googling. I suspect I'm not alone in this.

What I'd like to see here is general advice on virtualization, and pointers to good articles and other resources, which I and others could use to educate ourselves.

  • What tools (even standard unix tools) can be used to pinpoint bottlenecks?
  • What metrics should be followed to ensure things run smoothly?
  • What kind of things can be efficiently virtualized?
  • What kind of setups are doomed to fail?

I apologize the broadness of the question. I just don't have the knowledge to ask useful specific questions about this.

Edit: More on my specific problem:

  • XAN paravirtualization, 3 x guest CentOS
  • All guests on local SCSI disks, there is a fully hardware raid controller
  • rsyncd running on 1 guest os, transfer initiated from a remote non virtualized server through 100mbps LAN

Like I said before, I really can't provide a ton of useful data. I'm not really expecting to get a direct solution to this problem, I'd be happy with pointers on where to start building the skillset required to better understand these kinds of problems.

0 投票
14 回答
25693 浏览

sql-server - 虚拟化 SQL Server:为什么不呢?

我工作的 IT 部门正在尝试迁移到 100% 虚拟化服务器,所有数据都存储在 SAN 上。他们还没有这样做,但该计划最终要求将现有的物理 SQL Server 机器也迁移到虚拟服务器。

几个月前,我参加了 Heroes Happen Here 发布活动,在一次 SQL Server 会议上,演讲者顺便提到这对于生产系统来说不是一个好主意。

所以我正在寻找一些东西:

  1. 这是或不是一个好主意的具体原因是什么?我需要参考,或者不打扰回复。我可以通过谷歌自己想出一个模糊的“I/O 绑定”响应。
  2. 仅 HHH 演讲者的回忆可能无法说服我们的 IT 部门改变主意。任何人都可以直接指出我更权威的东西吗?而“直接”,我的意思是比一个模糊的在线图书评论更具体的东西。请缩小一点。
0 投票
16 回答
80607 浏览

virtualbox - 从应用程序中检测虚拟化操作系统?

我需要检测我的应用程序是否在虚拟化操作系统实例中运行。

我找到了一篇文章,其中包含有关该主题的一些有用信息。同一篇文章出现在多个地方,我不确定原始出处。VMware实现了一个特定的无效 x86 指令来返回有关自身的信息,而VirtualPC使用幻数和 I/O 端口以及 IN 指令。

这是可行的,但在这两种情况下似乎都是未记录的行为。我想 VMWare 或 VirtualPC 的未来版本可能会改变机制。有没有更好的办法?这两种产品是否有受支持的机制?

同样,有没有办法检测XenVirtualBox

我不担心平台故意试图隐藏自己的情况。例如,蜜罐使用虚拟化,但有时会掩盖恶意软件用来检测它的机制。我不在乎我的应用程序会认为它没有在这些蜜罐中虚拟化,我只是在寻找“尽力而为”的解决方案。

该应用程序主要是 Java,尽管我希望为这个特定功能使用本机代码和 JNI。Windows XP/Vista 支持是最重要的,尽管参考文章中描述的机制是 x86 的通用特性并且不依赖于任何特定的操作系统工具。

0 投票
4 回答
14998 浏览

virtualization - VMWare 服务器与 ESXi - 有什么区别?

我无法弄清楚这两个程序之间有什么区别。具体来说,我有兴趣在后台运行虚拟服务器,作为守护进程(Linux 主机操作系统)

0 投票
2 回答
18287 浏览

vmware - 在“无头模式”下运行虚拟操作系统是什么意思?

我听说过很多关于新版 VMWare Fusion 如何在“无头模式”下运行虚拟操作系统的信息。

谷歌搜索清楚地表明其他虚拟化产品也具有类似的功能,但是,我无法找到一个很好的描述这实际上意味着什么?当你这样做时会发生什么?

0 投票
8 回答
8931 浏览

continuous-integration - 将虚拟机映像创建为持续集成工件?

我目前正在开发一种服务器端产品,该产品在新服务器上部署有点复杂,这使其成为在 VM 中进行测试的理想候选者。我们已经在使用 Hudson 作为我们的 CI 系统,我真的很希望能够使用最新最好的软件部署一个虚拟机映像作为构建工件。

那么,究竟是如何做到这一点的呢?为此建议使用什么 VM 软件?需要编写多少脚本才能完成此任务?在这里使用 Windows 2003 Server 作为操作系统时有什么问题吗?

0 投票
3 回答
1105 浏览

backup - Microsoft Virtual Server 2005 R2 的备份工具?

我正在寻找一种备份工具来备份通过 Microsoft Virtual Server 2005 R2 运行的虚拟操作系统实例。根据MS docs 应该可以通过卷影复制服务来实现,但我很难找到任何工具。

备份 MS 虚拟服务器实例的最佳解决方案是什么?

0 投票
2 回答
267 浏览

security - 克隆虚拟机可以作为应用程序备份计划吗?

我是应用程序开发人员,对虚拟机 (VM) 了解不多。但是,我们的应用程序驻留在 VM 上。需要应用频繁的补丁来修复/更新此应用程序。对于灾难恢复,建议备份服务器上的所有内容。因此,一旦服务器恢复,无需重新安装和配置应用程序。

我们的网络管理员认为可以通过克隆虚拟机来完成。但是如果我们想将克隆备份到磁带上。它会将虚拟机暴露给备份驱动器。任何可以访问它的人都可以擦除虚拟机,并且一切都会消失。这是非常危险的。

如果您能告诉我您对此或任何建议的看法,我将不胜感激。

0 投票
3 回答
283 浏览

linux - vmWare Server 可以安装在 X-less 主机上吗?

我计划将我的 vmWare 虚拟机从 Windows 主机移动到 Linux 主机(Ubuntu)。是否可以在没有图形环境(没有 X)的 Linux 主机上运行 vmWare Server?

我只是想知道 Windows/Linux 客户机的图形设置在这种情况下是如何工作的。

在此先感谢您的时间。

维克多·马尔克斯

0 投票
16 回答
2922 浏览

development-environment - 在软件开发中使用虚拟化的关键用例是什么?

使用虚拟化(即使用VMWareMicrosoft Virtual PC等软件运行一台或多台“虚拟 PC” )进行软件开发的关键用例是什么?

还有——是否还有我上面的定义没有涵盖的其他虚拟化实例/使用(使用像 MS Virtual PC 或 VMWare 这样的工具),并且对开发人员有用?

我提出这个问题的动力是Metro Smurf的StackOverflow 评论断言“你会想知道没有它你是如何开发的!”,关于虚拟化的使用。

(请在每个回复中仅包含一个用例。谢谢!)